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()
1609 struct ocfs2_extent_rec *insert_rec) in ocfs2_rotate_leaf() argument
1612 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1683 el->l_recs[insert_index] = *insert_rec; in ocfs2_rotate_leaf()
3859 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_at_leaf() argument
3870 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_insert_at_leaf()
3875 insert_rec); in ocfs2_insert_at_leaf()
3885 rec->e_blkno = insert_rec->e_blkno; in ocfs2_insert_at_leaf()
3886 rec->e_cpos = insert_rec->e_cpos; in ocfs2_insert_at_leaf()
3889 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3899 el->l_recs[0] = *insert_rec; in ocfs2_insert_at_leaf()
3912 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
3925 le32_to_cpu(insert_rec->e_cpos), in ocfs2_insert_at_leaf()
3926 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_insert_at_leaf()
3928 el->l_recs[i] = *insert_rec; in ocfs2_insert_at_leaf()
3944 ocfs2_rotate_leaf(el, insert_rec); in ocfs2_insert_at_leaf()
3950 struct ocfs2_extent_rec *insert_rec) in ocfs2_adjust_rightmost_records() argument
3974 rec->e_int_clusters = insert_rec->e_cpos; in ocfs2_adjust_rightmost_records()
3976 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_adjust_rightmost_records()
3986 struct ocfs2_extent_rec *insert_rec, in ocfs2_append_rec_to_path() argument
4023 le32_to_cpu(insert_rec->e_cpos), in ocfs2_append_rec_to_path()
4058 ocfs2_adjust_rightmost_records(handle, et, right_path, insert_rec); in ocfs2_append_rec_to_path()
4159 struct ocfs2_extent_rec *insert_rec, in ocfs2_insert_path() argument
4202 insert_rec, insert->ins_split); in ocfs2_insert_path()
4213 ocfs2_insert_at_leaf(et, insert_rec, path_leaf_el(right_path), in ocfs2_insert_path()
4238 struct ocfs2_extent_rec *insert_rec, in ocfs2_do_insert_extent() argument
4257 ocfs2_insert_at_leaf(et, insert_rec, el, type); in ocfs2_do_insert_extent()
4273 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_do_insert_extent()
4300 le32_to_cpu(insert_rec->e_cpos), in ocfs2_do_insert_extent()
4319 ret = ocfs2_append_rec_to_path(handle, et, insert_rec, in ocfs2_do_insert_extent()
4328 insert_rec, type); in ocfs2_do_insert_extent()
4337 le16_to_cpu(insert_rec->e_leaf_clusters)); in ocfs2_do_insert_extent()
4479 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_contig_type() argument
4488 insert_rec); in ocfs2_figure_contig_type()
4500 le16_to_cpu(insert_rec->e_leaf_clusters); in ocfs2_figure_contig_type()
4524 struct ocfs2_extent_rec *insert_rec) in ocfs2_figure_appending_type() argument
4527 u32 cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_figure_appending_type()
4571 struct ocfs2_extent_rec *insert_rec, in ocfs2_figure_insert_type() argument
4616 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4617 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()
4634 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); in ocfs2_figure_insert_type()
4650 ocfs2_figure_contig_type(et, insert, el, insert_rec); in ocfs2_figure_insert_type()
4681 ocfs2_figure_appending_type(insert, el, insert_rec); in ocfs2_figure_insert_type()