Searched refs:root_el (Results 1 – 5 of 5) sorted by relevance
157 static inline int ocfs2_extend_meta_needed(struct ocfs2_extent_list *root_el) in ocfs2_extend_meta_needed() argument167 return le16_to_cpu(root_el->l_tree_depth) + 2; in ocfs2_extend_meta_needed()240 struct ocfs2_extent_list *root_el, u32 cpos,
532 struct ocfs2_extent_list *root_el) in ocfs2_calc_extend_credits() argument545 (OCFS2_SUBALLOC_ALLOC - 1) * ocfs2_extend_meta_needed(root_el); in ocfs2_calc_extend_credits()552 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); in ocfs2_calc_extend_credits()
697 struct ocfs2_extent_list *root_el, in ocfs2_new_path() argument702 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()706 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()709 path_root_el(path) = root_el; in ocfs2_new_path()1373 struct ocfs2_extent_list *root_el; in ocfs2_shift_tree_depth() local1398 root_el = et->et_root_el; in ocfs2_shift_tree_depth()1408 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()1409 eb_el->l_next_free_rec = root_el->l_next_free_rec; in ocfs2_shift_tree_depth()1410 for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_shift_tree_depth()1411 eb_el->l_recs[i] = root_el->l_recs[i]; in ocfs2_shift_tree_depth()[all …]
78 struct ocfs2_extent_list *root_el,
1034 struct ocfs2_extent_list *root_el, in ocfs2_reserve_new_metadata() argument1038 ocfs2_extend_meta_needed(root_el), in ocfs2_reserve_new_metadata()