Home
last modified time | relevance | path

Searched refs:kstat_name (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c49 char *driver_name, kstat_name[256]; in Sun_sasGetPhyStatistics() local
141 (void *) memset(kstat_name, 0, sizeof (kstat_name)); in Sun_sasGetPhyStatistics()
186 (void) snprintf(kstat_name, sizeof (kstat_name), "%s.%016llx.%u.%u", in Sun_sasGetPhyStatistics()
198 ksp = kstat_lookup(kc, NULL, -1, kstat_name); in Sun_sasGetPhyStatistics()
203 kstat_name, phy); in Sun_sasGetPhyStatistics()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c209 char kstat_name[MAXPATHLEN]; in add_bus() local
266 (void) snprintf(kstat_name, sizeof (kstat_name), "%s%d", in add_bus()
269 if ((bp->kstat_name = strdup(kstat_name)) == NULL) { in add_bus()
318 char kstat_name[MAXPATHLEN]; in add_controller() local
369 (void) snprintf(kstat_name, sizeof (kstat_name), "%s%d", in add_controller()
372 if ((cp->kstat_name = strdup(kstat_name)) == NULL) { in add_controller()
1120 if (libdiskmgt_str_eq(ap->kstat_name, kernel_name)) { in find_alias()
1499 aliasp->kstat_name = NULL; in new_alias()
1513 aliasp->kstat_name = strdup(kernel_name); in new_alias()
1514 if (aliasp->kstat_name == NULL) { in new_alias()
[all …]
H A Ddrive.c355 static char *get_err_attr_name(char *kstat_name);
537 if (ap == NULL || ap->kstat_name == NULL) { in drive_get_stats()
552 if (ap->kstat_name == NULL) { in drive_get_stats()
557 status = get_io_kstats(kc, ap->kstat_name, in drive_get_stats()
560 status = get_err_kstats(kc, ap->kstat_name, in drive_get_stats()
984 char kstat_name[KSTAT_STRLEN]; in get_disk_kstats() local
985 char *dname = kstat_name; in get_disk_kstats()
996 if (libdiskmgt_str_eq(diskname, kstat_name)) { in get_disk_kstats()
1058 get_err_attr_name(char *kstat_name) in get_err_attr_name() argument
1063 if (libdiskmgt_str_eq(kstat_name, kstat_err_names[i])) { in get_err_attr_name()
H A Ddisks_private.h56 char *kstat_name; member
78 char *kstat_name; member
88 char *kstat_name; member
H A Dcache.c161 free(aliasp->kstat_name); in cache_free_alias()
194 free(bp->kstat_name); in cache_free_bus()
204 free(cp->kstat_name); in cache_free_controller()
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c538 char kstat_name[KSTAT_STRLEN]; in acquire_iodev_errors() local
539 char *dname = kstat_name; in acquire_iodev_errors()
561 iodev = find_iodev_by_name(ss->s_iodevs, kstat_name); in acquire_iodev_errors()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3242 char kstat_name[KSTAT_STRLEN]; in zsd_refresh_memory() local
3471 (void) snprintf(kstat_name, sizeof (kstat_name), in zsd_refresh_memory()
3475 zone->zsz_id, kstat_name); in zsd_refresh_memory()
3491 (void) snprintf(kstat_name, sizeof (kstat_name), in zsd_refresh_memory()
3495 zone->zsz_id, kstat_name); in zsd_refresh_memory()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c1671 char kstat_name[32]; in sge_kstat_setup() local
1772 (void) sprintf(kstat_name, "tx_descs[%02d]", i); in sge_kstat_setup()
1774 kstat_name, KSTAT_DATA_UINT32); in sge_kstat_setup()