Searched refs:sfs (Results 1 – 4 of 4) sorted by relevance
49 void statfs_unpack(struct kstatfs *sfs, struct obd_statfs *osfs) in statfs_unpack() argument51 memset(sfs, 0, sizeof(*sfs)); in statfs_unpack()52 sfs->f_type = osfs->os_type; in statfs_unpack()53 sfs->f_blocks = osfs->os_blocks; in statfs_unpack()54 sfs->f_bfree = osfs->os_bfree; in statfs_unpack()55 sfs->f_bavail = osfs->os_bavail; in statfs_unpack()56 sfs->f_files = osfs->os_files; in statfs_unpack()57 sfs->f_ffree = osfs->os_ffree; in statfs_unpack()58 sfs->f_bsize = osfs->os_bsize; in statfs_unpack()59 sfs->f_namelen = osfs->os_namelen; in statfs_unpack()
1452 int ll_statfs(struct dentry *de, struct kstatfs *sfs) in ll_statfs() argument1468 statfs_unpack(sfs, &osfs); in ll_statfs()1475 while (osfs.os_blocks > ~0UL && sfs->f_bsize < 0x40000000) { in ll_statfs()1476 sfs->f_bsize <<= 1; in ll_statfs()1484 sfs->f_blocks = osfs.os_blocks; in ll_statfs()1485 sfs->f_bfree = osfs.os_bfree; in ll_statfs()1486 sfs->f_bavail = osfs.os_bavail; in ll_statfs()1487 sfs->f_fsid = ll_s2sbi(sb)->ll_fsid; in ll_statfs()
770 int ll_statfs(struct dentry *de, struct kstatfs *sfs);
104 void statfs_unpack(struct kstatfs *sfs, struct obd_statfs *osfs);