/fs/ext4/ |
D | balloc.c | 69 unsigned num_clusters; in ext4_num_overhead_clusters() local 78 num_clusters = ext4_num_base_meta_clusters(sb, block_group); in ext4_num_overhead_clusters() 95 if (block_cluster < num_clusters) in ext4_num_overhead_clusters() 97 else if (block_cluster == num_clusters) { in ext4_num_overhead_clusters() 98 num_clusters++; in ext4_num_overhead_clusters() 106 if (inode_cluster < num_clusters) in ext4_num_overhead_clusters() 108 else if (inode_cluster == num_clusters) { in ext4_num_overhead_clusters() 109 num_clusters++; in ext4_num_overhead_clusters() 118 if ((c < num_clusters) || (c == inode_cluster) || in ext4_num_overhead_clusters() 121 if (c == num_clusters) { in ext4_num_overhead_clusters() [all …]
|
D | inode.c | 1225 int num_clusters; in ext4_da_page_release_reservation() local 1242 num_clusters = EXT4_NUM_B2C(sbi, to_release); in ext4_da_page_release_reservation() 1243 while (num_clusters > 0) { in ext4_da_page_release_reservation() 1246 ((num_clusters - 1) << sbi->s_cluster_bits); in ext4_da_page_release_reservation() 1251 num_clusters--; in ext4_da_page_release_reservation()
|
/fs/ocfs2/ |
D | extent_map.c | 362 u32 *num_clusters) in ocfs2_figure_hole_clusters() argument 400 *num_clusters = UINT_MAX - v_cluster; in ocfs2_figure_hole_clusters() 402 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters() 532 u32 *p_cluster, u32 *num_clusters) in ocfs2_relative_extent_offsets() argument 540 if (num_clusters) in ocfs2_relative_extent_offsets() 541 *num_clusters = le16_to_cpu(rec->e_leaf_clusters) - coff; in ocfs2_relative_extent_offsets() 545 u32 *p_cluster, u32 *num_clusters, in ocfs2_xattr_get_clusters() argument 597 if (num_clusters) in ocfs2_xattr_get_clusters() 598 *num_clusters = ocfs2_rec_clusters(el, rec) - coff; in ocfs2_xattr_get_clusters() 610 u32 *p_cluster, u32 *num_clusters, in ocfs2_get_clusters() argument [all …]
|
D | refcounttree.c | 66 u32 *num_clusters, 2857 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() argument 2874 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators() 2879 num_clusters + 2); in ocfs2_lock_refcount_allocators() 2882 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators() 2898 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators() 3167 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument 3178 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback() 3217 u32 *num_clusters, in ocfs2_di_get_clusters() argument 3221 num_clusters, extent_flags); in ocfs2_di_get_clusters() [all …]
|
D | extent_map.h | 49 u32 *num_clusters, unsigned int *extent_flags); 59 u32 *p_cluster, u32 *num_clusters, 71 u32 *num_clusters);
|
D | suballoc.h | 107 u32 *num_clusters); 117 u32 *num_clusters); 133 unsigned int num_clusters); 138 unsigned int num_clusters);
|
D | xattr.c | 1090 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1105 &num_clusters, el, NULL); in ocfs2_xattr_get_value_outside() 1113 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in ocfs2_xattr_get_value_outside() 1131 cpos += num_clusters; in ocfs2_xattr_get_value_outside() 1334 u32 p_cluster, num_clusters; in __ocfs2_xattr_set_value_outside() local 1346 &num_clusters, &xv->xr_list, in __ocfs2_xattr_set_value_outside() 1357 for (i = 0; i < num_clusters * bpc; i++, blkno++) { in __ocfs2_xattr_set_value_outside() 1393 cpos += num_clusters; in __ocfs2_xattr_set_value_outside() 2308 u32 p_cluster, num_clusters; in ocfs2_lock_xattr_remove_allocators() local 2313 &num_clusters, in ocfs2_lock_xattr_remove_allocators() [all …]
|
D | refcounttree.h | 97 u32 cpos, u32 num_clusters); 102 u32 cpos, u32 p_cluster, u32 num_clusters,
|
D | suballoc.c | 2298 u32 *num_clusters) in __ocfs2_claim_clusters() argument 2318 num_clusters); in __ocfs2_claim_clusters() 2347 *num_clusters = res.sr_bits; in __ocfs2_claim_clusters() 2356 ac->ac_bits_given += *num_clusters; in __ocfs2_claim_clusters() 2368 u32 *num_clusters) in ocfs2_claim_clusters() argument 2373 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters() 2540 unsigned int num_clusters, in _ocfs2_free_clusters() argument 2563 bg_start_bit, num_clusters); in _ocfs2_free_clusters() 2567 num_clusters, undo_fn); in _ocfs2_free_clusters() 2574 num_clusters); in _ocfs2_free_clusters() [all …]
|
D | localalloc.h | 59 unsigned int num_clusters);
|
D | ocfs1_fs_compat.h | 63 /*170*/ __u64 num_clusters; member
|
D | ioctl.c | 483 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local 528 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain() 530 num_clusters = ffg->iff_chunksize; in ocfs2_info_freefrag_scan_chain() 533 for (cluster = 0; cluster < num_clusters; cluster++) { in ocfs2_info_freefrag_scan_chain()
|
D | file.c | 352 unsigned int num_clusters = 0; in ocfs2_cow_file_pos() local 364 &num_clusters, &ext_flags); in ocfs2_cow_file_pos() 858 unsigned int num_clusters = 0; in ocfs2_zero_extend_get_range() local 863 &num_clusters, &ext_flags); in ocfs2_zero_extend_get_range() 870 zero_clusters = num_clusters; in ocfs2_zero_extend_get_range() 876 zero_cpos += num_clusters; in ocfs2_zero_extend_get_range() 885 &p_cpos, &num_clusters, in ocfs2_zero_extend_get_range() 896 zero_clusters += num_clusters; in ocfs2_zero_extend_get_range()
|
D | alloc.h | 189 unsigned int num_clusters);
|
D | aops.c | 1420 unsigned int num_clusters = 0; in ocfs2_populate_write_desc() local 1432 if (num_clusters == 0) { in ocfs2_populate_write_desc() 1437 &num_clusters, &ext_flags); in ocfs2_populate_write_desc() 1488 num_clusters--; in ocfs2_populate_write_desc()
|
D | localalloc.c | 229 unsigned int num_clusters) in ocfs2_local_alloc_seen_free_bits() argument 234 if (num_clusters >= osb->local_alloc_default_bits) { in ocfs2_local_alloc_seen_free_bits()
|
D | alloc.c | 5783 unsigned int num_clusters) in ocfs2_truncate_log_append() argument 5830 start_cluster, num_clusters); in ocfs2_truncate_log_append() 5838 num_clusters += le32_to_cpu(tl->tl_recs[index].t_clusters); in ocfs2_truncate_log_append() 5842 num_clusters); in ocfs2_truncate_log_append() 5847 tl->tl_recs[index].t_clusters = cpu_to_le32(num_clusters); in ocfs2_truncate_log_append() 5851 osb->truncated_clusters += num_clusters; in ocfs2_truncate_log_append() 5863 unsigned int num_clusters; in ocfs2_replay_truncate_records() local 5901 num_clusters = le32_to_cpu(rec.t_clusters); in ocfs2_replay_truncate_records() 5908 i, le32_to_cpu(rec.t_start), num_clusters); in ocfs2_replay_truncate_records() 5912 num_clusters); in ocfs2_replay_truncate_records()
|