[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    kstat_delete(9F) manual page Table of Contents

Name

kstat_delete - remove a kstat from the system

Synopsis


#include <sys/types.h>
#include <sys/kstat.h>

void kstat_delete(kstat_t *ksp);

Interface Level

Solaris DDI specific (Solaris DDI)

Arguments

ksp
Pointer to a currently installed kstat(9S) structure.

Description

kstat_delete() removes ksp from the kstat chain and frees all associated system resources.

Return Values

None.

Context

kstat_delete() can be called from any context.

See Also

kstat_create(9F) , kstat_install(9F) , kstat_named_init(9F) , kstat(9S)

Notes

When calling kstat_delete(), the driver must not be holding that kstat’s ks_lock. Otherwise, it may deadlock with a kstat reader.


Table of Contents