Home
last modified time | relevance | path

Searched refs:root_el (Results 1 – 5 of 5) sorted by relevance

/fs/ocfs2/
Dalloc.h157 static inline int ocfs2_extend_meta_needed(struct ocfs2_extent_list *root_el) in ocfs2_extend_meta_needed() argument
167 return le16_to_cpu(root_el->l_tree_depth) + 2; in ocfs2_extend_meta_needed()
238 struct ocfs2_extent_list *root_el, u32 cpos,
Dalloc.c688 struct ocfs2_extent_list *root_el, in ocfs2_new_path() argument
693 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() local
1364 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 …]
Djournal.h517 struct ocfs2_extent_list *root_el, in ocfs2_calc_extend_credits() argument
531 (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()
Dsuballoc.h78 struct ocfs2_extent_list *root_el,
Dsuballoc.c1057 struct ocfs2_extent_list *root_el, in ocfs2_reserve_new_metadata() argument
1061 ocfs2_extend_meta_needed(root_el), in ocfs2_reserve_new_metadata()