Lines Matching defs:cpos
53 u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos,
65 ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos,
73 replace_rec.e_cpos = cpu_to_le32(cpos);
85 ret = ocfs2_find_path(INODE_CACHE(inode), path, cpos);
93 index = ocfs2_search_extent_list(el, cpos);
96 "Inode %llu has an extent at cpos %u which can no longer be found\n",
97 (unsigned long long)ino, cpos);
198 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags)
304 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos,
307 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos,
319 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, *len);
565 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos,
674 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos,
701 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, len);
764 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size;
819 cpos = move_start;
821 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size,
855 mlog(0, "#Defrag: cpos: %u, phys_cpos: %u, "
857 cpos, phys_cpos, alloc_size, len_defraged);
859 ret = ocfs2_defrag_extent(context, cpos, phys_cpos,
862 ret = ocfs2_move_extent(context, cpos, phys_cpos,
876 cpos += alloc_size;