Home
last modified time | relevance | path

Searched refs:linkpath (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dlookup.c259 struct st_pathname linkpath; in stlookuppn() local
263 linkpath.pn_buf = &path_tmp[0]; in stlookuppn()
290 stpn_get(pathp, &linkpath); in stlookuppn()
292 if (stpn_pathleft(&linkpath) == 0) in stlookuppn()
293 (void) stpn_set(&linkpath, "."); in stlookuppn()
294 error = stpn_combine(pnp, &linkpath); /* linkpath before pn */ in stlookuppn()
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c303 struct pathname linkpath; in lookuppnvp() local
309 pn_alloc(&linkpath); in lookuppnvp()
310 if (error = pn_getsymlink(cvp, &linkpath, cr)) { in lookuppnvp()
311 pn_free(&linkpath); in lookuppnvp()
315 if (pn_pathleft(&linkpath) == 0) in lookuppnvp()
316 (void) pn_set(&linkpath, "."); in lookuppnvp()
317 error = pn_insert(pnp, &linkpath, strlen(component)); in lookuppnvp()
318 pn_free(&linkpath); in lookuppnvp()
/titanic_50/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c571 char linkpath[PATH_MAX]; in mc_node() local
585 (void) snprintf(linkpath, sizeof (linkpath), "mc/mc"); in mc_node()
587 (void) snprintf(linkpath, sizeof (linkpath), "mc/mc%u", in mc_node()
590 (void) snprintf(linkpath, sizeof (linkpath), "mc/mc%u", in mc_node()
593 (void) devfsadm_mklink(linkpath, node, minor, 0); in mc_node()
/titanic_50/usr/src/uts/common/fs/
H A Dlookup.c454 struct pathname linkpath; in lookuppnvp() local
470 pn_alloc(&linkpath); in lookuppnvp()
471 if (error = pn_getsymlink(cvp, &linkpath, cr)) { in lookuppnvp()
472 pn_free(&linkpath); in lookuppnvp()
477 audit_symlink(pnp, &linkpath); in lookuppnvp()
479 if (pn_pathleft(&linkpath) == 0) in lookuppnvp()
480 (void) pn_set(&linkpath, "."); in lookuppnvp()
481 error = pn_insert(pnp, &linkpath, strlen(component)); in lookuppnvp()
482 pn_free(&linkpath); in lookuppnvp()
/titanic_50/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c257 char *linkpath; in physpath_to_devlink() local
279 linkpath = malloc(PATH_MAX); in physpath_to_devlink()
288 if (dep == NULL || linkpath == NULL || buf == NULL || in physpath_to_devlink()
306 (void) snprintf(linkpath, MAXPATHLEN, in physpath_to_devlink()
309 if (lstat(linkpath, &sb) < 0) in physpath_to_devlink()
314 if ((rv = physpath_to_devlink(linkpath, node_path, in physpath_to_devlink()
326 if (readlink(linkpath, buf, PATH_MAX) < 0) in physpath_to_devlink()
346 *logpp = strdup(linkpath); in physpath_to_devlink()
358 free(linkpath); in physpath_to_devlink()
377 if (linkpath) in physpath_to_devlink()
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c1109 char *linkpath; in smb_pathname_dfs_preprocess() local
1123 linkpath = unc.unc_path; in smb_pathname_dfs_preprocess()
1124 (void) snprintf(path, pathsz, "/%s", (linkpath) ? linkpath : ""); in smb_pathname_dfs_preprocess()
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c870 char linkpath[DFS_PATH_MAX]; in dfs_get_referrals() local
901 linkpath, DFS_PATH_MAX)) { in dfs_get_referrals()
906 status = dfs_link_getinfo(linkpath, referrals, DFS_INFO_ALL); in dfs_get_referrals()
1055 char *linkpath, size_t bufsz) in dfs_namespace_findlink() argument
1064 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath); in dfs_namespace_findlink()
1067 if (dfs_link_stat(linkpath, &stat) != ERROR_SUCCESS) in dfs_namespace_findlink()
1077 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath); in dfs_namespace_findlink()
/titanic_50/usr/src/tools/onbld/Scm/
H A DBackup.py845 linkpath = os.path.join(self.backupdir, 'latest')
847 if os.path.lexists(linkpath):
848 os.unlink(linkpath)
850 os.symlink(str(gen), linkpath)
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2731 struct pathname linkpath; in sdev_modctl_lookup() local
2732 pn_alloc(&linkpath); in sdev_modctl_lookup()
2733 if (error = pn_getsymlink(cvp, &linkpath, kcred)) { in sdev_modctl_lookup()
2734 pn_free(&linkpath); in sdev_modctl_lookup()
2737 if (pn_pathleft(&linkpath) == 0) in sdev_modctl_lookup()
2738 (void) pn_set(&linkpath, "."); in sdev_modctl_lookup()
2739 error = pn_insert(&pn, &linkpath, strlen(nm)); in sdev_modctl_lookup()
2740 pn_free(&linkpath); in sdev_modctl_lookup()
/titanic_50/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c1550 const char *linkpath; in devinfo_devlink_walk() local
1554 if ((linkpath = di_devlink_path(devlink)) == NULL) { in devinfo_devlink_walk()
1559 dprintf((stderr, "devinfo_devlink_walk: %s\n", linkpath)); in devinfo_devlink_walk()
1562 if (add_lookup_entry(di_arg->table, linkpath, di_arg->node)) { in devinfo_devlink_walk()