Lines Matching refs:et
967 struct ocfs2_extent_tree et; in ocfs2_get_refcount_cpos_end() local
994 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_get_refcount_cpos_end()
996 left_path = ocfs2_new_path_from_et(&et); in ocfs2_get_refcount_cpos_end()
1029 subtree_root = ocfs2_find_subtree_root(&et, left_path, in ocfs2_get_refcount_cpos_end()
1659 struct ocfs2_extent_tree et; in ocfs2_adjust_refcount_rec() local
1673 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_adjust_refcount_rec()
1675 path = ocfs2_new_path_from_et(&et); in ocfs2_adjust_refcount_rec()
2083 struct ocfs2_extent_tree et; in ocfs2_remove_refcount_extent() local
2092 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_remove_refcount_extent()
2093 ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos), in ocfs2_remove_refcount_extent()
2337 struct ocfs2_extent_tree *et, in ocfs2_mark_extent_refcounted() argument
2354 ret = ocfs2_change_extent_flag(handle, et, cpos, in ocfs2_mark_extent_refcounted()
2486 struct ocfs2_extent_tree et; in ocfs2_calc_refcount_meta_credits() local
2488 ocfs2_init_refcount_extent_tree(&et, ci, ref_root_bh); in ocfs2_calc_refcount_meta_credits()
2489 *meta_add += ocfs2_extend_meta_needed(et.et_root_el); in ocfs2_calc_refcount_meta_credits()
2491 et.et_root_el); in ocfs2_calc_refcount_meta_credits()
2838 struct ocfs2_extent_tree *et, in ocfs2_lock_refcount_allocators() argument
2846 int num_free_extents = ocfs2_num_free_extents(et); in ocfs2_lock_refcount_allocators()
2856 ocfs2_extend_meta_needed(et->et_root_el); in ocfs2_lock_refcount_allocators()
2858 *credits += ocfs2_calc_extend_credits(sb, et->et_root_el); in ocfs2_lock_refcount_allocators()
3054 struct ocfs2_extent_tree *et, in ocfs2_clear_ext_refcount() argument
3064 struct super_block *sb = ocfs2_metadata_cache_get_super(et->et_ci); in ocfs2_clear_ext_refcount()
3065 u64 ino = ocfs2_metadata_cache_owner(et->et_ci); in ocfs2_clear_ext_refcount()
3078 path = ocfs2_new_path_from_et(et); in ocfs2_clear_ext_refcount()
3085 ret = ocfs2_find_path(et->et_ci, path, cpos); in ocfs2_clear_ext_refcount()
3101 ret = ocfs2_split_extent(handle, et, path, index, in ocfs2_clear_ext_refcount()
3604 struct ocfs2_extent_tree et; in ocfs2_refcounted_xattr_delete_need() local
3606 ocfs2_init_refcount_extent_tree(&et, ref_ci, ref_root_bh); in ocfs2_refcounted_xattr_delete_need()
3608 et.et_root_el); in ocfs2_refcounted_xattr_delete_need()
3895 struct ocfs2_extent_tree *et, in ocfs2_add_refcounted_extent() argument
3910 et, ref_ci, in ocfs2_add_refcounted_extent()
3925 ret = ocfs2_insert_extent(handle, et, cpos, in ocfs2_add_refcounted_extent()
4008 struct ocfs2_extent_tree et; in ocfs2_duplicate_extent_list() local
4010 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(t_inode), t_bh); in ocfs2_duplicate_extent_list()
4024 ret = ocfs2_add_refcounted_extent(t_inode, &et, in ocfs2_duplicate_extent_list()