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()238 struct ocfs2_extent_list *root_el, u32 cpos,
688 struct ocfs2_extent_list *root_el, in ocfs2_new_path() argument693 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); in ocfs2_new_path()697 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); in ocfs2_new_path()700 path_root_el(path) = root_el; in ocfs2_new_path()1349 struct ocfs2_extent_list *root_el; in ocfs2_shift_tree_depth() local1364 root_el = et->et_root_el; in ocfs2_shift_tree_depth()1374 eb_el->l_tree_depth = root_el->l_tree_depth; in ocfs2_shift_tree_depth()1375 eb_el->l_next_free_rec = root_el->l_next_free_rec; in ocfs2_shift_tree_depth()1376 for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) in ocfs2_shift_tree_depth()1377 eb_el->l_recs[i] = root_el->l_recs[i]; in ocfs2_shift_tree_depth()[all …]
517 struct ocfs2_extent_list *root_el, in ocfs2_calc_extend_credits() argument531 (OCFS2_SUBALLOC_ALLOC - 1) * ocfs2_extend_meta_needed(root_el); in ocfs2_calc_extend_credits()538 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); in ocfs2_calc_extend_credits()
78 struct ocfs2_extent_list *root_el,
1057 struct ocfs2_extent_list *root_el, in ocfs2_reserve_new_metadata() argument1061 ocfs2_extend_meta_needed(root_el), in ocfs2_reserve_new_metadata()