• Home
  • Raw
  • Download

Lines Matching refs:eb

570 					 struct ocfs2_extent_block *eb);
673 struct ocfs2_extent_block *eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_path_insert_eb() local
684 path->p_node[index].el = &eb->h_list; in ocfs2_path_insert_eb()
887 struct ocfs2_extent_block *eb = in ocfs2_validate_extent_block() local
899 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &eb->h_check); in ocfs2_validate_extent_block()
910 if (!OCFS2_IS_VALID_EXTENT_BLOCK(eb)) { in ocfs2_validate_extent_block()
914 eb->h_signature); in ocfs2_validate_extent_block()
918 if (le64_to_cpu(eb->h_blkno) != bh->b_blocknr) { in ocfs2_validate_extent_block()
922 (unsigned long long)le64_to_cpu(eb->h_blkno)); in ocfs2_validate_extent_block()
926 if (le32_to_cpu(eb->h_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_extent_block()
930 le32_to_cpu(eb->h_fs_generation)); in ocfs2_validate_extent_block()
962 struct ocfs2_extent_block *eb; in ocfs2_num_free_extents() local
976 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_num_free_extents()
977 el = &eb->h_list; in ocfs2_num_free_extents()
1007 struct ocfs2_extent_block *eb; in ocfs2_create_new_meta_bhs() local
1041 eb = (struct ocfs2_extent_block *) bhs[i]->b_data; in ocfs2_create_new_meta_bhs()
1043 strcpy(eb->h_signature, OCFS2_EXTENT_BLOCK_SIGNATURE); in ocfs2_create_new_meta_bhs()
1044 eb->h_blkno = cpu_to_le64(first_blkno); in ocfs2_create_new_meta_bhs()
1045 eb->h_fs_generation = cpu_to_le32(osb->fs_generation); in ocfs2_create_new_meta_bhs()
1046 eb->h_suballoc_slot = in ocfs2_create_new_meta_bhs()
1048 eb->h_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_new_meta_bhs()
1049 eb->h_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_new_meta_bhs()
1050 eb->h_list.l_count = in ocfs2_create_new_meta_bhs()
1165 struct ocfs2_extent_block *eb; in ocfs2_add_branch() local
1173 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_add_branch()
1174 el = &eb->h_list; in ocfs2_add_branch()
1183 eb = (struct ocfs2_extent_block *)(*last_eb_bh)->b_data; in ocfs2_add_branch()
1184 new_cpos = ocfs2_sum_rightmost_rec(&eb->h_list); in ocfs2_add_branch()
1233 eb = (struct ocfs2_extent_block *) bh->b_data; in ocfs2_add_branch()
1235 BUG_ON(!OCFS2_IS_VALID_EXTENT_BLOCK(eb)); in ocfs2_add_branch()
1236 eb_el = &eb->h_list; in ocfs2_add_branch()
1245 eb->h_next_leaf_blk = 0; in ocfs2_add_branch()
1261 new_last_eb_blk = le64_to_cpu(eb->h_blkno); in ocfs2_add_branch()
1264 next_blkno = le64_to_cpu(eb->h_blkno); in ocfs2_add_branch()
1306 eb = (struct ocfs2_extent_block *) (*last_eb_bh)->b_data; in ocfs2_add_branch()
1307 eb->h_next_leaf_blk = cpu_to_le64(new_last_eb_blk); in ocfs2_add_branch()
1346 struct ocfs2_extent_block *eb; in ocfs2_shift_tree_depth() local
1357 eb = (struct ocfs2_extent_block *) new_eb_bh->b_data; in ocfs2_shift_tree_depth()
1359 BUG_ON(!OCFS2_IS_VALID_EXTENT_BLOCK(eb)); in ocfs2_shift_tree_depth()
1361 eb_el = &eb->h_list; in ocfs2_shift_tree_depth()
1391 root_el->l_recs[0].e_blkno = eb->h_blkno; in ocfs2_shift_tree_depth()
1400 ocfs2_et_set_last_eb_blk(et, le64_to_cpu(eb->h_blkno)); in ocfs2_shift_tree_depth()
1435 struct ocfs2_extent_block *eb; in ocfs2_find_branch_target() local
1471 eb = (struct ocfs2_extent_block *) bh->b_data; in ocfs2_find_branch_target()
1472 el = &eb->h_list; in ocfs2_find_branch_target()
1778 struct ocfs2_extent_block *eb; in __ocfs2_find_path() local
1826 eb = (struct ocfs2_extent_block *) bh->b_data; in __ocfs2_find_path()
1827 el = &eb->h_list; in __ocfs2_find_path()
1890 struct ocfs2_extent_block *eb =(struct ocfs2_extent_block *)bh->b_data; in find_leaf_ins() local
1891 struct ocfs2_extent_list *el = &eb->h_list; in find_leaf_ins()
2516 struct ocfs2_extent_block *eb; in ocfs2_update_edge_lengths() local
2541 eb = (struct ocfs2_extent_block *)path_leaf_bh(path)->b_data; in ocfs2_update_edge_lengths()
2542 BUG_ON(eb->h_next_leaf_blk != 0ULL); in ocfs2_update_edge_lengths()
2544 el = &eb->h_list; in ocfs2_update_edge_lengths()
2570 struct ocfs2_extent_block *eb; in ocfs2_unlink_path() local
2577 eb = (struct ocfs2_extent_block *)bh->b_data; in ocfs2_unlink_path()
2582 el = &eb->h_list; in ocfs2_unlink_path()
2588 (unsigned long long)le64_to_cpu(eb->h_blkno), in ocfs2_unlink_path()
2601 ret = ocfs2_cache_extent_block_free(dealloc, eb); in ocfs2_unlink_path()
2620 struct ocfs2_extent_block *eb; in ocfs2_unlink_subtree() local
2624 eb = (struct ocfs2_extent_block *)right_path->p_node[subtree_index + 1].bh->b_data; in ocfs2_unlink_subtree()
2627 if (root_el->l_recs[i].e_blkno == eb->h_blkno) in ocfs2_unlink_subtree()
2635 eb = (struct ocfs2_extent_block *)path_leaf_bh(left_path)->b_data; in ocfs2_unlink_subtree()
2636 eb->h_next_leaf_blk = 0; in ocfs2_unlink_subtree()
2656 struct ocfs2_extent_block *eb; in ocfs2_rotate_subtree_left() local
2668 eb = (struct ocfs2_extent_block *)path_leaf_bh(right_path)->b_data; in ocfs2_rotate_subtree_left()
2683 if (eb->h_next_leaf_blk != 0ULL) in ocfs2_rotate_subtree_left()
2700 if (eb->h_next_leaf_blk == 0ULL && in ocfs2_rotate_subtree_left()
2756 if (eb->h_next_leaf_blk == 0ULL) { in ocfs2_rotate_subtree_left()
2779 eb = (struct ocfs2_extent_block *)path_leaf_bh(left_path)->b_data; in ocfs2_rotate_subtree_left()
2780 ocfs2_et_set_last_eb_blk(et, le64_to_cpu(eb->h_blkno)); in ocfs2_rotate_subtree_left()
3029 struct ocfs2_extent_block *eb; in ocfs2_remove_rightmost_path() local
3096 eb = (struct ocfs2_extent_block *)path_leaf_bh(left_path)->b_data; in ocfs2_remove_rightmost_path()
3097 ocfs2_et_set_last_eb_blk(et, le64_to_cpu(eb->h_blkno)); in ocfs2_remove_rightmost_path()
3170 struct ocfs2_extent_block *eb; in ocfs2_rotate_tree_left() local
3202 eb = (struct ocfs2_extent_block *)path_leaf_bh(path)->b_data; in ocfs2_rotate_tree_left()
3203 el = &eb->h_list; in ocfs2_rotate_tree_left()
3204 if (eb->h_next_leaf_blk == 0) { in ocfs2_rotate_tree_left()
3218 (unsigned long long)le64_to_cpu(eb->h_blkno)); in ocfs2_rotate_tree_left()
4341 struct ocfs2_extent_block *eb; in ocfs2_figure_merge_contig_type() local
4369 eb = (struct ocfs2_extent_block *)bh->b_data; in ocfs2_figure_merge_contig_type()
4372 (unsigned long long)le64_to_cpu(eb->h_blkno), in ocfs2_figure_merge_contig_type()
4424 eb = (struct ocfs2_extent_block *)bh->b_data; in ocfs2_figure_merge_contig_type()
4427 (unsigned long long)le64_to_cpu(eb->h_blkno), in ocfs2_figure_merge_contig_type()
4558 struct ocfs2_extent_block *eb; in ocfs2_figure_insert_type() local
4582 eb = (struct ocfs2_extent_block *) bh->b_data; in ocfs2_figure_insert_type()
4583 el = &eb->h_list; in ocfs2_figure_insert_type()
4898 struct ocfs2_extent_block *eb; in ocfs2_split_and_insert() local
4912 eb = (struct ocfs2_extent_block *) (*last_eb_bh)->b_data; in ocfs2_split_and_insert()
4913 rightmost_el = &eb->h_list; in ocfs2_split_and_insert()
5075 struct ocfs2_extent_block *eb; in ocfs2_split_extent() local
5085 eb = (struct ocfs2_extent_block *) last_eb_bh->b_data; in ocfs2_split_extent()
5086 rightmost_el = &eb->h_list; in ocfs2_split_extent()
5267 struct ocfs2_extent_block *eb; in ocfs2_split_tree() local
5291 eb = (struct ocfs2_extent_block *) last_eb_bh->b_data; in ocfs2_split_tree()
5292 rightmost_el = &eb->h_list; in ocfs2_split_tree()
5342 struct ocfs2_extent_block *eb; in ocfs2_truncate_rec() local
5362 eb = (struct ocfs2_extent_block *)path_leaf_bh(path)->b_data; in ocfs2_truncate_rec()
5363 if (eb->h_next_leaf_blk == 0) in ocfs2_truncate_rec()
6595 struct ocfs2_extent_block *eb) in ocfs2_cache_extent_block_free() argument
6598 le16_to_cpu(eb->h_suballoc_slot), in ocfs2_cache_extent_block_free()
6599 le64_to_cpu(eb->h_suballoc_loc), in ocfs2_cache_extent_block_free()
6600 le64_to_cpu(eb->h_blkno), in ocfs2_cache_extent_block_free()
6601 le16_to_cpu(eb->h_suballoc_bit)); in ocfs2_cache_extent_block_free()