Home
last modified time | relevance | path

Searched refs:un_pstats (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun/sys/dada/targets/
H A Ddaddef.h123 struct kstat *un_pstats[NDKMAP]; /* for partition statistics */ member
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h384 struct kstat *un_pstats[NSDMAP]; /* partition statistics */ member
1660 (un)->un_pstats[SDPART((bp)->b_edev)]; \
1695 struct kstat *pksp = (un)->un_pstats[SDPART((bp)->b_edev)]; \
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c253 #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()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c8383 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()