/linux-4.4.14/fs/ocfs2/ |
H A D | move_extents.c | 226 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) ocfs2_defrag_extent() 235 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); ocfs2_defrag_extent() 318 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos, ocfs2_defrag_extent() 319 phys_cpos, new_phys_cpos); ocfs2_defrag_extent() 321 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, ocfs2_defrag_extent() 526 u32 *phys_cpos) ocfs2_probe_alloc_group() 542 *phys_cpos = 0; ocfs2_probe_alloc_group() 555 *phys_cpos = base_cpos + i; ocfs2_probe_alloc_group() 560 mlog(0, "found phys_cpos: %u to fit the wanted moving.\n", *phys_cpos); ocfs2_probe_alloc_group() 564 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, ocfs2_move_extent() 581 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); ocfs2_move_extent() 675 ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos, ocfs2_move_extent() 765 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; __ocfs2_move_extents_range() local 822 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &alloc_size, __ocfs2_move_extents_range() 838 if (!phys_cpos) { __ocfs2_move_extents_range() 856 mlog(0, "#Defrag: cpos: %u, phys_cpos: %u, " __ocfs2_move_extents_range() 858 cpos, phys_cpos, alloc_size, len_defraged); __ocfs2_move_extents_range() 860 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, __ocfs2_move_extents_range() 863 ret = ocfs2_move_extent(context, cpos, phys_cpos, __ocfs2_move_extents_range() 225 ocfs2_defrag_extent(struct ocfs2_move_extents_context *context, u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) ocfs2_defrag_extent() argument 524 ocfs2_probe_alloc_group(struct inode *inode, struct buffer_head *bh, int *goal_bit, u32 move_len, u32 max_hop, u32 *phys_cpos) ocfs2_probe_alloc_group() argument 563 ocfs2_move_extent(struct ocfs2_move_extents_context *context, u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, u32 len, int ext_flags) ocfs2_move_extent() argument
|
H A D | file.c | 1385 u32 cpos, clusters, extent_len, phys_cpos; ocfs2_check_range_for_holes() local 1392 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, ocfs2_check_range_for_holes() 1399 if (phys_cpos == 0 || (extent_flags & OCFS2_EXT_UNWRITTEN)) { ocfs2_check_range_for_holes() 1440 u32 cpos, phys_cpos, clusters, alloc_size; ocfs2_allocate_unwritten_extents() local 1473 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, ocfs2_allocate_unwritten_extents() 1487 if (phys_cpos) { ocfs2_allocate_unwritten_extents() 1691 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; ocfs2_remove_inode_range() local 1823 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); ocfs2_remove_inode_range() 1826 phys_cpos, trunc_len, flags, ocfs2_remove_inode_range() 2051 u32 cpos, clusters, extent_len, phys_cpos; ocfs2_check_range_for_refcount() local 2063 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, ocfs2_check_range_for_refcount() 2070 if (phys_cpos && (extent_flags & OCFS2_EXT_REFCOUNTED)) { ocfs2_check_range_for_refcount()
|
H A D | alloc.h | 143 u32 cpos, u32 phys_cpos, u32 len, int flags,
|
H A D | xattr.c | 773 u32 cpos, u32 phys_cpos, u32 len, __ocfs2_remove_xattr_range() 778 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); __ocfs2_remove_xattr_range() 824 u32 trunc_len, cpos, phys_cpos, alloc_size; ocfs2_xattr_shrink_size() local 833 ret = ocfs2_xattr_get_clusters(inode, cpos, &phys_cpos, ocfs2_xattr_shrink_size() 845 phys_cpos, alloc_size, ocfs2_xattr_shrink_size() 852 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); ocfs2_xattr_shrink_size() 771 __ocfs2_remove_xattr_range(struct inode *inode, struct ocfs2_xattr_value_buf *vb, u32 cpos, u32 phys_cpos, u32 len, unsigned int ext_flags, struct ocfs2_xattr_set_ctxt *ctxt) __ocfs2_remove_xattr_range() argument
|
H A D | alloc.c | 5678 u32 cpos, u32 phys_cpos, u32 len, int flags, ocfs2_remove_btree_range() 5683 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); ocfs2_remove_btree_range() 7030 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; ocfs2_commit_truncate() local 7156 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); ocfs2_commit_truncate() 7168 phys_cpos, trunc_len, flags, &dealloc, ocfs2_commit_truncate() 5676 ocfs2_remove_btree_range(struct inode *inode, struct ocfs2_extent_tree *et, u32 cpos, u32 phys_cpos, u32 len, int flags, struct ocfs2_cached_dealloc_ctxt *dealloc, u64 refcount_loc, bool refcount_tree_locked) ocfs2_remove_btree_range() argument
|