Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c45 char *driver_name, kstat_name[256]; in Sun_sasGetPhyStatistics() local
137 (void *) memset(kstat_name, 0, sizeof (kstat_name)); in Sun_sasGetPhyStatistics()
182 (void) snprintf(kstat_name, sizeof (kstat_name), "%s.%016llx.%u.%u", in Sun_sasGetPhyStatistics()
194 ksp = kstat_lookup(kc, NULL, -1, kstat_name); in Sun_sasGetPhyStatistics()
199 kstat_name, phy); in Sun_sasGetPhyStatistics()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c197 char kstat_name[MAXPATHLEN]; in add_bus() local
254 (void) snprintf(kstat_name, sizeof (kstat_name), "%s%d", in add_bus()
257 if ((bp->kstat_name = strdup(kstat_name)) == NULL) { in add_bus()
358 char kstat_name[MAXPATHLEN]; in add_controller() local
409 (void) snprintf(kstat_name, sizeof (kstat_name), "%s%d", in add_controller()
412 if ((cp->kstat_name = strdup(kstat_name)) == NULL) { in add_controller()
1157 if (libdiskmgt_str_eq(ap->kstat_name, kernel_name)) { in find_alias()
1684 aliasp->kstat_name = NULL; in new_alias()
1698 aliasp->kstat_name = strdup(kernel_name); in new_alias()
1699 if (aliasp->kstat_name == NULL) { in new_alias()
[all …]
H A Ddrive.c349 static char *get_err_attr_name(char *kstat_name);
532 if (ap == NULL || ap->kstat_name == NULL) { in drive_get_stats()
547 if (ap->kstat_name == NULL) { in drive_get_stats()
552 status = get_io_kstats(kc, ap->kstat_name, stats); in drive_get_stats()
554 status = get_err_kstats(kc, ap->kstat_name, stats); in drive_get_stats()
969 char kstat_name[KSTAT_STRLEN]; in get_disk_kstats() local
970 char *dname = kstat_name; in get_disk_kstats()
979 if (libdiskmgt_str_eq(diskname, kstat_name)) { in get_disk_kstats()
1040 get_err_attr_name(char *kstat_name) in get_err_attr_name() argument
1045 if (libdiskmgt_str_eq(kstat_name, kstat_err_names[i])) { in get_err_attr_name()
H A Ddisks_private.h50 char *kstat_name; member
73 char *kstat_name; member
83 char *kstat_name; member
H A Dcache.c159 free(aliasp->kstat_name); in cache_free_alias()
192 free(bp->kstat_name); in cache_free_bus()
202 free(cp->kstat_name); in cache_free_controller()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c872 char *kstat_name = NULL; in do_pcf8574_kstat() local
887 kstat_name = I2C_KSTAT_PWRSUPPLY; in do_pcf8574_kstat()
888 strncat(kstat_name, "1", 1); in do_pcf8574_kstat()
890 kstat_name = I2C_KSTAT_PWRSUPPLY; in do_pcf8574_kstat()
891 strncat(kstat_name, "2", 1); in do_pcf8574_kstat()
893 if ((ksp_ps = kstat_lookup(kc, I2C_PCF8574_NAME, 0, kstat_name)) in do_pcf8574_kstat()
915 kstat_name = I2C_KSTAT_FANTRAY; in do_pcf8574_kstat()
916 strncat(kstat_name, "1", 1); in do_pcf8574_kstat()
918 kstat_name = I2C_KSTAT_FANTRAY; in do_pcf8574_kstat()
919 strncat(kstat_name, "2", 1); in do_pcf8574_kstat()
[all …]
/titanic_41/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c540 char kstat_name[KSTAT_STRLEN]; in acquire_iodev_errors() local
541 char *dname = kstat_name; in acquire_iodev_errors()
563 iodev = find_iodev_by_name(ss->s_iodevs, kstat_name); in acquire_iodev_errors()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3248 char kstat_name[KSTAT_STRLEN]; in zsd_refresh_memory() local
3477 (void) snprintf(kstat_name, sizeof (kstat_name), in zsd_refresh_memory()
3481 zone->zsz_id, kstat_name); in zsd_refresh_memory()
3497 (void) snprintf(kstat_name, sizeof (kstat_name), in zsd_refresh_memory()
3501 zone->zsz_id, kstat_name); in zsd_refresh_memory()
/titanic_41/usr/src/uts/common/io/chxge/
H A Dsge.c1673 char kstat_name[32]; in sge_kstat_setup() local
1774 (void) sprintf(kstat_name, "tx_descs[%02d]", i); in sge_kstat_setup()
1776 kstat_name, KSTAT_DATA_UINT32); in sge_kstat_setup()