/linux-3.3/fs/ocfs2/ |
D | journal.h | 417 ocfs2_clusters_to_blocks(sb, 1); in ocfs2_add_dir_index_credits() 488 credits += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_dxi_expand_credits() 550 blocks += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_symlink_credits()
|
D | move_extents.c | 70 u64 old_blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cpos); in __ocfs2_move_extent() 82 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(inode->i_sb, in __ocfs2_move_extent() 236 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent() 659 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_move_extent() 730 new_phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *new_phys_cpos); in ocfs2_move_extent()
|
D | extent_map.c | 676 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_extent_map_get_blocks() 693 boff = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_extent_map_get_blocks() 700 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks()
|
D | alloc.c | 807 blk_end += ocfs2_clusters_to_blocks(sb, in ocfs2_block_extent_contig() 3443 -ocfs2_clusters_to_blocks(ocfs2_metadata_cache_get_super(et->et_ci), in ocfs2_merge_rec_right() 3614 ocfs2_clusters_to_blocks(ocfs2_metadata_cache_get_super(et->et_ci), in ocfs2_merge_rec_left() 3797 len_blocks = ocfs2_clusters_to_blocks(sb, in ocfs2_subtract_from_rec() 4802 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree() 4846 ocfs2_clusters_to_blocks(sb, cpos - rec_cpos)); in ocfs2_make_right_split_rec() 5101 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag() 5407 le64_add_cpu(&rec->e_blkno, ocfs2_clusters_to_blocks(sb, len)); in ocfs2_truncate_rec() 5643 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_remove_btree_range() 5899 start_blk = ocfs2_clusters_to_blocks(data_alloc_inode->i_sb, in ocfs2_replay_truncate_records() [all …]
|
D | xattr.c | 617 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_security_init() 689 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init() 698 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init() 778 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in __ocfs2_remove_xattr_range() 852 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_xattr_shrink_size() 1099 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside() 1111 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_xattr_get_value_outside() 1335 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside() 1355 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in __ocfs2_xattr_set_value_outside() 3043 ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_calc_xattr_set_need() [all …]
|
D | suballoc.c | 478 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig() 559 p_blkno = ocfs2_clusters_to_blocks(osb->sb, p_cpos); in ocfs2_block_group_grow_discontig() 658 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig() 1537 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search() 2262 return ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_which_cluster_group() 2555 …BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, ocfs2_blocks_to_clusters(bitmap_i… in _ocfs2_free_clusters()
|
D | refcounttree.c | 2276 ocfs2_clusters_to_blocks(sb, cpos), in __ocfs2_decrease_refcount() 2933 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_page() 3026 int i, blocks = ocfs2_clusters_to_blocks(sb, new_len); in ocfs2_duplicate_clusters_by_jbd() 3027 u64 old_block = ocfs2_clusters_to_blocks(sb, old_cluster); in ocfs2_duplicate_clusters_by_jbd() 3028 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_jbd() 3093 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(sb, in ocfs2_clear_ext_refcount() 3715 ocfs2_clusters_to_blocks(inode->i_sb, 1) * cow_len; in ocfs2_refcount_cow_xattr() 3974 ocfs2_clusters_to_blocks(inode->i_sb, p_cluster), in ocfs2_add_refcounted_extent()
|
D | uptodate.c | 617 unsigned int i, b_len = ocfs2_clusters_to_blocks(sb, 1) * c_len; in ocfs2_remove_xattr_clusters_from_cache()
|
D | localalloc.c | 952 la_start_blk = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main() 967 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main()
|
D | dir.c | 894 blkno += ocfs2_clusters_to_blocks(inode->i_sb, clen - 1); in ocfs2_dx_dir_lookup() 897 blkno += ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_dx_dir_lookup() 2547 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster() 2589 int num_dx_leaves = ocfs2_clusters_to_blocks(sb, 1); in ocfs2_dx_dir_kmalloc_leaves() 2983 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir() 3116 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir() 3771 int credits = ocfs2_clusters_to_blocks(osb->sb, 2); in ocfs2_dx_dir_rebalance_credits()
|
D | ocfs2.h | 702 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks() function
|
D | aops.c | 81 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block() 1265 v_blkno = ocfs2_clusters_to_blocks(inode->i_sb, cpos); in ocfs2_write_cluster()
|
D | super.c | 2041 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_journal_addressable() 2288 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()
|
D | file.c | 1650 ocfs2_clusters_to_blocks(inode->i_sb, coff); in ocfs2_calc_trunc_pos()
|