Searched refs:root_el (Results 1 – 5 of 5) sorted by relevance
143 static inline int ocfs2_extend_meta_needed(struct ocfs2_extent_list *root_el) in ocfs2_extend_meta_needed() argument153 return le16_to_cpu(root_el->l_tree_depth) + 2; in ocfs2_extend_meta_needed()226 struct ocfs2_extent_list *root_el, u32 cpos,
517 struct ocfs2_extent_list *root_el) in ocfs2_calc_extend_credits() argument530 (OCFS2_SUBALLOC_ALLOC - 1) * ocfs2_extend_meta_needed(root_el); in ocfs2_calc_extend_credits()537 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); in ocfs2_calc_extend_credits()
683 struct ocfs2_extent_list *root_el, in ocfs2_new_path() argument688 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()692 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()695 path_root_el(path) = root_el; in ocfs2_new_path()1359 struct ocfs2_extent_list *root_el; in ocfs2_shift_tree_depth() local1384 root_el = et->et_root_el; in ocfs2_shift_tree_depth()1394 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()1395 eb_el->l_next_free_rec = root_el->l_next_free_rec; in ocfs2_shift_tree_depth()1396 for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_shift_tree_depth()1397 eb_el->l_recs[i] = root_el->l_recs[i]; in ocfs2_shift_tree_depth()[all …]
64 struct ocfs2_extent_list *root_el,
1020 struct ocfs2_extent_list *root_el, in ocfs2_reserve_new_metadata() argument1024 ocfs2_extend_meta_needed(root_el), in ocfs2_reserve_new_metadata()