Lines Matching refs:el

969 				       struct ocfs2_extent_list *el,  in ocfs2_get_refcount_cpos_end()  argument
980 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end()
985 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1042 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1075 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local
1091 el = &rb->rf_list; in ocfs2_get_refcount_rec()
1094 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1095 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1102 el = &eb->h_list; in ocfs2_get_refcount_rec()
1104 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1116 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_get_refcount_rec()
1117 rec = &el->l_recs[i]; in ocfs2_get_refcount_rec()
1127 eb, el, i, &cpos_end); in ocfs2_get_refcount_rec()
1676 struct ocfs2_extent_list *el; in ocfs2_adjust_refcount_rec() local
1727 el = path_leaf_el(path); in ocfs2_adjust_refcount_rec()
1729 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) in ocfs2_adjust_refcount_rec()
1730 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1733 BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); in ocfs2_adjust_refcount_rec()
1735 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_adjust_refcount_rec()
2648 struct ocfs2_extent_list *el, in ocfs2_refcount_cal_cow_clusters() argument
2656 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2667 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2674 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
2676 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
2687 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_refcount_cal_cow_clusters()
2688 rec = &el->l_recs[i]; in ocfs2_refcount_cal_cow_clusters()
2822 if (i + 1 == le16_to_cpu(el->l_next_free_rec) && in ocfs2_refcount_cal_cow_clusters()
2836 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
3079 struct ocfs2_extent_list *el; in ocfs2_clear_ext_refcount() local
3107 el = path_leaf_el(path); in ocfs2_clear_ext_refcount()
3109 index = ocfs2_search_extent_list(el, cpos); in ocfs2_clear_ext_refcount()