Lines Matching refs:fs
70 #define IS_VALID_FS(fs) (fs && ( \
71 strcasecmp(fs->mnt_fstype, MNTTYPE_UFS) == 0 || \
72 strcasecmp(fs->mnt_fstype, MNTTYPE_ZFS) == 0 || \
73 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS) == 0 || \
74 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS3) == 0 || \
75 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS4) == 0))
537 struct mnttab mt, *fs;
588 fs = &mt;
590 if (!IS_VALID_FS(fs))
602 fs->mnt_fstype);
604 fs->mnt_mountp);
607 if (statvfs64(fs->mnt_mountp, &stat_buf) < 0) {
609 "statvfs(%s) error.", fs->mnt_mountp);
645 if (FS_READONLY(fs) == 0) {