Home
last modified time | relevance | path

Searched refs:null_mp (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.81.4/bsd/miscfs/nullfs/
H A Dnull_vnops.c94 struct null_mount * null_mp; in nullfs_isspecialvp() local
96 null_mp = MOUNTTONULLMOUNT(vnode_mount(vp)); in nullfs_isspecialvp()
100 if (vp && (vp == null_mp->nullm_rootvp || vp == null_mp->nullm_secondvp)) { in nullfs_isspecialvp()
111 struct null_mount * null_mp; in nullfs_checkspecialvp() local
113 null_mp = MOUNTTONULLMOUNT(vnode_mount(vp)); in nullfs_checkspecialvp()
115 lck_mtx_lock(&null_mp->nullm_lock); in nullfs_checkspecialvp()
117 lck_mtx_unlock(&null_mp->nullm_lock); in nullfs_checkspecialvp()
123 nullfs_get_patched_context(struct null_mount * null_mp, vfs_context_t ctx) in nullfs_get_patched_context() argument
128 if ((null_mp->nullm_flags & NULLM_UNVEIL) == NULLM_UNVEIL) { in nullfs_get_patched_context()
133 null_mp->uid, null_mp->gid); in nullfs_get_patched_context()
[all …]
H A Dnullfs.h152 vfs_context_t nullfs_get_patched_context(struct null_mount * null_mp, vfs_context_t ctx);
153 void nullfs_cleanup_patched_context(struct null_mount * null_mp, vfs_context_t ctx);
H A Dnull_vfsops.c418 struct null_mount * null_mp = MOUNTTONULLMOUNT(mp); in nullfs_vfs_getattr() local
421 vfs_context_t ectx = nullfs_get_patched_context(null_mp, ctx); in nullfs_vfs_getattr()
432 if (nullfs_vfs_getlowerattr(vnode_mount(null_mp->nullm_lowerrootvp), &vfa, ectx) == 0) { in nullfs_vfs_getattr()
543 nullfs_cleanup_patched_context(null_mp, ectx); in nullfs_vfs_getattr()