Searched refs:ocfs2_clusters_to_blocks (Results 1 – 9 of 9) sorted by relevance
/linux/fs/ocfs2/ |
H A D | journal.h | 414 ocfs2_clusters_to_blocks(sb, 1); in ocfs2_add_dir_index_credits() 490 credits += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_dxi_expand_credits() 551 blocks += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_symlink_credits()
|
H A D | extent_map.c | 672 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_extent_map_get_blocks() 689 boff = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_extent_map_get_blocks() 696 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters);
|
H A D | xattr.c | 603 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_security_init() 678 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init() 687 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init() 766 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in __ocfs2_remove_xattr_range() 840 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_xattr_shrink_size() 1118 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside() 1130 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_xattr_get_value_outside() 1359 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside() 1379 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in __ocfs2_xattr_set_value_outside() 3065 ocfs2_clusters_to_blocks(inod in ocfs2_calc_xattr_set_need() [all...] |
H A D | aops.c | 70 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block() 1111 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_write_cluster() 1167 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *phys); in ocfs2_write_cluster() 2228 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, desc->c_phys); in ocfs2_dio_wr_get_block() 2230 p_blkno += iblock & (u64)(ocfs2_clusters_to_blocks(inode->i_sb, 1) - 1); in ocfs2_dio_wr_get_block()
|
H A D | refcounttree.c | 2260 ocfs2_clusters_to_blocks(sb, cpos), in __ocfs2_decrease_refcount() 2904 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_page() 3000 int i, blocks = ocfs2_clusters_to_blocks(sb, new_len); in ocfs2_duplicate_clusters_by_jbd() 3001 u64 old_block = ocfs2_clusters_to_blocks(sb, old_cluster); in ocfs2_duplicate_clusters_by_jbd() 3002 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_jbd() 3067 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(sb, in ocfs2_clear_ext_refcount() 3625 ocfs2_clusters_to_blocks(inode->i_sb, 1) * cow_len; in ocfs2_refcount_cow_xattr() 3890 ocfs2_clusters_to_blocks(inode->i_sb, p_cluster), in ocfs2_add_refcounted_extent()
|
H A D | localalloc.c | 968 la_start_blk = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main() 983 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main()
|
H A D | dir.c | 870 blkno += ocfs2_clusters_to_blocks(inode->i_sb, clen - 1); in ocfs2_dx_dir_lookup() 873 blkno += ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_dx_dir_lookup() 2479 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster() 2521 int num_dx_leaves = ocfs2_clusters_to_blocks(sb, 1); in ocfs2_dx_dir_kmalloc_leaves() 2915 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir() 3050 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir() 3691 int credits = ocfs2_clusters_to_blocks(osb->sb, 3); in ocfs2_dx_dir_rebalance_credits()
|
H A D | uptodate.c | 601 unsigned int i, b_len = ocfs2_clusters_to_blocks(sb, 1) * c_len; in ocfs2_remove_xattr_clusters_from_cache()
|
H A D | ocfs2.h | 742 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks() function
|