Searched refs:st_kstat_cookie (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/cachefs/common/ |
H A D | stats_create.c | 64 if ((rc->st_kstat_cookie = kstat_open()) == NULL) { in stats_create() 102 if ((key = kstat_lookup(st->st_kstat_cookie, "cachefs", 0, "key")) in stats_create_mountpath() 108 if (kstat_read(st->st_kstat_cookie, key, NULL) < 0) { in stats_create_mountpath() 170 if (((key = kstat_lookup(st->st_kstat_cookie, "cachefs", 0, in stats_next() 172 (kstat_read(st->st_kstat_cookie, key, NULL) < 0)) { in stats_next() 248 if (((ksp = kstat_lookup(st->st_kstat_cookie, "cachefs", 0, in stats_getkey() 250 (kstat_read(st->st_kstat_cookie, ksp, NULL) < 0)) { in stats_getkey() 302 if (st->st_kstat_cookie != NULL) in stats_destroy() 303 kstat_close(st->st_kstat_cookie); in stats_destroy()
|
H A D | stats_stats.c | 51 if (((stat = kstat_lookup(st->st_kstat_cookie, in stats_read_stat() 53 (kstat_read(st->st_kstat_cookie, stat, NULL) < 0)) { in stats_read_stat() 244 if (kstat_write(st->st_kstat_cookie, ks, NULL) < 0) { in stats_zero_stats()
|
H A D | stats.h | 76 kstat_ctl_t *st_kstat_cookie; member
|
H A D | stats_log.c | 133 if (kstat_write(st->st_kstat_cookie, log, NULL) < 0) { in stats_log_kernel_setname() 167 if (kstat_write(st->st_kstat_cookie, log, NULL) < 0) { in stats_log_which() 205 if ((rc = kstat_lookup(st->st_kstat_cookie, in stats_log_kstat_read() 216 if (kstat_read(st->st_kstat_cookie, rc, NULL) < 0) { in stats_log_kstat_read()
|