Home
last modified time | relevance | path

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

/xnu-11215.61.5/bsd/vfs/
H A Dvfs_lookup.c214 if (ndp->ni_flag & NAMEI_CONTLOOKUP) { in namei()
222 ndp->ni_flag &= ~(NAMEI_CONTLOOKUP); in namei()
382 if (ndp->ni_flag & NAMEI_NOFOLLOW_ANY || (resolve_flags & RESOLVE_NOFOLLOW_ANY)) { in namei()
394 if (!(ndp->ni_flag & NAMEI_ROOTDIR)) { in namei()
403 if (ndp->ni_flag & NAMEI_ROOTDIR) { in namei()
649 if ((ndp->ni_flag & NAMEI_COMPOUNDOPEN) != 0) { in namei_compound_available()
938 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) { in lookup_handle_found_vnode()
947 if ((ndp->ni_flag & NAMEI_TRAILINGSLASH)) { in lookup_handle_found_vnode()
952 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in lookup_handle_found_vnode()
1377 ndp->ni_flag |= NAMEI_UNFINISHED;
[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()
525 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
558 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
559 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
567 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
586 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
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()
2089 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c311 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in kernel_mount()
899 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
1443 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in mount_common()
2727 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in unmount()
4113 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
6216 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE | nofollow_any; in unlinkat_internal()
6338 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
7002 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in faccessat_internal()
7106 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in fstatat_internal()
7806 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in chmodat()
[all …]
H A Dvfs_exclave_fs.c1061 ndp->ni_flag = NAMEI_ROOTDIR; in exclave_fs_open_internal()
H A Dvfs_attrlist.c3433 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
4755 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4800 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlistat()
H A Dkpi_vfs.c2068 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
2076 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c7724 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vnode_lookupat()
8309 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
8402 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()
/xnu-11215.61.5/bsd/sys/
H A Dnamei.h126 int32_t ni_flag; member
214 (ndp)->ni_flag = 0; \