Lines Matching defs:sfs
3344 * @sfs: vfsstatfs structure in which to return the information
3347 * structure @sfs. We interpret the values to be correct of the moment in time
3356 * The mount() system call sets @sfs to zero and then sets up f_owner, f_flags,
3359 * ntfs_mount() then sets f_fsid and calls ntfs_statfs() and the rest of @sfs
3364 static void ntfs_statfs(ntfs_volume *vol, struct vfsstatfs *sfs)
3372 sfs->f_bsize = vol->cluster_size;
3374 sfs->f_iosize = ubc_upl_maxbufsize();
3376 sfs->f_blocks = (u64)vol->nr_clusters;
3378 sfs->f_bfree = (u64)vol->nr_free_clusters;
3386 * @vol->nr_free_clusters and return the result in @sfs->f_bavail
3388 * @sfs->f_bavail to 0.
3390 sfs->f_bavail = (u64)vol->nr_free_clusters;
3392 sfs->f_bused = (u64)(vol->nr_clusters - vol->nr_free_clusters);
3394 sfs->f_files = (u64)vol->nr_mft_records;
3396 sfs->f_ffree = (u64)vol->nr_free_mft_records;
3403 sfs->f_fssubtype = (u32)vol->major_ver << 8 | vol->minor_ver;
4068 struct vfsstatfs *sfs = vfs_statfs(mp);
4180 sfs->f_fsid.val[0] = (int32_t)dev;
4181 sfs->f_fsid.val[1] = (int32_t)vfs_typenum(mp);
4460 ntfs_statfs(vol, sfs);
4631 struct vfsstatfs *sfs = vfs_statfs(mp);
4721 VFSATTR_RETURN(fsa, f_fsid, sfs->f_fsid);
4727 VFSATTR_RETURN(fsa, f_owner, sfs->f_owner);