Lines Matching refs:rl_recs

894 		rec = &rb->rf_records.rl_recs[i];  in ocfs2_find_refcount_rec_in_rl()
1159 if ((rb->rf_records.rl_recs[index].r_refcount == in ocfs2_refcount_rec_adjacent()
1160 rb->rf_records.rl_recs[index + 1].r_refcount) && in ocfs2_refcount_rec_adjacent()
1161 (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + in ocfs2_refcount_rec_adjacent()
1162 le32_to_cpu(rb->rf_records.rl_recs[index].r_clusters) == in ocfs2_refcount_rec_adjacent()
1163 le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) in ocfs2_refcount_rec_adjacent()
1197 BUG_ON(rb->rf_records.rl_recs[index].r_refcount != in ocfs2_rotate_refcount_rec_left()
1198 rb->rf_records.rl_recs[index+1].r_refcount); in ocfs2_rotate_refcount_rec_left()
1200 le32_add_cpu(&rb->rf_records.rl_recs[index].r_clusters, in ocfs2_rotate_refcount_rec_left()
1201 le32_to_cpu(rb->rf_records.rl_recs[index+1].r_clusters)); in ocfs2_rotate_refcount_rec_left()
1204 memmove(&rb->rf_records.rl_recs[index + 1], in ocfs2_rotate_refcount_rec_left()
1205 &rb->rf_records.rl_recs[index + 2], in ocfs2_rotate_refcount_rec_left()
1209 memset(&rb->rf_records.rl_recs[le16_to_cpu(rb->rf_records.rl_used) - 1], in ocfs2_rotate_refcount_rec_left()
1250 struct ocfs2_refcount_rec *rec = &rl->rl_recs[index]; in ocfs2_change_refcount_rec()
1269 memset(&rl->rl_recs[le16_to_cpu(rl->rl_used) - 1], in ocfs2_change_refcount_rec()
1428 &rl->rl_recs[middle - delta - 1], in ocfs2_find_refcount_split_pos()
1429 &rl->rl_recs[middle - delta])) { in ocfs2_find_refcount_split_pos()
1440 &rl->rl_recs[middle + delta], in ocfs2_find_refcount_split_pos()
1441 &rl->rl_recs[middle + delta + 1])) { in ocfs2_find_refcount_split_pos()
1450 *split_pos = ocfs2_get_ref_rec_low_cpos(&rl->rl_recs[*split_index]); in ocfs2_find_refcount_split_pos()
1483 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used), in ocfs2_divide_leaf_refcount_block()
1497 memcpy(new_rl->rl_recs, &rl->rl_recs[split_index], in ocfs2_divide_leaf_refcount_block()
1501 memset(&rl->rl_recs[split_index], 0, in ocfs2_divide_leaf_refcount_block()
1508 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used), in ocfs2_divide_leaf_refcount_block()
1512 sort(&new_rl->rl_recs, le16_to_cpu(new_rl->rl_used), in ocfs2_divide_leaf_refcount_block()
1790 memmove(&rf_list->rl_recs[index + 1], in ocfs2_insert_refcount_rec()
1791 &rf_list->rl_recs[index], in ocfs2_insert_refcount_rec()
1800 rf_list->rl_recs[index] = *rec; in ocfs2_insert_refcount_rec()
1844 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index]; in ocfs2_split_refcount_rec()
1910 orig_rec = &rf_list->rl_recs[index]; in ocfs2_split_refcount_rec()
1926 memmove(&rf_list->rl_recs[index + 1 + recs_need], in ocfs2_split_refcount_rec()
1927 &rf_list->rl_recs[index + 1], in ocfs2_split_refcount_rec()
1941 tail_rec = &rf_list->rl_recs[index + recs_need]; in ocfs2_split_refcount_rec()
1968 rf_list->rl_recs[index] = *split_rec; in ocfs2_split_refcount_rec()
2183 struct ocfs2_refcount_rec *rec = &rb->rf_records.rl_recs[index]; in ocfs2_decrease_refcount_rec()