| /xnu-11215/bsd/miscfs/nullfs/ |
| H A D | null_vnops.c | 96 null_mp = MOUNTTONULLMOUNT(vnode_mount(vp)); in nullfs_isspecialvp() 113 null_mp = MOUNTTONULLMOUNT(vnode_mount(vp)); in nullfs_checkspecialvp() 159 mount_t mp = vnode_mount(args->a_vp); in nullfs_special_getattr() 333 mount_t mp = vnode_mount(args->a_vp); in nullfs_open() 359 mount_t mp = vnode_mount(args->a_vp); in nullfs_close() 392 mount_t mp = vnode_mount(lvp); in null_get_lowerparent() 436 struct mount * mp = vnode_mount(dvp); in null_special_lookup() 572 mp = vnode_mount(dvp); in null_lookup() 664 struct null_mount * null_mp = MOUNTTONULLMOUNT(vnode_mount(ap->a_vp)); in null_reclaim() 738 struct null_mount * null_mp = MOUNTTONULLMOUNT(vnode_mount(vp)); in nullfs_special_readdir() [all …]
|
| H A D | null_subr.c | 82 #define NULL_NHASH(vp) (&null_node_hashtbl[((((uintptr_t)vp) >> vnsz2log) + (uintptr_t)vnode_mount(… 155 if (a->null_lowervp == lowervp && vnode_mount(NULLTOV(a)) == mp) { in null_hashget() 199 if (oxp->null_lowervp == xp->null_lowervp && vnode_mount(NULLTOV(oxp)) == mp) { in null_hashins()
|
| H A D | null_vfsops.c | 227 …uint64_t lowerflags = vfs_flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNO… in nullfs_mount() 252 error = nullfs_vfs_getlowerattr(vnode_mount(lowerrootvp), &vfa, ctx); in nullfs_mount() 299 MAC_PERFORM(mount_label_associate, cred, vnode_mount(lowerrootvp), vfs_mntlabel(mp)); in nullfs_mount() 435 if (nullfs_vfs_getlowerattr(vnode_mount(null_mp->nullm_lowerrootvp), &vfa, ectx) == 0) { in nullfs_vfs_getattr()
|
| /xnu-11215/bsd/miscfs/bindfs/ |
| H A D | bind_subr.c | 82 #define BIND_NHASH(vp) (&bind_node_hashtbl[((((uintptr_t)vp) >> vnsz2log) + (uintptr_t)vnode_mount(… 147 if (a->bind_lowervp == lowervp && vnode_mount(BINDTOV(a)) == mp) { in bind_hashget() 195 if (oxp->bind_lowervp == xp->bind_lowervp && vnode_mount(BINDTOV(oxp)) == mp) { in bind_hashins()
|
| H A D | bind_vfsops.c | 212 …uint64_t lowerflags = vfs_flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNO… in bindfs_mount() 234 error = bindfs_vfs_getlowerattr(vnode_mount(lowerrootvp), &vfa, ctx); in bindfs_mount() 281 MAC_PERFORM(mount_label_associate, cred, vnode_mount(lowerrootvp), vfs_mntlabel(mp)); in bindfs_mount() 410 if (bindfs_vfs_getlowerattr(vnode_mount(bind_mp->bindm_lowerrootvp), &vfa, ctx) == 0) { in bindfs_vfs_getattr()
|
| H A D | bind_vnops.c | 110 VATTR_RETURN(args->a_vap, va_fsid, vfs_statfs(vnode_mount(args->a_vp))->f_fsid.val[0]); in bindfs_getattr() 114 VATTR_RETURN(args->a_vap, va_fsid64, vfs_statfs(vnode_mount(args->a_vp))->f_fsid); in bindfs_getattr() 196 mp = vnode_mount(dvp); in bind_lookup() 354 vfs_statfs(vnode_mount(vp))->f_mntonname, in bindfs_readdir() 680 mount_t mp = vnode_mount(in_vp); in bindfs_getbackingvnode()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_vnops.c | 518 if (error == 0 && batched && (vnode_mount(dvp) == vnode_mount(vp))) { in vn_open_auth() 580 if (batched && ((vp == NULLVP) || (vnode_mount(dvp) == vnode_mount(vp)))) { in vn_open_auth() 1867 *retval = vfs_extendedsecurity(vnode_mount(vp)) ? 1 : 0; in vn_pathconf() 1870 *retval = vfs_authopaque(vnode_mount(vp)); in vn_pathconf() 1916 if (vfs_getattr(vnode_mount(vp), &vfa, ctx) == 0 && in vn_pathconf()
|
| H A D | vfs_syscalls.c | 2404 mp = vnode_mount(rvp); in relocate_imageboot_source() 5787 if (vnode_mount(vp) != vnode_mount(dvp)) { in linkat_internal() 8810 if (vnode_mount(tdvp) != vnode_mount(fvp)) { in clonefile_internal() 8923 (void)vnode_label(vnode_mount(tvp), tdvp, tvp, cnp, in clonefile_internal() 11335 error = VFS_ROOT(vnode_mount(vp), &tvp, ctx); in searchfs() 13835 mp = vnode_mount(tmp->mnt_vnodecovered); in fsgetpath_internal() 14532 mp = vnode_mount(rvp); in snapshot_revert() 14735 if (!vnode_mount(rvp) || (vnode_mount(rvp) == dead_mountp)) { in snapshot_mount() 14771 mp = vnode_mount(rvp); in snapshot_mount() 14827 mp = vnode_mount(rvp); in snapshot_root() [all …]
|
| H A D | vfs_lookup.c | 926 if (vfs_flags(vnode_mount(dp)) & MNT_MULTILABEL) { in lookup_handle_found_vnode() 927 error = vnode_label(vnode_mount(dp), NULL, dp, NULL, 0, ctx); in lookup_handle_found_vnode()
|
| H A D | vfs_xattr.c | 267 if (vfs_flags(vnode_mount(vp)) & MNT_MULTILABEL) { in vn_setxattr() 268 mac_vnode_label_update_extattr(vnode_mount(vp), vp, name); in vn_setxattr() 332 if (vfs_flags(vnode_mount(vp)) & MNT_MULTILABEL) { in vn_removexattr() 333 mac_vnode_label_update_extattr(vnode_mount(vp), vp, name); in vn_removexattr()
|
| H A D | vfs_subr.c | 3126 bool forced_unmount = vnode_mount(vp) != NULL && (vnode_mount(vp)->mnt_lflag & MNT_LFORCE) != 0; in vclean() 3128 bool unmount = vnode_mount(vp) != NULL && (vnode_mount(vp)->mnt_lflag & MNT_LUNMOUNT) != 0; in vclean() 7220 vnode_mount(vp) != NULL && in vnode_create_internal() 7221 (!(vfs_flags(vnode_mount(vp)) & MNT_ROOTFS))) { in vnode_create_internal() 8034 error = vnode_label(vnode_mount(vp), dvp, vp, cnp, VNODE_LABEL_CREATE, ctx); in vn_create() 8283 if (vfs_flags(vnode_mount(vp)) & MNT_MULTILABEL) { in vn_authorize_open_existing() 8284 error = vnode_label(vnode_mount(vp), NULL, vp, NULL, 0, ctx); in vn_authorize_open_existing() 12064 mp = vnode_mount(vp); in vnode_resolver_detach()
|
| H A D | kpi_vfs.c | 1798 vnode_mount(vnode_t vp) in vnode_mount() function 2762 if (!vfs_extendedsecurity(vnode_mount(vp))) { in vnode_getattr() 3061 if (!vfs_extendedsecurity(vnode_mount(vp)) && in vnode_setattr()
|
| H A D | vfs_fsevents.c | 1068 mp = vnode_mount(link_vp); in add_fsevent()
|
| /xnu-11215/bsd/nfs/ |
| H A D | nfs_serv.c | 3019 if ((vnode_mount(fvp) != vnode_mount(tdvp)) || in nfsrv_rename() 3020 (tvp && (vnode_mount(fvp) != vnode_mount(tvp)))) { in nfsrv_rename() 3084 if (holding_mntlock && vnode_mount(fvp) != locked_mp) { in nfsrv_rename() 3114 locked_mp = vnode_mount(fvp); in nfsrv_rename() 3469 } else if (vnode_mount(vp) != vnode_mount(dvp)) { in nfsrv_link() 4649 if ((error = VFS_VGET(vnode_mount(vp), (ino64_t)attr.va_fileid, &nvp, ctx))) { in nfsrv_readdirplus() 4678 if (VFS_VGET(vnode_mount(vp), (ino64_t)dp->d_fileno, &nvp, ctx)) { in nfsrv_readdirplus() 4895 error = vfs_getattr(vnode_mount(vp), &va, ctx); in nfsrv_statfs() 4896 blksize = vfs_statfs(vnode_mount(vp))->f_bsize; in nfsrv_statfs()
|
| H A D | nfs_syscalls.c | 264 error = VFS_ROOT(vnode_mount(vp), &rvp, vfs_context_current()); in nfsrv_export_remainder() 334 ptr = vfs_statfs(vnode_mount(vp))->f_mntonname; in getfh() 343 error = VFS_ROOT(vnode_mount(vp), &rvp, vfs_context_current()); in getfh()
|
| H A D | nfs_subs.c | 1684 mp = vnode_mount(mvp); in nfsrv_export() 1797 if (mp != vnode_mount(mvp)) { in nfsrv_export() 1830 mp = vnode_mount(mvp); in nfsrv_export()
|
| /xnu-11215/bsd/vm/ |
| H A D | vm_compressor_backing_file.c | 76 return (uint64_t)vfs_devblocksize(vnode_mount(vp)); in vm_swapfile_get_blksize()
|
| H A D | vnode_pager.c | 102 mnt = vnode_mount(vp); in vnode_pager_forced_unmount()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 217 if (fd->fd_ix == ix && vnode_mount(fd->fd_vnode) == mp) { in fdesc_allocvp()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_authorization.c | 820 (dvp != NULL) && !vfs_authopaque(vnode_mount(dvp))) { in kauth_acl_inherit()
|
| H A D | imageboot.c | 345 mount_t root_mp = vnode_mount(rootvnode); in imageboot_pivot_image()
|
| H A D | kern_descrip.c | 3726 devBlockSize = vfs_devblocksize(vnode_mount(vp)); in sys_fcntl_nocancel() 5081 !(vfs_flags(vnode_mount(vp)) & MNT_LOCAL)) { in sys_fcntl_nocancel() 5123 !(vfs_flags(vnode_mount(vp)) & MNT_LOCAL)) { in sys_fcntl_nocancel()
|
| H A D | decmpfs.c | 793 mp = vnode_mount(vp);
|
| H A D | kern_sysctl.c | 3124 devvp = vnode_mount(imgsrc_rootvnodes[0])->mnt_devvp; 3172 devvp = vnode_mount(rvp)->mnt_devvp;
|
| /xnu-11215/bsd/sys/ |
| H A D | vnode.h | 1086 mount_t vnode_mount(vnode_t vp);
|