Home
last modified time | relevance | path

Searched refs:ocfs2_clusters_to_blocks (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ocfs2/
H A Djournal.h414 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 Dextent_map.c672 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 Dxattr.c603 *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 Daops.c70 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 Drefcounttree.c2260 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 Dlocalalloc.c968 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 Ddir.c870 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 Duptodate.c601 unsigned int i, b_len = ocfs2_clusters_to_blocks(sb, 1) * c_len; in ocfs2_remove_xattr_clusters_from_cache()
H A Docfs2.h742 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks() function