/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | sysevent.c | 163 char *phys_path; local 181 if (nvlist_lookup_string(attr_list, DEVFS_PATHNAME, &phys_path) != 0) { 186 class, subclass, phys_path); 195 &phys_path) != 0) { 200 &phys_path) != 0) { 203 } else if (nvlist_lookup_string(attr_list, DEV_PHYS_PATH, &phys_path) 235 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); 255 gchar phys_path[1024]; local 269 class[0] = subclass[0] = phys_path[0] = dev_name[0] = 272 phys_path, dev_nam 481 sysevent_pwrctl(gchar *class, gchar *subclass, gchar *phys_path, gchar *dev_name, gchar *dev_hid, gchar *dev_uid, uint_t dev_index) argument [all...] |
/illumos-gate/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);
|
/illumos-gate/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));
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 154 char phys_path[PATH_MAX]; local 266 (void) strncpy((char *)phys_path, &pcibus_list[i][0], 269 strtok((char *)phys_path, ":")) != NULL)) { 1057 char phys_path[PATH_MAX], *path; local 1191 (void) strcpy(phys_path, "/devices"); 1192 (void) strncat(phys_path, path, strlen(path)); 1196 (char *)phys_path) != NULL)) { 1199 phys_path); 1205 (void) strncat(phys_path, ":", 1); 1206 (void) strncat(phys_path, 1589 handle_emulex_error(int fcio_errno, char *phys_path) argument [all...] |
H A D | fchba.c | 654 char *phys_path = local 658 if (phys_path != NULL) { 661 fprintf(stdout, "\n %s\n", phys_path); 662 free(phys_path); 1342 char *phys_path = get_slash_devices_from_osDevName( local 1355 if (phys_path == NULL || strstr(phys_path, VHCI_COMPONENT) == NULL) { 1378 free(phys_path); 1390 free(phys_path); 1397 retval = get_scsi_vhci_pathinfo(phys_path, 1526 char *phys_path = NULL; local [all...] |
H A D | g_adm.c | 121 static int get_enclStatus(char *phys_path, char *encl_name, int off_flag); 1974 get_enclStatus(char *phys_path, char *encl_name, int off_flag) argument 1980 if ((err = l_get_status(phys_path, 4099 char phys_path[MAXPATHLEN]; local 4113 (void) strcpy(phys_path, path_struct->p_physical_path); 4123 (void) strcpy(last_logical_path, phys_path); 4149 (void) strcpy(phys_path, wwn_list_ptr->physical_path); 4162 (void) strcpy(phys_path, wwn_list_ptr->physical_path); 4172 if ((err = g_get_multipath(phys_path, 4187 if (l_get_mode_pg(phys_path, 5857 char phys_path[MAXPATHLEN], last_logical_path[MAXPATHLEN]; local 6087 display_lun_info(L_disk_state l_disk_state, Path_struct *path_struct, struct mode_page *pg_hdr, int mode_data_avail, WWN_list *wwn_list, char *phys_path) argument [all...] |
H A D | lux_util.c | 1185 char *tmp, *phys_path; local 1248 phys_path = (char *)calloc(1, 1250 if (phys_path != NULL) { 1251 (void) strncpy(phys_path, 1254 return (phys_path); 1307 phys_path = (char *)calloc(1, strlen(source) + 1); 1308 if (phys_path != NULL) { 1309 (void) strncpy(phys_path, source, 1312 return (phys_path);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | disk_link.c | 781 char phys_path[PATH_MAX]; local 806 (void) strlcpy(phys_path, minor_path, sizeof (phys_path)); 811 (void) di_devlink_cache_walk(dvlink_cache, DISK_LINK_RE, phys_path, 822 s = strrchr(phys_path, ':'); 825 modname, phys_path); 828 (void) snprintf(s+1, sizeof (phys_path) - (s + 1 - phys_path), 832 phys_path, DI_PRIMARY_LINK, &head, dvlink_cb); 837 modname, phys_path); [all...] |
H A D | port_link.c | 370 portcmp(char *devfs_path, char *phys_path) argument 385 p2 = strrchr(phys_path, ':'); 395 rv = strcmp(devfs_path, phys_path); 416 check_compat_ports(di_node_t node, char *phys_path, char *minor) argument 427 portcmp(devfs_path, phys_path) != 0) { 436 portcmp(devfs_path, phys_path) != 0) { 444 * Neither link exists or both links point at "phys_path"
|
H A D | devfsadm.h | 227 char **devfsadm_lookup_dev_names(char *phys_path, char *re, int *lenp);
|
H A D | devfsadm.c | 7026 * Return all devlinks corresponding to phys_path as an array of strings. 7032 * match devlinks pointing to phys_path; it may be NULL to match all 7035 devfsadm_lookup_dev_names(char *phys_path, char *re, int *lenp) argument 7044 (void) di_devlink_cache_walk(devlink_cache, re, phys_path, 7992 * Lookup dev name corresponding to the phys_path. 7993 * phys_path is path to a node or minor node. 8003 lookup_dev_name(char *phys_path, char **dev_name) argument 8011 (void) di_devlink_cache_walk(devlink_cache, NULL, phys_path, 8135 char phys_path[MAXPATHLEN]; local 8142 (void) snprintf(phys_path, sizeo [all...] |
/illumos-gate/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);
|
/illumos-gate/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 | 256 insert_missing_pwwn(char *phys_path, struct wwn_list_struct **wwn_list_ptr) argument 268 if (g_get_pathlist(phys_path, &pathlist)) { 302 if (strncmp(phys_path, 304 strlen(phys_path)) == 0) { 386 get_scsi_vhci_port_wwn(char *phys_path, uchar_t *port_wwn) argument 392 if (g_get_pathlist(phys_path, &pathlist)) { 4889 * tries to disable the port specified by the argument 'phys_path'. If 4891 * by the argument 'phys_path'.
|
/illumos-gate/usr/src/cmd/boot/scripts/ |
H A D | update_grub.ksh | 81 fstyp -a "$dev" | grep 'path: ' | grep -v phys_path: |
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 88 di_init(const char *phys_path, uint_t flag) argument 90 return (di_init_impl(phys_path, flag, NULL)); 149 di_init_impl(const char *phys_path, uint_t flag, argument 166 if (strchr(phys_path, ':') || 167 (strncmp(phys_path, "/devices", 8) == 0) || 168 (strlen(phys_path) > MAXPATHLEN)) { 173 if (strlen(phys_path) == 0) 175 else if (*phys_path != '/') 177 "/%s", phys_path); 180 "%s", phys_path); [all...] |
H A D | libdevinfo.h | 154 extern di_node_t di_init(const char *phys_path, uint_t flag); 401 extern di_node_t di_init_impl(const char *phys_path, uint_t flag,
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 1780 * path_struct that is passed in IFF the device path passed in ("phys_path") 1784 * phys_path - physical path to a device 1788 * if phys_path is that of an A5K/Daktari disk 1800 load_flds_if_enc_disk(char *phys_path, struct path_struct **path_struct) argument 1809 (phys_path == NULL) || (*phys_path == NULL)) { 1813 if ((strstr(phys_path, SLSH_DRV_NAME_SSD) == NULL) || 1814 (g_get_path_type(phys_path) == 0)) { 1833 if ((err = g_get_dev_map(phys_path, &map, verbose)) != 0) { 1837 if ((err = l_get_ses_path(phys_path, ses_pat 1928 l_convert_name(char *name, char **phys_path, struct path_struct **path_struct, int verbose) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 1007 char *phys_path; local 1018 phys_path = di_devfs_path(f_node); 1019 if ((prom_node = di_init(phys_path, DINFOMINOR))
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 1078 char *phys_path; local 1089 phys_path = di_devfs_path(f_node); 1090 if ((prom_node = di_init(phys_path, DINFOMINOR)) !=
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mdi_impldefs.h | 1083 char *phys_path; member in struct:mdi_phys_path
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunmdi.c | 8624 pp->phys_path = kmem_alloc(len, KM_SLEEP); 8625 (void) snprintf(pp->phys_path, len, "%s/%s@%s", 8651 kmem_free(pp->phys_path, strlen(pp->phys_path) + 1); 8779 (void) bus_config_one_phci_child(pp->phys_path); 8947 if (bus_config_one_phci_child(pp->phys_path) == MDI_SUCCESS) {
|