Lines Matching refs:split_rec

3360 				 struct ocfs2_extent_rec *split_rec,  in ocfs2_merge_rec_right()  argument
3364 unsigned int split_clusters = le16_to_cpu(split_rec->e_leaf_clusters); in ocfs2_merge_rec_right()
3526 struct ocfs2_extent_rec *split_rec, in ocfs2_merge_rec_left() argument
3531 unsigned int split_clusters = le16_to_cpu(split_rec->e_leaf_clusters); in ocfs2_merge_rec_left()
3559 le32_to_cpu(split_rec->e_cpos)); in ocfs2_merge_rec_left()
3615 *left_rec = *split_rec; in ocfs2_merge_rec_left()
3673 struct ocfs2_extent_rec *split_rec, in ocfs2_try_to_merge_extent() argument
3728 ret = ocfs2_merge_rec_right(path, handle, et, split_rec, in ocfs2_try_to_merge_extent()
3797 split_rec, dealloc, in ocfs2_try_to_merge_extent()
3805 et, split_rec, in ocfs2_try_to_merge_extent()
3843 struct ocfs2_extent_rec *split_rec) in ocfs2_subtract_from_rec() argument
3848 le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3856 le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3859 -le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3866 -le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
4089 struct ocfs2_extent_rec *split_rec, in ocfs2_split_record() argument
4093 u32 cpos = le32_to_cpu(split_rec->e_cpos); in ocfs2_split_record()
4160 split, rec, split_rec); in ocfs2_split_record()
4161 ocfs2_rotate_leaf(insert_el, split_rec); in ocfs2_split_record()
4368 struct ocfs2_extent_rec *split_rec, in ocfs2_figure_merge_contig_type() argument
4425 if (split_rec->e_cpos == el->l_recs[index].e_cpos) in ocfs2_figure_merge_contig_type()
4428 ret = ocfs2_et_extent_contig(et, rec, split_rec); in ocfs2_figure_merge_contig_type()
4474 contig_type = ocfs2_et_extent_contig(et, rec, split_rec); in ocfs2_figure_merge_contig_type()
4899 struct ocfs2_extent_rec *split_rec, in ocfs2_make_right_split_rec() argument
4906 memset(split_rec, 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_make_right_split_rec()
4908 split_rec->e_cpos = cpu_to_le32(cpos); in ocfs2_make_right_split_rec()
4909 split_rec->e_leaf_clusters = cpu_to_le16(rec_range - cpos); in ocfs2_make_right_split_rec()
4911 split_rec->e_blkno = rec->e_blkno; in ocfs2_make_right_split_rec()
4912 le64_add_cpu(&split_rec->e_blkno, in ocfs2_make_right_split_rec()
4915 split_rec->e_flags = rec->e_flags; in ocfs2_make_right_split_rec()
4931 struct ocfs2_extent_rec split_rec = *orig_split_rec; in ocfs2_split_and_insert() local
4966 insert_range = le32_to_cpu(split_rec.e_cpos) + in ocfs2_split_and_insert()
4967 le16_to_cpu(split_rec.e_leaf_clusters); in ocfs2_split_and_insert()
4971 if (split_rec.e_cpos == rec.e_cpos) { in ocfs2_split_and_insert()
4985 split_rec = tmprec; in ocfs2_split_and_insert()
4991 ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert); in ocfs2_split_and_insert()
5002 split_rec = *orig_split_rec; in ocfs2_split_and_insert()
5006 cpos = le32_to_cpu(split_rec.e_cpos); in ocfs2_split_and_insert()
5035 struct ocfs2_extent_rec *split_rec) in ocfs2_replace_extent_rec() argument
5046 el->l_recs[split_index] = *split_rec; in ocfs2_replace_extent_rec()
5076 struct ocfs2_extent_rec *split_rec, in ocfs2_split_extent() argument
5086 if (le32_to_cpu(rec->e_cpos) > le32_to_cpu(split_rec->e_cpos) || in ocfs2_split_extent()
5088 (le32_to_cpu(split_rec->e_cpos) + le16_to_cpu(split_rec->e_leaf_clusters)))) { in ocfs2_split_extent()
5096 split_rec, in ocfs2_split_extent()
5122 if (rec->e_cpos == split_rec->e_cpos && in ocfs2_split_extent()
5123 rec->e_leaf_clusters == split_rec->e_leaf_clusters) in ocfs2_split_extent()
5137 split_index, split_rec); in ocfs2_split_extent()
5141 split_rec, meta_ac); in ocfs2_split_extent()
5146 split_index, split_rec, in ocfs2_split_extent()
5179 struct ocfs2_extent_rec split_rec; in ocfs2_change_extent_flag() local
5226 memset(&split_rec, 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_change_extent_flag()
5227 split_rec.e_cpos = cpu_to_le32(cpos); in ocfs2_change_extent_flag()
5228 split_rec.e_leaf_clusters = cpu_to_le16(len); in ocfs2_change_extent_flag()
5229 split_rec.e_blkno = cpu_to_le64(start_blkno); in ocfs2_change_extent_flag()
5230 split_rec.e_flags = rec->e_flags; in ocfs2_change_extent_flag()
5232 split_rec.e_flags |= new_flags; in ocfs2_change_extent_flag()
5234 split_rec.e_flags &= ~clear_flags; in ocfs2_change_extent_flag()
5237 index, &split_rec, meta_ac, in ocfs2_change_extent_flag()
5301 struct ocfs2_extent_rec split_rec; in ocfs2_split_tree() local
5311 &split_rec, new_range, rec); in ocfs2_split_tree()
5352 ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert); in ocfs2_split_tree()