Home
last modified time | relevance | path

Searched refs:MNT_RDONLY (Results 1 – 15 of 15) sorted by relevance

/xnu-12377.41.6/tests/vfs/
H A Ddevfs_fdesc.c152 ret = mount("tmpfs", fdesc_path, MNT_RDONLY, NULL);
157 ret = mount("devfs", fdesc_path, MNT_RDONLY, NULL);
H A Dfmount_funmount.c106 …T_ASSERT_POSIX_SUCCESS(fmount(FSTYPE_DEVFS, fd, MNT_RDONLY, NULL), "Mounting temporary %s mount us…
H A Dstatfs_ext.c154 …T_ASSERT_POSIX_SUCCESS(mount(FSTYPE_DEVFS, testdir, MNT_RDONLY, NULL), "Mounting temporary %s moun…
/xnu-12377.41.6/bsd/vfs/
H A Dvfs_conf.c166 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY,
184 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY,
H A Dvfs_syscalls.c1086 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 Dkpi_vfs.c498 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 Dvfs_subr.c1147 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 Dvfs_cluster.c2692 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext()
/xnu-12377.41.6/bsd/sys/
H A Dmount.h296 #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 Dimageboot.c298 …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 Dbind_vfsops.c216 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in bindfs_mount()
/xnu-12377.41.6/bsd/miscfs/nullfs/
H A Dnull_vfsops.c231 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in nullfs_mount()
/xnu-12377.41.6/tests/
H A Ddisk_mount_conditioner.m409 T_ASSERT_EQ_INT(0, mount("devfs", mount_path, MNT_RDONLY, NULL), "Create temporary devfs mount");
/xnu-12377.41.6/iokit/bsddev/
H A DIOKitBSDInit.cpp1468 if (MNT_RDONLY & flags) { in IOBSDMountChange()
/xnu-12377.41.6/bsd/miscfs/devfs/
H A Ddevfs_vnops.c1674 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()