Lines Matching refs:el
960 struct ocfs2_extent_list *el, in ocfs2_get_refcount_cpos_end() argument
971 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end()
976 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1033 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1066 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local
1082 el = &rb->rf_list; in ocfs2_get_refcount_rec()
1085 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1086 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1093 el = &eb->h_list; in ocfs2_get_refcount_rec()
1095 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1105 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_get_refcount_rec()
1106 rec = &el->l_recs[i]; in ocfs2_get_refcount_rec()
1116 eb, el, i, &cpos_end); in ocfs2_get_refcount_rec()
1663 struct ocfs2_extent_list *el; in ocfs2_adjust_refcount_rec() local
1714 el = path_leaf_el(path); in ocfs2_adjust_refcount_rec()
1716 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) in ocfs2_adjust_refcount_rec()
1717 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1720 BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); in ocfs2_adjust_refcount_rec()
1722 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_adjust_refcount_rec()
2629 struct ocfs2_extent_list *el, in ocfs2_refcount_cal_cow_clusters() argument
2637 int tree_height = le16_to_cpu(el->l_tree_depth), i; in ocfs2_refcount_cal_cow_clusters()
2648 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); in ocfs2_refcount_cal_cow_clusters()
2655 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
2657 if (el->l_tree_depth) { in ocfs2_refcount_cal_cow_clusters()
2667 for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_refcount_cal_cow_clusters()
2668 rec = &el->l_recs[i]; in ocfs2_refcount_cal_cow_clusters()
2802 if (i + 1 == le16_to_cpu(el->l_next_free_rec) && in ocfs2_refcount_cal_cow_clusters()
2816 el = &eb->h_list; in ocfs2_refcount_cal_cow_clusters()
3067 struct ocfs2_extent_list *el; in ocfs2_clear_ext_refcount() local
3095 el = path_leaf_el(path); in ocfs2_clear_ext_refcount()
3097 index = ocfs2_search_extent_list(el, cpos); in ocfs2_clear_ext_refcount()
4199 struct ocfs2_extent_list *el = &new_di->id2.i_list; in __ocfs2_reflink() local
4202 le16_add_cpu(&el->l_count, -(inline_size / in __ocfs2_reflink()