Searched refs:un_pstats (Results 1 – 4 of 4) sorted by relevance
123 struct kstat *un_pstats[NDKMAP]; /* for partition statistics */ member
384 struct kstat *un_pstats[NSDMAP]; /* partition statistics */ member1660 (un)->un_pstats[SDPART((bp)->b_edev)]; \1695 struct kstat *pksp = (un)->un_pstats[SDPART((bp)->b_edev)]; \
253 #define IO_PARTITION_STATS un->un_pstats[DCDPART(bp->b_edev)]1414 if ((un->un_pstats[i] == (kstat_t *)0) && in dcdopen()1420 un->un_pstats[i] = kstat_create("dad", in dcdopen()1427 if (un->un_pstats[i]) { in dcdopen()1428 un->un_pstats[i]->ks_lock = in dcdopen()1430 kstat_install(un->un_pstats[i]); in dcdopen()1564 if (un->un_pstats[i]) { in dcdclose()1565 kstat_delete(un->un_pstats[i]); in dcdclose()1566 un->un_pstats[i] = (kstat_t *)0; in dcdclose()
8383 if (un->un_pstats[i] != NULL) { in sd_unit_detach()8384 kstat_delete(un->un_pstats[i]); in sd_unit_detach()8385 un->un_pstats[i] = NULL; in sd_unit_detach()8659 if ((un->un_pstats[i] == NULL) && in sd_set_pstats()8666 un->un_pstats[i] = kstat_create(sd_label, in sd_set_pstats()8669 if (un->un_pstats[i] != NULL) { in sd_set_pstats()8670 un->un_pstats[i]->ks_lock = SD_MUTEX(un); in sd_set_pstats()8671 kstat_install(un->un_pstats[i]); in sd_set_pstats()