Lines Matching defs:kstat
68 typedef struct kstat { struct
73 struct kstat *ks_next; /* kstat chain linkage */ argument
74 kid_t ks_kid; /* unique kstat ID */ argument
78 char ks_name[KSTAT_STRLEN]; /* kstat name */ argument
79 uchar_t ks_type; /* kstat data type */ argument
80 char ks_class[KSTAT_STRLEN]; /* kstat class */ argument
81 uchar_t ks_flags; /* kstat flags */ argument
82 void *ks_data; /* kstat type-specific data */ argument
84 size_t ks_data_size; /* total size of kstat data section */ argument
89 int (*ks_update)(struct kstat *, int); /* dynamic update */ argument
91 int (*ks_snapshot)(struct kstat *, void *, int); argument
92 void *ks_lock; /* protects this kstat's data */ argument