/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | move_extents.c | 198 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() 207 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent() 304 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos, in ocfs2_defrag_extent() 305 phys_cpos, new_phys_cpos); in ocfs2_defrag_extent() 307 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent() 526 u32 *phys_cpos) in ocfs2_probe_alloc_group() 542 *phys_cpos = 0; in ocfs2_probe_alloc_group() 556 *phys_cpos = base_cpos + i; in ocfs2_probe_alloc_group() 561 mlog(0, "found phys_cpos: %u to fit the wanted moving.\n", *phys_cpos); in ocfs2_probe_alloc_group() 197 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 564 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 764 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; __ocfs2_move_extents_range() local [all...] |
H A D | file.c | 1441 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local 1474 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, in ocfs2_allocate_unwritten_extents() 1488 if (phys_cpos) { in ocfs2_allocate_unwritten_extents() 1766 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local 1897 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_remove_inode_range() 1900 phys_cpos, trunc_len, flags, in ocfs2_remove_inode_range() 2137 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local 2149 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, in ocfs2_check_range_for_refcount() 2156 if (phys_cpos && (extent_flags & OCFS2_EXT_REFCOUNTED)) { in ocfs2_check_range_for_refcount()
|
H A D | alloc.h | 130 u32 cpos, u32 phys_cpos, u32 len, int flags,
|
H A D | xattr.c | 767 u32 cpos, u32 phys_cpos, u32 len, in __ocfs2_remove_xattr_range() 772 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in __ocfs2_remove_xattr_range() 818 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local 827 ret = ocfs2_xattr_get_clusters(inode, cpos, &phys_cpos, in ocfs2_xattr_shrink_size() 839 phys_cpos, alloc_size, in ocfs2_xattr_shrink_size() 846 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_xattr_shrink_size() 765 __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 | 5694 u32 cpos, u32 phys_cpos, u32 len, int flags, in ocfs2_remove_btree_range() 5699 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_remove_btree_range() 7204 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local 7330 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_commit_truncate() 7342 phys_cpos, trunc_len, flags, &dealloc, in ocfs2_commit_truncate() 5692 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
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | move_extents.c | 196 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() 205 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_defrag_extent() 302 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos, in ocfs2_defrag_extent() 303 phys_cpos, new_phys_cpos); in ocfs2_defrag_extent() 305 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent() 524 u32 *phys_cpos) in ocfs2_probe_alloc_group() 540 *phys_cpos = 0; in ocfs2_probe_alloc_group() 554 *phys_cpos = base_cpos + i; in ocfs2_probe_alloc_group() 559 mlog(0, "found phys_cpos: %u to fit the wanted moving.\n", *phys_cpos); in ocfs2_probe_alloc_group() 195 ocfs2_defrag_extent(struct ocfs2_move_extents_context *context, u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) ocfs2_defrag_extent() argument 522 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 562 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 762 u32 cpos, phys_cpos, move_start, len_to_move, alloc_size; __ocfs2_move_extents_range() local [all...] |
H A D | file.c | 1435 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local 1468 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, in ocfs2_allocate_unwritten_extents() 1482 if (phys_cpos) { in ocfs2_allocate_unwritten_extents() 1760 u32 trunc_start, trunc_len, trunc_end, trunc_cpos, phys_cpos; in ocfs2_remove_inode_range() local 1891 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_remove_inode_range() 1894 phys_cpos, trunc_len, flags, in ocfs2_remove_inode_range() 2131 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local 2143 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, &extent_len, in ocfs2_check_range_for_refcount() 2150 if (phys_cpos && (extent_flags & OCFS2_EXT_REFCOUNTED)) { in ocfs2_check_range_for_refcount()
|
H A D | alloc.h | 128 u32 cpos, u32 phys_cpos, u32 len, int flags,
|
H A D | xattr.c | 761 u32 cpos, u32 phys_cpos, u32 len, in __ocfs2_remove_xattr_range() 766 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in __ocfs2_remove_xattr_range() 812 u32 trunc_len, cpos, phys_cpos, alloc_size; in ocfs2_xattr_shrink_size() local 821 ret = ocfs2_xattr_get_clusters(inode, cpos, &phys_cpos, in ocfs2_xattr_shrink_size() 833 phys_cpos, alloc_size, in ocfs2_xattr_shrink_size() 840 block = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_xattr_shrink_size() 759 __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 | 5692 u32 cpos, u32 phys_cpos, u32 len, int flags, in ocfs2_remove_btree_range() 5697 u64 phys_blkno = ocfs2_clusters_to_blocks(inode->i_sb, phys_cpos); in ocfs2_remove_btree_range() 7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local 7335 phys_cpos = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_commit_truncate() 7347 phys_cpos, trunc_len, flags, &dealloc, in ocfs2_commit_truncate() 5690 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
|