Lines Matching refs:el
967 struct ocfs2_extent_list *el, in ocfs2_get_refcount_cpos_end() argument
978 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end()
983 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1040 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1073 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local
1089 el = &rb->rf_list; in ocfs2_get_refcount_rec()
1092 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1093 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1100 el = &eb->h_list; in ocfs2_get_refcount_rec()
1102 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1112 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_get_refcount_rec()
1113 rec = &el->l_recs[i]; in ocfs2_get_refcount_rec()
1123 eb, el, i, &cpos_end); in ocfs2_get_refcount_rec()
1670 struct ocfs2_extent_list *el; in ocfs2_adjust_refcount_rec() local
1721 el = path_leaf_el(path); in ocfs2_adjust_refcount_rec()
1723 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) in ocfs2_adjust_refcount_rec()
1724 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1727 BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); in ocfs2_adjust_refcount_rec()
1729 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_adjust_refcount_rec()
2638 struct ocfs2_extent_list *el, in ocfs2_refcount_cal_cow_clusters() argument
2646 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2657 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2664 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
2666 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
2676 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_refcount_cal_cow_clusters()
2677 rec = &el->l_recs[i]; in ocfs2_refcount_cal_cow_clusters()
2811 if (i + 1 == le16_to_cpu(el->l_next_free_rec) && in ocfs2_refcount_cal_cow_clusters()
2825 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
3065 struct ocfs2_extent_list *el; in ocfs2_clear_ext_refcount() local
3093 el = path_leaf_el(path); in ocfs2_clear_ext_refcount()
3095 index = ocfs2_search_extent_list(el, cpos); in ocfs2_clear_ext_refcount()