/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 1893 dnlc_remove(dvp, realnmp->pn_buf); in zfs_remove()
|
H A D | zfs_dir.c | 79 buf = rpnp->pn_buf; in zfs_match_find() 448 (void) strlcpy(rpnp->pn_buf, name, rpnp->pn_bufsize); in zfs_dirlook()
|
H A D | zfs_ctldir.c | 825 (void) strlcpy(realpnp->pn_buf, nm, in zfsctl_snapdir_lookup()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 776 bzero(rpn.pn_buf, rpn.pn_bufsize); in smb_vop_lookup() 784 rpn.pn_buf[0] != '\0') in smb_vop_lookup() 785 np = rpn.pn_buf; in smb_vop_lookup()
|
H A D | smb_pathname.c | 299 if ((strcmp(ppn.pn_buf, "/") == 0) || (ppn.pn_buf[0] == '\0')) { in smb_pathname_reduce() 303 err = smb_pathname(sr, ppn.pn_buf, lookup_flags, in smb_pathname_reduce() 628 mnt_pn->pn_path = mnt_pn->pn_buf + in smb_pathname() 630 (ptrdiff_t)upn.pn_buf); in smb_pathname()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | lookup.c | 534 error = copystr(pp->pn_buf, in lookuppnvp() 585 if (pnp->pn_path == pnp->pn_buf) in lookuppnvp() 975 ret = path + (pn.pn_path - pn.pn_buf); in localpath() 1184 rpn.pn_path = rpn.pn_buf; in dirtopath() 1413 ASSERT(pn.pn_buf[0] == '/'); in vnodetopath_common()
|
H A D | pathname.c | 92 kmem_free(pnp->pn_buf, pnp->pn_bufsize); in pn_free() 93 pnp->pn_path = pnp->pn_buf = NULL; in pn_free() 109 pnp->pn_path = pnp->pn_buf = buf; in pn_get_buf() 147 pnp->pn_path = pnp->pn_buf; in pn_set() 179 pnp->pn_buf[pnp->pn_pathlen] = '\0'; in pn_insert() 180 pnp->pn_path = pnp->pn_buf; in pn_insert() 185 if ((pnp->pn_path - pnp->pn_buf) - complen + in pn_insert() 207 aiov.iov_base = pnp->pn_path = pnp->pn_buf; in pn_getsymlink() 280 char *buf = pnp->pn_buf; in pn_setlast() 323 pnp->pn_buf + pnp->pn_bufsize) { in pn_addslash() [all …]
|
H A D | gfs.c | 816 (void) strlcpy(rpnp->pn_buf, ge->gfse_name, in gfs_dir_lookup_static()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pathname.h | 61 char *pn_buf; /* underlying storage */ member
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_lookup.c | 459 error = copystr(pp->pn_buf, in lookuppnvp() 505 if (pnp->pn_path == pnp->pn_buf) in lookuppnvp()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 212 len = (pnp->pn_path - pnp->pn_buf) + 1; /* +1 for terminator */ in audit_pathbuild() 219 } else if ((tad->tad_ctrl & TAD_ATCALL) && pnp->pn_buf[0] != '/') { in audit_pathbuild() 242 bcopy(pnp->pn_buf, pp, len); in audit_pathbuild() 390 if (sympath->pn_buf[0] == '/') in audit_symlink() 395 while (*--cp != '/' && cp > pnp->pn_buf) in audit_symlink() 398 len_path = cp - pnp->pn_buf; in audit_symlink() 402 pnp->pn_path = pnp->pn_buf; in audit_symlink()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vfsops.c | 1411 addlen = oldpn.pn_path - oldpn.pn_buf; in resolve_sympath() 1412 bcopy(oldpn.pn_buf, newpn.pn_path, addlen); in resolve_sympath() 1415 newpn.pn_buf[newpn.pn_pathlen] = '/'; in resolve_sympath() 1451 newpn.pn_buf[newpn.pn_pathlen] = '\0'; in resolve_sympath() 1455 bcopy(newpn.pn_buf, newpath, newpn.pn_pathlen); in resolve_sympath()
|
/illumos-gate/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 | st_pathname.h | 44 char *pn_buf; /* underlying storage */ member
|
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()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_lookup.c | 79 pn.pn_buf = path; in fake_lookup()
|