Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/kern/
Dvfs_lookup.c127 uma_zfree(namei_zone, cnp->cn_pnbuf); in namei_cleanup_cnp()
129 cnp->cn_pnbuf = NULL; in namei_cleanup_cnp()
165 cnp->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in namei()
167 error = copystr(ndp->ni_dirp, cnp->cn_pnbuf, MAXPATHLEN, in namei()
170 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, MAXPATHLEN, in namei()
176 if (!error && *cnp->cn_pnbuf == '\0') in namei()
207 ktrnamei(cnp->cn_pnbuf); in namei()
221 AUDIT_ARG_UPATH1(td, ndp->ni_dirfd, cnp->cn_pnbuf); in namei()
223 AUDIT_ARG_UPATH2(td, ndp->ni_dirfd, cnp->cn_pnbuf); in namei()
226 if (cnp->cn_pnbuf[0] != '/') { in namei()
[all …]
/freebsd-10-stable/sys/nfsserver/
Dnfs_srvsubs.c600 cnp->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in nfs_namei()
607 tocp = cnp->cn_pnbuf; in nfs_namei()
674 fromcp = cnp->cn_pnbuf; in nfs_namei()
714 uma_zfree(namei_zone, cnp->cn_pnbuf); in nfs_namei()
715 cnp->cn_pnbuf = cp; in nfs_namei()
718 ndp->ni_pathlen = (tocp - cnp->cn_pnbuf) + 1; in nfs_namei()
725 if (cnp->cn_pnbuf[0] == '/') in nfs_namei()
743 cnp->cn_nameptr = cnp->cn_pnbuf; in nfs_namei()
765 uma_zfree(namei_zone, cnp->cn_pnbuf); in nfs_namei()
788 cp = cnp->cn_pnbuf; in nfs_namei()
[all …]
Dnfs_serv.c567 ind.ni_cnd.cn_nameptr = ind.ni_cnd.cn_pnbuf = in nfsrv_lookup()
/freebsd-10-stable/sys/fs/unionfs/
Dunion_subr.c522 cn->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in unionfs_relookup()
523 bcopy(path, cn->cn_pnbuf, pathlen); in unionfs_relookup()
524 cn->cn_pnbuf[pathlen] = '\0'; in unionfs_relookup()
532 cn->cn_nameptr = cn->cn_pnbuf; in unionfs_relookup()
546 uma_zfree(namei_zone, cn->cn_pnbuf); in unionfs_relookup()
591 uma_zfree(namei_zone, cn.cn_pnbuf); in unionfs_relookup_for_create()
635 uma_zfree(namei_zone, cn.cn_pnbuf); in unionfs_relookup_for_delete()
677 uma_zfree(namei_zone, cn.cn_pnbuf); in unionfs_relookup_for_rename()
816 uma_zfree(namei_zone, cn.cn_pnbuf); in unionfs_mkshadowdir()
850 uma_zfree(namei_zone, cn.cn_pnbuf); in unionfs_mkwhiteout()
[all …]
/freebsd-10-stable/sys/ufs/ufs/
Dufs_extattr.c265 cnp.cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in ufs_extattr_lookup()
266 cnp.cn_nameptr = cnp.cn_pnbuf; in ufs_extattr_lookup()
267 error = copystr(dirname, cnp.cn_pnbuf, MAXPATHLEN, in ufs_extattr_lookup()
273 uma_zfree(namei_zone, cnp.cn_pnbuf); in ufs_extattr_lookup()
283 uma_zfree(namei_zone, cnp.cn_pnbuf); in ufs_extattr_lookup()
/freebsd-10-stable/sys/sys/
Dnamei.h53 char *cn_pnbuf; /* pathname buffer */ member
/freebsd-10-stable/sys/fs/nfsserver/
Dnfs_nfsdport.c351 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei()
376 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei()
383 if (cnp->cn_pnbuf[i] != '/') in nfsvno_namei()
416 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei()
457 cp = cnp->cn_pnbuf; in nfsvno_namei()
492 uma_zfree(namei_zone, cnp->cn_pnbuf); in nfsvno_namei()
493 cnp->cn_pnbuf = cp; in nfsvno_namei()
495 cnp->cn_pnbuf[linklen] = '\0'; in nfsvno_namei()
508 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei()
544 cnp->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in nfsvno_setpathbuf()
[all …]
/freebsd-10-stable/sys/gnu/fs/reiserfs/
Dreiserfs_namei.c44 cnp->cn_nameptr, cnp->cn_namelen, cnp->cn_pnbuf); in reiserfs_lookup()
/freebsd-10-stable/sys/compat/svr4/
Dsvr4_misc.c1671 ncopy = min(uap->bufsiz, strlen(nd.ni_cnd.cn_pnbuf) + 1);
1672 if ((error = copyout(nd.ni_cnd.cn_pnbuf, uap->buf, ncopy)) != 0)
/freebsd-10-stable/sys/ufs/ffs/
Dffs_softdep.c2742 cnp.cn_pnbuf = SUJ_FILE;