Home
last modified time | relevance | path

Searched refs:DEVICES_DIR (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libpcp/common/
H A Dpcp_utils.c49 #define DEVICES_DIR "/devices" macro
253 strlen(DEVICES_DIR) + 1); in svc_name_to_glvc_dev_path()
254 (void) strcpy(dev_path, DEVICES_DIR); in svc_name_to_glvc_dev_path()
305 strlen(DEVICES_DIR) + 1); in svc_name_to_vldc_dev_path()
306 (void) strcpy(dev_path, DEVICES_DIR); in svc_name_to_vldc_dev_path()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c216 if (strncmp(devfs_phys, DEVICES_DIR SLASH, strlen(DEVICES_DIR) + in is_apid_configured()
218 cp = devfs_phys + strlen(DEVICES_DIR); in is_apid_configured()
398 devlen = strlen(DEVICES_DIR) + in is_apid_configured()
406 "%s%s", DEVICES_DIR, path_name); in is_apid_configured()
484 devlen = strlen(DEVICES_DIR) + strlen(path_name) + 1; in insert_lun_to_lunlist()
491 (void) snprintf(pathp, devlen, "%s%s", DEVICES_DIR, path_name); in insert_lun_to_lunlist()
770 devlen = strlen(DEVICES_DIR) + strlen(path_name) + 1; in construct_nodepath_from_dinode()
776 "%s%s", DEVICES_DIR, path_name); in construct_nodepath_from_dinode()
H A Dcfga_cs.c545 pathname_ptr = pathname + strlen(DEVICES_DIR); in is_xport_phys_in_pathlist()
553 vhci_path_ptr = vhci_path + strlen(DEVICES_DIR); in is_xport_phys_in_pathlist()
1131 sprintf(pathname, "%s%s/%s@w%s,%x", DEVICES_DIR, node_path, in unconf_vhci_nodes()
1291 sprintf(pathname, "%s%s", DEVICES_DIR, node_path); in unconf_non_vhci_nodes()
1439 if (strncmp(pathname, DEVICES_DIR, strlen(DEVICES_DIR))) { in unconf_any_devinfo_nodes()
1464 ptr = pathname + strlen(DEVICES_DIR); in unconf_any_devinfo_nodes()
H A Dcfga_list.c1225 len = strlen(DEVICES_DIR) + strlen(devfsp) + 1; in stat_fc_dev()
1235 (void) snprintf(nodepath, len, "%s%s", DEVICES_DIR, devfsp); in stat_fc_dev()
1354 len = strlen(DEVICES_DIR) + strlen(devfsp) + 1; in stat_FCP_dev()
1364 (void) snprintf(nodepath, len, "%s%s", DEVICES_DIR, devfsp); in stat_FCP_dev()
2897 devlen = strlen(DEVICES_DIR) + strlen(client_path) + 1; in init_ldata_for_mpath_dev()
2904 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, client_path); in init_ldata_for_mpath_dev()
H A Dcfga_fp.h390 #define DEVICES_DIR "/devices" macro
H A Dcfga_utils.c517 len = strlen(DEVICES_DIR); in walk_tree()
518 if (strncmp(root_path, DEVICES_DIR SLASH, in walk_tree()
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevtree_phy_disco.c98 DEVICES_DIR, portDevpath); in get_phy_info()
110 DEVICES_DIR, portDevpath); in get_phy_info()
124 found on port %s%s", DEVICES_DIR, in get_phy_info()
H A Ddevtree_device_disco.c58 (void) snprintf(fullpath, MAXPATHLEN, "%s%s%s", DEVICES_DIR, in get_minor()
271 DEVICES_DIR, devpath); in get_attached_devices_info()
459 DEVICES_DIR, devpath, minorname); in get_attached_devices_info()
583 "%s%s%s", DEVICES_DIR, devpath, minorname); in get_attached_devices_info()
711 (void) snprintf(fullpath, sizeof (fullpath), "%s%s", DEVICES_DIR, in get_attached_paths_info()
997 "%s%s%s", DEVICES_DIR, clientdevpath, minorname); in get_attached_paths_info()
H A DSun_sasRefreshAdapterConfiguration.c58 (void) snprintf(fulldevpath, MAXPATHLEN, "%s%s", DEVICES_DIR, in find_matching_hba()
H A DSun_sasRefreshInformation.c55 (void) snprintf(fulldevpath, MAXPATHLEN, "%s%s", DEVICES_DIR, in match_smhba_sas_hba()
H A Ddevtree_hba_disco.c184 "%s%s%s", DEVICES_DIR, portDevpath, SCSI_SUFFIX); in add_hba_port_info()
422 "%s%s", DEVICES_DIR, new_hba->device_path); in devtree_get_one_hba()
H A Dsun_sas.h77 #define DEVICES_DIR "/devices" macro
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c429 len = strlen(DEVICES_DIR); in walk_tree()
430 if (strncmp(root_path, DEVICES_DIR SLASH, in walk_tree()
805 len = strlen(DEVICES_DIR); in path_apid_state_change()
806 if (strncmp(root_path, DEVICES_DIR SLASH, in path_apid_state_change()
902 strlen(DEVICES_DIR) + in path_apid_state_change()
904 DEVICES_DIR, client_path); in path_apid_state_change()
1136 minor_path = node_path + strlen(DEVICES_DIR); in physpath_to_devlink()
H A Dcfga_cvt.c319 len = strlen(DEVICES_DIR); in path_apid_dyn_to_path()
320 if (strncmp(root_path, DEVICES_DIR SLASH, in path_apid_dyn_to_path()
389 len = strlen(DEVICES_DIR) + strlen(devpath) + 1; in path_apid_dyn_to_path()
398 DEVICES_DIR, devpath); in path_apid_dyn_to_path()
485 devlen = strlen(DEVICES_DIR) + strlen(physpath) + 1; in do_drv_dyn_to_devpath()
499 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, physpath); in do_drv_dyn_to_devpath()
H A Dcfga_list.c341 len = strlen(DEVICES_DIR) + strlen(devfsp) + 1; in stat_dev()
351 (void) snprintf(nodepath, len, "%s%s", DEVICES_DIR, devfsp); in stat_dev()
471 DEVICES_DIR, client_path); in create_pathinfo_ldata()
475 DEVICES_DIR, client_path, di_minor_name(minor)); in create_pathinfo_ldata()
H A Dcfga_ctl.c725 bus_path = apidp->hba_phys + strlen(DEVICES_DIR); in quiesce_required()
752 dev_path = apidp->path + strlen(DEVICES_DIR); in quiesce_required()
1464 len = strlen(path) + sizeof (DEVICES_DIR); in add_dev()
1470 (void) snprintf(p, len, "%s%s", DEVICES_DIR, path); in add_dev()
H A Dcfga_scsi.h325 #define DEVICES_DIR "/devices" macro
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_state.h121 #define DEVICES_DIR "/devices" macro
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c315 #define DEVICES_DIR "/devices" macro
1114 liblocp->ap_physical + strlen(DEVICES_DIR), in mklog_v2()
1550 DEVICES_DIR, devfs_path, name); in load_lib_impl()
1616 DEVICES_DIR, devfs_path, name); in load_lib_impl()
1945 len = strlen(DEVICES_DIR); in find_ap_common()
1946 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) { in find_ap_common()
2256 DEVICES_DIR, devfs_path, minor_name); in check_ap_phys_impl()
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c71 #define DEVICES_DIR "/devices" macro
303 len = strlen(DEVICES_DIR); in physpath2node()
304 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) { in physpath2node()
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c62 #define DEVICES_DIR "/devices" macro
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmap.c5877 sprintf(mypath, "%s%s", DEVICES_DIR, tptr); in my_devfs_path()