Searched refs:un_stats (Results 1 – 6 of 6) sorted by relevance
358 struct kstat *un_stats; /* disk statistics */ member1656 if ((un)->un_stats != NULL) { \1657 kstat_io_t *kip = KSTAT_IO_PTR((un)->un_stats); \1675 if ((un)->un_stats != NULL) { \1676 kstat_io_t *kip = KSTAT_IO_PTR((un)->un_stats); \
1005 struct kstat *un_stats; /* for I/O statistics */ member
252 #define IOSP KSTAT_IO_PTR(un->un_stats)259 if (un->un_stats) { \649 if (un->un_stats) { in dcd_free_softstate()650 kstat_delete(un->un_stats); in dcd_free_softstate()1399 if (un->un_stats == (kstat_t *)0) { in dcdopen()1400 un->un_stats = kstat_create("dad", instance, in dcdopen()1403 if (un->un_stats) { in dcdopen()1404 un->un_stats->ks_lock = DCD_MUTEX; in dcdopen()1405 kstat_install(un->un_stats); in dcdopen()1559 if (un->un_stats) { in dcdclose()[all …]
122 struct kstat *un_stats; /* for statistics */ member
46 #define IOSP KSTAT_IO_PTR(un->un_stats)53 if ((bp != un->un_sbufp) && un->un_stats && IS_RW(bp)) { \1113 un->un_stats = kstat_create("st", instance, NULL, "tape", in st_attach()1115 if (un->un_stats) { in st_attach()1116 un->un_stats->ks_lock = ST_MUTEX; in st_attach()1117 kstat_install(un->un_stats); in st_attach()1184 kstat_delete(un->un_stats); in st_attach()1404 if (un->un_stats) { in st_detach()1405 kstat_delete(un->un_stats); in st_detach()1406 un->un_stats = (kstat_t *)0; in st_detach()[all …]
7751 un->un_stats = kstat_create(sd_label, instance, in sd_unit_attach()7753 if (un->un_stats != NULL) { in sd_unit_attach()7754 un->un_stats->ks_lock = SD_MUTEX(un); in sd_unit_attach()7755 kstat_install(un->un_stats); in sd_unit_attach()8527 if (un->un_stats != NULL) { in sd_unit_attach()8528 kstat_delete(un->un_stats); in sd_unit_attach()8529 un->un_stats = NULL; in sd_unit_attach()8968 if (un->un_stats != NULL) { in sd_unit_detach()8969 kstat_delete(un->un_stats); in sd_unit_detach()8970 un->un_stats = NULL; in sd_unit_detach()