Home
last modified time | relevance | path

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

/linux-6.15/fs/ocfs2/
H A Djournal.h415 ocfs2_clusters_to_blocks(sb, 1); in ocfs2_add_dir_index_credits()
491 credits += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_dxi_expand_credits()
552 blocks += ocfs2_clusters_to_blocks(sb, 1); in ocfs2_calc_symlink_credits()
H A Dmove_extents.c61 u64 old_blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cpos); in __ocfs2_move_extent()
73 replace_rec.e_blkno = cpu_to_le64(ocfs2_clusters_to_blocks(inode->i_sb, in __ocfs2_move_extent()
205 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent()
332 ocfs2_clusters_to_blocks(osb->sb, new_phys_cpos), in ocfs2_defrag_extent()
580 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_move_extent()
649 new_phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *new_phys_cpos); in ocfs2_move_extent()
H A Dalloc.c800 blk_end += ocfs2_clusters_to_blocks(sb, in ocfs2_block_extent_contig()
3845 len_blocks = ocfs2_clusters_to_blocks(sb, in ocfs2_subtract_from_rec()
4853 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree()
4885 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_add_clusters_in_btree()
4911 ocfs2_clusters_to_blocks(sb, cpos - rec_cpos)); in ocfs2_make_right_split_rec()
5172 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag()
7213 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_convert_inline_data_to_extents()
7353 ocfs2_clusters_to_blocks(inode->i_sb, coff); in ocfs2_commit_truncate()
7488 bcount = ocfs2_clusters_to_blocks(sb, count); in ocfs2_trim_extent()
7489 discard = ocfs2_clusters_to_blocks(sb, start); in ocfs2_trim_extent()
[all …]
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); in ocfs2_extent_map_get_blocks()
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()
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()
3065 ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_calc_xattr_set_need()
4312 blkno = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_xattr_create_index_block()
5048 ocfs2_clusters_to_blocks(inode->i_sb, 1)); in ocfs2_adjust_xattr_cross_cluster()
5098 u16 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_add_new_xattr_cluster()
5130 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_new_xattr_cluster()
[all …]
H A Daops.c69 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block()
1104 int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); in ocfs2_write_cluster()
1160 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *phys); in ocfs2_write_cluster()
2221 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, desc->c_phys); in ocfs2_dio_wr_get_block()
2223 p_blkno += iblock & (u64)(ocfs2_clusters_to_blocks(inode->i_sb, 1) - 1); in ocfs2_dio_wr_get_block()
H A Dsuballoc.c442 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig()
523 p_blkno = ocfs2_clusters_to_blocks(osb->sb, p_cpos); in ocfs2_block_group_grow_discontig()
622 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig()
1577 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
2346 return ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_which_cluster_group()
2660 BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, in _ocfs2_free_clusters()
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 Duptodate.c601 unsigned int i, b_len = ocfs2_clusters_to_blocks(sb, 1) * c_len; in ocfs2_remove_xattr_clusters_from_cache()
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 Docfs2.h757 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks() function
H A 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()
H A Dsuper.c1921 ocfs2_clusters_to_blocks(osb->sb, in ocfs2_journal_addressable()
2154 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()