Home
last modified time | relevance | path

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

12

/Linux-v6.6/fs/ocfs2/
Dextent_map.c347 u32 *num_clusters) in ocfs2_figure_hole_clusters() argument
385 *num_clusters = UINT_MAX - v_cluster; in ocfs2_figure_hole_clusters()
387 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - 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()
527 *num_clusters = le16_to_cpu(rec->e_leaf_clusters) - coff; 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()
585 *num_clusters = ocfs2_rec_clusters(el, rec) - coff; in ocfs2_xattr_get_clusters()
596 u32 *p_cluster, u32 *num_clusters, in ocfs2_get_clusters() argument
[all …]
Drefcounttree.c57 u32 *num_clusters,
2837 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() argument
2854 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
2861 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators()
2877 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators()
3148 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument
3157 end = start + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits) - 1; in ocfs2_cow_sync_writeback()
3168 u32 *num_clusters, in ocfs2_di_get_clusters() argument
3172 num_clusters, extent_flags); in ocfs2_di_get_clusters()
3178 u32 num_clusters, unsigned int e_flags) in ocfs2_make_clusters_writable() argument
[all …]
Dextent_map.h34 u32 *num_clusters, unsigned int *extent_flags);
47 u32 *p_cluster, u32 *num_clusters,
59 u32 *num_clusters);
Dsuballoc.h107 u32 *num_clusters);
117 u32 *num_clusters);
133 unsigned int num_clusters);
138 unsigned int num_clusters);
Dxattr.c1100 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local
1115 &num_clusters, el, NULL); in ocfs2_xattr_get_value_outside()
1123 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside()
1141 cpos += num_clusters; in ocfs2_xattr_get_value_outside()
1349 u32 p_cluster, num_clusters; in __ocfs2_xattr_set_value_outside() local
1361 &num_clusters, &xv->xr_list, in __ocfs2_xattr_set_value_outside()
1372 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside()
1408 cpos += num_clusters; in __ocfs2_xattr_set_value_outside()
2323 u32 p_cluster, num_clusters; in ocfs2_lock_xattr_remove_allocators() local
2328 &num_clusters, in ocfs2_lock_xattr_remove_allocators()
[all …]
Drefcounttree.h87 u32 cpos, u32 num_clusters);
92 u32 cpos, u32 p_cluster, u32 num_clusters,
Dlocalalloc.h49 unsigned int num_clusters);
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()
2359 ac->ac_bits_given += *num_clusters; in __ocfs2_claim_clusters()
2371 u32 *num_clusters) in ocfs2_claim_clusters() argument
2376 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()
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()
[all …]
Docfs1_fs_compat.h48 /*170*/ __u64 num_clusters; member
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()
Dfile.c343 unsigned int num_clusters = 0; in ocfs2_cow_file_pos() local
355 &num_clusters, &ext_flags); in ocfs2_cow_file_pos()
865 unsigned int num_clusters = 0; in ocfs2_zero_extend_get_range() local
870 &num_clusters, &ext_flags); in ocfs2_zero_extend_get_range()
877 zero_clusters = num_clusters; in ocfs2_zero_extend_get_range()
883 zero_cpos += num_clusters; in ocfs2_zero_extend_get_range()
892 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range()
903 zero_clusters += num_clusters; in ocfs2_zero_extend_get_range()
Dalloc.h173 unsigned int num_clusters);
Daops.c1389 unsigned int num_clusters = 0; in ocfs2_populate_write_desc() local
1401 if (num_clusters == 0) { in ocfs2_populate_write_desc()
1406 &num_clusters, &ext_flags); in ocfs2_populate_write_desc()
1464 num_clusters--; in ocfs2_populate_write_desc()
/Linux-v6.6/fs/exfat/
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()
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()
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()
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()
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()
Dexfat_raw.h27 ((sbi)->num_clusters - EXFAT_RESERVED_CLUSTERS)
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()
Dcache.c242 unsigned int limit = sbi->num_clusters; in exfat_get_cluster()
/Linux-v6.6/drivers/cpufreq/
Dtegra194-cpufreq.c63 unsigned int num_clusters; member
186 .num_clusters = 3,
193 .num_clusters = 1,
483 if (clusterid >= data->soc->num_clusters || !data->bpmp_luts[clusterid]) in tegra194_cpufreq_init()
580 .num_clusters = 4,
674 if (soc->ops && soc->maxcpus_per_cluster && soc->num_clusters) { in tegra194_cpufreq_probe()
681 data->bpmp_luts = devm_kcalloc(&pdev->dev, data->soc->num_clusters, in tegra194_cpufreq_probe()
706 for (i = 0; i < data->soc->num_clusters; i++) { in tegra194_cpufreq_probe()
/Linux-v6.6/fs/ext4/
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()
/Linux-v6.6/include/linux/soc/qcom/
Dsocinfo.h55 __le32 num_clusters; member
/Linux-v6.6/drivers/soc/qcom/
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