Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/vfs/
H A Dvfs_conf.c166 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY,
184 .vfc_flags = MNT_DONTBROWSE | MNT_RDONLY,
H A Dvfs_syscalls.c1012 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 Dkpi_vfs.c497 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 Dvfs_subr.c1146 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 Dvfs_cluster.c2624 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in cluster_pageout_ext()
/xnu-11417.140.69/tests/vfs/
H A Dstatfs_ext.c146 …T_ASSERT_POSIX_SUCCESS(mount(FSTYPE_DEVFS, testdir, MNT_RDONLY, NULL), "Mounting temporary %s moun…
/xnu-11417.140.69/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-11417.140.69/bsd/kern/
H A Dimageboot.c296 …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 Dbind_vfsops.c219 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in bindfs_mount()
/xnu-11417.140.69/tests/
H A Ddisk_mount_conditioner.c407 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 Dnull_vfsops.c234 flags |= (MNT_DONTBROWSE | MNT_MULTILABEL | MNT_NOSUID | MNT_RDONLY); in nullfs_mount()
/xnu-11417.140.69/iokit/bsddev/
H A DIOKitBSDInit.cpp1468 if (MNT_RDONLY & flags) { in IOBSDMountChange()
/xnu-11417.140.69/bsd/miscfs/devfs/
H A Ddevfs_vnops.c1566 if (vp->v_mount->mnt_flag & MNT_RDONLY) { in devfs_update()