Home
last modified time | relevance | path

Searched refs:num_clusters (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/fs/ocfs2/
H A Dextent_map.c347 u32 *num_clusters) in ocfs2_figure_hole_clusters() argument
385 *num_clusters = UINT_MAX - v_cluster; in ocfs2_figure_hole_clusters()
518 u32 *p_cluster, u32 *num_clusters) in ocfs2_relative_extent_offsets() argument
526 if (num_clusters) in ocfs2_relative_extent_offsets()
531 u32 *p_cluster, u32 *num_clusters, in ocfs2_xattr_get_clusters() argument
584 if (num_clusters) in ocfs2_xattr_get_clusters()
611 num_clusters, extent_flags); in ocfs2_get_clusters()
635 if (num_clusters) { in ocfs2_get_clusters()
636 *num_clusters = hole_len; in ocfs2_get_clusters()
640 p_cluster, num_clusters); in ocfs2_get_clusters()
[all …]
H A Dextent_map.h34 u32 *num_clusters, unsigned int *extent_flags);
47 u32 *p_cluster, u32 *num_clusters,
59 u32 *num_clusters);
H A Drefcounttree.c57 u32 *num_clusters,
3168 u32 *num_clusters, in ocfs2_di_get_clusters() argument
3216 while (num_clusters) { in ocfs2_make_clusters_writable()
3485 cpos += num_clusters; in ocfs2_refcount_cow()
3530 cpos += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3828 cpos += num_clusters; in ocfs2_attach_refcount_tree()
4000 num_clusters, in ocfs2_duplicate_extent_list()
4009 cpos += num_clusters; in ocfs2_duplicate_extent_list()
4517 num_clusters = min_t(u32, num_clusters, slast - spos); in ocfs2_reflink_remap_extent()
4559 num_clusters, in ocfs2_reflink_remap_extent()
[all …]
H A Dsuballoc.h107 u32 *num_clusters);
117 u32 *num_clusters);
133 unsigned int num_clusters);
138 unsigned int num_clusters);
H A Dxattr.c1141 cpos += num_clusters; in ocfs2_xattr_get_value_outside()
1408 cpos += num_clusters; in __ocfs2_xattr_set_value_outside()
2328 &num_clusters, in ocfs2_lock_xattr_remove_allocators()
3812 u32 num_clusters, in ocfs2_xattr_bucket_find() argument
3941 &num_clusters, el); in ocfs2_xattr_index_block_find()
3952 num_clusters); in ocfs2_xattr_index_block_find()
5315 &num_clusters, in ocfs2_add_new_xattr_bucket()
5330 num_clusters); in ocfs2_add_new_xattr_bucket()
5906 cpos += num_clusters; in ocfs2_xattr_value_attach_refcount()
6450 cpos += num_clusters; in ocfs2_reflink_xattr_header()
[all …]
H A Drefcounttree.h87 u32 cpos, u32 num_clusters);
92 u32 cpos, u32 p_cluster, u32 num_clusters,
H A Dlocalalloc.h49 unsigned int num_clusters);
H A Docfs1_fs_compat.h48 /*170*/ __u64 num_clusters; member
H A Dsuballoc.c2301 u32 *num_clusters) in __ocfs2_claim_clusters() argument
2321 num_clusters); in __ocfs2_claim_clusters()
2350 *num_clusters = res.sr_bits; in __ocfs2_claim_clusters()
2371 u32 *num_clusters) in ocfs2_claim_clusters() argument
2544 unsigned int num_clusters, in _ocfs2_free_clusters() argument
2567 bg_start_bit, num_clusters); in _ocfs2_free_clusters()
2571 num_clusters, undo_fn); in _ocfs2_free_clusters()
2578 num_clusters); in _ocfs2_free_clusters()
2588 unsigned int num_clusters) in ocfs2_free_clusters() argument
2591 start_blk, num_clusters, in ocfs2_free_clusters()
[all …]
H A Dioctl.c445 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local
490 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain()
492 num_clusters = ffg->iff_chunksize; in ocfs2_info_freefrag_scan_chain()
495 for (cluster = 0; cluster < num_clusters; cluster++) { in ocfs2_info_freefrag_scan_chain()
H A Dfile.c345 unsigned int num_clusters = 0; in ocfs2_cow_file_pos() local
357 &num_clusters, &ext_flags); in ocfs2_cow_file_pos()
867 unsigned int num_clusters = 0; in ocfs2_zero_extend_get_range() local
872 &num_clusters, &ext_flags); in ocfs2_zero_extend_get_range()
879 zero_clusters = num_clusters; in ocfs2_zero_extend_get_range()
885 zero_cpos += num_clusters; in ocfs2_zero_extend_get_range()
894 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range()
905 zero_clusters += num_clusters; in ocfs2_zero_extend_get_range()
H A Dalloc.h173 unsigned int num_clusters);
/openbmc/linux/fs/exfat/
H A Dfatent.c153 unsigned int num_clusters = 0; in __exfat_free_cluster() local
194 num_clusters++; in __exfat_free_cluster()
195 } while (num_clusters < p_chain->size); in __exfat_free_cluster()
215 num_clusters++; in __exfat_free_cluster()
223 sbi->used_clusters -= num_clusters; in __exfat_free_cluster()
347 if (hint_clu != sbi->num_clusters) in exfat_alloc_cluster()
403 if (hint_clu >= sbi->num_clusters) { in exfat_alloc_cluster()
442 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; i++) { in exfat_count_num_clusters()
H A Dballoc.c214 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; in exfat_find_free_bitmap()
223 if (clu_free < sbi->num_clusters) in exfat_find_free_bitmap()
229 clu_base >= sbi->num_clusters) { in exfat_find_free_bitmap()
285 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs()
288 if (clu_end >= sbi->num_clusters) in exfat_trim_fs()
289 clu_end = sbi->num_clusters - 1; in exfat_trim_fs()
H A Dfile.c121 unsigned int num_clusters = in __exfat_truncate() local
129 clu.dir += num_clusters; in __exfat_truncate()
130 clu.size -= num_clusters; in __exfat_truncate()
132 while (num_clusters > 0) { in __exfat_truncate()
137 num_clusters--; in __exfat_truncate()
H A Dinode.c121 unsigned int num_to_be_allocated = 0, num_clusters = 0; in exfat_map_cluster() local
124 num_clusters = in exfat_map_cluster()
127 if (clu_offset >= num_clusters) in exfat_map_cluster()
128 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster()
141 if (clu_offset == num_clusters) in exfat_map_cluster()
212 num_clusters); in exfat_map_cluster()
220 num_clusters += num_to_be_allocated; in exfat_map_cluster()
H A Dsuper.c81 buf->f_blocks = sbi->num_clusters - 2; /* clu 0 & 1 */ in exfat_statfs()
483 sbi->num_clusters = le32_to_cpu(p_boot->clu_count) + in exfat_read_boot_sector()
497 (u64)sbi->num_clusters * 4) { in exfat_read_boot_sector()
515 sb->s_maxbytes = (u64)(sbi->num_clusters - EXFAT_RESERVED_CLUSTERS) << in exfat_read_boot_sector()
H A Dexfat_raw.h27 ((sbi)->num_clusters - EXFAT_RESERVED_CLUSTERS)
H A Dexfat_fs.h244 unsigned int num_clusters; /* num of clusters in volume */ member
413 return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; in is_valid_cluster()
H A Dcache.c242 unsigned int limit = sbi->num_clusters; in exfat_get_cluster()
/openbmc/qemu/tests/unit/
H A Dtest-smp-parse.c696 unsigned int num_clusters = 2; in test_with_clusters() local
711 data.config.clusters = num_clusters; in test_with_clusters()
713 data.config.cpus *= num_clusters; in test_with_clusters()
716 data.config.maxcpus *= num_clusters; in test_with_clusters()
719 data.expect_prefer_sockets.clusters = num_clusters; in test_with_clusters()
720 data.expect_prefer_sockets.cpus *= num_clusters; in test_with_clusters()
721 data.expect_prefer_sockets.max_cpus *= num_clusters; in test_with_clusters()
722 data.expect_prefer_cores.clusters = num_clusters; in test_with_clusters()
723 data.expect_prefer_cores.cpus *= num_clusters; in test_with_clusters()
724 data.expect_prefer_cores.max_cpus *= num_clusters; in test_with_clusters()
/openbmc/linux/drivers/cpufreq/
H A Dtegra194-cpufreq.c63 unsigned int num_clusters; member
186 .num_clusters = 3,
193 .num_clusters = 1,
485 if (clusterid >= data->soc->num_clusters || !data->bpmp_luts[clusterid]) in tegra194_cpufreq_init()
582 .num_clusters = 4,
676 if (soc->ops && soc->maxcpus_per_cluster && soc->num_clusters) { in tegra194_cpufreq_probe()
683 data->bpmp_luts = devm_kcalloc(&pdev->dev, data->soc->num_clusters, in tegra194_cpufreq_probe()
708 for (i = 0; i < data->soc->num_clusters; i++) { in tegra194_cpufreq_probe()
/openbmc/linux/fs/ext4/
H A Dballoc.c91 unsigned base_clusters, num_clusters; in ext4_num_overhead_clusters() local
103 num_clusters = base_clusters; in ext4_num_overhead_clusters()
122 num_clusters += itbl_cluster_end - itbl_cluster_start + 1; in ext4_num_overhead_clusters()
125 num_clusters--; in ext4_num_overhead_clusters()
143 num_clusters++; in ext4_num_overhead_clusters()
157 num_clusters++; in ext4_num_overhead_clusters()
160 return num_clusters; in ext4_num_overhead_clusters()
/openbmc/linux/include/linux/soc/qcom/
H A Dsocinfo.h55 __le32 num_clusters; member
/openbmc/linux/drivers/soc/qcom/
H A Dsocinfo.c134 u32 num_clusters; member
607 qcom_socinfo->info.num_clusters = __le32_to_cpu(info->num_clusters); in socinfo_debugfs_init()
614 &qcom_socinfo->info.num_clusters); in socinfo_debugfs_init()

12