Lines Matching refs:mp
87 nullfs_vfs_getlowerattr(mount_t mp, struct vfs_attr * vfap, vfs_context_t ctx) in nullfs_vfs_getlowerattr() argument
101 return vfs_getattr(mp, vfap, ctx); in nullfs_vfs_getlowerattr()
108 nullfs_mount(struct mount * mp, __unused vnode_t devvp, user_addr_t user_data, vfs_context_t ctx) in nullfs_mount() argument
131 NULLFSDEBUG("nullfs_mount(mp = %p) %llx\n", (void *)mp, vfs_flags(mp)); in nullfs_mount()
133 if (vfs_flags(mp) & MNT_ROOTFS) { in nullfs_mount()
140 if (vfs_isupdate(mp)) { in nullfs_mount()
208 error = null_getnewvnode(mp, NULL, NULL, &vp, NULL, 1); in nullfs_mount()
226 uint64_t flags = vfs_flags(mp) & (~(MNT_IGNORE_OWNERSHIP | MNT_LOCAL)); in nullfs_mount()
235 vfs_setflags(mp, flags); in nullfs_mount()
237 vfs_setfsprivate(mp, xmp); in nullfs_mount()
238 vfs_getnewfsid(mp); in nullfs_mount()
239 vfs_setlocklocal(mp); in nullfs_mount()
242 sp = vfs_statfs(mp); in nullfs_mount()
299 MAC_PERFORM(mount_label_associate, cred, vnode_mount(lowerrootvp), vfs_mntlabel(mp)); in nullfs_mount()
328 nullfs_unmount(struct mount * mp, int mntflags, __unused vfs_context_t ctx) in nullfs_unmount() argument
334 NULLFSDEBUG("nullfs_unmount: mp = %p\n", (void *)mp); in nullfs_unmount()
348 mntdata = MOUNTTONULLMOUNT(mp); in nullfs_unmount()
355 error = vflush(mp, vp, flags); in nullfs_unmount()
370 (void)vflush(mp, NULL, FORCECLOSE); in nullfs_unmount()
376 vfs_setfsprivate(mp, NULL); in nullfs_unmount()
388 uint64_t vflags = vfs_flags(mp); in nullfs_unmount()
389 vfs_setflags(mp, vflags & ~MNT_LOCAL); in nullfs_unmount()
395 nullfs_root(struct mount * mp, struct vnode ** vpp, __unused vfs_context_t ctx) in nullfs_root() argument
400 …NULLFSDEBUG("nullfs_root(mp = %p, vp = %p)\n", (void *)mp, (void *)MOUNTTONULLMOUNT(mp)->nullm_roo… in nullfs_root()
405 vp = MOUNTTONULLMOUNT(mp)->nullm_rootvp; in nullfs_root()
417 nullfs_vfs_getattr(struct mount * mp, struct vfs_attr * vfap, vfs_context_t ctx) in nullfs_vfs_getattr() argument
421 struct null_mount * null_mp = MOUNTTONULLMOUNT(mp); in nullfs_vfs_getattr()
423 struct vfsstatfs * sp = vfs_statfs(mp); in nullfs_vfs_getattr()
535 coveredvp = vfs_vnodecovered(mp); in nullfs_vfs_getattr()
552 nullfs_sync(__unused struct mount * mp, __unused int waitfor, __unused vfs_context_t ctx) in nullfs_sync() argument
563 nullfs_vfs_start(__unused struct mount * mp, __unused int flags, __unused vfs_context_t ctx) in nullfs_vfs_start() argument