Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/sys/
H A Dnamei.h128 int32_t ni_flag; member
218 (ndp)->ni_flag = 0; \
233 (ndp)->ni_flag = 0; \
/xnu-8796.141.3/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.c261 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth_do_create()
431 ndp->ni_flag = NAMEI_COMPOUNDOPEN; in vn_open_auth()
441 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
520 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
553 ndp->ni_flag = NAMEI_COMPOUNDOPEN; in vn_open_auth()
561 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
580 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
H A Dvfs_cache.c1657 int32_t ni_flag; member
1670 saved_statep->ni_flag = ndp->ni_flag; in save_ndp_state()
1683 ndp->ni_flag = saved_statep->ni_flag; in restore_ndp_state()
1746 ndp->ni_flag &= ~(NAMEI_TRAILINGSLASH); in cache_lookup_path()
1794 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
2043 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
H A Dvfs_syscalls.c862 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
3978 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
6046 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE; in unlinkat_internal()
6159 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in unlinkat_internal()
6809 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in faccessat_internal()
6912 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in fstatat_internal()
7609 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in chmodat()
7863 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in fchownat_internal()
8988 fromnd->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
8992 tond->ni_flag = NAMEI_COMPOUNDRENAME | nofollow_any; in renameat_internal()
[all …]
H A Dvfs_attrlist.c3394 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
4716 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4761 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.c7945 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
8028 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()