H A D | alloc.c | 69 void (*eo_set_last_eb_blk)(struct ocfs2_extent_tree *et, 71 u64 (*eo_get_last_eb_blk)(struct ocfs2_extent_tree *et); 79 void (*eo_update_clusters)(struct ocfs2_extent_tree *et, 86 void (*eo_extent_map_insert)(struct ocfs2_extent_tree *et, 93 void (*eo_extent_map_truncate)(struct ocfs2_extent_tree *et, 100 int (*eo_insert_check)(struct ocfs2_extent_tree *et, 102 int (*eo_sanity_check)(struct ocfs2_extent_tree *et); 111 * ->eo_fill_root_el() takes et->et_object and sets et->et_root_el. 114 void (*eo_fill_root_el)(struct ocfs2_extent_tree *et); 170 ocfs2_dinode_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 blkno) ocfs2_dinode_set_last_eb_blk() argument 179 ocfs2_dinode_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_dinode_get_last_eb_blk() argument 187 ocfs2_dinode_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_dinode_update_clusters() argument 199 ocfs2_dinode_extent_map_insert(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * rec) ocfs2_dinode_extent_map_insert() argument 207 ocfs2_dinode_extent_map_truncate(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_dinode_extent_map_truncate() argument 215 ocfs2_dinode_insert_check(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * rec) ocfs2_dinode_insert_check() argument 233 ocfs2_dinode_sanity_check(struct ocfs2_extent_tree * et) ocfs2_dinode_sanity_check() argument 243 ocfs2_dinode_fill_root_el(struct ocfs2_extent_tree * et) ocfs2_dinode_fill_root_el() argument 251 ocfs2_xattr_value_fill_root_el(struct ocfs2_extent_tree * et) ocfs2_xattr_value_fill_root_el() argument 258 ocfs2_xattr_value_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 blkno) ocfs2_xattr_value_set_last_eb_blk() argument 266 ocfs2_xattr_value_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_xattr_value_get_last_eb_blk() argument 273 ocfs2_xattr_value_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_xattr_value_update_clusters() argument 288 ocfs2_xattr_tree_fill_root_el(struct ocfs2_extent_tree * et) ocfs2_xattr_tree_fill_root_el() argument 295 ocfs2_xattr_tree_fill_max_leaf_clusters(struct ocfs2_extent_tree * et) ocfs2_xattr_tree_fill_max_leaf_clusters() argument 302 ocfs2_xattr_tree_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 blkno) ocfs2_xattr_tree_set_last_eb_blk() argument 311 ocfs2_xattr_tree_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_xattr_tree_get_last_eb_blk() argument 319 ocfs2_xattr_tree_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_xattr_tree_update_clusters() argument 335 ocfs2_dx_root_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 blkno) ocfs2_dx_root_set_last_eb_blk() argument 343 ocfs2_dx_root_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_dx_root_get_last_eb_blk() argument 350 ocfs2_dx_root_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_dx_root_update_clusters() argument 358 ocfs2_dx_root_sanity_check(struct ocfs2_extent_tree * et) ocfs2_dx_root_sanity_check() argument 367 ocfs2_dx_root_fill_root_el(struct ocfs2_extent_tree * et) ocfs2_dx_root_fill_root_el() argument 382 ocfs2_refcount_tree_fill_root_el(struct ocfs2_extent_tree * et) ocfs2_refcount_tree_fill_root_el() argument 389 ocfs2_refcount_tree_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 blkno) ocfs2_refcount_tree_set_last_eb_blk() argument 397 ocfs2_refcount_tree_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_refcount_tree_get_last_eb_blk() argument 404 ocfs2_refcount_tree_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_refcount_tree_update_clusters() argument 413 ocfs2_refcount_tree_extent_contig(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * ext,struct ocfs2_extent_rec * insert_rec) ocfs2_refcount_tree_extent_contig() argument 428 __ocfs2_init_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct buffer_head * bh,ocfs2_journal_access_func access,void * obj,const struct ocfs2_extent_tree_operations * ops) __ocfs2_init_extent_tree() argument 451 ocfs2_init_dinode_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct buffer_head * bh) ocfs2_init_dinode_extent_tree() argument 459 ocfs2_init_xattr_tree_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct buffer_head * bh) ocfs2_init_xattr_tree_extent_tree() argument 467 ocfs2_init_xattr_value_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct ocfs2_xattr_value_buf * vb) ocfs2_init_xattr_value_extent_tree() argument 475 ocfs2_init_dx_root_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct buffer_head * bh) ocfs2_init_dx_root_extent_tree() argument 483 ocfs2_init_refcount_extent_tree(struct ocfs2_extent_tree * et,struct ocfs2_caching_info * ci,struct buffer_head * bh) ocfs2_init_refcount_extent_tree() argument 491 ocfs2_et_set_last_eb_blk(struct ocfs2_extent_tree * et,u64 new_last_eb_blk) ocfs2_et_set_last_eb_blk() argument 497 ocfs2_et_get_last_eb_blk(struct ocfs2_extent_tree * et) ocfs2_et_get_last_eb_blk() argument 502 ocfs2_et_update_clusters(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_et_update_clusters() argument 508 ocfs2_et_extent_map_insert(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * rec) ocfs2_et_extent_map_insert() argument 515 ocfs2_et_extent_map_truncate(struct ocfs2_extent_tree * et,u32 clusters) ocfs2_et_extent_map_truncate() argument 523 ocfs2_et_root_journal_access(handle_t * handle,struct ocfs2_extent_tree * et,int type) ocfs2_et_root_journal_access() argument 531 ocfs2_et_extent_contig(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * rec,struct ocfs2_extent_rec * insert_rec) ocfs2_et_extent_contig() argument 543 ocfs2_et_insert_check(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * rec) ocfs2_et_insert_check() argument 553 ocfs2_et_sanity_check(struct ocfs2_extent_tree * et) ocfs2_et_sanity_check() argument 706 ocfs2_new_path_from_et(struct ocfs2_extent_tree * et) ocfs2_new_path_from_et() argument 948 ocfs2_num_free_extents(struct ocfs2_extent_tree * et) ocfs2_num_free_extents() argument 993 ocfs2_create_new_meta_bhs(handle_t * handle,struct ocfs2_extent_tree * et,int wanted,struct ocfs2_alloc_context * meta_ac,struct buffer_head * bhs[]) ocfs2_create_new_meta_bhs() argument 1099 ocfs2_adjust_rightmost_branch(handle_t * handle,struct ocfs2_extent_tree * et) ocfs2_adjust_rightmost_branch() argument 1152 ocfs2_add_branch(handle_t * handle,struct ocfs2_extent_tree * et,struct buffer_head * eb_bh,struct buffer_head ** last_eb_bh,struct ocfs2_alloc_context * meta_ac) ocfs2_add_branch() argument 1355 ocfs2_shift_tree_depth(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_alloc_context * meta_ac,struct buffer_head ** ret_new_eb_bh) ocfs2_shift_tree_depth() argument 1456 ocfs2_find_branch_target(struct ocfs2_extent_tree * et,struct buffer_head ** target_bh) ocfs2_find_branch_target() argument 1529 ocfs2_grow_tree(handle_t * handle,struct ocfs2_extent_tree * et,int * final_depth,struct buffer_head ** last_eb_bh,struct ocfs2_alloc_context * meta_ac) ocfs2_grow_tree() argument 1754 ocfs2_find_subtree_root(struct ocfs2_extent_tree * et,struct ocfs2_path * left,struct ocfs2_path * right) ocfs2_find_subtree_root() argument 2121 ocfs2_rotate_subtree_right(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path * right_path,int subtree_index) ocfs2_rotate_subtree_right() argument 2376 ocfs2_rotate_tree_right(handle_t * handle,struct ocfs2_extent_tree * et,enum ocfs2_split_type split,u32 insert_cpos,struct ocfs2_path * right_path,struct ocfs2_path ** ret_left_path) ocfs2_rotate_tree_right() argument 2537 ocfs2_update_edge_lengths(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path) ocfs2_update_edge_lengths() argument 2577 ocfs2_unlink_path(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_cached_dealloc_ctxt * dealloc,struct ocfs2_path * path,int unlink_start) ocfs2_unlink_path() argument 2622 ocfs2_unlink_subtree(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path * right_path,int subtree_index,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_unlink_subtree() argument 2655 ocfs2_rotate_subtree_left(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path * right_path,int subtree_index,struct ocfs2_cached_dealloc_ctxt * dealloc,int * deleted) ocfs2_rotate_subtree_left() argument 2888 ocfs2_rotate_rightmost_leaf_left(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path) ocfs2_rotate_rightmost_leaf_left() argument 2913 __ocfs2_rotate_tree_left(handle_t * handle,struct ocfs2_extent_tree * et,int orig_credits,struct ocfs2_path * path,struct ocfs2_cached_dealloc_ctxt * dealloc,struct ocfs2_path ** empty_extent_path) __ocfs2_rotate_tree_left() argument 3030 ocfs2_remove_rightmost_path(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_remove_rightmost_path() argument 3119 ocfs2_remove_rightmost_empty_extent(struct ocfs2_super * osb,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_remove_rightmost_empty_extent() argument 3159 ocfs2_rotate_tree_left(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_rotate_tree_left() argument 3301 ocfs2_get_right_path(struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path ** ret_right_path) ocfs2_get_right_path() argument 3357 ocfs2_merge_rec_right(struct ocfs2_path * left_path,handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * split_rec,int index) ocfs2_merge_rec_right() argument 3468 ocfs2_get_left_path(struct ocfs2_extent_tree * et,struct ocfs2_path * right_path,struct ocfs2_path ** ret_left_path) ocfs2_get_left_path() argument 3523 ocfs2_merge_rec_left(struct ocfs2_path * right_path,handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * split_rec,struct ocfs2_cached_dealloc_ctxt * dealloc,int index) ocfs2_merge_rec_left() argument 3668 ocfs2_try_to_merge_extent(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,int split_index,struct ocfs2_extent_rec * split_rec,struct ocfs2_cached_dealloc_ctxt * dealloc,struct ocfs2_merge_ctxt * ctxt) ocfs2_try_to_merge_extent() argument 3873 ocfs2_insert_at_leaf(struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * insert_rec,struct ocfs2_extent_list * el,struct ocfs2_insert_type * insert) ocfs2_insert_at_leaf() argument 3963 ocfs2_adjust_rightmost_records(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_extent_rec * insert_rec) ocfs2_adjust_rightmost_records() argument 4000 ocfs2_append_rec_to_path(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * insert_rec,struct ocfs2_path * right_path,struct ocfs2_path ** ret_left_path) ocfs2_append_rec_to_path() argument 4084 ocfs2_split_record(struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path * right_path,struct ocfs2_extent_rec * split_rec,enum ocfs2_split_type split) ocfs2_split_record() argument 4171 ocfs2_insert_path(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * left_path,struct ocfs2_path * right_path,struct ocfs2_extent_rec * insert_rec,struct ocfs2_insert_type * insert) ocfs2_insert_path() argument 4252 ocfs2_do_insert_extent(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_extent_rec * insert_rec,struct ocfs2_insert_type * type) ocfs2_do_insert_extent() argument 4363 ocfs2_figure_merge_contig_type(struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_extent_list * el,int index,struct ocfs2_extent_rec * split_rec,struct ocfs2_merge_ctxt * ctxt) ocfs2_figure_merge_contig_type() argument 4491 ocfs2_figure_contig_type(struct ocfs2_extent_tree * et,struct ocfs2_insert_type * insert,struct ocfs2_extent_list * el,struct ocfs2_extent_rec * insert_rec) ocfs2_figure_contig_type() argument 4584 ocfs2_figure_insert_type(struct ocfs2_extent_tree * et,struct buffer_head ** last_eb_bh,struct ocfs2_extent_rec * insert_rec,int * free_records,struct ocfs2_insert_type * insert) ocfs2_figure_insert_type() argument 4715 ocfs2_insert_extent(handle_t * handle,struct ocfs2_extent_tree * et,u32 cpos,u64 start_blk,u32 new_clusters,u8 flags,struct ocfs2_alloc_context * meta_ac) ocfs2_insert_extent() argument 4785 ocfs2_add_clusters_in_btree(handle_t * handle,struct ocfs2_extent_tree * et,u32 * logical_offset,u32 clusters_to_add,int mark_unwritten,struct ocfs2_alloc_context * data_ac,struct ocfs2_alloc_context * meta_ac,enum ocfs2_alloc_restarted * reason_ret) ocfs2_add_clusters_in_btree() argument 4917 ocfs2_split_and_insert(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct buffer_head ** last_eb_bh,int split_index,struct ocfs2_extent_rec * orig_split_rec,struct ocfs2_alloc_context * meta_ac) ocfs2_split_and_insert() argument 5029 ocfs2_replace_extent_rec(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,struct ocfs2_extent_list * el,int split_index,struct ocfs2_extent_rec * split_rec) ocfs2_replace_extent_rec() argument 5071 ocfs2_split_extent(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,int split_index,struct ocfs2_extent_rec * split_rec,struct ocfs2_alloc_context * meta_ac,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_split_extent() argument 5164 ocfs2_change_extent_flag(handle_t * handle,struct ocfs2_extent_tree * et,u32 cpos,u32 len,u32 phys,struct ocfs2_alloc_context * meta_ac,struct ocfs2_cached_dealloc_ctxt * dealloc,int new_flags,int clear_flags) ocfs2_change_extent_flag() argument 5252 ocfs2_mark_extent_written(struct inode * inode,struct ocfs2_extent_tree * et,handle_t * handle,u32 cpos,u32 len,u32 phys,struct ocfs2_alloc_context * meta_ac,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_mark_extent_written() argument 5286 ocfs2_split_tree(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,int index,u32 new_range,struct ocfs2_alloc_context * meta_ac) ocfs2_split_tree() argument 5356 ocfs2_truncate_rec(handle_t * handle,struct ocfs2_extent_tree * et,struct ocfs2_path * path,int index,struct ocfs2_cached_dealloc_ctxt * dealloc,u32 cpos,u32 len) ocfs2_truncate_rec() argument 5520 ocfs2_remove_extent(handle_t * handle,struct ocfs2_extent_tree * et,u32 cpos,u32 len,struct ocfs2_alloc_context * meta_ac,struct ocfs2_cached_dealloc_ctxt * dealloc) ocfs2_remove_extent() argument 5664 ocfs2_reserve_blocks_for_rec_trunc(struct inode * inode,struct ocfs2_extent_tree * et,u32 extents_to_split,struct ocfs2_alloc_context ** ac,int extra_blocks) ocfs2_reserve_blocks_for_rec_trunc() argument 5706 ocfs2_remove_btree_range(struct inode * inode,struct ocfs2_extent_tree * et,u32 cpos,u32 phys_cpos,u32 len,int flags,struct ocfs2_cached_dealloc_ctxt * dealloc,u64 refcount_loc,bool refcount_tree_locked) ocfs2_remove_btree_range() argument 6658 ocfs2_is_dealloc_empty(struct ocfs2_extent_tree * et) ocfs2_is_dealloc_empty() argument 6682 ocfs2_reuse_blk_from_dealloc(handle_t * handle,struct ocfs2_extent_tree * et,struct buffer_head ** new_eb_bh,int blk_wanted,int * blk_given) ocfs2_reuse_blk_from_dealloc() argument 7092 struct ocfs2_extent_tree et; ocfs2_convert_inline_data_to_extents() local 7244 struct ocfs2_extent_tree et; ocfs2_commit_truncate() local [all...] |