Lines Matching refs:phys_cpos
208 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() argument
217 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent()
315 phys_cpos, new_phys_cpos); in ocfs2_defrag_extent()
317 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent()
536 u32 *phys_cpos) in ocfs2_probe_alloc_group() argument
552 *phys_cpos = 0; in ocfs2_probe_alloc_group()
565 *phys_cpos = base_cpos + i; in ocfs2_probe_alloc_group()
570 mlog(0, "found phys_cpos: %u to fit the wanted moving.\n", *phys_cpos); in ocfs2_probe_alloc_group()
574 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, in ocfs2_move_extent() argument
591 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_move_extent()
683 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos, in ocfs2_move_extent()
773 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; in __ocfs2_move_extents_range() local
830 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size, in __ocfs2_move_extents_range()
846 if (!phys_cpos) { in __ocfs2_move_extents_range()
866 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
868 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
871 ret = ocfs2_move_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()