Lines Matching refs:rf_list
1083 el = &rb->rf_list;
1340 memset(&root_rb->rf_list, 0, sb->s_blocksize -
1341 offsetof(struct ocfs2_refcount_block, rf_list));
1342 root_rb->rf_list.l_count = cpu_to_le16(ocfs2_extent_recs_per_rb(sb));
1344 root_rb->rf_list.l_next_free_rec = cpu_to_le16(1);
1345 root_rb->rf_list.l_recs[0].e_blkno = cpu_to_le64(blkno);
1346 root_rb->rf_list.l_recs[0].e_leaf_clusters = cpu_to_le16(1);
1747 struct ocfs2_refcount_list *rf_list = &rb->rf_records;
1752 if (rf_list->rl_used == rf_list->rl_count) {
1773 rf_list = &rb->rf_records;
1783 if (index < le16_to_cpu(rf_list->rl_used))
1784 memmove(&rf_list->rl_recs[index + 1],
1785 &rf_list->rl_recs[index],
1786 (le16_to_cpu(rf_list->rl_used) - index) *
1794 rf_list->rl_recs[index] = *rec;
1796 le16_add_cpu(&rf_list->rl_used, 1);
1837 struct ocfs2_refcount_list *rf_list = &rb->rf_records;
1838 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index];
1877 if (le16_to_cpu(rf_list->rl_used) + recs_need >
1878 le16_to_cpu(rf_list->rl_count)) {
1903 rf_list = &rb->rf_records;
1904 orig_rec = &rf_list->rl_recs[index];
1919 if (index != le16_to_cpu(rf_list->rl_used) - 1)
1920 memmove(&rf_list->rl_recs[index + 1 + recs_need],
1921 &rf_list->rl_recs[index + 1],
1922 (le16_to_cpu(rf_list->rl_used) - index - 1) *
1935 tail_rec = &rf_list->rl_recs[index + recs_need];
1959 le16_add_cpu(&rf_list->rl_used, recs_need);
1962 rf_list->rl_recs[index] = *split_rec;
2133 if (!rb->rf_list.l_next_free_rec) {