Home
last modified time | relevance | path

Searched refs:sfs (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/proc/
Dread.c128 struct statfs sfs; in main() local
135 if (fstatfs(dirfd(d), &sfs) == -1) { in main()
138 if (sfs.f_type != 0x9fa0) { in main()
139 fprintf(stderr, "error: unexpected f_type %lx\n", (long)sfs.f_type); in main()
/kernel/linux/linux-5.10/include/math-emu/
Dop-1.h288 #define _FP_FRAC_CONV_1_1(dfs, sfs, D, S) \ argument
291 if (_FP_WFRACBITS_##sfs > _FP_WFRACBITS_##dfs) \
294 _FP_FRAC_SRS_1(D, (_FP_WFRACBITS_##sfs-_FP_WFRACBITS_##dfs), \
295 _FP_WFRACBITS_##sfs); \
297 _FP_FRAC_SRL_1(D, (_FP_WFRACBITS_##sfs-_FP_WFRACBITS_##dfs)); \
300 D##_f <<= _FP_WFRACBITS_##dfs - _FP_WFRACBITS_##sfs; \
Dop-4.h615 #define _FP_FRAC_CONV_1_4(dfs, sfs, D, S) \ argument
618 _FP_FRAC_SRS_4(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs), \
619 _FP_WFRACBITS_##sfs); \
621 _FP_FRAC_SRL_4(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs)); \
625 #define _FP_FRAC_CONV_2_4(dfs, sfs, D, S) \ argument
628 _FP_FRAC_SRS_4(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs), \
629 _FP_WFRACBITS_##sfs); \
631 _FP_FRAC_SRL_4(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs)); \
677 #define _FP_FRAC_CONV_4_1(dfs, sfs, D, S) \ argument
681 _FP_FRAC_SLL_4(D, (_FP_WFRACBITS_##dfs - _FP_WFRACBITS_##sfs)); \
[all …]
Dop-2.h588 #define _FP_FRAC_CONV_1_2(dfs, sfs, D, S) \ argument
591 _FP_FRAC_SRS_2(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs), \
592 _FP_WFRACBITS_##sfs); \
594 _FP_FRAC_SRL_2(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs)); \
598 #define _FP_FRAC_CONV_2_1(dfs, sfs, D, S) \ argument
602 _FP_FRAC_SLL_2(D, (_FP_WFRACBITS_##dfs - _FP_WFRACBITS_##sfs)); \
Dop-common.h826 #define FP_CONV(dfs,sfs,dwc,swc,D,S) \ argument
828 _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \
/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c515 struct statfs sfs; in osShellCmdStatfs() local
527 (void)memset_s(&sfs, sizeof(sfs), 0, sizeof(sfs)); in osShellCmdStatfs()
533 result = statfs(fullpath, &sfs); in osShellCmdStatfs()
536 if (result != 0 || sfs.f_type == 0) { in osShellCmdStatfs()
542 total_size = (unsigned long long)sfs.f_bsize * sfs.f_blocks; in osShellCmdStatfs()
543 free_size = (unsigned long long)sfs.f_bsize * sfs.f_bfree; in osShellCmdStatfs()
545 PRINTK("statfs got:\n f_type = %d\n cluster_size = %d\n", sfs.f_type, sfs.f_bsize); in osShellCmdStatfs()
546 PRINTK(" total_clusters = %llu\n free_clusters = %llu\n", sfs.f_blocks, sfs.f_bfree); in osShellCmdStatfs()
547 PRINTK(" avail_clusters = %llu\n f_namelen = %d\n", sfs.f_bavail, sfs.f_namelen); in osShellCmdStatfs()
/kernel/linux/linux-5.10/fs/coda/
Dupcall.c550 int venus_statfs(struct dentry *dentry, struct kstatfs *sfs) in venus_statfs() argument
561 sfs->f_blocks = outp->coda_statfs.stat.f_blocks; in venus_statfs()
562 sfs->f_bfree = outp->coda_statfs.stat.f_bfree; in venus_statfs()
563 sfs->f_bavail = outp->coda_statfs.stat.f_bavail; in venus_statfs()
564 sfs->f_files = outp->coda_statfs.stat.f_files; in venus_statfs()
565 sfs->f_ffree = outp->coda_statfs.stat.f_ffree; in venus_statfs()
Dcoda_psdev.h85 int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
/kernel/linux/linux-5.10/fs/ntfs/
Dsuper.c2591 static int ntfs_statfs(struct dentry *dentry, struct kstatfs *sfs) in ntfs_statfs() argument
2602 sfs->f_type = NTFS_SB_MAGIC; in ntfs_statfs()
2604 sfs->f_bsize = PAGE_SIZE; in ntfs_statfs()
2610 sfs->f_blocks = vol->nr_clusters << vol->cluster_size_bits >> in ntfs_statfs()
2618 sfs->f_bavail = sfs->f_bfree = size; in ntfs_statfs()
2632 sfs->f_files = size; in ntfs_statfs()
2634 sfs->f_ffree = __get_nr_free_mft_records(vol, size, max_index); in ntfs_statfs()
2646 sfs->f_fsid = u64_to_fsid(vol->serial_no); in ntfs_statfs()
2648 sfs->f_namelen = NTFS_MAX_NAME_LEN; in ntfs_statfs()
/kernel/linux/linux-5.10/fs/
Dbinfmt_misc.c228 static char *check_special_flags(char *sfs, Node *e) in check_special_flags() argument
230 char *p = sfs; in check_special_flags()