/titanic_41/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 45 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 D | findevs.c | 197 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 D | drive.c | 349 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 D | disks_private.h | 50 char *kstat_name; member 73 char *kstat_name; member 83 char *kstat_name; member
|
H A D | cache.c | 159 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 D | montecarlo.c | 872 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 D | acquire_iodevs.c | 540 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 D | zonestatd.c | 3248 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 D | sge.c | 1673 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()
|