Lines Matching refs:rf_list
1081 el = &rb->rf_list;
1338 memset(&root_rb->rf_list, 0, sb->s_blocksize -
1339 offsetof(struct ocfs2_refcount_block, rf_list));
1340 root_rb->rf_list.l_count = cpu_to_le16(ocfs2_extent_recs_per_rb(sb));
1342 root_rb->rf_list.l_next_free_rec = cpu_to_le16(1);
1343 root_rb->rf_list.l_recs[0].e_blkno = cpu_to_le64(blkno);
1344 root_rb->rf_list.l_recs[0].e_leaf_clusters = cpu_to_le16(1);
1745 struct ocfs2_refcount_list *rf_list = &rb->rf_records;
1750 if (rf_list->rl_used == rf_list->rl_count) {
1771 rf_list = &rb->rf_records;
1781 if (index < le16_to_cpu(rf_list->rl_used))
1782 memmove(&rf_list->rl_recs[index + 1],
1783 &rf_list->rl_recs[index],
1784 (le16_to_cpu(rf_list->rl_used) - index) *
1792 rf_list->rl_recs[index] = *rec;
1794 le16_add_cpu(&rf_list->rl_used, 1);
1835 struct ocfs2_refcount_list *rf_list = &rb->rf_records;
1836 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index];
1875 if (le16_to_cpu(rf_list->rl_used) + recs_need >
1876 le16_to_cpu(rf_list->rl_count)) {
1901 rf_list = &rb->rf_records;
1902 orig_rec = &rf_list->rl_recs[index];
1917 if (index != le16_to_cpu(rf_list->rl_used) - 1)
1918 memmove(&rf_list->rl_recs[index + 1 + recs_need],
1919 &rf_list->rl_recs[index + 1],
1920 (le16_to_cpu(rf_list->rl_used) - index - 1) *
1933 tail_rec = &rf_list->rl_recs[index + recs_need];
1957 le16_add_cpu(&rf_list->rl_used, recs_need);
1960 rf_list->rl_recs[index] = *split_rec;
2131 if (!rb->rf_list.l_next_free_rec) {