Searched refs:MNT_RDONLY (Results 1 – 13 of 13) sorted by relevance
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_conf.c | 166 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY, 184 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY,
|
| H A D | vfs_syscalls.c | 1012 if ((flags & MNT_RDONLY) == 0) { in __mac_mount() 1026 if ((flags & MNT_RDONLY) == 0) { in __mac_mount() 1150 ((mp->mnt_flag & MNT_RDONLY) == 0)) { in mount_common() 1177 (!vfs_isrdonly(mp)) && (flags & MNT_RDONLY)) { in mount_common() 1332 if (flags & MNT_RDONLY) { in mount_common() 1333 mp->mnt_flag |= MNT_RDONLY; in mount_common() 1334 } else if (mp->mnt_flag & MNT_RDONLY) { in mount_common() 1467 if ((mp->mnt_flag & MNT_RDONLY) == 0) { in mount_common() 1507 ronly = (mp->mnt_flag & MNT_RDONLY) != 0; in mount_common() 1522 } else if ((mp->mnt_flag & MNT_RDONLY) && in mount_common() [all …]
|
| H A D | kpi_vfs.c | 497 return (mp->mnt_flag & MNT_RDONLY) && (mp->mnt_kern_flag & MNTK_WANTRDWR); in vfs_iswriteupgrade() 505 return mp->mnt_flag & MNT_RDONLY; in vfs_isrdonly() 519 return (mp->mnt_flag & MNT_RDONLY) == 0; in vfs_isrdwr() 2449 return (vp->v_mount->mnt_flag & MNT_RDONLY)? 1 : 0; in vnode_vfsisrdonly()
|
| H A D | vfs_subr.c | 1146 mp->mnt_flag = MNT_RDONLY | MNT_ROOTFS; in vfs_rootmountalloc_internal() 10189 (vp->v_mount->mnt_flag & MNT_RDONLY) && in vnode_authorize_callback_int() 10401 mp && (mp->mnt_flag & MNT_RDONLY) && in vnode_attr_authorize()
|
| H A D | vfs_cluster.c | 2624 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext()
|
| /xnu-11417.140.69/tests/vfs/ |
| H A D | statfs_ext.c | 146 …T_ASSERT_POSIX_SUCCESS(mount(FSTYPE_DEVFS, testdir, MNT_RDONLY, NULL), "Mounting temporary %s moun…
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | mount.h | 296 #define MNT_RDONLY 0x00000001 /* read only filesystem */ macro 353 #define MNT_VISFLAGMASK (MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | \
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | imageboot.c | 296 …error = kernel_mount("hfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBROW… in imageboot_pivot_image() 300 …error = kernel_mount("apfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBRO… in imageboot_pivot_image()
|
| /xnu-11417.140.69/bsd/miscfs/bindfs/ |
| H A D | bind_vfsops.c | 219 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in bindfs_mount()
|
| /xnu-11417.140.69/tests/ |
| H A D | disk_mount_conditioner.c | 407 T_ASSERT_EQ_INT(0, mount("devfs", mount_path, MNT_RDONLY, NULL), "Create temporary devfs mount"); in mktempmount()
|
| /xnu-11417.140.69/bsd/miscfs/nullfs/ |
| H A D | null_vfsops.c | 234 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in nullfs_mount()
|
| /xnu-11417.140.69/iokit/bsddev/ |
| H A D | IOKitBSDInit.cpp | 1468 if (MNT_RDONLY & flags) { in IOBSDMountChange()
|
| /xnu-11417.140.69/bsd/miscfs/devfs/ |
| H A D | devfs_vnops.c | 1566 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()
|