Home
last modified time | relevance | path

Searched refs:node_path (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c505 char *phci_path, *node_path; in is_xport_phys_in_pathlist() local
561 if ((node_path = di_devfs_path(node)) != NULL) { in is_xport_phys_in_pathlist()
562 if (strncmp(vhci_path_ptr, node_path, in is_xport_phys_in_pathlist()
563 strlen(node_path)) != 0) { in is_xport_phys_in_pathlist()
564 di_devfs_path_free(node_path); in is_xport_phys_in_pathlist()
578 di_devfs_path_free(node_path); in is_xport_phys_in_pathlist()
1067 char *node_path, *vhci_path, *update_str; in unconf_vhci_nodes() local
1077 if ((node_path = di_devfs_path(fp_node)) == NULL) { in unconf_vhci_nodes()
1092 node_path, 0); in unconf_vhci_nodes()
1093 di_devfs_path_free(node_path); in unconf_vhci_nodes()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c4242 hot_cleanup(char *node_path, char *minor_name, char *ev_subclass, in hot_cleanup() argument
4262 node_path, DI_NODE_NIL, driver_name, instance, minor_name); in hot_cleanup()
4264 (void) strcpy(path, node_path); in hot_cleanup()
4353 node_path, root_dir); in hot_cleanup()
6750 char *node_path; in construct_devlink() local
6766 node_path = di_devfs_path(node); in construct_devlink()
6767 err_print(CANNOT_BE_USED, pattern, node_path, in construct_devlink()
6769 di_devfs_path_free(node_path); in construct_devlink()
6776 node_path = di_devfs_path(node); in construct_devlink()
6777 err_print(CANNOT_BE_USED, pattern, node_path, in construct_devlink()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c1119 char *node_path, in physpath_to_devlink() argument
1136 minor_path = node_path + strlen(DEVICES_DIR); in physpath_to_devlink()
1140 larg.len = strlen(node_path); in physpath_to_devlink()
1141 larg.path = node_path; in physpath_to_devlink()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c216 const char *node_path, in physpath_to_devlink() argument
233 minor_path = (char *)node_path + strlen("/devices"); in physpath_to_devlink()
237 larg.len = strlen(node_path); in physpath_to_devlink()
238 larg.path = (char *)node_path; in physpath_to_devlink()
/illumos-gate/usr/src/uts/common/os/
H A Ddevcfg.c5071 i_log_devfs_branch(char *node_path, char *subclass) in i_log_devfs_branch() argument
5090 se_val.value.sv_string = node_path; in i_log_devfs_branch()
5113 subclass, node_path, in i_log_devfs_branch()
5126 char *node_path; in i_log_devfs_branch_add() local
5129 node_path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in i_log_devfs_branch_add()
5130 (void) ddi_pathname(dip, node_path); in i_log_devfs_branch_add()
5131 rv = i_log_devfs_branch(node_path, ESC_DEVFS_BRANCH_ADD); in i_log_devfs_branch_add()
5132 kmem_free(node_path, MAXPATHLEN); in i_log_devfs_branch_add()
5141 i_log_devfs_branch_remove(char *node_path) in i_log_devfs_branch_remove() argument
5143 return (i_log_devfs_branch(node_path, ESC_DEVFS_BRANCH_REMOVE)); in i_log_devfs_branch_remove()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c256 physpath_to_devlink(const char *basedir, const char *node_path, in physpath_to_devlink() argument
316 if ((rv = physpath_to_devlink(linkpath, node_path, in physpath_to_devlink()
347 if (strcmp(p, node_path) == 0) { in physpath_to_devlink()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c264 ib_physpath_to_devlink(char *node_path, char **logpp, int *l_errnop) in ib_physpath_to_devlink() argument
277 minor_path = (char *)node_path + strlen("/devices"); in ib_physpath_to_devlink()