• Home
  • Raw
  • Download

Lines Matching refs:split_rec

3345 				 struct ocfs2_extent_rec *split_rec,  in ocfs2_merge_rec_right()  argument
3349 unsigned int split_clusters = le16_to_cpu(split_rec->e_leaf_clusters); in ocfs2_merge_rec_right()
3511 struct ocfs2_extent_rec *split_rec, in ocfs2_merge_rec_left() argument
3516 unsigned int split_clusters = le16_to_cpu(split_rec->e_leaf_clusters); in ocfs2_merge_rec_left()
3544 le32_to_cpu(split_rec->e_cpos)); in ocfs2_merge_rec_left()
3600 *left_rec = *split_rec; in ocfs2_merge_rec_left()
3658 struct ocfs2_extent_rec *split_rec, in ocfs2_try_to_merge_extent() argument
3713 ret = ocfs2_merge_rec_right(path, handle, et, split_rec, in ocfs2_try_to_merge_extent()
3782 split_rec, dealloc, in ocfs2_try_to_merge_extent()
3790 et, split_rec, in ocfs2_try_to_merge_extent()
3828 struct ocfs2_extent_rec *split_rec) in ocfs2_subtract_from_rec() argument
3833 le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3841 le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3844 -le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
3851 -le16_to_cpu(split_rec->e_leaf_clusters)); in ocfs2_subtract_from_rec()
4074 struct ocfs2_extent_rec *split_rec, in ocfs2_split_record() argument
4078 u32 cpos = le32_to_cpu(split_rec->e_cpos); in ocfs2_split_record()
4145 split, rec, split_rec); in ocfs2_split_record()
4146 ocfs2_rotate_leaf(insert_el, split_rec); in ocfs2_split_record()
4353 struct ocfs2_extent_rec *split_rec, in ocfs2_figure_merge_contig_type() argument
4410 if (split_rec->e_cpos == el->l_recs[index].e_cpos) in ocfs2_figure_merge_contig_type()
4413 ret = ocfs2_et_extent_contig(et, rec, split_rec); in ocfs2_figure_merge_contig_type()
4459 contig_type = ocfs2_et_extent_contig(et, rec, split_rec); in ocfs2_figure_merge_contig_type()
4884 struct ocfs2_extent_rec *split_rec, in ocfs2_make_right_split_rec() argument
4891 memset(split_rec, 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_make_right_split_rec()
4893 split_rec->e_cpos = cpu_to_le32(cpos); in ocfs2_make_right_split_rec()
4894 split_rec->e_leaf_clusters = cpu_to_le16(rec_range - cpos); in ocfs2_make_right_split_rec()
4896 split_rec->e_blkno = rec->e_blkno; in ocfs2_make_right_split_rec()
4897 le64_add_cpu(&split_rec->e_blkno, in ocfs2_make_right_split_rec()
4900 split_rec->e_flags = rec->e_flags; in ocfs2_make_right_split_rec()
4916 struct ocfs2_extent_rec split_rec = *orig_split_rec; in ocfs2_split_and_insert() local
4951 insert_range = le32_to_cpu(split_rec.e_cpos) + in ocfs2_split_and_insert()
4952 le16_to_cpu(split_rec.e_leaf_clusters); in ocfs2_split_and_insert()
4956 if (split_rec.e_cpos == rec.e_cpos) { in ocfs2_split_and_insert()
4970 split_rec = tmprec; in ocfs2_split_and_insert()
4976 ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert); in ocfs2_split_and_insert()
4987 split_rec = *orig_split_rec; in ocfs2_split_and_insert()
4991 cpos = le32_to_cpu(split_rec.e_cpos); in ocfs2_split_and_insert()
5020 struct ocfs2_extent_rec *split_rec) in ocfs2_replace_extent_rec() argument
5031 el->l_recs[split_index] = *split_rec; in ocfs2_replace_extent_rec()
5061 struct ocfs2_extent_rec *split_rec, in ocfs2_split_extent() argument
5071 if (le32_to_cpu(rec->e_cpos) > le32_to_cpu(split_rec->e_cpos) || in ocfs2_split_extent()
5073 (le32_to_cpu(split_rec->e_cpos) + le16_to_cpu(split_rec->e_leaf_clusters)))) { in ocfs2_split_extent()
5081 split_rec, in ocfs2_split_extent()
5103 if (rec->e_cpos == split_rec->e_cpos && in ocfs2_split_extent()
5104 rec->e_leaf_clusters == split_rec->e_leaf_clusters) in ocfs2_split_extent()
5118 split_index, split_rec); in ocfs2_split_extent()
5122 split_rec, meta_ac); in ocfs2_split_extent()
5127 split_index, split_rec, in ocfs2_split_extent()
5160 struct ocfs2_extent_rec split_rec; in ocfs2_change_extent_flag() local
5207 memset(&split_rec, 0, sizeof(struct ocfs2_extent_rec)); in ocfs2_change_extent_flag()
5208 split_rec.e_cpos = cpu_to_le32(cpos); in ocfs2_change_extent_flag()
5209 split_rec.e_leaf_clusters = cpu_to_le16(len); in ocfs2_change_extent_flag()
5210 split_rec.e_blkno = cpu_to_le64(start_blkno); in ocfs2_change_extent_flag()
5211 split_rec.e_flags = rec->e_flags; in ocfs2_change_extent_flag()
5213 split_rec.e_flags |= new_flags; in ocfs2_change_extent_flag()
5215 split_rec.e_flags &= ~clear_flags; in ocfs2_change_extent_flag()
5218 index, &split_rec, meta_ac, in ocfs2_change_extent_flag()
5282 struct ocfs2_extent_rec split_rec; in ocfs2_split_tree() local
5292 &split_rec, new_range, rec); in ocfs2_split_tree()
5333 ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert); in ocfs2_split_tree()