Lines Matching refs:cpos

51 			       u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos,  in __ocfs2_move_extent()  argument
63 ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos, in __ocfs2_move_extent()
71 replace_rec.e_cpos = cpu_to_le32(cpos); in __ocfs2_move_extent()
83 ret = ocfs2_find_path(INODE_CACHE(inode), path, cpos); in __ocfs2_move_extent()
91 index = ocfs2_search_extent_list(el, cpos); in __ocfs2_move_extent()
95 (unsigned long long)ino, cpos); in __ocfs2_move_extent()
206 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() argument
312 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos, in ocfs2_defrag_extent()
315 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent()
327 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, *len); in ocfs2_defrag_extent()
572 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, in ocfs2_move_extent() argument
681 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos, in ocfs2_move_extent()
708 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, len); in ocfs2_move_extent()
771 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; in __ocfs2_move_extents_range() local
826 cpos = move_start; in __ocfs2_move_extents_range()
828 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size, in __ocfs2_move_extents_range()
864 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
866 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
869 ret = ocfs2_move_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
883 cpos += alloc_size; in __ocfs2_move_extents_range()