Home
last modified time | relevance | path

Searched refs:ni_flag (Results 1 – 9 of 9) sorted by relevance

/xnu-11417.140.69/bsd/vfs/
H A Dvfs_lookup.c214 if (ndp->ni_flag & NAMEI_CONTLOOKUP) { in namei()
222 ndp->ni_flag &= ~(NAMEI_CONTLOOKUP); in namei()
423 if (ndp->ni_flag & NAMEI_NOFOLLOW_ANY || (resolve_flags & RESOLVE_NOFOLLOW_ANY)) { in namei()
435 if (!(ndp->ni_flag & NAMEI_ROOTDIR)) { in namei()
444 if (ndp->ni_flag & NAMEI_ROOTDIR) { in namei()
467 if (ndp->ni_flag & NAMEI_RESOLVE_BENEATH) { in namei()
481 if (ndp->ni_flag & NAMEI_RESOLVE_BENEATH) { in namei()
709 if ((ndp->ni_flag & NAMEI_COMPOUNDOPEN) != 0) { in namei_compound_available()
998 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) { in lookup_handle_found_vnode()
1007 if ((ndp->ni_flag & NAMEI_TRAILINGSLASH)) { in lookup_handle_found_vnode()
[all …]
H A Dvfs_vnops.c261 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth_do_create()
438 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
439 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
449 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
453 ndp->ni_flag |= NAMEI_RESOLVE_BENEATH; in vn_open_auth()
529 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
562 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
563 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
571 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
575 ndp->ni_flag |= NAMEI_RESOLVE_BENEATH; in vn_open_auth()
[all …]
H A Dvfs_cache.c1703 int32_t ni_flag; member
1716 saved_statep->ni_flag = ndp->ni_flag; in save_ndp_state()
1729 ndp->ni_flag = saved_statep->ni_flag; in restore_ndp_state()
1792 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in cache_lookup_path()
1840 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
1992 if ((ndp->ni_flag & NAMEI_RESOLVE_BENEATH) && (dp == ndp->ni_usedvp)) { in cache_lookup_path()
2093 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c310 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in kernel_mount()
898 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
1442 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in mount_common()
2741 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in unmount()
4130 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
6237 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE | nofollow_any; in unlinkat_internal()
6359 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
7028 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in faccessat_internal()
7132 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in fstatat_internal()
7832 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in chmodat()
[all …]
H A Dvfs_exclave_fs.c1080 ndp->ni_flag = NAMEI_ROOTDIR; in exclave_fs_open_internal()
H A Dvfs_attrlist.c3514 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
4840 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4885 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlistat()
H A Dkpi_vfs.c2094 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
2102 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c7733 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vnode_lookupat()
8318 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
8411 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()
/xnu-11417.140.69/bsd/sys/
H A Dnamei.h126 int32_t ni_flag; member
215 (ndp)->ni_flag = 0; \