Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dhw_table.c20 struct mlx5_sf_hw *sfs; member
81 if (!hwc->sfs) in mlx5_sf_hw_table_id_alloc()
90 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum) in mlx5_sf_hw_table_id_alloc()
107 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_id_free()
213 if (hwc->sfs[i].allocated) in mlx5_sf_hw_table_hwc_dealloc_all()
226 struct mlx5_sf_hw *sfs; in mlx5_sf_hw_table_hwc_init() local
231 sfs = kcalloc(max_fn, sizeof(*sfs), GFP_KERNEL); in mlx5_sf_hw_table_hwc_init()
232 if (!sfs) in mlx5_sf_hw_table_hwc_init()
235 hwc->sfs = sfs; in mlx5_sf_hw_table_hwc_init()
243 kfree(hwc->sfs); in mlx5_sf_hw_table_hwc_cleanup()
[all …]
/linux/tools/testing/selftests/proc/
A Dread.c130 struct statfs sfs; in main() local
137 if (fstatfs(dirfd(d), &sfs) == -1) { in main()
140 if (sfs.f_type != 0x9fa0) { in main()
141 fprintf(stderr, "error: unexpected f_type %lx\n", (long)sfs.f_type); in main()
/linux/include/math-emu/
A 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; \
A 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); \
677 #define _FP_FRAC_CONV_4_1(dfs, sfs, D, S) \ argument
681 _FP_FRAC_SLL_4(D, (_FP_WFRACBITS_##dfs - _FP_WFRACBITS_##sfs)); \
684 #define _FP_FRAC_CONV_4_2(dfs, sfs, D, S) \ argument
[all …]
A 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)); \
A Dop-common.h826 #define FP_CONV(dfs,sfs,dwc,swc,D,S) \ argument
828 _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \
/linux/fs/coda/
A 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()
A Dcoda_psdev.h85 int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
/linux/fs/ntfs/
A 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()
/linux/fs/
A Dbinfmt_misc.c230 static char *check_special_flags(char *sfs, Node *e) in check_special_flags() argument
232 char *p = sfs; in check_special_flags()

Completed in 43 milliseconds