/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 313 if ((vfsp->vfs_flag & VFS_RDONLY) != 0 || in ufs_mount() 417 vfsp->vfs_flag |= VFS_RDONLY; in ufs_mount() 421 vfsp->vfs_flag |= VFS_RDONLY; in ufs_mount() 486 vfsp->vfs_flag |= VFS_RDONLY; in ufs_mountroot() 496 ovflags = vfsp->vfs_flag; in ufs_mountroot() 497 vfsp->vfs_flag &= ~VFS_RDONLY; in ufs_mountroot() 498 vfsp->vfs_flag |= VFS_REMOUNT; in ufs_mountroot() 557 vfsp->vfs_flag = ovflags; in ufs_mountroot() 567 (vfsp->vfs_flag & VFS_RDONLY) ? MS_RDONLY : 0); in ufs_mountroot() 594 if (vfsp->vfs_flag & VFS_RDONLY) in remountfs() [all …]
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 345 if ((li->li_realvfs->vfs_flag & VFS_RDONLY) && in lo_mount() 349 if ((li->li_realvfs->vfs_flag & VFS_NOSETUID) && in lo_mount() 353 if ((li->li_realvfs->vfs_flag & VFS_NODEVICES) && in lo_mount() 362 if ((li->li_realvfs->vfs_flag & VFS_XATTR) && in lo_mount() 367 if ((li->li_realvfs->vfs_flag & VFS_NBMAND) && in lo_mount()
|
H A D | lofs_subr.c | 347 lfs->lfs_vfs.vfs_flag = in makelfsnode() 348 ((vfsp->vfs_flag | li->li_mflag) & ~li->li_dflag) & in makelfsnode()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_vfs.c | 742 vfsp->vfs_flag |= (VFS_NOSETUID|VFS_NODEVICES); in fake_domount() 750 vfsp->vfs_flag |= VFS_RDONLY; in fake_domount() 752 vfsp->vfs_flag &= ~VFS_RDONLY; in fake_domount() 754 vfsp->vfs_flag |= (VFS_NOSETUID|VFS_NODEVICES); in fake_domount() 757 vfsp->vfs_flag |= VFS_NODEVICES; in fake_domount() 759 vfsp->vfs_flag &= ~VFS_NODEVICES; in fake_domount() 761 vfsp->vfs_flag |= VFS_NOSETUID; in fake_domount() 763 vfsp->vfs_flag &= ~VFS_NOSETUID; in fake_domount() 766 vfsp->vfs_flag |= VFS_NBMAND; in fake_domount() 768 vfsp->vfs_flag &= ~VFS_NBMAND; in fake_domount() [all …]
|
H A D | fake_unlink.c | 75 if (dvp->v_vfsp->vfs_flag & VFS_RDONLY) { in fake_unlink()
|
H A D | fake_rename.c | 106 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in fake_rename()
|
H A D | fake_nbmlock.c | 87 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
|
H A D | fake_open.c | 313 if (dvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_create()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 918 rootvfs->vfs_flag |= VFS_STATS; in vfs_mountroot() 1455 if ((nbmand && ((vp->v_vfsp->vfs_flag & VFS_NBMAND) == 0)) || in domount() 1456 (!nbmand && (vp->v_vfsp->vfs_flag & VFS_NBMAND))) { in domount() 1462 ovflags = vfsp->vfs_flag; in domount() 1463 vfsp->vfs_flag |= VFS_REMOUNT; in domount() 1464 vfsp->vfs_flag &= ~VFS_RDONLY; in domount() 1497 !(vfsp->vfs_flag & VFS_REMOUNT)) in domount() 1670 vfsp->vfs_flag = ovflags; in domount() 1684 vfsp->vfs_flag &= ~VFS_REMOUNT; in domount() 1710 vfsp->vfs_flag |= VFS_RDONLY; in domount() [all …]
|
H A D | nbmlock.c | 84 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
|
H A D | fs_subr.c | 292 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_frlock() 522 if (vp->v_vfsp->vfs_flag & VFS_NOTRUNC) in fs_pathconf() 691 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_shrlock()
|
H A D | vnode.c | 171 (vfsp->vfs_flag & VFS_STATS) && (vp)->v_type != VBAD) { \ 187 (vfsp->vfs_flag & VFS_STATS) && (vp)->v_type != VBAD) { \ 208 if (vfsp != NULL && (vfsp->vfs_flag & VFS_XID) == 0) \ 631 if (vfsp == NULL || (vfsp->vfs_flag & VFS_STATS) == 0 || in get_fstype_vopstats() 673 (vfsp->vfs_flag & VFS_STATS) == 0 || !vopstats_enabled) in get_vskstat_anchor() 722 (vfsp->vfs_flag & VFS_STATS) == 0 || !vopstats_enabled) in teardown_vopstats() 1471 (*vpp == NULL && dvp->v_vfsp->vfs_flag & VFS_RDONLY)) { in vn_createat() 1665 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_linkat() 1770 if (tovp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_renameat() 1884 if ((vfsp->vfs_flag & VFS_UNLINKABLE) == 0) { in vn_removeat() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 278 zfsvfs->z_vfs->vfs_flag |= VFS_XATTR; in xattr_changed_cb() 283 zfsvfs->z_vfs->vfs_flag &= ~VFS_XATTR; in xattr_changed_cb() 308 zfsvfs->z_vfs->vfs_flag |= VFS_RDONLY; in readonly_changed_cb() 313 zfsvfs->z_vfs->vfs_flag &= ~VFS_RDONLY; in readonly_changed_cb() 325 zfsvfs->z_vfs->vfs_flag |= VFS_NODEVICES; in devices_changed_cb() 329 zfsvfs->z_vfs->vfs_flag &= ~VFS_NODEVICES; in devices_changed_cb() 341 zfsvfs->z_vfs->vfs_flag |= VFS_NOSETUID; in setuid_changed_cb() 345 zfsvfs->z_vfs->vfs_flag &= ~VFS_NOSETUID; in setuid_changed_cb() 357 zfsvfs->z_vfs->vfs_flag |= VFS_NOEXEC; in exec_changed_cb() 361 zfsvfs->z_vfs->vfs_flag &= ~VFS_NOEXEC; in exec_changed_cb() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 222 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_open() 563 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_read() 728 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_write() 1200 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_rdwrlbn() 1383 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_ioctl() 1449 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_getattr() 1523 if (smi->smi_flags & SMI_DEAD || vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_setattr() 1530 if (vfsp->vfs_flag & VFS_RDONLY) in smbfs_setattr() 1894 (vfsp->vfs_flag & VFS_RDONLY) && in smbfs_access_rwx() 1963 if (smi->smi_flags & SMI_DEAD || vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_access() [all …]
|
H A D | smbfs_vfsops.c | 799 vfsp->vfs_flag |= VFS_UNMOUNTED; in smbfs_unmount() 875 if (smi->smi_flags & SMI_DEAD || vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_root() 909 if (smi->smi_flags & SMI_DEAD || vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_statvfs() 960 stvfs.f_flag = vf_to_stf(vfsp->vfs_flag); in smbfs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 267 vfsp->vfs_flag |= VFS_RDONLY; in udf_mount() 271 vfsp->vfs_flag |= VFS_RDONLY; in udf_mount() 289 if ((vfsp->vfs_flag & VFS_RDONLY) != 0) { in udf_mount() 464 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in udf_statvfs() 564 vfsp->vfs_flag |= VFS_RDONLY; in udf_mountroot() 573 ovflags = vfsp->vfs_flag; in udf_mountroot() 574 vfsp->vfs_flag &= ~VFS_RDONLY; in udf_mountroot() 575 vfsp->vfs_flag |= VFS_REMOUNT; in udf_mountroot() 593 vfsp->vfs_flag = ovflags; in udf_mountroot() 604 (vfsp->vfs_flag & VFS_RDONLY) ? MS_RDONLY : 0); in udf_mountroot() [all …]
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 87 ulong_t vfs_flag; /* flags */ member 209 (vfsp)->vfs_flag = 0; \
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pathconf.c | 113 return ((vp->v_vfsp->vfs_flag & VFS_XATTR) ? 1 : 0); in cpathconf()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 242 if ((fsp->pcfs_vfs->vfs_flag & VFS_RDONLY) == 0) { in pcfs_read() 319 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in rwpcp() 929 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) { in pcfs_inactive() 998 if (dvp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in pcfs_lookup() 1317 if (dvp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in pcfs_readdir() 1456 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in pcfs_getapage() 1479 ((fsp->pcfs_vfs->vfs_flag & VFS_RDONLY) == 0)) { in pcfs_getapage() 1642 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in pcfs_putpage()
|
H A D | pc_vfsops.c | 406 if ((vfsp->vfs_flag & VFS_RDONLY) != 0 || in pcfs_device_identify() 679 vfsp->vfs_flag |= VFS_RDONLY; in pcfs_mount() 728 (vfsp->vfs_flag & VFS_RDONLY) ? FREAD : FREAD | FWRITE, cr, NULL); in pcfs_mount() 807 vfsp->vfs_flag & VFS_RDONLY ? FREAD : FREAD | FWRITE, in pcfs_mount() 836 vfsp->vfs_flag |= VFS_UNMOUNTED; in pcfs_unmount() 927 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in pcfs_statvfs() 1156 (PCFSTOVFS(fsp)->vfs_flag & VFS_RDONLY) ? FREAD : FREAD|FWRITE, in pc_invalfat()
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_vfs.c | 259 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in objfs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vfsops.c | 285 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in sharefs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 345 vfsp->vfs_flag |= VFS_NOTRUNC; in tmp_mount() 667 sbp->f_flag = vf_to_stf(vfsp->vfs_flag); in tmp_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 517 vfsp->vfs_flag |= VFS_UNLINKABLE; in nm_mount() 668 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in nm_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 296 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in mntstatvfs()
|