Lines Matching refs:rf_list

1082 	el = &rb->rf_list;  in ocfs2_get_refcount_rec()
1339 memset(&root_rb->rf_list, 0, sb->s_blocksize - in ocfs2_expand_inline_ref_root()
1340 offsetof(struct ocfs2_refcount_block, rf_list)); in ocfs2_expand_inline_ref_root()
1341 root_rb->rf_list.l_count = cpu_to_le16(ocfs2_extent_recs_per_rb(sb)); in ocfs2_expand_inline_ref_root()
1343 root_rb->rf_list.l_next_free_rec = cpu_to_le16(1); in ocfs2_expand_inline_ref_root()
1344 root_rb->rf_list.l_recs[0].e_blkno = cpu_to_le64(blkno); in ocfs2_expand_inline_ref_root()
1345 root_rb->rf_list.l_recs[0].e_leaf_clusters = cpu_to_le16(1); in ocfs2_expand_inline_ref_root()
1739 struct ocfs2_refcount_list *rf_list = &rb->rf_records; in ocfs2_insert_refcount_rec() local
1744 if (rf_list->rl_used == rf_list->rl_count) { in ocfs2_insert_refcount_rec()
1765 rf_list = &rb->rf_records; in ocfs2_insert_refcount_rec()
1775 if (index < le16_to_cpu(rf_list->rl_used)) in ocfs2_insert_refcount_rec()
1776 memmove(&rf_list->rl_recs[index + 1], in ocfs2_insert_refcount_rec()
1777 &rf_list->rl_recs[index], in ocfs2_insert_refcount_rec()
1778 (le16_to_cpu(rf_list->rl_used) - index) * in ocfs2_insert_refcount_rec()
1786 rf_list->rl_recs[index] = *rec; in ocfs2_insert_refcount_rec()
1788 le16_add_cpu(&rf_list->rl_used, 1); in ocfs2_insert_refcount_rec()
1829 struct ocfs2_refcount_list *rf_list = &rb->rf_records; in ocfs2_split_refcount_rec() local
1830 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index]; in ocfs2_split_refcount_rec()
1869 if (le16_to_cpu(rf_list->rl_used) + recs_need > in ocfs2_split_refcount_rec()
1870 le16_to_cpu(rf_list->rl_count)) { in ocfs2_split_refcount_rec()
1895 rf_list = &rb->rf_records; in ocfs2_split_refcount_rec()
1896 orig_rec = &rf_list->rl_recs[index]; in ocfs2_split_refcount_rec()
1911 if (index != le16_to_cpu(rf_list->rl_used) - 1) in ocfs2_split_refcount_rec()
1912 memmove(&rf_list->rl_recs[index + 1 + recs_need], in ocfs2_split_refcount_rec()
1913 &rf_list->rl_recs[index + 1], in ocfs2_split_refcount_rec()
1914 (le16_to_cpu(rf_list->rl_used) - index - 1) * in ocfs2_split_refcount_rec()
1927 tail_rec = &rf_list->rl_recs[index + recs_need]; in ocfs2_split_refcount_rec()
1951 le16_add_cpu(&rf_list->rl_used, recs_need); in ocfs2_split_refcount_rec()
1954 rf_list->rl_recs[index] = *split_rec; in ocfs2_split_refcount_rec()
2125 if (!rb->rf_list.l_next_free_rec) { in ocfs2_remove_refcount_extent()