Lines Matching defs:cpos
51 u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos,
63 ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos,
71 replace_rec.e_cpos = cpu_to_le32(cpos);
83 ret = ocfs2_find_path(INODE_CACHE(inode), path, cpos);
91 index = ocfs2_search_extent_list(el, cpos);
94 "Inode %llu has an extent at cpos %u which can no longer be found\n",
95 (unsigned long long)ino, cpos);
196 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags)
302 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos,
305 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos,
317 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, *len);
563 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos,
672 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos,
699 ret = ocfs2_cow_sync_writeback(inode->i_sb, context->inode, cpos, len);
762 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size;
817 cpos = move_start;
819 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size,
853 mlog(0, "#Defrag: cpos: %u, phys_cpos: %u, "
855 cpos, phys_cpos, alloc_size, len_defraged);
857 ret = ocfs2_defrag_extent(context, cpos, phys_cpos,
860 ret = ocfs2_move_extent(context, cpos, phys_cpos,
874 cpos += alloc_size;