Lines Matching refs:el
959 struct ocfs2_extent_list *el, in ocfs2_get_refcount_cpos_end() argument
970 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end()
975 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1032 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1065 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local
1081 el = &rb->rf_list; in ocfs2_get_refcount_rec()
1084 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1085 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1092 el = &eb->h_list; in ocfs2_get_refcount_rec()
1094 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1104 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_get_refcount_rec()
1105 rec = &el->l_recs[i]; in ocfs2_get_refcount_rec()
1115 eb, el, i, &cpos_end); in ocfs2_get_refcount_rec()
1662 struct ocfs2_extent_list *el; in ocfs2_adjust_refcount_rec() local
1713 el = path_leaf_el(path); in ocfs2_adjust_refcount_rec()
1715 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) in ocfs2_adjust_refcount_rec()
1716 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1719 BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); in ocfs2_adjust_refcount_rec()
1721 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_adjust_refcount_rec()
2628 struct ocfs2_extent_list *el, in ocfs2_refcount_cal_cow_clusters() argument
2636 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2647 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2654 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
2656 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
2666 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_refcount_cal_cow_clusters()
2667 rec = &el->l_recs[i]; in ocfs2_refcount_cal_cow_clusters()
2801 if (i + 1 == le16_to_cpu(el->l_next_free_rec) && in ocfs2_refcount_cal_cow_clusters()
2815 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
3063 struct ocfs2_extent_list *el; in ocfs2_clear_ext_refcount() local
3091 el = path_leaf_el(path); in ocfs2_clear_ext_refcount()
3093 index = ocfs2_search_extent_list(el, cpos); in ocfs2_clear_ext_refcount()