Lines Matching refs:insert_rec
54 struct ocfs2_extent_rec *insert_rec);
133 struct ocfs2_extent_rec *insert_rec);
417 struct ocfs2_extent_rec *insert_rec) in ocfs2_refcount_tree_extent_contig() argument
535 struct ocfs2_extent_rec *insert_rec) in ocfs2_et_extent_contig() argument
538 return et->et_ops->eo_extent_contig(et, rec, insert_rec); in ocfs2_et_extent_contig()
542 rec, insert_rec); in ocfs2_et_extent_contig()
569 struct ocfs2_extent_rec *insert_rec);
822 struct ocfs2_extent_rec *insert_rec) in ocfs2_extent_rec_contig() argument
824 u64 blkno = le64_to_cpu(insert_rec->e_blkno); in ocfs2_extent_rec_contig()
831 if (ext->e_flags != insert_rec->e_flags) in ocfs2_extent_rec_contig()
834 if (ocfs2_extents_adjacent(ext, insert_rec) && in ocfs2_extent_rec_contig()
839 if (ocfs2_extents_adjacent(insert_rec, ext) && in ocfs2_extent_rec_contig()
840 ocfs2_block_extent_contig(sb, insert_rec, blkno)) in ocfs2_extent_rec_contig()
1612 struct ocfs2_extent_rec *insert_rec) in ocfs2_rotate_leaf() argument
1615 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1686 el->l_recs[insert_index] = *insert_rec; in ocfs2_rotate_leaf()
3862 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_at_leaf() argument
3873 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_insert_at_leaf()
3878 insert_rec); in ocfs2_insert_at_leaf()
3888 rec->e_blkno = insert_rec->e_blkno; in ocfs2_insert_at_leaf()
3889 rec->e_cpos = insert_rec->e_cpos; in ocfs2_insert_at_leaf()
3892 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3902 el->l_recs[0] = *insert_rec; in ocfs2_insert_at_leaf()
3915 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
3928 le32_to_cpu(insert_rec->e_cpos), in ocfs2_insert_at_leaf()
3929 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3931 el->l_recs[i] = *insert_rec; in ocfs2_insert_at_leaf()
3947 ocfs2_rotate_leaf(el, insert_rec); in ocfs2_insert_at_leaf()
3953 struct ocfs2_extent_rec *insert_rec) in ocfs2_adjust_rightmost_records() argument
3977 rec->e_int_clusters = insert_rec->e_cpos; in ocfs2_adjust_rightmost_records()
3979 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_adjust_rightmost_records()
3989 struct ocfs2_extent_rec *insert_rec, in ocfs2_append_rec_to_path() argument
4026 le32_to_cpu(insert_rec->e_cpos), in ocfs2_append_rec_to_path()
4061 ocfs2_adjust_rightmost_records(handle, et, right_path, insert_rec); in ocfs2_append_rec_to_path()
4162 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_path() argument
4205 insert_rec, insert->ins_split); in ocfs2_insert_path()
4216 ocfs2_insert_at_leaf(et, insert_rec, path_leaf_el(right_path), in ocfs2_insert_path()
4241 struct ocfs2_extent_rec *insert_rec, in ocfs2_do_insert_extent() argument
4260 ocfs2_insert_at_leaf(et, insert_rec, el, type); in ocfs2_do_insert_extent()
4276 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_do_insert_extent()
4303 le32_to_cpu(insert_rec->e_cpos), in ocfs2_do_insert_extent()
4322 ret = ocfs2_append_rec_to_path(handle, et, insert_rec, in ocfs2_do_insert_extent()
4331 insert_rec, type); in ocfs2_do_insert_extent()
4340 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_do_insert_extent()
4482 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_contig_type() argument
4491 insert_rec); in ocfs2_figure_contig_type()
4503 le16_to_cpu(insert_rec->e_leaf_clusters); in ocfs2_figure_contig_type()
4527 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_appending_type() argument
4530 u32 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_figure_appending_type()
4574 struct ocfs2_extent_rec *insert_rec, in ocfs2_figure_insert_type() argument
4619 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4620 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()
4637 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_figure_insert_type()
4653 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4684 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()