/osnet-11/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/ |
H A D | opl_dev_led.c | 58 char *phys_path; local 61 phys_path = strdup(apidp->path); 62 if (phys_path == NULL) { 67 if ((strptr = strstr(phys_path, ":")) != NULL) { 70 "%s", (char *)(phys_path)); 72 free(phys_path); 77 free(phys_path); 81 free(phys_path);
|
/osnet-11/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 89 char *phys_path, *path; local 107 if (nvlist_lookup_string (attr_list, DEV_PHYS_PATH, &phys_path) != 0) { 112 if (strncmp (phys_path, "/devices", sizeof ("/devices") - 1) == 0) 113 path = phys_path + sizeof ("/devices") - 1; 115 path = phys_path; 123 HAL_DEBUG (("sysevent_dev_handler %s %s", subclass, phys_path));
|
/osnet-11/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 303 char *phys_path = di_devfs_path(node); local 305 if (strcmp(cbp->cb_path, phys_path) == 0) { 309 di_devfs_path_free(phys_path);
|
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 109 char *phys_path; local 126 if ((phys_path = g_get_physical_name(drv_path)) 130 if ((err = g_get_multipath(phys_path, &ml,
|
H A D | map.c | 255 insert_missing_pwwn(char *phys_path, struct wwn_list_struct **wwn_list_ptr) argument 267 if (g_get_pathlist(phys_path, &pathlist)) { 301 if (strncmp(phys_path, 303 strlen(phys_path)) == 0) { 385 get_scsi_vhci_port_wwn(char *phys_path, uchar_t *port_wwn) argument 391 if (g_get_pathlist(phys_path, &pathlist)) { 4888 * tries to disable the port specified by the argument 'phys_path'. If 4890 * by the argument 'phys_path'.
|
/osnet-11/usr/src/cmd/hal/hald/solaris/ |
H A D | sysevent.c | 179 char *phys_path; local 197 if (nvlist_lookup_string(attr_list, DEVFS_PATHNAME, &phys_path) != 0) { 202 class, subclass, phys_path); 211 &phys_path) != 0) { 216 &phys_path) != 0) { 219 } else if (nvlist_lookup_string(attr_list, DEV_PHYS_PATH, &phys_path) 251 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); 271 gchar phys_path[1024]; local 285 class[0] = subclass[0] = phys_path[0] = dev_name[0] = 288 phys_path, dev_nam 497 sysevent_pwrctl(gchar *class, gchar *subclass, gchar *phys_path, gchar *dev_name, gchar *dev_hid, gchar *dev_uid, uint_t dev_index) argument [all...] |
/osnet-11/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 1779 * path_struct that is passed in IFF the device path passed in ("phys_path") 1783 * phys_path - physical path to a device 1787 * if phys_path is that of an A5K/Daktari disk 1799 load_flds_if_enc_disk(char *phys_path, struct path_struct **path_struct) argument 1808 (phys_path == NULL) || (*phys_path == NULL)) { 1812 if ((strstr(phys_path, SLSH_DRV_NAME_SSD) == NULL) || 1813 (g_get_path_type(phys_path) == 0)) { 1832 if ((err = g_get_dev_map(phys_path, &map, verbose)) != 0) { 1836 if ((err = l_get_ses_path(phys_path, ses_pat 1927 l_convert_name(char *name, char **phys_path, struct path_struct **path_struct, int verbose) argument [all...] |
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 145 di_init(const char *phys_path, uint_t flag) argument 147 return (di_init_impl(phys_path, flag, NULL)); 206 di_init_impl(const char *phys_path, uint_t flag, argument 223 if (strchr(phys_path, ':') || 224 (strncmp(phys_path, "/devices", 8) == 0) || 225 (strlen(phys_path) > MAXPATHLEN)) { 230 if (strlen(phys_path) == 0) 232 else if (*phys_path != '/') 234 "/%s", phys_path); 237 "%s", phys_path); [all...] |