/linux/fs/exfat/ |
A D | fatent.c | 160 unsigned int num_clusters = 0; in __exfat_free_cluster() local 201 num_clusters++; in __exfat_free_cluster() 222 num_clusters++; in __exfat_free_cluster() 230 sbi->used_clusters -= num_clusters; in __exfat_free_cluster() 368 num_clusters)) { in exfat_alloc_cluster() 383 num_clusters)) { in exfat_alloc_cluster() 396 num_clusters++; in exfat_alloc_cluster() 418 sbi->used_clusters += num_clusters; in exfat_alloc_cluster() 420 p_chain->size += num_clusters; in exfat_alloc_cluster() 431 num_clusters)) { in exfat_alloc_cluster() [all …]
|
A D | balloc.c | 210 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; in exfat_find_free_bitmap() 219 if (clu_free < sbi->num_clusters) in exfat_find_free_bitmap() 225 clu_base >= sbi->num_clusters) { in exfat_find_free_bitmap() 281 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs() 284 if (clu_end >= sbi->num_clusters) in exfat_trim_fs() 285 clu_end = sbi->num_clusters - 1; in exfat_trim_fs()
|
A D | file.c | 123 unsigned int num_clusters = in __exfat_truncate() local 131 clu.dir += num_clusters; in __exfat_truncate() 132 clu.size -= num_clusters; in __exfat_truncate() 134 while (num_clusters > 0) { in __exfat_truncate() 139 num_clusters--; in __exfat_truncate()
|
A D | inode.c | 115 unsigned int num_to_be_allocated = 0, num_clusters = 0; in exfat_map_cluster() local 118 num_clusters = in exfat_map_cluster() 122 if (clu_offset >= num_clusters) in exfat_map_cluster() 123 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster() 136 if (clu_offset == num_clusters) in exfat_map_cluster() 208 num_clusters); in exfat_map_cluster() 217 num_clusters += num_to_be_allocated; in exfat_map_cluster()
|
A D | super.c | 89 buf->f_blocks = sbi->num_clusters - 2; /* clu 0 & 1 */ in exfat_statfs() 485 sbi->num_clusters = le32_to_cpu(p_boot->clu_count) + in exfat_read_boot_sector() 499 (u64)sbi->num_clusters * 4) { in exfat_read_boot_sector() 517 sb->s_maxbytes = (u64)(sbi->num_clusters - EXFAT_RESERVED_CLUSTERS) << in exfat_read_boot_sector()
|
A D | exfat_raw.h | 27 ((sbi)->num_clusters - EXFAT_RESERVED_CLUSTERS)
|
A D | cache.c | 242 unsigned int limit = sbi->num_clusters; in exfat_get_cluster()
|
/linux/fs/ext4/ |
A D | balloc.c | 90 unsigned num_clusters; in ext4_num_overhead_clusters() local 116 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() 130 num_clusters++; in ext4_num_overhead_clusters() 142 if (c == num_clusters) { in ext4_num_overhead_clusters() 143 num_clusters++; in ext4_num_overhead_clusters() 146 num_clusters++; in ext4_num_overhead_clusters() 152 num_clusters++; in ext4_num_overhead_clusters() 154 num_clusters++; in ext4_num_overhead_clusters() [all …]
|
/linux/fs/ocfs2/ |
A D | extent_map.c | 347 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 …]
|
A D | refcounttree.c | 57 u32 *num_clusters, 3195 u32 *num_clusters, in ocfs2_di_get_clusters() argument 3243 while (num_clusters) { in ocfs2_make_clusters_writable() 3512 cpos += num_clusters; in ocfs2_refcount_cow() 3557 cpos += num_clusters; in ocfs2_refcounted_xattr_delete_need() 3855 cpos += num_clusters; in ocfs2_attach_refcount_tree() 4027 num_clusters, in ocfs2_duplicate_extent_list() 4036 cpos += num_clusters; in ocfs2_duplicate_extent_list() 4544 num_clusters = min_t(u32, num_clusters, slast - spos); in ocfs2_reflink_remap_extent() 4586 num_clusters, in ocfs2_reflink_remap_extent() [all …]
|
A D | extent_map.h | 34 u32 *num_clusters, unsigned int *extent_flags); 47 u32 *p_cluster, u32 *num_clusters, 59 u32 *num_clusters);
|
A D | suballoc.h | 107 u32 *num_clusters); 117 u32 *num_clusters); 133 unsigned int num_clusters); 138 unsigned int num_clusters);
|
A D | xattr.c | 1145 cpos += num_clusters; in ocfs2_xattr_get_value_outside() 1412 cpos += num_clusters; in __ocfs2_xattr_set_value_outside() 2332 &num_clusters, in ocfs2_lock_xattr_remove_allocators() 3816 u32 num_clusters, in ocfs2_xattr_bucket_find() argument 3945 &num_clusters, el); in ocfs2_xattr_index_block_find() 3956 num_clusters); in ocfs2_xattr_index_block_find() 5319 &num_clusters, in ocfs2_add_new_xattr_bucket() 5334 num_clusters); in ocfs2_add_new_xattr_bucket() 5910 cpos += num_clusters; in ocfs2_xattr_value_attach_refcount() 6454 cpos += num_clusters; in ocfs2_reflink_xattr_header() [all …]
|
A D | refcounttree.h | 87 u32 cpos, u32 num_clusters); 92 u32 cpos, u32 p_cluster, u32 num_clusters,
|
A D | suballoc.c | 2304 u32 *num_clusters) in __ocfs2_claim_clusters() argument 2324 num_clusters); in __ocfs2_claim_clusters() 2353 *num_clusters = res.sr_bits; in __ocfs2_claim_clusters() 2374 u32 *num_clusters) in ocfs2_claim_clusters() argument 2547 unsigned int num_clusters, in _ocfs2_free_clusters() argument 2570 bg_start_bit, num_clusters); in _ocfs2_free_clusters() 2574 num_clusters, undo_fn); in _ocfs2_free_clusters() 2581 num_clusters); in _ocfs2_free_clusters() 2591 unsigned int num_clusters) in ocfs2_free_clusters() argument 2594 start_blk, num_clusters, in ocfs2_free_clusters() [all …]
|
A D | localalloc.h | 49 unsigned int num_clusters);
|
A D | ocfs1_fs_compat.h | 48 /*170*/ __u64 num_clusters; member
|
A D | ioctl.c | 445 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()
|
A D | file.c | 341 unsigned int num_clusters = 0; in ocfs2_cow_file_pos() local 353 &num_clusters, &ext_flags); in ocfs2_cow_file_pos() 871 unsigned int num_clusters = 0; in ocfs2_zero_extend_get_range() local 876 &num_clusters, &ext_flags); in ocfs2_zero_extend_get_range() 883 zero_clusters = num_clusters; in ocfs2_zero_extend_get_range() 889 zero_cpos += num_clusters; in ocfs2_zero_extend_get_range() 898 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range() 909 zero_clusters += num_clusters; in ocfs2_zero_extend_get_range()
|
A D | alloc.h | 173 unsigned int num_clusters);
|
A D | aops.c | 1390 unsigned int num_clusters = 0; in ocfs2_populate_write_desc() local 1402 if (num_clusters == 0) { in ocfs2_populate_write_desc() 1407 &num_clusters, &ext_flags); in ocfs2_populate_write_desc() 1465 num_clusters--; in ocfs2_populate_write_desc()
|
A D | localalloc.c | 213 unsigned int num_clusters) in ocfs2_local_alloc_seen_free_bits() argument 218 if (num_clusters >= osb->local_alloc_default_bits) { in ocfs2_local_alloc_seen_free_bits()
|
/linux/arch/mips/include/asm/ |
A 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/drivers/cpufreq/ |
A D | tegra194-cpufreq.c | 40 size_t num_clusters; member 245 if (cl >= data->num_clusters || !data->tables[cl]) in tegra194_cpufreq_init() 370 data->num_clusters = MAX_CLUSTERS; in tegra194_cpufreq_probe() 371 data->tables = devm_kcalloc(&pdev->dev, data->num_clusters, in tegra194_cpufreq_probe() 389 for (i = 0; i < data->num_clusters; i++) { in tegra194_cpufreq_probe()
|
/linux/drivers/soc/qcom/ |
A D | socinfo.c | 150 __le32 num_clusters; member 171 u32 num_clusters; member 479 qcom_socinfo->info.num_clusters = __le32_to_cpu(info->num_clusters); in socinfo_debugfs_init() 485 &qcom_socinfo->info.num_clusters); in socinfo_debugfs_init()
|