Searched refs:bmp_kstats (Results 1 – 3 of 3) sorted by relevance
266 if (krdc->bmp_kstats) { in rdc_read_header()267 mutex_enter(krdc->bmp_kstats->ks_lock); in rdc_read_header()268 kstat_runq_enter(KSTAT_IO_PTR(krdc->bmp_kstats)); in rdc_read_header()269 mutex_exit(krdc->bmp_kstats->ks_lock); in rdc_read_header()275 if (krdc->bmp_kstats) { in rdc_read_header()276 mutex_enter(krdc->bmp_kstats->ks_lock); in rdc_read_header()277 kstat_runq_exit(KSTAT_IO_PTR(krdc->bmp_kstats)); in rdc_read_header()278 mutex_exit(krdc->bmp_kstats->ks_lock); in rdc_read_header()279 KSTAT_IO_PTR(krdc->bmp_kstats)->reads++; in rdc_read_header()280 KSTAT_IO_PTR(krdc->bmp_kstats)->nread += sizeof (rdc_header_t); in rdc_read_header()[all …]
1047 krdc->bmp_kstats = kstat_create("sndrbmp", j, NULL, in rdc_kstat_create()1049 if (krdc->bmp_kstats) { in rdc_kstat_create()1050 krdc->bmp_kstats->ks_lock = &krdc->bmp_kstat_mutex; in rdc_kstat_create()1051 kstat_install(krdc->bmp_kstats); in rdc_kstat_create()1069 if (krdc->bmp_kstats) { in rdc_kstat_delete()1070 kstat_delete(krdc->bmp_kstats); in rdc_kstat_delete()1071 krdc->bmp_kstats = NULL; in rdc_kstat_delete()
528 kstat_t *bmp_kstats; /* bitmap io kstat */ member