Searched defs:ks_update (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dkstat.h89 int (*ks_update)(struct kstat *, int); /* dynamic update */ member in struct:kstat
159 #define KSTAT_UPDATE(k, rw) (*(k)->ks_update)((k), (rw))
319 * The kstat mechanism allows for an optional ks_update function to update
323 * ks_update function which updates the kstat's data section on demand.
324 * To take advantage of this feature, simply set the ks_update field before
327 * The ks_update function, if supplied, must have the following structure:
340 * The ks_update return codes are: 0 for success, EACCES if you don't allow
343 * In general, the ks_update function may need to refer to provider-private
348 * All variable-size kstats MUST supply a ks_update routine, which computes
352 * No kstat locking should be done inside the ks_update routin
[all...]

Completed in 59 milliseconds