| /xnu-12377.41.6/bsd/miscfs/devfs/ |
| H A D | devfs_vfsops.c | 180 if (mp->mnt_flag & MNT_UPDATE) { in devfs_mount() 203 mp->mnt_flag |= MNT_LOCAL; in devfs_mount() 266 mp->mnt_flag &= ~MNT_LOCAL; in devfs_unmount()
|
| H A D | devfs_vnops.c | 1674 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()
|
| /xnu-12377.41.6/security/ |
| H A D | mac_vfs.c | 2202 if ((mp->mnt_flag & MNT_ROOTFS) && in mac_mount_label_associate() 2204 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2209 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2214 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2219 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2224 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2230 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate() 2235 (mp->mnt_flag & MNT_MULTILABEL)) { in mac_mount_label_associate() 2236 mp->mnt_flag &= ~MNT_MULTILABEL; in mac_mount_label_associate() 2245 mp->mnt_flag & MNT_MULTILABEL ? "multilabel" : "singlelabel", in mac_mount_label_associate() [all …]
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | imageboot.c | 492 old_rootfs->mnt_flag &= ~MNT_ROOTFS; in imageboot_mount_image() 508 new_rootfs->mnt_flag |= MNT_ROOTFS; in imageboot_mount_image() 941 mnt->mnt_flag |= MNT_ROOTFS; in imageboot_mount_ramdisk() 991 new_rootfs->mnt_flag |= MNT_ROOTFS; in imageboot_mount_ramdisk()
|
| H A D | bsd_init.c | 918 mountlist.tqh_first->mnt_flag |= MNT_ROOTFS; in bsd_init()
|
| H A D | decmpfs.c | 798 is_local_fs = ((mp->mnt_flag & MNT_LOCAL));
|
| H A D | ubc_subr.c | 2062 ((vp->v_mount->mnt_flag & MNT_ROOTFS) || in ubc_map() 6256 …MAP(vp) ( (vp != NULL) && (vp->v_mount != NULL) && (vp->v_mount->mnt_flag & MNT_ROOTFS) && …
|
| H A D | mach_loader.c | 3936 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in get_macho_vnode()
|
| H A D | kern_exec.c | 7270 if ((vp->v_mount->mnt_flag & MNT_NOSUID) || (p->p_lflag & P_LTRACED)) { in exec_check_permissions()
|
| /xnu-12377.41.6/bsd/miscfs/routefs/ |
| H A D | routefs_ops.c | 91 if (mp->mnt_flag & MNT_UPDATE) { in routefs_mount() 146 mp->mnt_flag |= MNT_LOCAL; in routefs_mount() 208 mp->mnt_flag &= ~MNT_LOCAL; in routefs_unmount()
|
| /xnu-12377.41.6/bsd/vfs/ |
| H A D | vfs_syscalls.c | 1040 if (!(mp->mnt_flag & MNT_UNION)) { in __mac_mount() 1066 (vp->v_mount->mnt_flag & MNT_ROOTFS)) { in __mac_mount() 1224 ((mp->mnt_flag & MNT_RDONLY) == 0)) { in mount_common() 1233 if ((mp->mnt_flag & MNT_CPROTECT) && in mount_common() 1244 if ((mp->mnt_flag & MNT_REMOVABLE) && in mount_common() 1276 if (mp->mnt_flag & MNT_NOEXEC) { in mount_common() 1280 flag = mp->mnt_flag; in mount_common() 1285 mp->mnt_flag |= flags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE); in mount_common() 1297 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in mount_common() 1371 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK; in mount_common() [all …]
|
| H A D | kpi_vfs.c | 469 return (uint64_t)(mp->mnt_flag & (MNT_CMDFLAGS | MNT_VISFLAGMASK)); in vfs_flags() 479 mp->mnt_flag |= lflags; in vfs_setflags() 490 mp->mnt_flag &= ~lflags; in vfs_clearflags() 498 return (mp->mnt_flag & MNT_RDONLY) && (mp->mnt_kern_flag & MNTK_WANTRDWR); in vfs_iswriteupgrade() 506 return mp->mnt_flag & MNT_RDONLY; in vfs_isrdonly() 513 return mp->mnt_flag & MNT_SYNCHRONOUS; in vfs_issynchronous() 520 return (mp->mnt_flag & MNT_RDONLY) == 0; in vfs_isrdwr() 528 return mp->mnt_flag & MNT_UPDATE; in vfs_isupdate() 536 return (mp->mnt_flag & MNT_UPDATE) && (mp->mnt_flag & MNT_RELOAD); in vfs_isreload() 2432 return vp->v_mount->mnt_flag & MNT_VISFLAGMASK; in vnode_vfsvisflags() [all …]
|
| H A D | vfs_init.c | 407 mp->mnt_flag = MNT_LOCAL; in vfsinit()
|
| H A D | vfs_subr.c | 1147 mp->mnt_flag = MNT_RDONLY | MNT_ROOTFS; in vfs_rootmountalloc_internal() 1150 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK; in vfs_rootmountalloc_internal() 1753 incoming->mnt_flag |= MNT_ROOTFS; in vfs_switch_root() 1787 outgoing->mnt_flag &= ~MNT_ROOTFS; in vfs_switch_root() 2413 if (!mp || (!(mp->mnt_kern_flag & MNTK_VIRTUALDEV) && (mp->mnt_flag & MNT_LOCAL))) { in vnode_on_reliable_media() 4290 && ((mp->mnt_flag & MNT_ROOTFS) || (mp->mnt_kern_flag & MNTK_SYSTEM))) { //MNTK_BACKS_ROOT in unmount_callback() 4539 mp->mnt_flag |= MNT_REMOVABLE; in vfs_init_io_attributes() 4726 mp->mnt_flag |= MNT_REMOVABLE; in vfs_init_io_attributes() 5026 sfs->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; in sysctl_vfs_ctlbyfsid() 5047 sfs->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; in sysctl_vfs_ctlbyfsid() [all …]
|
| H A D | vfs_lookup.c | 1567 (dp->v_mount->mnt_flag & MNT_UNION)) { 1832 if ((ndp->ni_flag & NAMEI_LOCAL) && !(mp->mnt_flag & MNT_LOCAL)) { 1844 …if ((ndp->ni_flag & NAMEI_IMMOVABLE) && (mp->mnt_flag & MNT_REMOVABLE) && !(mp->mnt_kern_flag & MN…
|
| H A D | vfs_cache.c | 593 if ((vp->v_mount->mnt_flag & MNT_ROOTFS) || (vp == proc_root_dir_vp)) { in build_path_with_parent() 1880 (dmp->mnt_flag & MNT_DOVOLFS) && in cache_lookup_path() 2183 if ((ndp->ni_flag & NAMEI_LOCAL) && !(vp->v_mount->mnt_flag & MNT_LOCAL)) { in cache_lookup_path() 2195 …if ((ndp->ni_flag & NAMEI_IMMOVABLE) && (vp->v_mount->mnt_flag & MNT_REMOVABLE) && !(vp->v_mount->… in cache_lookup_path()
|
| H A D | vfs_io_compression_stats.c | 540 if (mp->mnt_flag & MNT_LOCAL) { in vfs_iocs_callback()
|
| H A D | vfs_vnops.c | 1348 (vp->v_mount && (vp->v_mount->mnt_flag & MNT_SYNCHRONOUS))) { in vn_write()
|
| H A D | vfs_cluster.c | 2692 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext() 6642 … if ((retval == ENOSPC) && (vp->v_mount->mnt_flag & (MNT_LOCAL | MNT_REMOVABLE)) == MNT_LOCAL) { in cluster_push_err()
|
| H A D | vfs_bio.c | 4369 if (mp && (MNT_ROOTFS & mp->mnt_flag)) { in buf_biodone()
|
| H A D | vfs_attrlist.c | 1551 ATTR_PACK_CAST(&ab, uint32_t, mnt->mnt_flag); in getvolattrlist()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | mount_internal.h | 118 uint32_t mnt_flag; /* flags */ member
|
| /xnu-12377.41.6/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 364 if (vp->v_mount && (vp->v_mount->mnt_flag & MNT_NODEV)) { in spec_open()
|
| /xnu-12377.41.6/tools/lldbmacros/ |
| H A D | memory.py | 1758 …) & 0x000001) and int(hex(vnode.v_mount), 16) != 0 and (int(vnode.v_mount.mnt_flag) & 0x00004000) :
|