Home
last modified time | relevance | path

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

/xnu-8792.61.2/bsd/sys/
H A Dnamei.h127 int32_t ni_flag; member
217 (ndp)->ni_flag = 0; \
232 (ndp)->ni_flag = 0; \
/xnu-8792.61.2/bsd/vfs/
H A Dvfs_lookup.c207 if (ndp->ni_flag & NAMEI_CONTLOOKUP) { in namei()
215 ndp->ni_flag &= ~(NAMEI_CONTLOOKUP); in namei()
346 if (ndp->ni_flag & NAMEI_NOFOLLOW_ANY) { in namei()
609 if ((ndp->ni_flag & NAMEI_COMPOUNDOPEN) != 0) { in namei_compound_available()
855 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) { in lookup_handle_found_vnode()
864 if ((ndp->ni_flag & NAMEI_TRAILINGSLASH)) { in lookup_handle_found_vnode()
869 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in lookup_handle_found_vnode()
1294 ndp->ni_flag |= NAMEI_UNFINISHED;
1410 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) {
1538 …if ((cnp->cn_flags & ISLASTCN) && (ndp->ni_flag & NAMEI_TRAILINGSLASH) && !(cnp->cn_flags & WILLBE…
[all …]
H A Dvfs_vnops.c265 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth_do_create()
435 ndp->ni_flag = NAMEI_COMPOUNDOPEN; in vn_open_auth()
445 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
524 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { 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.c1551 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in cache_lookup_path()
1599 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
1825 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c856 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
3953 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
6023 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE; in unlinkat_internal()
6136 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
6786 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in faccessat_internal()
6889 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in fstatat_internal()
7586 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in chmodat()
7840 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in fchownat_internal()
8965 fromnd->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
8969 tond->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
[all …]
H A Dvfs_attrlist.c3374 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
4696 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4741 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlistat()
H A Dkpi_vfs.c2002 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
2010 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c7766 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
7849 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()