Lines Matching refs:insert_rec

52 				struct ocfs2_extent_rec *insert_rec);
131 struct ocfs2_extent_rec *insert_rec);
415 struct ocfs2_extent_rec *insert_rec) in ocfs2_refcount_tree_extent_contig() argument
533 struct ocfs2_extent_rec *insert_rec) in ocfs2_et_extent_contig() argument
536 return et->et_ops->eo_extent_contig(et, rec, insert_rec); in ocfs2_et_extent_contig()
540 rec, insert_rec); in ocfs2_et_extent_contig()
567 struct ocfs2_extent_rec *insert_rec);
820 struct ocfs2_extent_rec *insert_rec) in ocfs2_extent_rec_contig() argument
822 u64 blkno = le64_to_cpu(insert_rec->e_blkno); in ocfs2_extent_rec_contig()
829 if (ext->e_flags != insert_rec->e_flags) in ocfs2_extent_rec_contig()
832 if (ocfs2_extents_adjacent(ext, insert_rec) && in ocfs2_extent_rec_contig()
837 if (ocfs2_extents_adjacent(insert_rec, ext) && in ocfs2_extent_rec_contig()
838 ocfs2_block_extent_contig(sb, insert_rec, blkno)) in ocfs2_extent_rec_contig()
1616 struct ocfs2_extent_rec *insert_rec) in ocfs2_rotate_leaf() argument
1619 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1690 el->l_recs[insert_index] = *insert_rec; in ocfs2_rotate_leaf()
3866 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_at_leaf() argument
3877 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_insert_at_leaf()
3882 insert_rec); in ocfs2_insert_at_leaf()
3892 rec->e_blkno = insert_rec->e_blkno; in ocfs2_insert_at_leaf()
3893 rec->e_cpos = insert_rec->e_cpos; in ocfs2_insert_at_leaf()
3896 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3906 el->l_recs[0] = *insert_rec; in ocfs2_insert_at_leaf()
3919 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
3932 le32_to_cpu(insert_rec->e_cpos), in ocfs2_insert_at_leaf()
3933 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3935 el->l_recs[i] = *insert_rec; in ocfs2_insert_at_leaf()
3951 ocfs2_rotate_leaf(el, insert_rec); in ocfs2_insert_at_leaf()
3957 struct ocfs2_extent_rec *insert_rec) in ocfs2_adjust_rightmost_records() argument
3981 rec->e_int_clusters = insert_rec->e_cpos; in ocfs2_adjust_rightmost_records()
3983 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_adjust_rightmost_records()
3993 struct ocfs2_extent_rec *insert_rec, in ocfs2_append_rec_to_path() argument
4030 le32_to_cpu(insert_rec->e_cpos), in ocfs2_append_rec_to_path()
4065 ocfs2_adjust_rightmost_records(handle, et, right_path, insert_rec); in ocfs2_append_rec_to_path()
4166 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_path() argument
4209 insert_rec, insert->ins_split); in ocfs2_insert_path()
4220 ocfs2_insert_at_leaf(et, insert_rec, path_leaf_el(right_path), in ocfs2_insert_path()
4245 struct ocfs2_extent_rec *insert_rec, in ocfs2_do_insert_extent() argument
4264 ocfs2_insert_at_leaf(et, insert_rec, el, type); in ocfs2_do_insert_extent()
4280 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_do_insert_extent()
4307 le32_to_cpu(insert_rec->e_cpos), in ocfs2_do_insert_extent()
4326 ret = ocfs2_append_rec_to_path(handle, et, insert_rec, in ocfs2_do_insert_extent()
4335 insert_rec, type); in ocfs2_do_insert_extent()
4344 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_do_insert_extent()
4486 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_contig_type() argument
4495 insert_rec); in ocfs2_figure_contig_type()
4507 le16_to_cpu(insert_rec->e_leaf_clusters); in ocfs2_figure_contig_type()
4531 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_appending_type() argument
4534 u32 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_figure_appending_type()
4578 struct ocfs2_extent_rec *insert_rec, in ocfs2_figure_insert_type() argument
4623 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4624 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()
4641 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_figure_insert_type()
4657 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4688 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()