Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dvfs_lookup.c254 NI_CAP_VIOLATION(ndp, ndp->ni_cnd.cn_pnbuf); in nameicap_check_dotdot()
273 NI_CAP_VIOLATION(ndp, ndp->ni_cnd.cn_pnbuf); in namei_cleanup_cnp()
281 uma_zfree(namei_zone, cnp->cn_pnbuf); in namei_handle_root()
282 cnp->cn_pnbuf = NULL; in namei_handle_root()
295 NI_CAP_VIOLATION(ndp, cnp->cn_pnbuf); in namei_handle_root()
365 if (cnp->cn_pnbuf[0] == '/') { in namei_setup()
384 (cnp->cn_pnbuf[0] != '\0' || in namei_setup()
389 if (cnp->cn_pnbuf[0] == '/') { in namei_setup()
402 AUDIT_ARG_UPATH1_VP(td, ndp->ni_rootdir, *dpp, cnp->cn_pnbuf); in namei_setup()
404 AUDIT_ARG_UPATH2_VP(td, ndp->ni_rootdir, *dpp, cnp->cn_pnbuf); in namei_setup()
[all...]
H A Dvfs_cache.c4234 uma_zfree(namei_zone, cnp->cn_pnbuf); in cache_fpl_cleanup_cnp()
4235 cnp->cn_pnbuf = NULL; in cache_fpl_cleanup_cnp()
4299 fpl->ndp->ni_cnd.cn_nameptr = fpl->ndp->ni_cnd.cn_pnbuf; in cache_fpl_restore_abort()
4483 MPASS(fpl->nulchar > fpl->cnp->cn_pnbuf); in cache_fpl_istrailingslash()
4548 if (!((cnp->cn_flags & EMPTYPATH) != 0 && cnp->cn_pnbuf[0] == '\0')) { in cache_fplookup_dirfd()
4624 cnp->cn_nameptr, fpl->snd.cn_nameptr, cnp->cn_pnbuf); in cache_fplookup_partial_setup()
4651 cnp->cn_nameptr, cnp->cn_nameptr, cnp->cn_pnbuf); in cache_fplookup_partial_setup()
5011 for (cp = cnp->cn_pnbuf; *cp != '\0'; cp++) { in cache_fplookup_degenerate()
5014 cnp->cn_pnbuf)); in cache_fplookup_degenerate()
5063 MPASS(*cnp->cn_pnbuf == '\0'); in cache_fplookup_emptypath()
[all …]
/freebsd/sys/sys/
H A Dnamei.h56 char *cn_pnbuf; /* pathname buffer */ member
281 MPASS(_ndp->ni_cnd.cn_pnbuf != NULL); \
282 uma_zfree(namei_zone, _ndp->ni_cnd.cn_pnbuf); \
283 _ndp->ni_cnd.cn_pnbuf = NULL; \
/freebsd/sys/ufs/ufs/
H A 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/sys/fs/unionfs/
H A Dunion_subr.c726 cn->cn_pnbuf = path; in unionfs_relookup()
731 cn->cn_nameptr = cn->cn_pnbuf; in unionfs_relookup()
750 KASSERT(cn->cn_pnbuf == path, ("%s: cn_pnbuf changed", __func__)); in unionfs_relookup()
1298 nd.ni_cnd.cn_pnbuf = unp->un_path; in unionfs_vn_create_on_upper()
1303 nd.ni_cnd.cn_nameptr = nd.ni_cnd.cn_pnbuf; in unionfs_vn_create_on_upper()
1641 cn.cn_pnbuf = NULL; in unionfs_check_rmdir()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c656 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei()
680 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei()
687 if (cnp->cn_pnbuf[i] != '/') in nfsvno_namei()
718 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei()
757 cp = cnp->cn_pnbuf; in nfsvno_namei()
792 uma_zfree(namei_zone, cnp->cn_pnbuf); in nfsvno_namei()
793 cnp->cn_pnbuf = cp; in nfsvno_namei()
795 cnp->cn_pnbuf[linklen] = '\0'; in nfsvno_namei()
808 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei()
844 cnp->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in nfsvno_setpathbuf()
[all …]
/freebsd/sys/fs/fuse/
H A Dfuse_internal.c476 cn.cn_pnbuf = NULL; in fuse_internal_invalidate_entry()
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c2888 cnp.cn_pnbuf = SUJ_FILE; in softdep_journal_lookup()