Searched refs:cn_pnbuf (Results 1 – 9 of 9) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | vfs_lookup.c | 285 NI_CAP_VIOLATION(ndp, ndp->ni_cnd.cn_pnbuf); in nameicap_check_dotdot() 298 NI_CAP_VIOLATION(ndp, ndp->ni_cnd.cn_pnbuf); in nameicap_check_dotdot() 306 uma_zfree(namei_zone, cnp->cn_pnbuf); in namei_cleanup_cnp() 307 cnp->cn_pnbuf = NULL; in namei_cleanup_cnp() 320 NI_CAP_VIOLATION(ndp, cnp->cn_pnbuf); in namei_handle_root() 390 if (cnp->cn_pnbuf[0] == '/') { in namei_setup() 410 (cnp->cn_pnbuf[0] != '\0' || in namei_setup() 415 if (cnp->cn_pnbuf[0] == '/') { in namei_setup() 430 AUDIT_ARG_UPATH1_VP(td, ndp->ni_rootdir, *dpp, cnp->cn_pnbuf); in namei_setup() 432 AUDIT_ARG_UPATH2_VP(td, ndp->ni_rootdir, *dpp, cnp->cn_pnbuf); in namei_setup() [all …]
|
| H A D | vfs_cache.c | 4349 uma_zfree(namei_zone, cnp->cn_pnbuf); in cache_fpl_cleanup_cnp() 4350 cnp->cn_pnbuf = NULL; in cache_fpl_cleanup_cnp() 4414 fpl->ndp->ni_cnd.cn_nameptr = fpl->ndp->ni_cnd.cn_pnbuf; in cache_fpl_restore_abort() 4598 MPASS(fpl->nulchar > fpl->cnp->cn_pnbuf); in cache_fpl_istrailingslash() 4669 if (!((cnp->cn_flags & EMPTYPATH) != 0 && cnp->cn_pnbuf[0] == '\0')) { in cache_fplookup_dirfd() 4745 cnp->cn_nameptr, fpl->snd.cn_nameptr, cnp->cn_pnbuf); in cache_fplookup_partial_setup() 4772 cnp->cn_nameptr, cnp->cn_nameptr, cnp->cn_pnbuf); in cache_fplookup_partial_setup() 5132 for (cp = cnp->cn_pnbuf; *cp != '\0'; cp++) { in cache_fplookup_degenerate() 5135 cnp->cn_pnbuf)); in cache_fplookup_degenerate() 5184 MPASS(*cnp->cn_pnbuf == '\0'); in cache_fplookup_emptypath() [all …]
|
| /freebsd/sys/sys/ |
| H A D | namei.h | 56 char *cn_pnbuf; /* pathname buffer */ member 297 MPASS(_ndp->ni_cnd.cn_pnbuf != NULL); \ 298 uma_zfree(namei_zone, _ndp->ni_cnd.cn_pnbuf); \ 299 _ndp->ni_cnd.cn_pnbuf = NULL; \
|
| /freebsd/sys/fs/unionfs/ |
| H A D | union_subr.c | 728 cn->cn_pnbuf = path; in unionfs_relookup() 733 cn->cn_nameptr = cn->cn_pnbuf; in unionfs_relookup() 752 KASSERT(cn->cn_pnbuf == path, ("%s: cn_pnbuf changed", __func__)); in unionfs_relookup() 1300 nd.ni_cnd.cn_pnbuf = unp->un_path; in unionfs_vn_create_on_upper() 1305 nd.ni_cnd.cn_nameptr = nd.ni_cnd.cn_pnbuf; in unionfs_vn_create_on_upper() 1556 nd.ni_cnd.cn_pnbuf = unp->un_path; in unionfs_vn_symlink_on_upper() 1561 nd.ni_cnd.cn_nameptr = nd.ni_cnd.cn_pnbuf; in unionfs_vn_symlink_on_upper() 1810 cn.cn_pnbuf = NULL; in unionfs_check_rmdir()
|
| /freebsd/sys/ufs/ufs/ |
| H A D | ufs_extattr.c | 265 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/nfsserver/ |
| H A D | nfs_nfsdport.c | 663 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei() 687 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei() 694 if (cnp->cn_pnbuf[i] != '/') in nfsvno_namei() 725 cnp->cn_nameptr = cnp->cn_pnbuf; in nfsvno_namei() 764 cp = cnp->cn_pnbuf; in nfsvno_namei() 799 uma_zfree(namei_zone, cnp->cn_pnbuf); in nfsvno_namei() 800 cnp->cn_pnbuf = cp; in nfsvno_namei() 802 cnp->cn_pnbuf[linklen] = '\0'; in nfsvno_namei() 815 if (cnp->cn_pnbuf[0] == '/') { in nfsvno_namei() 851 cnp->cn_pnbuf = uma_zalloc(namei_zone, M_WAITOK); in nfsvno_setpathbuf() [all …]
|
| H A D | nfs_nfsdserv.c | 751 if (cnp->cn_namelen == 2 && *cnp->cn_pnbuf == '.' && in nfsrvd_lookup() 752 *(cnp->cn_pnbuf + 1) == '.') in nfsrvd_lookup()
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_internal.c | 476 cn.cn_pnbuf = NULL; in fuse_internal_invalidate_entry()
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_softdep.c | 2888 cnp.cn_pnbuf = SUJ_FILE; in softdep_journal_lookup()
|