/Linux-v5.10/fs/btrfs/ |
D | disk-io.c | 100 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash() 211 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 304 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 331 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_verify_level_key() local 398 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_read_extent_buffer_pages() local 450 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct page *page) in csum_dirty_buffer() 499 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local 533 struct btrfs_fs_info *fs_info; in btrfs_validate_metadata_buffer() local 642 struct btrfs_fs_info *fs_info; in end_workqueue_bio() local 748 blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_wq_submit_bio() [all …]
|
D | transaction.c | 156 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 217 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 232 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 363 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 423 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 442 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 474 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans() 493 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 506 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 522 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local [all …]
|
D | dev-replace.c | 69 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 238 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev() 336 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local 450 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 569 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 602 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked() 612 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked() 650 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() 675 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_finishing() 854 static u64 btrfs_dev_replace_progress(struct btrfs_fs_info *fs_info) in btrfs_dev_replace_progress() [all …]
|
D | ref-verify.h | 17 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() 23 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() 28 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() 32 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod() 38 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range() 43 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
|
D | space-info.c | 221 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 298 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space() 334 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit() 367 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets() 406 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument 415 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info() 438 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 468 static inline u64 calc_reclaim_items_nr(struct btrfs_fs_info *fs_info, in calc_reclaim_items_nr() 486 static void shrink_delalloc(struct btrfs_fs_info *fs_info, in shrink_delalloc() 570 static int may_commit_transaction(struct btrfs_fs_info *fs_info, in may_commit_transaction() [all …]
|
D | block-group.c | 25 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target() 54 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile() 96 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() 255 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local 279 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_inc_nocow_writers() 302 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_dec_nocow_writers() 323 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations() 430 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local 496 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local 631 struct btrfs_fs_info *fs_info; in caching_thread() local [all …]
|
D | delalloc-space.c | 117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local 132 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local 161 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota() 182 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() local 206 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local 228 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size() 267 static void calc_inode_reservations(struct btrfs_fs_info *fs_info, in calc_inode_reservations() 289 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local 376 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local 403 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
|
D | qgroup.c | 69 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() 77 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() 95 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() 105 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() 171 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb() 190 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb() 224 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb() 250 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() 263 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb() 288 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb() [all …]
|
D | block-rsv.c | 102 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() 180 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() 189 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv() 202 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() 274 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release() 325 int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, in btrfs_cond_migrate_bytes() 350 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv() 415 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv() 440 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_release_global_block_rsv() 458 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() local [all …]
|
D | sysfs.c | 92 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 104 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 151 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 167 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 234 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local 361 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local 372 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local 383 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local 394 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local 405 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local [all …]
|
D | volumes.c | 410 static struct btrfs_device *__alloc_device(struct btrfs_fs_info *fs_info) in __alloc_device() 1484 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local 1633 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 1694 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local 1730 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk() 1749 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid() 1913 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices() 1967 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local 1986 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices() 2000 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks() [all …]
|
D | reada.c | 80 struct btrfs_fs_info *fs_info; member 94 static void __readahead_hook(struct btrfs_fs_info *fs_info, in __readahead_hook() 200 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_readahead_hook() local 227 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_find_zone() local 299 static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info, in reada_find_extent() 488 static void reada_extent_put(struct btrfs_fs_info *fs_info, in reada_extent_put() 551 struct btrfs_fs_info *fs_info = rc->fs_info; in reada_add_block() local 647 static int reada_tree_block_flagged(struct btrfs_fs_info *fs_info, u64 bytenr, in reada_tree_block_flagged() 678 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_start_machine_dev() local 795 static void __reada_start_machine(struct btrfs_fs_info *fs_info) in __reada_start_machine() [all …]
|
D | ioctl.c | 199 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_setflags() local 381 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start() 387 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish() 505 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim() 582 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local 783 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local 957 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_mksubvol() local 1421 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_defrag_file() local 1631 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_resize() local 1904 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_getflags() local [all …]
|
D | ref-verify.c | 211 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 225 static void inline __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 260 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() 309 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 354 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 383 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 429 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 500 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 554 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_tree() local 618 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() [all …]
|
D | super.c | 127 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error() 217 void __cold btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_printk() 269 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local 294 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic() 1111 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid() 1248 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid() 1294 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1346 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1490 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local 1544 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local [all …]
|
D | relocation.c | 350 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root() 624 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local 656 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local 702 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local 733 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local 814 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local 874 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local 1030 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local 1174 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local 1421 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_reloc_tree() local [all …]
|
D | scrub.c | 157 struct btrfs_fs_info *fs_info; member 278 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() 288 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on() 294 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off() 304 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed() 423 static int lock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in lock_full_stripe() 470 static int unlock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in unlock_full_stripe() 576 struct btrfs_fs_info *fs_info, int is_dev_replace) in scrub_setup_ctx() 647 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local 731 struct btrfs_fs_info *fs_info; in scrub_print_warning() local [all …]
|
D | extent-tree.c | 64 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info, in btrfs_add_excluded_extent() 75 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_free_excluded_extents() local 96 static void add_pinned_bytes(struct btrfs_fs_info *fs_info, in add_pinned_bytes() 108 static void sub_pinned_bytes(struct btrfs_fs_info *fs_info, in sub_pinned_bytes() 121 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent() 149 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() 822 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local 1008 void setup_inline_extent_backref(struct btrfs_fs_info *fs_info, in setup_inline_extent_backref() 1300 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_discard_extent() 1388 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local [all …]
|
D | tree-checker.c | 53 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 78 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 137 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 200 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local 337 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local 478 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_dir_item() local 613 const struct btrfs_fs_info *fs_info = eb->fs_info; in block_group_err() local 707 const struct btrfs_fs_info *fs_info = leaf->fs_info; in chunk_err() local 755 struct btrfs_fs_info *fs_info = leaf->fs_info; in btrfs_check_chunk_valid() local 981 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_inode_item() local [all …]
|
D | ctree.h | 1055 struct btrfs_fs_info *fs_info; member 1308 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument 1311 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument 1318 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument 1407 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ argument 2527 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size() 2537 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size() 2799 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing() 2817 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep() 3133 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() [all …]
|
D | ctree.c | 154 struct btrfs_fs_info *fs_info = root->fs_info; in add_root_to_dirty_list() local 183 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_copy_root() local 277 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq() 290 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq() 303 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq() 361 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert() 400 static inline int tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log() 418 static inline int tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log() 553 __tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in __tree_mod_log_free_eb() 576 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root() local [all …]
|
D | inode.c | 277 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range_inline() local 424 struct btrfs_fs_info *fs_info = inode->root->fs_info; in inode_need_compress() local 477 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in compress_file_range() local 769 struct btrfs_fs_info *fs_info = inode->root->fs_info; in submit_compressed_extents() local 983 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range() local 1199 struct btrfs_fs_info *fs_info = btrfs_work_owner(work); in async_cow_submit() local 1243 struct btrfs_fs_info *fs_info = inode->root->fs_info; in cow_file_range_async() local 1352 static noinline int csum_exist_in_range(struct btrfs_fs_info *fs_info, in csum_exist_in_range() 1422 struct btrfs_fs_info *fs_info = inode->root->fs_info; in fallback_to_cow() local 1454 struct btrfs_fs_info *fs_info = inode->root->fs_info; in run_delalloc_nocow() local [all …]
|
/Linux-v5.10/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 20 struct btrfs_fs_info *fs_info, in __check_free_space_extents() 107 struct btrfs_fs_info *fs_info, in check_free_space_extents() 150 struct btrfs_fs_info *fs_info, in test_empty_block_group() 164 struct btrfs_fs_info *fs_info, in test_remove_all() 185 struct btrfs_fs_info *fs_info, in test_remove_beginning() 208 struct btrfs_fs_info *fs_info, in test_remove_end() 231 struct btrfs_fs_info *fs_info, in test_remove_middle() 255 struct btrfs_fs_info *fs_info, in test_merge_left() 292 struct btrfs_fs_info *fs_info, in test_merge_right() 330 struct btrfs_fs_info *fs_info, in test_merge_both() [all …]
|
D | extent-map-tests.c | 53 static int test_case_1(struct btrfs_fs_info *fs_info, in test_case_1() 143 static int test_case_2(struct btrfs_fs_info *fs_info, in test_case_2() 225 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 308 static int test_case_3(struct btrfs_fs_info *fs_info, in test_case_3() 324 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 430 static int test_case_4(struct btrfs_fs_info *fs_info, in test_case_4() 456 static int test_rmap_block(struct btrfs_fs_info *fs_info, in test_rmap_block() 553 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
|
D | btrfs-tests.c | 89 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device() 112 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local 144 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 204 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 243 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|