Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ocfs2/
Djournal.h413 ocfs2_clusters_to_blocks(sb, 1); in ocfs2_add_dir_index_credits()
489 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()
Dmove_extents.c63 u64 old_blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cpos); in __ocfs2_move_extent()
75 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(inode->i_sb, in __ocfs2_move_extent()
207 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent()
334 ocfs2_clusters_to_blocks(osb->sb, new_phys_cpos), in ocfs2_defrag_extent()
582 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_move_extent()
651 new_phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *new_phys_cpos); in ocfs2_move_extent()
Dalloc.c802 blk_end += ocfs2_clusters_to_blocks(sb, in ocfs2_block_extent_contig()
3438 -ocfs2_clusters_to_blocks(ocfs2_metadata_cache_get_super(et->et_ci), in ocfs2_merge_rec_right()
3606 ocfs2_clusters_to_blocks(ocfs2_metadata_cache_get_super(et->et_ci), in ocfs2_merge_rec_left()
3832 len_blocks = ocfs2_clusters_to_blocks(sb, in ocfs2_subtract_from_rec()
4840 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree()
4872 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_add_clusters_in_btree()
4898 ocfs2_clusters_to_blocks(sb, cpos - rec_cpos)); in ocfs2_make_right_split_rec()
5159 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag()
5470 le64_add_cpu(&rec->e_blkno, ocfs2_clusters_to_blocks(sb, len)); in ocfs2_truncate_rec()
5699 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_remove_btree_range()
[all …]
Dextent_map.c664 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_extent_map_get_blocks()
681 boff = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_extent_map_get_blocks()
688 *ret_count = ocfs2_clusters_to_blocks(inode->i_sb, num_clusters); in ocfs2_extent_map_get_blocks()
Dxattr.c609 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_security_init()
684 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init()
693 *xattr_credits += ocfs2_clusters_to_blocks(dir->i_sb, in ocfs2_calc_xattr_init()
772 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in __ocfs2_remove_xattr_range()
846 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_xattr_shrink_size()
1115 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_xattr_get_value_outside()
1127 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_xattr_get_value_outside()
1356 u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in __ocfs2_xattr_set_value_outside()
1376 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in __ocfs2_xattr_set_value_outside()
3063 ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_calc_xattr_set_need()
[all …]
Daops.c72 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block()
1131 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_write_cluster()
1187 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *phys); in ocfs2_write_cluster()
2253 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, desc->c_phys); in ocfs2_dio_wr_get_block()
2255 p_blkno += iblock & (u64)(ocfs2_clusters_to_blocks(inode->i_sb, 1) - 1); in ocfs2_dio_wr_get_block()
Dsuballoc.c440 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig()
521 p_blkno = ocfs2_clusters_to_blocks(osb->sb, p_cpos); in ocfs2_block_group_grow_discontig()
620 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig()
1518 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
2266 return ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_which_cluster_group()
2559 BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, in _ocfs2_free_clusters()
Drefcounttree.c2268 ocfs2_clusters_to_blocks(sb, cpos), in __ocfs2_decrease_refcount()
2912 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_page()
3008 int i, blocks = ocfs2_clusters_to_blocks(sb, new_len); in ocfs2_duplicate_clusters_by_jbd()
3009 u64 old_block = ocfs2_clusters_to_blocks(sb, old_cluster); in ocfs2_duplicate_clusters_by_jbd()
3010 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_jbd()
3075 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(sb, in ocfs2_clear_ext_refcount()
3663 ocfs2_clusters_to_blocks(inode->i_sb, 1) * cow_len; in ocfs2_refcount_cow_xattr()
3928 ocfs2_clusters_to_blocks(inode->i_sb, p_cluster), in ocfs2_add_refcounted_extent()
Duptodate.c603 unsigned int i, b_len = ocfs2_clusters_to_blocks(sb, 1) * c_len; in ocfs2_remove_xattr_clusters_from_cache()
Dlocalalloc.c975 la_start_blk = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main()
990 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_sync_local_to_main()
Ddir.c866 blkno += ocfs2_clusters_to_blocks(inode->i_sb, clen - 1); in ocfs2_dx_dir_lookup()
869 blkno += ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_dx_dir_lookup()
2456 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster()
2498 int num_dx_leaves = ocfs2_clusters_to_blocks(sb, 1); in ocfs2_dx_dir_kmalloc_leaves()
2892 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
3027 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
3675 int credits = ocfs2_clusters_to_blocks(osb->sb, 3); in ocfs2_dx_dir_rebalance_credits()
Docfs2.h718 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks() function
Dfile.c1570 offset = start_block - ocfs2_clusters_to_blocks(sb, cluster); in ocfs2_zeroout_partial_cluster()
1571 p_block = ocfs2_clusters_to_blocks(sb, p_cluster) + offset; in ocfs2_zeroout_partial_cluster()
1744 ocfs2_clusters_to_blocks(inode->i_sb, coff); in ocfs2_calc_trunc_pos()
Dsuper.c1980 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_journal_addressable()
2236 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()