/Linux-v5.4/fs/ext4/ |
D | balloc.c | 90 unsigned num_clusters; in ext4_num_overhead_clusters() local 99 num_clusters = ext4_num_base_meta_clusters(sb, block_group); in ext4_num_overhead_clusters() 116 if (block_cluster < num_clusters) in ext4_num_overhead_clusters() 118 else if (block_cluster == num_clusters) { in ext4_num_overhead_clusters() 119 num_clusters++; in ext4_num_overhead_clusters() 127 if (inode_cluster < num_clusters) in ext4_num_overhead_clusters() 129 else if (inode_cluster == num_clusters) { in ext4_num_overhead_clusters() 130 num_clusters++; in ext4_num_overhead_clusters() 139 if ((c < num_clusters) || (c == inode_cluster) || in ext4_num_overhead_clusters() 142 if (c == num_clusters) { in ext4_num_overhead_clusters() [all …]
|
/Linux-v5.4/fs/ocfs2/ |
D | extent_map.c | 349 u32 *num_clusters) in ocfs2_figure_hole_clusters() argument 387 *num_clusters = UINT_MAX - v_cluster; in ocfs2_figure_hole_clusters() 389 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters() 520 u32 *p_cluster, u32 *num_clusters) in ocfs2_relative_extent_offsets() argument 528 if (num_clusters) in ocfs2_relative_extent_offsets() 529 *num_clusters = le16_to_cpu(rec->e_leaf_clusters) - coff; in ocfs2_relative_extent_offsets() 533 u32 *p_cluster, u32 *num_clusters, in ocfs2_xattr_get_clusters() argument 586 if (num_clusters) in ocfs2_xattr_get_clusters() 587 *num_clusters = ocfs2_rec_clusters(el, rec) - coff; in ocfs2_xattr_get_clusters() 598 u32 *p_cluster, u32 *num_clusters, in ocfs2_get_clusters() argument [all …]
|
D | refcounttree.c | 59 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() 3145 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument 3156 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback() 3195 u32 *num_clusters, in ocfs2_di_get_clusters() argument 3199 num_clusters, extent_flags); in ocfs2_di_get_clusters() 3205 u32 num_clusters, unsigned int e_flags) in ocfs2_make_clusters_writable() argument [all …]
|
D | extent_map.h | 36 u32 *num_clusters, unsigned int *extent_flags); 49 u32 *p_cluster, u32 *num_clusters, 61 u32 *num_clusters);
|
D | suballoc.h | 109 u32 *num_clusters); 119 u32 *num_clusters); 135 unsigned int num_clusters); 140 unsigned int num_clusters);
|
D | xattr.c | 1106 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1121 &num_clusters, el, NULL); in ocfs2_xattr_get_value_outside() 1129 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside() 1147 cpos += num_clusters; in ocfs2_xattr_get_value_outside() 1355 u32 p_cluster, num_clusters; in __ocfs2_xattr_set_value_outside() local 1367 &num_clusters, &xv->xr_list, in __ocfs2_xattr_set_value_outside() 1378 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside() 1414 cpos += num_clusters; in __ocfs2_xattr_set_value_outside() 2329 u32 p_cluster, num_clusters; in ocfs2_lock_xattr_remove_allocators() local 2334 &num_clusters, in ocfs2_lock_xattr_remove_allocators() [all …]
|
D | refcounttree.h | 89 u32 cpos, u32 num_clusters); 94 u32 cpos, u32 p_cluster, u32 num_clusters,
|
D | localalloc.h | 51 unsigned int num_clusters);
|
D | ocfs1_fs_compat.h | 50 /*170*/ __u64 num_clusters; member
|
D | suballoc.c | 2300 u32 *num_clusters) in __ocfs2_claim_clusters() argument 2320 num_clusters); in __ocfs2_claim_clusters() 2349 *num_clusters = res.sr_bits; in __ocfs2_claim_clusters() 2358 ac->ac_bits_given += *num_clusters; in __ocfs2_claim_clusters() 2370 u32 *num_clusters) in ocfs2_claim_clusters() argument 2375 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters() 2545 unsigned int num_clusters, in _ocfs2_free_clusters() argument 2568 bg_start_bit, num_clusters); in _ocfs2_free_clusters() 2572 num_clusters, undo_fn); in _ocfs2_free_clusters() 2579 num_clusters); in _ocfs2_free_clusters() [all …]
|
D | ioctl.c | 441 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local 486 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain() 488 num_clusters = ffg->iff_chunksize; in ocfs2_info_freefrag_scan_chain() 491 for (cluster = 0; cluster < num_clusters; cluster++) { in ocfs2_info_freefrag_scan_chain()
|
D | file.c | 343 unsigned int num_clusters = 0; in ocfs2_cow_file_pos() local 355 &num_clusters, &ext_flags); in ocfs2_cow_file_pos() 869 unsigned int num_clusters = 0; in ocfs2_zero_extend_get_range() local 874 &num_clusters, &ext_flags); in ocfs2_zero_extend_get_range() 881 zero_clusters = num_clusters; in ocfs2_zero_extend_get_range() 887 zero_cpos += num_clusters; in ocfs2_zero_extend_get_range() 896 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range() 907 zero_clusters += num_clusters; in ocfs2_zero_extend_get_range()
|
D | alloc.h | 175 unsigned int num_clusters);
|
D | aops.c | 1402 unsigned int num_clusters = 0; in ocfs2_populate_write_desc() local 1414 if (num_clusters == 0) { in ocfs2_populate_write_desc() 1419 &num_clusters, &ext_flags); in ocfs2_populate_write_desc() 1477 num_clusters--; in ocfs2_populate_write_desc()
|
D | localalloc.c | 215 unsigned int num_clusters) in ocfs2_local_alloc_seen_free_bits() argument 220 if (num_clusters >= osb->local_alloc_default_bits) { in ocfs2_local_alloc_seen_free_bits()
|
D | alloc.c | 5842 unsigned int num_clusters) in ocfs2_truncate_log_append() argument 5889 start_cluster, num_clusters); in ocfs2_truncate_log_append() 5897 num_clusters += le32_to_cpu(tl->tl_recs[index].t_clusters); in ocfs2_truncate_log_append() 5901 num_clusters); in ocfs2_truncate_log_append() 5906 tl->tl_recs[index].t_clusters = cpu_to_le32(num_clusters); in ocfs2_truncate_log_append() 5910 osb->truncated_clusters += num_clusters; in ocfs2_truncate_log_append() 5921 unsigned int num_clusters; in ocfs2_replay_truncate_records() local 5957 num_clusters = le32_to_cpu(rec.t_clusters); in ocfs2_replay_truncate_records() 5964 i, le32_to_cpu(rec.t_start), num_clusters); in ocfs2_replay_truncate_records() 5968 num_clusters); in ocfs2_replay_truncate_records()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | mips-cps.h | 115 unsigned int num_clusters; in mips_cps_numclusters() local 120 num_clusters = read_gcr_config() & CM_GCR_CONFIG_NUM_CLUSTERS; in mips_cps_numclusters() 121 num_clusters >>= __ffs(CM_GCR_CONFIG_NUM_CLUSTERS); in mips_cps_numclusters() 122 return num_clusters; in mips_cps_numclusters()
|
/Linux-v5.4/drivers/cpufreq/ |
D | tegra186-cpufreq.c | 49 size_t num_clusters; member 58 for (i = 0; i < data->num_clusters; i++) { in tegra186_cpufreq_init() 202 data->num_clusters = ARRAY_SIZE(tegra186_clusters); in tegra186_cpufreq_probe() 215 for (i = 0; i < data->num_clusters; i++) { in tegra186_cpufreq_probe()
|
/Linux-v5.4/drivers/staging/exfat/ |
D | exfat_core.c | 173 int i, num_clusters = 0; in fat_alloc_cluster() local 180 else if (new_clu >= p_fs->num_clusters) in fat_alloc_cluster() 187 for (i = 2; i < p_fs->num_clusters; i++) { in fat_alloc_cluster() 194 num_clusters++; in fat_alloc_cluster() 208 p_fs->used_clusters += num_clusters; in fat_alloc_cluster() 210 return num_clusters; in fat_alloc_cluster() 213 if ((++new_clu) >= p_fs->num_clusters) in fat_alloc_cluster() 219 p_fs->used_clusters += num_clusters; in fat_alloc_cluster() 221 return num_clusters; in fat_alloc_cluster() 227 s32 num_clusters = 0; in exfat_alloc_cluster() local [all …]
|
D | exfat_super.c | 509 info->NumClusters = p_fs->num_clusters - 2; /* clu 0 & 1 */ in ffsGetVolInfo() 814 s32 num_clusters, num_alloc, num_alloced = (s32)~0; in ffsWriteFile() local 858 num_clusters = 0; in ffsWriteFile() 860 num_clusters = (s32)((fid->size - 1) >> in ffsWriteFile() 873 if (clu_offset == num_clusters) in ffsWriteFile() 926 num_clusters); in ffsWriteFile() 934 num_clusters += num_alloced; in ffsWriteFile() 1068 s32 num_clusters; in ffsTruncateFile() local 1109 num_clusters = (s32)((new_size - 1) >> in ffsTruncateFile() 1113 clu.dir += num_clusters; in ffsTruncateFile() [all …]
|
D | exfat.h | 588 u32 num_clusters; /* num of clusters in volume */ member
|