/titanic_41/usr/src/uts/common/fs/ |
H A D | pathname.c | 77 pnp->pn_path = pnp->pn_buf = kmem_alloc(MAXPATHLEN, KM_SLEEP); in pn_alloc() 89 kmem_free(pnp->pn_buf, pnp->pn_bufsize); in pn_free() 90 pnp->pn_path = pnp->pn_buf = NULL; in pn_free() 106 pnp->pn_path = pnp->pn_buf = buf; in pn_get_buf() 144 pnp->pn_path = pnp->pn_buf; in pn_set() 172 ovbcopy(pnp->pn_path, pnp->pn_buf + sympnp->pn_pathlen, in pn_insert() 174 bcopy(sympnp->pn_path, pnp->pn_buf, sympnp->pn_pathlen); in pn_insert() 176 pnp->pn_buf[pnp->pn_pathlen] = '\0'; in pn_insert() 177 pnp->pn_path = pnp->pn_buf; in pn_insert() 182 if ((pnp->pn_path - pnp->pn_buf) - complen + in pn_insert() [all …]
|
H A D | lookup.c | 529 error = copystr(pp->pn_buf, in lookuppnvp() 580 if (pnp->pn_path == pnp->pn_buf) in lookuppnvp() 969 ret = path + (pn.pn_path - pn.pn_buf); in localpath() 1056 rpn.pn_path = rpn.pn_buf; in dirtopath() 1097 rpn.pn_path = rpn.pn_buf; in dirtopath() 1290 ASSERT(pn.pn_buf[0] == '/'); in vnodetopath_common()
|
H A D | gfs.c | 815 (void) strlcpy(rpnp->pn_buf, ge->gfse_name, in gfs_dir_lookup_static()
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | pathname.c | 68 if (pnp->pn_buf == NULL) in stpn_alloc() 70 pnp->pn_path = (char *)pnp->pn_buf; in stpn_alloc() 94 pnp->pn_path = pnp->pn_buf; in stpn_set() 113 bcopy(pnp->pn_path, pnp->pn_buf + sympnp->pn_pathlen, in stpn_combine() 115 bcopy(sympnp->pn_path, pnp->pn_buf, (uint_t)sympnp->pn_pathlen); in stpn_combine() 117 pnp->pn_buf[pnp->pn_pathlen] = '\0'; in stpn_combine() 118 pnp->pn_path = pnp->pn_buf; in stpn_combine()
|
H A D | lookup.c | 88 pnp.pn_buf = &lkup_path[0]; in lookup() 89 bzero(pnp.pn_buf, NFS_MAXPATHLEN); in lookup() 263 linkpath.pn_buf = &path_tmp[0]; in stlookuppn()
|
H A D | st_pathname.h | 44 char *pn_buf; /* underlying storage */ member
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | pathname.h | 61 char *pn_buf; /* underlying storage */ member
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_lookup.c | 373 error = copystr(pp->pn_buf, in lookuppnvp() 419 if (pnp->pn_path == pnp->pn_buf) in lookuppnvp()
|
/titanic_41/usr/src/uts/common/c2/ |
H A D | audit.c | 213 len = (pnp->pn_path - pnp->pn_buf) + 1; /* +1 for terminator */ in audit_pathbuild() 220 } else if ((tad->tad_ctrl & TAD_ATCALL) && pnp->pn_buf[0] != '/') { in audit_pathbuild() 243 bcopy(pnp->pn_buf, pp, len); in audit_pathbuild() 391 if (sympath->pn_buf[0] == '/') in audit_symlink() 396 while (*--cp != '/' && cp > pnp->pn_buf) in audit_symlink() 399 len_path = cp - pnp->pn_buf; in audit_symlink() 403 pnp->pn_path = pnp->pn_buf; in audit_symlink()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 262 if ((strcmp(ppn.pn_buf, "/") == 0) || (ppn.pn_buf[0] == '\0')) { in smb_pathname_reduce() 266 err = smb_pathname(sr, ppn.pn_buf, lookup_flags, in smb_pathname_reduce()
|
H A D | smb_vops.c | 618 np = (option_flags == FIGNORECASE) ? rpn.pn_buf : name; in smb_vop_lookup()
|
/titanic_41/usr/src/uts/common/fs/zut/ |
H A D | zut.c | 55 (void) strlcpy(pn.pn_buf, path, MAXPATHLEN); in zut_open_dir() 299 bzero(rpn.pn_buf, MAXPATHLEN); in zut_lookup()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfs_dir.c | 77 buf = rpnp->pn_buf; in zfs_match_find() 431 (void) strlcpy(rpnp->pn_buf, name, rpnp->pn_bufsize); in zfs_dirlook()
|
H A D | zfs_ctldir.c | 830 (void) strlcpy(realpnp->pn_buf, nm, in zfsctl_snapdir_lookup()
|
H A D | zfs_vnops.c | 1718 dnlc_remove(dvp, realnmp->pn_buf); in zfs_remove()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vfsops.c | 1410 addlen = oldpn.pn_path - oldpn.pn_buf; in resolve_sympath() 1411 bcopy(oldpn.pn_buf, newpn.pn_path, addlen); in resolve_sympath() 1414 newpn.pn_buf[newpn.pn_pathlen] = '/'; in resolve_sympath() 1450 newpn.pn_buf[newpn.pn_pathlen] = '\0'; in resolve_sympath() 1454 bcopy(newpn.pn_buf, newpath, newpn.pn_pathlen); in resolve_sympath()
|