Home
last modified time | relevance | path

Searched refs:path_buf (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfixpath.c680 char path_buf[PATH_MAX]; in expand_path() local
685 (void) strlcpy(path_buf, path, sizeof (path_buf)); in expand_path()
686 mappath(getmapmode(), path_buf); in expand_path()
687 canonize(path_buf); in expand_path()
689 return (qstrdup(path_buf)); in expand_path()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c177 char path_buf[MAXPATHLEN]; in dapli_process_tavor_node() local
221 (void) dapl_os_strcpy(path_buf, "/devices"); in dapli_process_tavor_node()
222 (void) dapl_os_strcat(path_buf, dev_path); in dapli_process_tavor_node()
223 (void) dapl_os_strcat(path_buf, ":devctl"); in dapli_process_tavor_node()
235 fd = open(path_buf, O_RDWR); in dapli_process_tavor_node()
239 path_buf, strerror(errno)); in dapli_process_tavor_node()
/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/
H A Dklmmod.c464 char path_buf[MAXPATHLEN]; in nlm_vhold_dcmd() local
491 path_buf, sizeof (path_buf)) != 0) in nlm_vhold_dcmd()
492 strlcpy(path_buf, "?", sizeof (path_buf)); in nlm_vhold_dcmd()
497 mdb_printf(" Vnode: %?p (%s)\n", nv.nv_vp, path_buf); in nlm_vhold_dcmd()
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c1611 char *path_buf; in update_subtree() local
1622 path_buf = di_devfs_path(cnode); in update_subtree()
1623 if (path_buf == NULL) in update_subtree()
1628 di_devfs_path_free(path_buf); in update_subtree()
1635 di_devfs_path_free(path_buf); in update_subtree()
1647 if (((strp = strrchr(path_buf, '/')) != NULL) && in update_subtree()
1668 path_buf, unitaddr); in update_subtree()
1670 path_buf); in update_subtree()
1676 path_buf); in update_subtree()
1678 path_buf); in update_subtree()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c1733 char path_buf[PATH_MAX + 1]; in elfedit_load_module() local
1785 path = path_buf; in elfedit_load_module()
1787 if (snprintf(path_buf, sizeof (path_buf), in elfedit_load_module()
1789 name) > sizeof (path_buf)) in elfedit_load_module()
/illumos-gate/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h188 extern void di_devfs_path_free(char *path_buf);