/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | extent_map.c | 520 u32 *p_cluster, u32 *num_clusters) in ocfs2_relative_extent_offsets() 525 *p_cluster = ocfs2_blocks_to_clusters(sb, le64_to_cpu(rec->e_blkno)); in ocfs2_relative_extent_offsets() 526 *p_cluster = *p_cluster + coff; in ocfs2_relative_extent_offsets() 533 u32 *p_cluster, u32 *num_clusters, in ocfs2_xattr_get_clusters() 583 *p_cluster = ocfs2_blocks_to_clusters(inode->i_sb, in ocfs2_xattr_get_clusters() 585 *p_cluster = *p_cluster + coff; in ocfs2_xattr_get_clusters() 598 u32 *p_cluster, u32 *num_clusters, in ocfs2_get_clusters() 612 ret = ocfs2_extent_map_lookup(inode, v_cluster, p_cluster, in ocfs2_get_clusters() 517 ocfs2_relative_extent_offsets(struct super_block *sb, u32 v_cluster, struct ocfs2_extent_rec *rec, u32 *p_cluster, u32 *num_clusters) ocfs2_relative_extent_offsets() argument 532 ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, struct ocfs2_extent_list *el, unsigned int *extent_flags) ocfs2_xattr_get_clusters() argument 597 ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_get_clusters() argument 665 u32 cpos, num_clusters, p_cluster; ocfs2_extent_map_get_blocks() local [all...] |
H A D | extent_map.h | 35 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, 49 u32 *p_cluster, u32 *num_clusters,
|
H A D | refcounttree.c | 58 u32 v_cluster, u32 *p_cluster, 2830 * clusters(starting form p_cluster) in the refcount tree. 2839 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() 2863 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators() 3057 u32 cpos, u32 p_cluster, u32 len, in ocfs2_clear_ext_refcount() 3070 cpos, len, p_cluster, ext_flags); in ocfs2_clear_ext_refcount() 3076 p_cluster)); in ocfs2_clear_ext_refcount() 3196 u32 v_cluster, u32 *p_cluster, in ocfs2_di_get_clusters() 3200 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, in ocfs2_di_get_clusters() 3206 u32 cpos, u32 p_cluster, in ocfs2_make_clusters_writable() 2838 ocfs2_lock_refcount_allocators(struct super_block *sb, u32 p_cluster, u32 num_clusters, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac, int *credits) ocfs2_lock_refcount_allocators() argument 3055 ocfs2_clear_ext_refcount(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 p_cluster, u32 len, unsigned int ext_flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_clear_ext_refcount() argument 3195 ocfs2_di_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_di_get_clusters() argument 3204 ocfs2_make_clusters_writable(struct super_block *sb, struct ocfs2_cow_context *context, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int e_flags) ocfs2_make_clusters_writable() argument 3360 u32 p_cluster, num_clusters; ocfs2_replace_cow() local 3490 u32 p_cluster, num_clusters; ocfs2_refcount_cow() local 3520 ocfs2_xattr_value_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_xattr_value_get_clusters() argument 3544 u32 p_cluster, num_clusters; ocfs2_refcounted_xattr_delete_need() local 3683 ocfs2_add_refcount_flag(struct inode *inode, struct ocfs2_extent_tree *data_et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, struct ocfs2_cached_dealloc_ctxt *dealloc, struct ocfs2_post_refcount *post) ocfs2_add_refcount_flag() argument 3805 u32 cpos, num_clusters, clusters, p_cluster; ocfs2_attach_refcount_tree() local 3896 ocfs2_add_refcounted_extent(struct inode *inode, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int ext_flags, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_add_refcounted_extent() argument 4007 u32 p_cluster, num_clusters, clusters, cpos; ocfs2_duplicate_extent_list() local 4519 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; ocfs2_reflink_remap_extent() local [all...] |
H A D | refcounttree.h | 94 u32 cpos, u32 p_cluster, u32 num_clusters,
|
H A D | xattr.c | 1106 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1120 ret = ocfs2_xattr_get_clusters(inode, cpos, &p_cluster, in ocfs2_xattr_get_value_outside() 1127 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_xattr_get_value_outside() 1355 u32 p_cluster, num_clusters; in __ocfs2_xattr_set_value_outside() local 1366 ret = ocfs2_xattr_get_clusters(inode, cpos, &p_cluster, in __ocfs2_xattr_set_value_outside() 1376 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in __ocfs2_xattr_set_value_outside() 2329 u32 p_cluster, num_clusters; in ocfs2_lock_xattr_remove_allocators() local 2333 ret = ocfs2_xattr_get_clusters(inode, 0, &p_cluster, in ocfs2_lock_xattr_remove_allocators() 5772 u32 p_cluster, num_clusters; in ocfs2_prepare_refcount_xattr() local 5832 ret = ocfs2_xattr_get_clusters(inode, 0, &p_cluster, in ocfs2_prepare_refcount_xattr() 5899 u32 cpos, p_cluster, num_clusters; ocfs2_xattr_value_attach_refcount() local 6355 u32 clusters, cpos, p_cluster, num_clusters; ocfs2_reflink_xattr_header() local 6933 u32 p_cluster, num_clusters, reflink_cpos = 0; ocfs2_reflink_xattr_buckets() local [all...] |
H A D | ocfs2_trace.h | 1045 unsigned int len, unsigned int p_cluster, 1047 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1052 __field(unsigned int, p_cluster) 1059 __entry->p_cluster = p_cluster; 1064 __entry->p_cluster, __entry->ext_flags)
|
H A D | file.c | 1549 u32 cluster, p_cluster, nr_clusters; in ocfs2_zeroout_partial_cluster() local 1563 ret = ocfs2_get_clusters(inode, cluster, &p_cluster, in ocfs2_zeroout_partial_cluster() 1567 if (!p_cluster) in ocfs2_zeroout_partial_cluster() 1571 p_block = ocfs2_clusters_to_blocks(sb, p_cluster) + offset; in ocfs2_zeroout_partial_cluster()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | extent_map.c | 518 u32 *p_cluster, u32 *num_clusters) in ocfs2_relative_extent_offsets() 523 *p_cluster = ocfs2_blocks_to_clusters(sb, le64_to_cpu(rec->e_blkno)); in ocfs2_relative_extent_offsets() 524 *p_cluster = *p_cluster + coff; in ocfs2_relative_extent_offsets() 531 u32 *p_cluster, u32 *num_clusters, in ocfs2_xattr_get_clusters() 581 *p_cluster = ocfs2_blocks_to_clusters(inode->i_sb, in ocfs2_xattr_get_clusters() 583 *p_cluster = *p_cluster + coff; in ocfs2_xattr_get_clusters() 596 u32 *p_cluster, u32 *num_clusters, in ocfs2_get_clusters() 610 ret = ocfs2_extent_map_lookup(inode, v_cluster, p_cluster, in ocfs2_get_clusters() 515 ocfs2_relative_extent_offsets(struct super_block *sb, u32 v_cluster, struct ocfs2_extent_rec *rec, u32 *p_cluster, u32 *num_clusters) ocfs2_relative_extent_offsets() argument 530 ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, struct ocfs2_extent_list *el, unsigned int *extent_flags) ocfs2_xattr_get_clusters() argument 595 ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_get_clusters() argument 663 u32 cpos, num_clusters, p_cluster; ocfs2_extent_map_get_blocks() local [all...] |
H A D | extent_map.h | 33 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster, 47 u32 *p_cluster, u32 *num_clusters,
|
H A D | refcounttree.c | 56 u32 v_cluster, u32 *p_cluster, 2828 * clusters(starting form p_cluster) in the refcount tree. 2837 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() 2861 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators() 3058 u32 cpos, u32 p_cluster, u32 len, in ocfs2_clear_ext_refcount() 3071 cpos, len, p_cluster, ext_flags); in ocfs2_clear_ext_refcount() 3077 p_cluster)); in ocfs2_clear_ext_refcount() 3167 u32 v_cluster, u32 *p_cluster, in ocfs2_di_get_clusters() 3171 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, in ocfs2_di_get_clusters() 3177 u32 cpos, u32 p_cluster, in ocfs2_make_clusters_writable() 2836 ocfs2_lock_refcount_allocators(struct super_block *sb, u32 p_cluster, u32 num_clusters, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac, int *credits) ocfs2_lock_refcount_allocators() argument 3056 ocfs2_clear_ext_refcount(handle_t *handle, struct ocfs2_extent_tree *et, u32 cpos, u32 p_cluster, u32 len, unsigned int ext_flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_clear_ext_refcount() argument 3166 ocfs2_di_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_di_get_clusters() argument 3175 ocfs2_make_clusters_writable(struct super_block *sb, struct ocfs2_cow_context *context, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int e_flags) ocfs2_make_clusters_writable() argument 3331 u32 p_cluster, num_clusters; ocfs2_replace_cow() local 3461 u32 p_cluster, num_clusters; ocfs2_refcount_cow() local 3491 ocfs2_xattr_value_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_xattr_value_get_clusters() argument 3515 u32 p_cluster, num_clusters; ocfs2_refcounted_xattr_delete_need() local 3654 ocfs2_add_refcount_flag(struct inode *inode, struct ocfs2_extent_tree *data_et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, struct ocfs2_cached_dealloc_ctxt *dealloc, struct ocfs2_post_refcount *post) ocfs2_add_refcount_flag() argument 3776 u32 cpos, num_clusters, clusters, p_cluster; ocfs2_attach_refcount_tree() local 3867 ocfs2_add_refcounted_extent(struct inode *inode, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int ext_flags, struct ocfs2_cached_dealloc_ctxt *dealloc) ocfs2_add_refcounted_extent() argument 3978 u32 p_cluster, num_clusters, clusters, cpos; ocfs2_duplicate_extent_list() local 4490 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; ocfs2_reflink_remap_extent() local [all...] |
H A D | refcounttree.h | 92 u32 cpos, u32 p_cluster, u32 num_clusters,
|
H A D | xattr.c | 1100 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1114 ret = ocfs2_xattr_get_clusters(inode, cpos, &p_cluster, in ocfs2_xattr_get_value_outside() 1121 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in ocfs2_xattr_get_value_outside() 1349 u32 p_cluster, num_clusters; in __ocfs2_xattr_set_value_outside() local 1360 ret = ocfs2_xattr_get_clusters(inode, cpos, &p_cluster, in __ocfs2_xattr_set_value_outside() 1370 blkno = ocfs2_clusters_to_blocks(inode->i_sb, p_cluster); in __ocfs2_xattr_set_value_outside() 2323 u32 p_cluster, num_clusters; in ocfs2_lock_xattr_remove_allocators() local 2327 ret = ocfs2_xattr_get_clusters(inode, 0, &p_cluster, in ocfs2_lock_xattr_remove_allocators() 5766 u32 p_cluster, num_clusters; in ocfs2_prepare_refcount_xattr() local 5826 ret = ocfs2_xattr_get_clusters(inode, 0, &p_cluster, in ocfs2_prepare_refcount_xattr() 5893 u32 cpos, p_cluster, num_clusters; ocfs2_xattr_value_attach_refcount() local 6349 u32 clusters, cpos, p_cluster, num_clusters; ocfs2_reflink_xattr_header() local 6927 u32 p_cluster, num_clusters, reflink_cpos = 0; ocfs2_reflink_xattr_buckets() local [all...] |
H A D | ocfs2_trace.h | 1045 unsigned int len, unsigned int p_cluster, 1047 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1052 __field(unsigned int, p_cluster) 1059 __entry->p_cluster = p_cluster; 1064 __entry->p_cluster, __entry->ext_flags)
|
H A D | file.c | 1543 u32 cluster, p_cluster, nr_clusters; in ocfs2_zeroout_partial_cluster() local 1557 ret = ocfs2_get_clusters(inode, cluster, &p_cluster, in ocfs2_zeroout_partial_cluster() 1561 if (!p_cluster) in ocfs2_zeroout_partial_cluster() 1565 p_block = ocfs2_clusters_to_blocks(sb, p_cluster) + offset; in ocfs2_zeroout_partial_cluster()
|