Searched refs:pn_buf (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dpathname.c68 if (pnp->pn_buf == NULL)
70 pnp->pn_path = (char *)pnp->pn_buf;
94 pnp->pn_path = pnp->pn_buf;
113 bcopy(pnp->pn_path, pnp->pn_buf + sympnp->pn_pathlen,
115 bcopy(sympnp->pn_path, pnp->pn_buf, (uint_t)sympnp->pn_pathlen);
117 pnp->pn_buf[pnp->pn_pathlen] = '\0';
118 pnp->pn_path = pnp->pn_buf;
H A Dst_pathname.h44 char *pn_buf; /* underlying storage */ member in struct:st_pathname
H A Dlookup.c88 pnp.pn_buf = &lkup_path[0];
89 bzero(pnp.pn_buf, NFS_MAXPATHLEN);
263 linkpath.pn_buf = &path_tmp[0];
/illumos-gate/usr/src/uts/common/fs/
H A Dpathname.c80 pnp->pn_path = pnp->pn_buf = kmem_alloc(sz, KM_SLEEP);
92 kmem_free(pnp->pn_buf, pnp->pn_bufsize);
93 pnp->pn_path = pnp->pn_buf = NULL;
109 pnp->pn_path = pnp->pn_buf = buf;
138 * and pn_buf points to it.
140 * On error, all fields except pn_buf will be undefined.
147 pnp->pn_path = pnp->pn_buf;
175 ovbcopy(pnp->pn_path, pnp->pn_buf + sympnp->pn_pathlen,
177 bcopy(sympnp->pn_path, pnp->pn_buf, sympnp->pn_pathlen);
179 pnp->pn_buf[pn
[all...]
H A Dlookup.c529 error = copystr(pp->pn_buf,
580 if (pnp->pn_path == pnp->pn_buf)
970 ret = path + (pn.pn_path - pn.pn_buf);
1160 rpn.pn_path = rpn.pn_buf;
1389 ASSERT(pn.pn_buf[0] == '/');
H A Dgfs.c816 (void) strlcpy(rpnp->pn_buf, ge->gfse_name,
/illumos-gate/usr/src/uts/common/sys/
H A Dpathname.h54 * By convention pn_buf is not changed once it's been set to point
61 char *pn_buf; /* underlying storage */ member in struct:pathname
64 size_t pn_bufsize; /* total size of pn_buf */
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_lookup.c79 pn.pn_buf = path;
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c373 error = copystr(pp->pn_buf,
419 if (pnp->pn_path == pnp->pn_buf)
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c291 if ((strcmp(ppn.pn_buf, "/") == 0) || (ppn.pn_buf[0] == '\0')) {
295 err = smb_pathname(sr, ppn.pn_buf, lookup_flags,
614 mnt_pn->pn_path = mnt_pn->pn_buf +
616 (ptrdiff_t)upn.pn_buf);
H A Dsmb_vops.c663 bzero(rpn.pn_buf, rpn.pn_bufsize);
672 rpn.pn_buf[0] != '\0')
673 np = rpn.pn_buf;
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c213 len = (pnp->pn_path - pnp->pn_buf) + 1; /* +1 for terminator */
220 } else if ((tad->tad_ctrl & TAD_ATCALL) && pnp->pn_buf[0] != '/') {
243 bcopy(pnp->pn_buf, pp, len);
391 if (sympath->pn_buf[0] == '/')
396 while (*--cp != '/' && cp > pnp->pn_buf)
399 len_path = cp - pnp->pn_buf;
403 pnp->pn_path = pnp->pn_buf;
/illumos-gate/usr/src/uts/common/fs/zut/
H A Dzut.c55 (void) strlcpy(pn.pn_buf, path, MAXPATHLEN);
299 bzero(rpn.pn_buf, MAXPATHLEN);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_dir.c79 buf = rpnp->pn_buf;
448 (void) strlcpy(rpnp->pn_buf, name, rpnp->pn_bufsize);
H A Dzfs_ctldir.c825 (void) strlcpy(realpnp->pn_buf, nm,
H A Dzfs_vnops.c1829 dnlc_remove(dvp, realnmp->pn_buf);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_vfsops.c1411 addlen = oldpn.pn_path - oldpn.pn_buf;
1412 bcopy(oldpn.pn_buf, newpn.pn_path, addlen);
1415 newpn.pn_buf[newpn.pn_pathlen] = '/';
1451 newpn.pn_buf[newpn.pn_pathlen] = '\0';
1455 bcopy(newpn.pn_buf, newpath, newpn.pn_pathlen);

Completed in 66 milliseconds