Query: kstat_delete
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
kstat_delete(9F) Kernel Functions for Drivers kstat_delete(9F)NAMEkstat_delete - remove a kstat from the systemSYNOPSIS#include <sys/types.h> #include <sys/kstat.h> void kstat_delete(kstat_t *ksp);INTERFACE LEVELSolaris DDI specific (Solaris DDI)PARAMETERSksp Pointer to a currently installed kstat(9S) structure.DESCRIPTIONkstat_delete() removes ksp from the kstat chain and frees all associated system resources.RETURN VALUESNone.CONTEXTkstat_delete() can be called from any context.SEE ALSOkstat_create(9F), kstat_install(9F), kstat_named_init(9F), kstat(9S) Writing Device DriversNOTESWhen calling kstat_delete(), the driver must not be holding that kstat's ks_lock. Otherwise, it may deadlock with a kstat reader. SunOS 5.10 4 Apr 1994 kstat_delete(9F)