| /xnu-12377.61.12/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() 263 struct null_mount * null_mp = MOUNTTONULLMOUNT(vnode_mount(args->a_vp)); in nullfs_getattr() 284 VATTR_RETURN(args->a_vap, va_fsid, vfs_statfs(vnode_mount(args->a_vp))->f_fsid.val[0]); in nullfs_getattr() 287 VATTR_RETURN(args->a_vap, va_fsid64, vfs_statfs(vnode_mount(args->a_vp))->f_fsid); in nullfs_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() [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 | 224 …uint64_t lowerflags = vfs_flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNO… in nullfs_mount() 249 error = nullfs_vfs_getlowerattr(vnode_mount(lowerrootvp), &vfa, ctx); in nullfs_mount() 296 MAC_PERFORM(mount_label_associate, cred, vnode_mount(lowerrootvp), vfs_mntlabel(mp)); in nullfs_mount() 432 if (nullfs_vfs_getlowerattr(vnode_mount(null_mp->nullm_lowerrootvp), &vfa, ectx) == 0) { in nullfs_vfs_getattr()
|
| /xnu-12377.61.12/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 | 209 …uint64_t lowerflags = vfs_flags(vnode_mount(lowerrootvp)) & (MNT_LOCAL | MNT_QUARANTINE | MNT_IGNO… in bindfs_mount() 231 error = bindfs_vfs_getlowerattr(vnode_mount(lowerrootvp), &vfa, ctx); in bindfs_mount() 278 MAC_PERFORM(mount_label_associate, cred, vnode_mount(lowerrootvp), vfs_mntlabel(mp)); in bindfs_mount() 407 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-12377.61.12/bsd/vfs/ |
| H A D | vfs_vnops.c | 526 if (error == 0 && batched && (vnode_mount(dvp) == vnode_mount(vp))) { in vn_open_auth() 596 if (batched && ((vp == NULLVP) || (vnode_mount(dvp) == vnode_mount(vp)))) { in vn_open_auth() 1912 *retval = vfs_extendedsecurity(vnode_mount(vp)) ? 1 : 0; in vn_pathconf() 1915 *retval = vfs_authopaque(vnode_mount(vp)); in vn_pathconf() 1961 if (vfs_getattr(vnode_mount(vp), &vfa, ctx) == 0 && in vn_pathconf()
|
| H A D | vfs_syscalls.c | 2487 mp = vnode_mount(rvp); in relocate_imageboot_source() 2877 mp = vnode_mount(vp); in funmount() 3314 fsid = vnode_mount(vp)->mnt_vfsstat.f_fsid; // Underlying fsid in dounmount_submounts() 4291 mp = vnode_mount(tmp->mnt_vnodecovered); in vnode_getfromid() 6065 if (vnode_mount(vp) != vnode_mount(dvp)) { in linkat_internal() 6312 error = vnode_label(vnode_mount(vp), dvp, vp, &nd.ni_cnd, VNODE_LABEL_CREATE, ctx); in symlinkat_internal() 9158 if (vnode_mount(tdvp) != vnode_mount(fvp)) { in clonefile_internal() 9271 (void)vnode_label(vnode_mount(tvp), tdvp, tvp, cnp, in clonefile_internal() 11764 error = VFS_ROOT(vnode_mount(vp), &tvp, ctx); in searchfs() 13632 error = mac_mount_check_fsctl(ctx, vnode_mount(vp), uap->cmd); in fsctl() [all …]
|
| 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_lookup.c | 1035 if (vfs_flags(vnode_mount(dp)) & MNT_MULTILABEL) { in lookup_handle_found_vnode() 1036 error = vnode_label(vnode_mount(dp), NULL, dp, NULL, 0, ctx); in lookup_handle_found_vnode()
|
| H A D | vfs_subr.c | 3130 bool forced_unmount = vnode_mount(vp) != NULL && (vnode_mount(vp)->mnt_lflag & MNT_LFORCE) != 0; in vclean() 3132 bool unmount = vnode_mount(vp) != NULL && (vnode_mount(vp)->mnt_lflag & MNT_LUNMOUNT) != 0; in vclean() 7259 vnode_mount(vp) != NULL && in vnode_create_internal() 7260 (!(vfs_flags(vnode_mount(vp)) & MNT_ROOTFS))) { in vnode_create_internal() 8071 error = vnode_label(vnode_mount(vp), dvp, vp, cnp, VNODE_LABEL_CREATE, ctx); in vn_create() 8336 if (vfs_flags(vnode_mount(vp)) & MNT_MULTILABEL) { in vn_authorize_open_existing() 8337 error = vnode_label(vnode_mount(vp), NULL, vp, NULL, 0, ctx); in vn_authorize_open_existing() 12172 mp = vnode_mount(vp); in vnode_resolver_detach()
|
| H A D | kpi_vfs.c | 1843 vnode_mount(vnode_t vp) in vnode_mount() function 2813 if (!vfs_extendedsecurity(vnode_mount(vp))) { in vnode_getattr() 3125 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-12377.61.12/bsd/nfs/ |
| H A D | nfs_serv.c | 3020 if ((vnode_mount(fvp) != vnode_mount(tdvp)) || in nfsrv_rename() 3021 (tvp && (vnode_mount(fvp) != vnode_mount(tvp)))) { in nfsrv_rename() 3085 if (holding_mntlock && vnode_mount(fvp) != locked_mp) { in nfsrv_rename() 3115 locked_mp = vnode_mount(fvp); in nfsrv_rename() 3472 } else if (vnode_mount(vp) != vnode_mount(dvp)) { in nfsrv_link() 4655 if ((error = VFS_VGET(vnode_mount(vp), (ino64_t)attr.va_fileid, &nvp, ctx))) { in nfsrv_readdirplus() 4684 if (VFS_VGET(vnode_mount(vp), (ino64_t)dp->d_fileno, &nvp, ctx)) { in nfsrv_readdirplus() 4901 error = vfs_getattr(vnode_mount(vp), &va, ctx); in nfsrv_statfs() 4902 blksize = vfs_statfs(vnode_mount(vp))->f_bsize; in nfsrv_statfs()
|
| H A D | nfs_syscalls.c | 266 error = VFS_ROOT(vnode_mount(vp), &rvp, vfs_context_current()); in nfsrv_export_remainder() 336 ptr = vfs_statfs(vnode_mount(vp))->f_mntonname; in getfh() 345 error = VFS_ROOT(vnode_mount(vp), &rvp, vfs_context_current()); in getfh()
|
| H A D | nfs_subs.c | 1685 mp = vnode_mount(mvp); in nfsrv_export() 1798 if (mp != vnode_mount(mvp)) { in nfsrv_export() 1831 mp = vnode_mount(mvp); in nfsrv_export()
|
| /xnu-12377.61.12/bsd/vm/ |
| H A D | vm_compressor_backing_file.c | 83 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-12377.61.12/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-12377.61.12/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 | 365 mount_t root_mp = vnode_mount(rootvnode); in imageboot_pivot_image()
|
| H A D | kern_descrip.c | 3754 devBlockSize = vfs_devblocksize(vnode_mount(vp)); in sys_fcntl_nocancel() 5119 !(vfs_flags(vnode_mount(vp)) & MNT_LOCAL)) { in sys_fcntl_nocancel() 5161 !(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 | 3182 devvp = vnode_mount(imgsrc_rootvnodes[0])->mnt_devvp; 3230 devvp = vnode_mount(rvp)->mnt_devvp;
|
| /xnu-12377.61.12/bsd/sys/ |
| H A D | vnode.h | 1093 mount_t vnode_mount(vnode_t vp);
|