Home
last modified time | relevance | path

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

/onnv-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c96 char *dnpath; in cpuboard_rc_node_create() local
113 if ((dnpath = di_devfs_path(dnode)) != NULL) { in cpuboard_rc_node_create()
121 rcpath = dnpath; in cpuboard_rc_node_create()
123 dnpath, NULL); in cpuboard_rc_node_create()
127 dnpath); in cpuboard_rc_node_create()
129 di_devfs_path_free(dnpath); in cpuboard_rc_node_create()
136 di_devfs_path_free(dnpath); in cpuboard_rc_node_create()
151 di_devfs_path_free(dnpath); in cpuboard_rc_node_create()
157 di_devfs_path_free(dnpath); in cpuboard_rc_node_create()
169 if (dnpath) { in cpuboard_rc_node_create()
[all …]
/onnv-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c111 char *dnpath; in opl_rc_node_create() local
145 if ((dnpath = di_devfs_path(dnode)) != NULL) { in opl_rc_node_create()
149 dnpath, NULL); in opl_rc_node_create()
153 dnpath); in opl_rc_node_create()
155 di_devfs_path_free(dnpath); in opl_rc_node_create()
162 di_devfs_path_free(dnpath); in opl_rc_node_create()
177 di_devfs_path_free(dnpath); in opl_rc_node_create()
183 di_devfs_path_free(dnpath); in opl_rc_node_create()
188 if (dnpath) { in opl_rc_node_create()
190 TOPO_PROP_IMMUTABLE, dnpath, &err) != 0) { in opl_rc_node_create()
[all …]
/onnv-gate/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcp_network.c64 char dnpath[MAXPATHLEN]; in open_dn() local
82 net2path(dnpath, MAXPATHLEN, location, netp->s_addr, ""); in open_dn()
83 retval = open_file(dnpath, flags, &fd); in open_dn()
104 char dnpath[MAXPATHLEN]; in remove_dn() local
106 net2path(dnpath, MAXPATHLEN, dir, netp->s_addr, ""); in remove_dn()
107 if (unlink(dnpath) == -1) in remove_dn()
273 char dnpath[MAXPATHLEN]; in lookup_dn() local
280 net2path(dnpath, MAXPATHLEN, dhp->dh_location, dhp->dh_net, ""); in lookup_dn()
281 fp = fopen(dnpath, "r"); in lookup_dn()
385 char dnpath[MAXPATHLEN], newpath[MAXPATHLEN]; in update_dn() local
[all …]
/onnv-gate/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcp_network.c65 char dnpath[MAXPATHLEN]; in open_dn() local
83 net2path(dnpath, MAXPATHLEN, location, netp->s_addr, ""); in open_dn()
84 retval = open_file(dnpath, flags, &fd); in open_dn()
153 char dnpath[MAXPATHLEN]; in remove_dn() local
155 net2path(dnpath, MAXPATHLEN, dir, netp->s_addr, ""); in remove_dn()
156 if (unlink(dnpath) == -1) in remove_dn()
343 char dnpath[MAXPATHLEN]; in lookup_dn() local
350 net2path(dnpath, MAXPATHLEN, dhp->dh_location, dhp->dh_net, ""); in lookup_dn()
351 fd = open(dnpath, O_RDONLY); in lookup_dn()
456 char dnpath[MAXPATHLEN], newpath[MAXPATHLEN]; in update_dn() local
[all …]
/onnv-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c178 char dnpath[MAXPATHLEN]; in platform_pciexrc_declare() local
191 (void) snprintf(dnpath, sizeof (dnpath), "/pci@%llx", ba); in platform_pciexrc_declare()
192 fmri = topo_mod_devfmri(mod, FM_DEV_SCHEME_VERSION, dnpath, NULL); in platform_pciexrc_declare()
195 dnpath); in platform_pciexrc_declare()
223 TOPO_PROP_IMMUTABLE, dnpath, &err) != 0) { in platform_pciexrc_declare()
/onnv-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c421 char *dnpath, *path, *fpath, *nm; in ASRU_set() local
437 if ((dnpath = di_devfs_path(did_dinode(pd))) != NULL) { in ASRU_set()
443 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in ASRU_set()
444 di_devfs_path_free(dnpath); in ASRU_set()
447 di_devfs_path_free(dnpath); in ASRU_set()
716 char *dnpath; in DEVprop_set() local
722 if ((dnpath = di_devfs_path(did_dinode(pd))) == NULL) { in DEVprop_set()
726 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in DEVprop_set()
727 di_devfs_path_free(dnpath); in DEVprop_set()
730 di_devfs_path_free(dnpath); in DEVprop_set()
/onnv-gate/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcp_network.c183 char dnpath[MAXPATHLEN]; in open_dn() local
202 net2path(dnpath, MAXPATHLEN, dir, netp->s_addr); in open_dn()
203 retval = open_file(dnpath, flags, &dhp->dh_fd); in open_dn()
307 char dnpath[MAXPATHLEN]; in remove_dn() local
309 net2path(dnpath, MAXPATHLEN, dir, netp->s_addr); in remove_dn()
310 if (unlink(dnpath) == -1) in remove_dn()