Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/vfs/
H A Dvfs_lookup.c235 if (ndp->ni_flag & NAMEI_CONTLOOKUP) { in namei()
243 ndp->ni_flag &= ~(NAMEI_CONTLOOKUP); in namei()
345 ndp->ni_flag |= NAMEI_NODOTDOT; in namei()
348 ndp->ni_flag |= NAMEI_LOCAL; in namei()
351 ndp->ni_flag |= NAMEI_NODEVFS; in namei()
354 ndp->ni_flag |= NAMEI_IMMOVABLE; in namei()
357 ndp->ni_flag |= NAMEI_UNIQUE; in namei()
360 ndp->ni_flag |= NAMEI_NOXATTRS; in namei()
472 if (ndp->ni_flag & NAMEI_NOFOLLOW_ANY || (resolve_flags & RESOLVE_NOFOLLOW_ANY)) { in namei()
484 if (!(ndp->ni_flag & NAMEI_ROOTDIR)) { in namei()
[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()
453 ndp->ni_flag |= NAMEI_RESOLVE_BENEATH; in vn_open_auth()
457 ndp->ni_flag |= NAMEI_UNIQUE; in vn_open_auth()
533 if ((ndp->ni_flag & NAMEI_CONTLOOKUP) == 0) { in vn_open_auth()
566 ndp->ni_flag &= NAMEI_ROOTDIR; in vn_open_auth()
567 ndp->ni_flag |= NAMEI_COMPOUNDOPEN; in vn_open_auth()
575 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vn_open_auth()
[all …]
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()
1839 ndp->ni_flag |= NAMEI_TRAILINGSLASH; in cache_lookup_path()
1855 if ((ndp->ni_flag & NAMEI_RESOLVE_BENEATH) && (dp == ndp->ni_usedvp)) { in cache_lookup_path()
1859 if (ndp->ni_flag & NAMEI_NODOTDOT) { in cache_lookup_path()
1874 if (ndp->ni_flag & NAMEI_NOXATTRS) { in cache_lookup_path()
2105 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
2183 if ((ndp->ni_flag & NAMEI_LOCAL) && !(vp->v_mount->mnt_flag & MNT_LOCAL)) { in cache_lookup_path()
2189 if ((ndp->ni_flag & NAMEI_NODEVFS) && (vnode_tag(vp) == VT_DEVFS)) { in cache_lookup_path()
[all …]
H A Dvfs_syscalls.c311 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in kernel_mount()
972 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in __mac_mount()
1516 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in mount_common()
2815 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in unmount()
4322 !(ndp->ni_flag & NAMEI_CONTLOOKUP) && in nameiat()
5987 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in linkat_internal()
5990 nd.ni_flag |= NAMEI_RESOLVE_BENEATH; in linkat_internal()
5993 nd.ni_flag |= NAMEI_UNIQUE; in linkat_internal()
6034 nd.ni_flag &= ~NAMEI_UNIQUE; in linkat_internal()
6506 ndp->ni_flag |= NAMEI_COMPOUNDREMOVE | namei_flags; in unlinkat_internal()
[all …]
H A Dvfs_attrlist.c3553 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in getattrlistat_internal()
3556 nd.ni_flag |= NAMEI_RESOLVE_BENEATH; in getattrlistat_internal()
4887 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlist()
4890 nd.ni_flag |= NAMEI_RESOLVE_BENEATH; in setattrlist()
4935 nd.ni_flag |= NAMEI_NOFOLLOW_ANY; in setattrlistat()
4938 nd.ni_flag |= NAMEI_RESOLVE_BENEATH; in setattrlistat()
H A Dvfs_exclave_fs.c1072 ndp->ni_flag = NAMEI_ROOTDIR; in exclave_fs_open_internal()
H A Dkpi_vfs.c2112 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vnode_lookup_continue_needed()
2120 ndp->ni_flag |= NAMEI_CONTLOOKUP; in vnode_lookup_continue_needed()
H A Dvfs_subr.c7761 ndp->ni_flag |= NAMEI_NOFOLLOW_ANY; in vnode_lookupat()
8362 if (cnp->cn_ndp->ni_flag & NAMEI_TRAILINGSLASH) { in vn_authorize_open_existing()
8487 if (cnp->cn_ndp->ni_flag & NAMEI_UNFINISHED) { in vn_authorize_create()
/xnu-12377.81.4/bsd/sys/
H A Dnamei.h126 int32_t ni_flag; member
225 (ndp)->ni_flag = 0; \