Searched refs:root_el (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/fs/ocfs2/ |
H A D | alloc.h | 153 * Please note that the caller must make sure that root_el is the root 157 static inline int ocfs2_extend_meta_needed(struct ocfs2_extent_list *root_el) ocfs2_extend_meta_needed() argument 167 return le16_to_cpu(root_el->l_tree_depth) + 2; ocfs2_extend_meta_needed() 238 struct ocfs2_extent_list *root_el, u32 cpos,
|
H A D | suballoc.h | 73 * Please note that the caller must make sure that root_el is the root 78 struct ocfs2_extent_list *root_el,
|
H A D | alloc.c | 688 struct ocfs2_extent_list *root_el, ocfs2_new_path() 693 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH); ocfs2_new_path() 697 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth); ocfs2_new_path() 700 path_root_el(path) = root_el; ocfs2_new_path() 1349 struct ocfs2_extent_list *root_el; ocfs2_shift_tree_depth() local 1364 root_el = et->et_root_el; ocfs2_shift_tree_depth() 1374 eb_el->l_tree_depth = root_el->l_tree_depth; ocfs2_shift_tree_depth() 1375 eb_el->l_next_free_rec = root_el->l_next_free_rec; ocfs2_shift_tree_depth() 1376 for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) ocfs2_shift_tree_depth() 1377 eb_el->l_recs[i] = root_el->l_recs[i]; ocfs2_shift_tree_depth() 1391 le16_add_cpu(&root_el->l_tree_depth, 1); ocfs2_shift_tree_depth() 1392 root_el->l_recs[0].e_cpos = 0; ocfs2_shift_tree_depth() 1393 root_el->l_recs[0].e_blkno = eb->h_blkno; ocfs2_shift_tree_depth() 1394 root_el->l_recs[0].e_int_clusters = cpu_to_le32(new_clusters); ocfs2_shift_tree_depth() 1395 for (i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) ocfs2_shift_tree_depth() 1396 memset(&root_el->l_recs[i], 0, sizeof(struct ocfs2_extent_rec)); ocfs2_shift_tree_depth() 1397 root_el->l_next_free_rec = cpu_to_le16(1); ocfs2_shift_tree_depth() 1401 if (root_el->l_tree_depth == cpu_to_le16(1)) ocfs2_shift_tree_depth() 1424 * 2) the search fails to find anything, but the root_el has room. We 1427 * 3) the search fails to find anything AND the root_el is full, in 1770 * Traverse a btree path in search of cpos, starting at root_el. 1776 struct ocfs2_extent_list *root_el, u32 cpos, __ocfs2_find_path() 1787 el = root_el; __ocfs2_find_path() 1918 struct ocfs2_extent_list *root_el, u32 cpos, ocfs2_find_leaf() 1924 ret = __ocfs2_find_path(ci, root_el, cpos, find_leaf_ins, &bh); ocfs2_find_leaf() 1992 static void ocfs2_adjust_root_records(struct ocfs2_extent_list *root_el, ocfs2_adjust_root_records() argument 1999 BUG_ON(le16_to_cpu(root_el->l_tree_depth) <= ocfs2_adjust_root_records() 2002 for(i = 0; i < le16_to_cpu(root_el->l_next_free_rec) - 1; i++) { ocfs2_adjust_root_records() 2003 if (le64_to_cpu(root_el->l_recs[i].e_blkno) == left_el_blkno) ocfs2_adjust_root_records() 2011 BUG_ON(i >= (le16_to_cpu(root_el->l_next_free_rec) - 1)); ocfs2_adjust_root_records() 2013 ocfs2_adjust_adjacent_records(&root_el->l_recs[i], left_el, ocfs2_adjust_root_records() 2014 &root_el->l_recs[i + 1], right_el); ocfs2_adjust_root_records() 2628 struct ocfs2_extent_list *root_el = left_path->p_node[subtree_index].el; ocfs2_unlink_subtree() local 2636 for(i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) ocfs2_unlink_subtree() 2637 if (root_el->l_recs[i].e_blkno == eb->h_blkno) ocfs2_unlink_subtree() 2640 BUG_ON(i >= le16_to_cpu(root_el->l_next_free_rec)); ocfs2_unlink_subtree() 2642 memset(&root_el->l_recs[i], 0, sizeof(struct ocfs2_extent_rec)); ocfs2_unlink_subtree() 2643 le16_add_cpu(&root_el->l_next_free_rec, -1); ocfs2_unlink_subtree() 7018 struct ocfs2_extent_list *root_el = &(di->id2.i_list); ocfs2_commit_truncate() local 7095 if (root_el->l_tree_depth && rec->e_int_clusters == 0) { ocfs2_commit_truncate() 7098 le16_to_cpu(root_el->l_tree_depth)); ocfs2_commit_truncate() 687 ocfs2_new_path(struct buffer_head *root_bh, struct ocfs2_extent_list *root_el, ocfs2_journal_access_func access) ocfs2_new_path() argument 1775 __ocfs2_find_path(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *root_el, u32 cpos, path_insert_t *func, void *data) __ocfs2_find_path() argument 1917 ocfs2_find_leaf(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *root_el, u32 cpos, struct buffer_head **leaf_bh) ocfs2_find_leaf() argument
|
H A D | journal.h | 527 * Please note that the caller must make sure that root_el is the root 532 struct ocfs2_extent_list *root_el) ocfs2_calc_extend_credits() 545 (OCFS2_SUBALLOC_ALLOC - 1) * ocfs2_extend_meta_needed(root_el); ocfs2_calc_extend_credits() 548 * accounted for in sysfile_bitmap_blocks. root_el + ocfs2_calc_extend_credits() 552 extent_blocks = 1 + 1 + le16_to_cpu(root_el->l_tree_depth); ocfs2_calc_extend_credits() 531 ocfs2_calc_extend_credits(struct super_block *sb, struct ocfs2_extent_list *root_el) ocfs2_calc_extend_credits() argument
|
H A D | suballoc.c | 1052 struct ocfs2_extent_list *root_el, ocfs2_reserve_new_metadata() 1056 ocfs2_extend_meta_needed(root_el), ocfs2_reserve_new_metadata() 1051 ocfs2_reserve_new_metadata(struct ocfs2_super *osb, struct ocfs2_extent_list *root_el, struct ocfs2_alloc_context **ac) ocfs2_reserve_new_metadata() argument
|
H A D | xattr.c | 3188 * ocfs2_calc_extend_credits with root_el = NULL. And the ocfs2_calc_xattr_set_need()
|
Completed in 254 milliseconds