Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/sys/
H A Dnamei.h127 int32_t ni_flag; member
217 (ndp)->ni_flag = 0; \
232 (ndp)->ni_flag = 0; \
/xnu-8019.80.24/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()
1290 ndp->ni_flag |= NAMEI_UNFINISHED;
1406 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) {
1534 …if ((cnp->cn_flags & ISLASTCN) && (ndp->ni_flag & NAMEI_TRAILINGSLASH) && !(cnp->cn_flags & WILLBE…
[all …]
H A Dvfs_vnops.c264 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth_do_create()
425 ndp->ni_flag = NAMEI_COMPOUNDOPEN; in vn_open_auth()
435 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
514 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
547 ndp->ni_flag = NAMEI_COMPOUNDOPEN; in vn_open_auth()
555 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
574 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
H A Dvfs_cache.c1532 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in cache_lookup_path()
1580 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
1805 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c3621 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
5518 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE; in unlinkat_internal()
5627 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
8319 fromnd->ni_flag = NAMEI_COMPOUNDRENAME; in renameat_internal()
8323 tond->ni_flag = NAMEI_COMPOUNDRENAME; in renameat_internal()
8326 if ((fromnd->ni_flag & NAMEI_CONTLOOKUP) != 0 || !continuing) { in renameat_internal()
8338 if ((tond->ni_flag & NAMEI_CONTLOOKUP) != 0 || !continuing) { in renameat_internal()
8752 if ((fromnd->ni_flag & NAMEI_CONTLOOKUP) == 0) { in renameat_internal()
8753 if ((tond->ni_flag & NAMEI_CONTLOOKUP) == 0) { in renameat_internal()
9050 nd.ni_flag = NAMEI_COMPOUNDMKDIR; in mkdir1at()
[all …]
H A Dkpi_vfs.c1888 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
1896 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c7257 if ((cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH)) { in vn_authorize_open_existing()
7330 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()