Lines Matching refs:phys_cpos
226 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() argument
235 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent()
316 phys_cpos, new_phys_cpos); in ocfs2_defrag_extent()
318 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent()
523 u32 *phys_cpos) in ocfs2_probe_alloc_group() argument
539 *phys_cpos = 0; in ocfs2_probe_alloc_group()
552 *phys_cpos = base_cpos + i; in ocfs2_probe_alloc_group()
557 mlog(0, "found phys_cpos: %u to fit the wanted moving.\n", *phys_cpos); in ocfs2_probe_alloc_group()
561 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, in ocfs2_move_extent() argument
578 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_move_extent()
669 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos, in ocfs2_move_extent()
759 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; in __ocfs2_move_extents_range() local
816 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size, in __ocfs2_move_extents_range()
832 if (!phys_cpos) { in __ocfs2_move_extents_range()
852 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
854 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
857 ret = ocfs2_move_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()