Home
last modified time | relevance | path

Searched refs:mnt_flag (Results 1 – 24 of 24) sorted by relevance

/xnu-8792.61.2/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c180 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 Ddevfs_vnops.c1566 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()
/xnu-8792.61.2/security/
H A Dmac_vfs.c2227 if ((mp->mnt_flag & MNT_ROOTFS) && in mac_mount_label_associate()
2229 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2234 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2239 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2244 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2249 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2255 mp->mnt_flag |= MNT_MULTILABEL; in mac_mount_label_associate()
2260 (mp->mnt_flag & MNT_MULTILABEL)) { in mac_mount_label_associate()
2261 mp->mnt_flag &= ~MNT_MULTILABEL; in mac_mount_label_associate()
2270 mp->mnt_flag & MNT_MULTILABEL ? "multilabel" : "singlelabel", in mac_mount_label_associate()
[all …]
/xnu-8792.61.2/bsd/kern/
H A Dimageboot.c470 old_rootfs->mnt_flag &= ~MNT_ROOTFS; in imageboot_mount_image()
486 new_rootfs->mnt_flag |= MNT_ROOTFS; in imageboot_mount_image()
899 mnt->mnt_flag |= MNT_ROOTFS; in imageboot_mount_ramdisk()
949 new_rootfs->mnt_flag |= MNT_ROOTFS; in imageboot_mount_ramdisk()
H A Dbsd_init.c893 mountlist.tqh_first->mnt_flag |= MNT_ROOTFS; in bsd_init()
H A Ddecmpfs.c768 is_local_fs = ((mp->mnt_flag & MNT_LOCAL));
H A Dubc_subr.c2109 ((vp->v_mount->mnt_flag & MNT_ROOTFS) || in ubc_map()
5602 …MAP(vp) ( (vp != NULL) && (vp->v_mount != NULL) && (vp->v_mount->mnt_flag & MNT_ROOTFS) && …
H A Dmach_loader.c3800 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in get_macho_vnode()
H A Dkern_exec.c6265 if ((vp->v_mount->mnt_flag & MNT_NOSUID) || (p->p_lflag & P_LTRACED)) { in exec_check_permissions()
/xnu-8792.61.2/bsd/miscfs/routefs/
H A Droutefs_ops.c91 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-8792.61.2/bsd/vfs/
H A Dvfs_syscalls.c922 (vp->v_mount->mnt_flag & MNT_ROOTFS)) { in __mac_mount()
1069 ((mp->mnt_flag & MNT_RDONLY) == 0)) { in mount_common()
1078 if ((mp->mnt_flag & MNT_CPROTECT) && in mount_common()
1089 if ((mp->mnt_flag & MNT_REMOVABLE) && in mount_common()
1121 if (mp->mnt_flag & MNT_NOEXEC) { in mount_common()
1125 flag = mp->mnt_flag; in mount_common()
1130 mp->mnt_flag |= flags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE); in mount_common()
1142 if (vp->v_mount->mnt_flag & MNT_NOEXEC) { in mount_common()
1211 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK; in mount_common()
1247 mp->mnt_flag |= MNT_RDONLY; in mount_common()
[all …]
H A Dkpi_vfs.c467 return (uint64_t)(mp->mnt_flag & (MNT_CMDFLAGS | MNT_VISFLAGMASK)); in vfs_flags()
477 mp->mnt_flag |= lflags; in vfs_setflags()
488 mp->mnt_flag &= ~lflags; in vfs_clearflags()
496 return (mp->mnt_flag & MNT_RDONLY) && (mp->mnt_kern_flag & MNTK_WANTRDWR); in vfs_iswriteupgrade()
504 return mp->mnt_flag & MNT_RDONLY; in vfs_isrdonly()
511 return mp->mnt_flag & MNT_SYNCHRONOUS; in vfs_issynchronous()
518 return (mp->mnt_flag & MNT_RDONLY) == 0; in vfs_isrdwr()
526 return mp->mnt_flag & MNT_UPDATE; in vfs_isupdate()
534 return (mp->mnt_flag & MNT_UPDATE) && (mp->mnt_flag & MNT_RELOAD); in vfs_isreload()
2316 return vp->v_mount->mnt_flag & MNT_VISFLAGMASK; in vnode_vfsvisflags()
[all …]
H A Dvfs_subr.c1122 mp->mnt_flag = MNT_RDONLY | MNT_ROOTFS; in vfs_rootmountalloc_internal()
1125 mp->mnt_flag |= vfsp->vfc_flags & MNT_VISFLAGMASK; in vfs_rootmountalloc_internal()
1472 if (mp->mnt_flag & MNTK_VIRTUALDEV) { in verify_incoming_rootfs()
1728 incoming->mnt_flag |= MNT_ROOTFS; in vfs_switch_root()
1761 outgoing->mnt_flag &= ~MNT_ROOTFS; in vfs_switch_root()
2372 if (!mp || (!(mp->mnt_kern_flag & MNTK_VIRTUALDEV) && (mp->mnt_flag & MNT_LOCAL))) { in vnode_on_reliable_media()
4017 && ((mp->mnt_flag & MNT_ROOTFS) || (mp->mnt_kern_flag & MNTK_SYSTEM))) { //MNTK_BACKS_ROOT in unmount_callback()
4265 mp->mnt_flag |= MNT_REMOVABLE; in vfs_init_io_attributes()
4452 mp->mnt_flag |= MNT_REMOVABLE; in vfs_init_io_attributes()
4752 sfs->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; in sysctl_vfs_ctlbyfsid()
[all …]
H A Dvfs_init.c399 mp->mnt_flag = MNT_LOCAL; in vfsinit()
H A Dvfs_io_compression_stats.c540 if (mp->mnt_flag & MNT_LOCAL) { in vfs_iocs_callback()
H A Dvfs_cache.c515 if ((vp->v_mount->mnt_flag & MNT_ROOTFS) || (vp == proc_root_dir_vp)) { in build_path_with_parent()
1640 (dp->v_mount->mnt_flag & MNT_DOVOLFS) && in cache_lookup_path()
H A Dvfs_lookup.c1331 (dp->v_mount->mnt_flag & MNT_UNION)) {
H A Dvfs_vnops.c1290 (vp->v_mount && (vp->v_mount->mnt_flag & MNT_SYNCHRONOUS))) { in vn_write()
H A Dvfs_cluster.c2283 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext()
5933 … if ((retval == ENOSPC) && (vp->v_mount->mnt_flag & (MNT_LOCAL | MNT_REMOVABLE)) == MNT_LOCAL) { in cluster_push_err()
H A Dvfs_bio.c4184 if (mp && (MNT_ROOTFS & mp->mnt_flag)) { in buf_biodone()
H A Dvfs_attrlist.c1480 ATTR_PACK_CAST(&ab, uint32_t, mnt->mnt_flag); in getvolattrlist()
/xnu-8792.61.2/bsd/sys/
H A Dmount_internal.h118 uint32_t mnt_flag; /* flags */ member
/xnu-8792.61.2/bsd/miscfs/specfs/
H A Dspec_vnops.c316 if (vp->v_mount && (vp->v_mount->mnt_flag & MNT_NODEV)) { in spec_open()
/xnu-8792.61.2/tools/lldbmacros/
H A Dmemory.py1896 …) & 0x000001) and int(hex(vnode.v_mount), 16) != 0 and (int(vnode.v_mount.mnt_flag) & 0x00004000) :