Home
last modified time | relevance | path

Searched refs:eb_bh (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dextent_map.c281 struct buffer_head *eb_bh = NULL; in ocfs2_last_eb_is_empty() local
285 ret = ocfs2_read_extent_block(INODE_CACHE(inode), last_eb_blk, &eb_bh); in ocfs2_last_eb_is_empty()
291 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_last_eb_is_empty()
298 (unsigned long long)eb_bh->b_blocknr); in ocfs2_last_eb_is_empty()
310 brelse(eb_bh); in ocfs2_last_eb_is_empty()
342 * eb_bh is NULL. Otherwise, eb_bh should point to the extent block
347 struct buffer_head *eb_bh, in ocfs2_figure_hole_clusters()
357 if (i == le16_to_cpu(el->l_next_free_rec) && eb_bh) { in ocfs2_figure_hole_clusters()
358 eb = (struct ocfs2_extent_block *)eb_bh in ocfs2_figure_hole_clusters()
345 ocfs2_figure_hole_clusters(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *el, struct buffer_head *eb_bh, u32 v_cluster, u32 *num_clusters) ocfs2_figure_hole_clusters() argument
409 struct buffer_head *eb_bh = NULL; ocfs2_get_clusters_nocache() local
538 struct buffer_head *eb_bh = NULL; ocfs2_xattr_get_clusters() local
[all...]
H A Dextent_map.h59 struct buffer_head *eb_bh,
H A Drefcounttree.c1070 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1087 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1093 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_get_refcount_rec()
1100 (unsigned long long)eb_bh->b_blocknr); in ocfs2_get_refcount_rec()
1138 brelse(eb_bh); in ocfs2_get_refcount_rec()
2639 struct buffer_head *eb_bh = NULL; in ocfs2_refcount_cal_cow_clusters() local
2649 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2655 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_refcount_cal_cow_clusters()
2662 (unsigned long long)eb_bh->b_blocknr); in ocfs2_refcount_cal_cow_clusters()
2805 brelse(eb_bh); in ocfs2_refcount_cal_cow_clusters()
[all...]
H A Dalloc.c663 * This will not take an additional reference on eb_bh.
666 struct buffer_head *eb_bh) in ocfs2_path_insert_eb()
668 struct ocfs2_extent_block *eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_path_insert_eb()
678 path->p_node[index].bh = eb_bh; in ocfs2_path_insert_eb()
955 struct buffer_head *eb_bh = NULL; in ocfs2_num_free_extents() local
963 &eb_bh); in ocfs2_num_free_extents()
968 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_num_free_extents()
976 brelse(eb_bh); in ocfs2_num_free_extents()
1136 * Add an entire tree branch to our inode. eb_bh is the extent block
1148 struct buffer_head *eb_bh, in ocfs2_add_branch()
665 ocfs2_path_insert_eb(struct ocfs2_path *path, int index, struct buffer_head *eb_bh) ocfs2_path_insert_eb() argument
1146 ocfs2_add_branch(handle_t *handle, struct ocfs2_extent_tree *et, struct buffer_head *eb_bh, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_add_branch() argument
[all...]
H A Ddir.c779 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec() local
785 &eb_bh); in ocfs2_dx_dir_lookup_rec()
791 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_dx_dir_lookup_rec()
798 (unsigned long long)eb_bh->b_blocknr); in ocfs2_dx_dir_lookup_rec()
830 brelse(eb_bh); in ocfs2_dx_dir_lookup_rec()
H A Dxattr.c3693 struct buffer_head *eb_bh = NULL; in ocfs2_xattr_get_rec() local
3700 &eb_bh); in ocfs2_xattr_get_rec()
3706 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_xattr_get_rec()
3713 (unsigned long long)eb_bh->b_blocknr); in ocfs2_xattr_get_rec()
3740 brelse(eb_bh); in ocfs2_xattr_get_rec()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dextent_map.c279 struct buffer_head *eb_bh = NULL; in ocfs2_last_eb_is_empty() local
283 ret = ocfs2_read_extent_block(INODE_CACHE(inode), last_eb_blk, &eb_bh); in ocfs2_last_eb_is_empty()
289 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_last_eb_is_empty()
296 (unsigned long long)eb_bh->b_blocknr); in ocfs2_last_eb_is_empty()
308 brelse(eb_bh); in ocfs2_last_eb_is_empty()
340 * eb_bh is NULL. Otherwise, eb_bh should point to the extent block
345 struct buffer_head *eb_bh, in ocfs2_figure_hole_clusters()
355 if (i == le16_to_cpu(el->l_next_free_rec) && eb_bh) { in ocfs2_figure_hole_clusters()
356 eb = (struct ocfs2_extent_block *)eb_bh in ocfs2_figure_hole_clusters()
343 ocfs2_figure_hole_clusters(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *el, struct buffer_head *eb_bh, u32 v_cluster, u32 *num_clusters) ocfs2_figure_hole_clusters() argument
407 struct buffer_head *eb_bh = NULL; ocfs2_get_clusters_nocache() local
536 struct buffer_head *eb_bh = NULL; ocfs2_xattr_get_clusters() local
[all...]
H A Dextent_map.h57 struct buffer_head *eb_bh,
H A Drefcounttree.c1068 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1085 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1091 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_get_refcount_rec()
1098 (unsigned long long)eb_bh->b_blocknr); in ocfs2_get_refcount_rec()
1136 brelse(eb_bh); in ocfs2_get_refcount_rec()
2637 struct buffer_head *eb_bh = NULL; in ocfs2_refcount_cal_cow_clusters() local
2647 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2653 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_refcount_cal_cow_clusters()
2660 (unsigned long long)eb_bh->b_blocknr); in ocfs2_refcount_cal_cow_clusters()
2803 brelse(eb_bh); in ocfs2_refcount_cal_cow_clusters()
[all...]
H A Dalloc.c661 * This will not take an additional reference on eb_bh.
664 struct buffer_head *eb_bh) in ocfs2_path_insert_eb()
666 struct ocfs2_extent_block *eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_path_insert_eb()
676 path->p_node[index].bh = eb_bh; in ocfs2_path_insert_eb()
953 struct buffer_head *eb_bh = NULL; in ocfs2_num_free_extents() local
961 &eb_bh); in ocfs2_num_free_extents()
966 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_num_free_extents()
974 brelse(eb_bh); in ocfs2_num_free_extents()
1134 * Add an entire tree branch to our inode. eb_bh is the extent block
1146 struct buffer_head *eb_bh, in ocfs2_add_branch()
663 ocfs2_path_insert_eb(struct ocfs2_path *path, int index, struct buffer_head *eb_bh) ocfs2_path_insert_eb() argument
1144 ocfs2_add_branch(handle_t *handle, struct ocfs2_extent_tree *et, struct buffer_head *eb_bh, struct buffer_head **last_eb_bh, struct ocfs2_alloc_context *meta_ac) ocfs2_add_branch() argument
[all...]
H A Ddir.c771 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec() local
777 &eb_bh); in ocfs2_dx_dir_lookup_rec()
783 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_dx_dir_lookup_rec()
790 (unsigned long long)eb_bh->b_blocknr); in ocfs2_dx_dir_lookup_rec()
822 brelse(eb_bh); in ocfs2_dx_dir_lookup_rec()
H A Dxattr.c3687 struct buffer_head *eb_bh = NULL; in ocfs2_xattr_get_rec() local
3694 &eb_bh); in ocfs2_xattr_get_rec()
3700 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_xattr_get_rec()
3707 (unsigned long long)eb_bh->b_blocknr); in ocfs2_xattr_get_rec()
3734 brelse(eb_bh); in ocfs2_xattr_get_rec()

Completed in 48 milliseconds