Home
last modified time | relevance | path

Searched refs:vfs_flag (Results 1 – 25 of 87) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c313 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 Dlofs_vfsops.c345 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 Dlofs_subr.c347 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 Dfake_vfs.c742 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 Dfake_unlink.c75 if (dvp->v_vfsp->vfs_flag & VFS_RDONLY) { in fake_unlink()
H A Dfake_rename.c106 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in fake_rename()
H A Dfake_nbmlock.c87 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
H A Dfake_open.c313 if (dvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_create()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c918 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 Dnbmlock.c84 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
H A Dfs_subr.c292 !(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 Dvnode.c171 (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 Dzfs_vfsops.c278 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 Dsmbfs_vnops.c222 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 Dsmbfs_vfsops.c799 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 Dudf_vfsops.c267 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 Dvfs.h87 ulong_t vfs_flag; /* flags */ member
209 (vfsp)->vfs_flag = 0; \
/illumos-gate/usr/src/uts/common/syscall/
H A Dpathconf.c113 return ((vp->v_vfsp->vfs_flag & VFS_XATTR) ? 1 : 0); in cpathconf()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c242 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 Dpc_vfsops.c406 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 Dobjfs_vfs.c259 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in objfs_statvfs()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c285 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in sharefs_statvfs()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c345 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 Dnamevfs.c517 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 Dmntvfsops.c296 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in mntstatvfs()

1234