Home
last modified time | relevance | path

Searched refs:et (Results 1 – 10 of 10) sorted by relevance

/fs/ocfs2/
Dalloc.c84 void (*eo_set_last_eb_blk)(struct ocfs2_extent_tree *et,
86 u64 (*eo_get_last_eb_blk)(struct ocfs2_extent_tree *et);
94 void (*eo_update_clusters)(struct ocfs2_extent_tree *et,
101 void (*eo_extent_map_insert)(struct ocfs2_extent_tree *et,
108 void (*eo_extent_map_truncate)(struct ocfs2_extent_tree *et,
115 int (*eo_insert_check)(struct ocfs2_extent_tree *et,
117 int (*eo_sanity_check)(struct ocfs2_extent_tree *et);
129 void (*eo_fill_root_el)(struct ocfs2_extent_tree *et);
136 void (*eo_fill_max_leaf_clusters)(struct ocfs2_extent_tree *et);
144 (*eo_extent_contig)(struct ocfs2_extent_tree *et,
[all …]
Dalloc.h70 void ocfs2_init_dinode_extent_tree(struct ocfs2_extent_tree *et,
73 void ocfs2_init_xattr_tree_extent_tree(struct ocfs2_extent_tree *et,
77 void ocfs2_init_xattr_value_extent_tree(struct ocfs2_extent_tree *et,
80 void ocfs2_init_dx_root_extent_tree(struct ocfs2_extent_tree *et,
83 void ocfs2_init_refcount_extent_tree(struct ocfs2_extent_tree *et,
97 struct ocfs2_extent_tree *et,
110 struct ocfs2_extent_tree *et,
120 struct ocfs2_extent_tree *et,
127 struct ocfs2_extent_tree *et,
132 struct ocfs2_extent_tree *et,
[all …]
Dmove_extents.c52 struct ocfs2_extent_tree et; member
69 u64 ino = ocfs2_metadata_cache_owner(context->et.et_ci); in __ocfs2_move_extent()
85 path = ocfs2_new_path_from_et(&context->et); in __ocfs2_move_extent()
120 context->et.et_root_bh, in __ocfs2_move_extent()
127 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent()
135 ocfs2_journal_dirty(handle, context->et.et_root_bh); in __ocfs2_move_extent()
166 struct ocfs2_extent_tree *et, in ocfs2_lock_allocators_move_extents() argument
178 num_free_extents = ocfs2_num_free_extents(osb, et); in ocfs2_lock_allocators_move_extents()
187 extra_blocks += ocfs2_extend_meta_needed(et->et_root_el); in ocfs2_lock_allocators_move_extents()
203 *credits += ocfs2_calc_extend_credits(osb->sb, et->et_root_el, in ocfs2_lock_allocators_move_extents()
[all …]
Drefcounttree.c972 struct ocfs2_extent_tree et; in ocfs2_get_refcount_cpos_end() local
999 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_get_refcount_cpos_end()
1001 left_path = ocfs2_new_path_from_et(&et); in ocfs2_get_refcount_cpos_end()
1034 subtree_root = ocfs2_find_subtree_root(&et, left_path, in ocfs2_get_refcount_cpos_end()
1669 struct ocfs2_extent_tree et; in ocfs2_adjust_refcount_rec() local
1683 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_adjust_refcount_rec()
1685 path = ocfs2_new_path_from_et(&et); in ocfs2_adjust_refcount_rec()
2093 struct ocfs2_extent_tree et; in ocfs2_remove_refcount_extent() local
2102 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_remove_refcount_extent()
2103 ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos), in ocfs2_remove_refcount_extent()
[all …]
Ddir.c2561 struct ocfs2_extent_tree *et, in ocfs2_dx_dir_new_cluster() argument
2578 ret = ocfs2_insert_extent(handle, et, cpos, phys_blkno, 1, 0, in ocfs2_dx_dir_new_cluster()
2877 struct ocfs2_extent_tree et; in ocfs2_expand_inline_dir() local
2881 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(dir), di_bh); in ocfs2_expand_inline_dir()
3067 ret = ocfs2_insert_extent(handle, &et, 0, blkno, len, in ocfs2_expand_inline_dir()
3118 ret = ocfs2_insert_extent(handle, &et, 1, in ocfs2_expand_inline_dir()
3255 struct ocfs2_extent_tree et; in ocfs2_extend_dir() local
3313 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(dir), in ocfs2_extend_dir()
3315 num_free_extents = ocfs2_num_free_extents(osb, &et); in ocfs2_extend_dir()
3796 struct ocfs2_extent_tree et; in ocfs2_dx_dir_rebalance() local
[all …]
Dfile.c555 struct ocfs2_extent_tree et; in ocfs2_add_inode_data() local
557 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), fe_bh); in ocfs2_add_inode_data()
558 ret = ocfs2_add_clusters_in_btree(handle, &et, logical_offset, in ocfs2_add_inode_data()
579 struct ocfs2_extent_tree et; in __ocfs2_extend_allocation() local
598 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), bh); in __ocfs2_extend_allocation()
599 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in __ocfs2_extend_allocation()
1677 struct ocfs2_extent_tree et; in ocfs2_remove_inode_range() local
1684 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh); in ocfs2_remove_inode_range()
1744 path = ocfs2_new_path_from_et(&et); in ocfs2_remove_inode_range()
1806 ret = ocfs2_remove_btree_range(inode, &et, trunc_cpos, in ocfs2_remove_inode_range()
Dxattr.c715 struct ocfs2_extent_tree et; in ocfs2_xattr_extend_allocation() local
717 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_extend_allocation()
731 &et, in ocfs2_xattr_extend_allocation()
780 struct ocfs2_extent_tree et; in __ocfs2_remove_xattr_range() local
782 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in __ocfs2_remove_xattr_range()
791 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
5091 struct ocfs2_extent_tree et; in ocfs2_add_new_xattr_cluster() local
5098 ocfs2_init_xattr_tree_extent_tree(&et, INODE_CACHE(inode), root_bh); in ocfs2_add_new_xattr_cluster()
5151 ret = ocfs2_insert_extent(handle, &et, v_start, block, in ocfs2_add_new_xattr_cluster()
5422 struct ocfs2_extent_tree et; in ocfs2_rm_xattr_cluster() local
[all …]
Daops.c1221 struct ocfs2_extent_tree et; in ocfs2_write_cluster() local
1253 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), in ocfs2_write_cluster()
1255 ret = ocfs2_mark_extent_written(inode, &et, in ocfs2_write_cluster()
1719 struct ocfs2_extent_tree et; in ocfs2_write_begin_nolock() local
1795 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), in ocfs2_write_begin_nolock()
1797 ret = ocfs2_lock_allocators(inode, &et, in ocfs2_write_begin_nolock()
Dsuballoc.h197 int ocfs2_lock_allocators(struct inode *inode, struct ocfs2_extent_tree *et,
Dsuballoc.c2666 struct ocfs2_extent_tree *et, in ocfs2_lock_allocators() argument
2681 num_free_extents = ocfs2_num_free_extents(osb, et); in ocfs2_lock_allocators()
2703 ret = ocfs2_reserve_new_metadata(osb, et->et_root_el, meta_ac); in ocfs2_lock_allocators()