Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/vfs/
H A Dvfs_lookup.c207 if (ndp->ni_flag & NAMEI_CONTLOOKUP) { in namei()
215 ndp->ni_flag &= ~(NAMEI_CONTLOOKUP); in namei()
339 if (ndp->ni_flag & NAMEI_NOFOLLOW_ANY) { in namei()
351 if (!(ndp->ni_flag & NAMEI_ROOTDIR)) { in namei()
360 if (ndp->ni_flag & NAMEI_ROOTDIR) { in namei()
606 if ((ndp->ni_flag & NAMEI_COMPOUNDOPEN) != 0) { in namei_compound_available()
852 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) { in lookup_handle_found_vnode()
861 if ((ndp->ni_flag & NAMEI_TRAILINGSLASH)) { in lookup_handle_found_vnode()
866 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in lookup_handle_found_vnode()
1291 ndp->ni_flag |= NAMEI_UNFINISHED;
[all …]
H A Dvfs_vnops.c261 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth_do_create()
432 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
433 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
443 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
522 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
556 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
557 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
565 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
584 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
H A Dvfs_cache.c1669 int32_t ni_flag; member
1682 saved_statep->ni_flag = ndp->ni_flag; in save_ndp_state()
1695 ndp->ni_flag = saved_statep->ni_flag; in restore_ndp_state()
1758 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in cache_lookup_path()
1806 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
2055 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c849 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
3971 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
6044 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE | nofollow_any; in unlinkat_internal()
6157 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
6811 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in faccessat_internal()
6915 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in fstatat_internal()
7615 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in chmodat()
7922 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in fchownat_internal()
8956 fromnd->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
8960 tond->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
[all …]
H A Dvfs_exclave_fs.c933 ndp->ni_flag = NAMEI_ROOTDIR; in exclave_fs_open_internal()
H A Dvfs_attrlist.c3427 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
4749 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4794 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlistat()
H A Dkpi_vfs.c2026 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
2034 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c8102 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
8185 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()
/xnu-10063.101.15/bsd/sys/
H A Dnamei.h126 int32_t ni_flag; member
214 (ndp)->ni_flag = 0; \