Searched refs:MNT_RDONLY (Results 1 – 15 of 15) sorted by relevance
| /xnu-12377.41.6/tests/vfs/ |
| H A D | devfs_fdesc.c | 152 ret = mount("tmpfs", fdesc_path, MNT_RDONLY, NULL); 157 ret = mount("devfs", fdesc_path, MNT_RDONLY, NULL);
|
| H A D | fmount_funmount.c | 106 …T_ASSERT_POSIX_SUCCESS(fmount(FSTYPE_DEVFS, fd, MNT_RDONLY, NULL), "Mounting temporary %s mount us…
|
| H A D | statfs_ext.c | 154 …T_ASSERT_POSIX_SUCCESS(mount(FSTYPE_DEVFS, testdir, MNT_RDONLY, NULL), "Mounting temporary %s moun…
|
| /xnu-12377.41.6/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 | 1086 if ((flags & MNT_RDONLY) == 0) { in __mac_mount() 1100 if ((flags & MNT_RDONLY) == 0) { in __mac_mount() 1224 ((mp->mnt_flag & MNT_RDONLY) == 0)) { in mount_common() 1251 (!vfs_isrdonly(mp)) && (flags & MNT_RDONLY)) { in mount_common() 1406 if (flags & MNT_RDONLY) { in mount_common() 1407 mp->mnt_flag |= MNT_RDONLY; in mount_common() 1408 } else if (mp->mnt_flag & MNT_RDONLY) { in mount_common() 1541 if ((mp->mnt_flag & MNT_RDONLY) == 0) { in mount_common() 1581 ronly = (mp->mnt_flag & MNT_RDONLY) != 0; in mount_common() 1596 } else if ((mp->mnt_flag & MNT_RDONLY) && in mount_common() [all …]
|
| H A D | kpi_vfs.c | 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() 520 return (mp->mnt_flag & MNT_RDONLY) == 0; in vfs_isrdwr() 2467 return (vp->v_mount->mnt_flag & MNT_RDONLY)? 1 : 0; in vnode_vfsisrdonly()
|
| H A D | vfs_subr.c | 1147 mp->mnt_flag = MNT_RDONLY | MNT_ROOTFS; in vfs_rootmountalloc_internal() 10296 (vp->v_mount->mnt_flag & MNT_RDONLY) && in vnode_authorize_callback_int() 10508 mp && (mp->mnt_flag & MNT_RDONLY) && in vnode_attr_authorize()
|
| H A D | vfs_cluster.c | 2692 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext()
|
| /xnu-12377.41.6/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-12377.41.6/bsd/kern/ |
| H A D | imageboot.c | 298 …error = kernel_mount("hfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBROW… in imageboot_pivot_image() 302 …error = kernel_mount("apfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBRO… in imageboot_pivot_image()
|
| /xnu-12377.41.6/bsd/miscfs/bindfs/ |
| H A D | bind_vfsops.c | 216 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in bindfs_mount()
|
| /xnu-12377.41.6/bsd/miscfs/nullfs/ |
| H A D | null_vfsops.c | 231 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in nullfs_mount()
|
| /xnu-12377.41.6/tests/ |
| H A D | disk_mount_conditioner.m | 409 T_ASSERT_EQ_INT(0, mount("devfs", mount_path, MNT_RDONLY, NULL), "Create temporary devfs mount");
|
| /xnu-12377.41.6/iokit/bsddev/ |
| H A D | IOKitBSDInit.cpp | 1468 if (MNT_RDONLY & flags) { in IOBSDMountChange()
|
| /xnu-12377.41.6/bsd/miscfs/devfs/ |
| H A D | devfs_vnops.c | 1674 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()
|