/Linux-v4.19/fs/btrfs/ |
D | dev-replace.c | 32 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 180 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev() 278 struct btrfs_fs_info *fs_info) in btrfs_run_dev_replace() 385 void btrfs_after_dev_replace_commit(struct btrfs_fs_info *fs_info) in btrfs_after_dev_replace_commit() 401 int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 513 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 545 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked() 555 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked() 561 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_finishing() 705 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() [all …]
|
D | transaction.c | 112 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 168 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 298 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 358 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 377 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 409 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans() 428 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 441 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 457 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local 602 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_start_transaction_fallback_global_rsv() local [all …]
|
D | disk-io.c | 209 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btree_get_extent() local 265 static int csum_tree_block(struct btrfs_fs_info *fs_info, in csum_tree_block() 376 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 410 static int verify_level_key(struct btrfs_fs_info *fs_info, in verify_level_key() 468 static int btree_read_extent_buffer_pages(struct btrfs_fs_info *fs_info, in btree_read_extent_buffer_pages() 534 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct page *page) in csum_dirty_buffer() 560 static int check_tree_block_fsid(struct btrfs_fs_info *fs_info, in check_tree_block_fsid() 586 struct btrfs_fs_info *fs_info = root->fs_info; in btree_readpage_end_io_hook() local 688 struct btrfs_fs_info *fs_info; in end_workqueue_bio() local 787 blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_wq_submit_bio() [all …]
|
D | tree-checker.c | 46 static void generic_err(const struct btrfs_fs_info *fs_info, in generic_err() 71 static void file_extent_err(const struct btrfs_fs_info *fs_info, in file_extent_err() 97 #define CHECK_FE_ALIGNED(fs_info, leaf, slot, fi, name, alignment) \ argument 107 static int check_extent_data_item(struct btrfs_fs_info *fs_info, in check_extent_data_item() 191 static int check_csum_item(struct btrfs_fs_info *fs_info, in check_csum_item() 225 static void dir_item_err(const struct btrfs_fs_info *fs_info, in dir_item_err() 247 static int check_dir_item(struct btrfs_fs_info *fs_info, in check_dir_item() 359 static void block_group_err(const struct btrfs_fs_info *fs_info, in block_group_err() 381 static int check_block_group_item(struct btrfs_fs_info *fs_info, in check_block_group_item() 456 static int check_leaf_item(struct btrfs_fs_info *fs_info, in check_leaf_item() [all …]
|
D | qgroup.c | 68 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() 76 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() 94 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() 104 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() 170 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb() 189 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb() 247 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() 260 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb() 285 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb() 309 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts() [all …]
|
D | ref-verify.h | 18 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() 24 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() 29 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() 40 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range() 45 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
|
D | extent-tree.c | 209 static int add_excluded_extent(struct btrfs_fs_info *fs_info, in add_excluded_extent() 222 struct btrfs_fs_info *fs_info = cache->fs_info; in free_excluded_extents() local 236 struct btrfs_fs_info *fs_info = cache->fs_info; in exclude_super_stripes() local 317 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local 382 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local 519 struct btrfs_fs_info *fs_info; in caching_thread() local 571 struct btrfs_fs_info *fs_info = cache->fs_info; in cache_block_group() local 741 static void add_pinned_bytes(struct btrfs_fs_info *fs_info, s64 num_bytes, in add_pinned_bytes() 778 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent() 806 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() [all …]
|
D | volumes.c | 446 struct btrfs_fs_info *fs_info = device->fs_info; in run_scheduled_bios() local 1264 struct btrfs_fs_info *fs_info = device->fs_info; in contains_pending_extent() local 1340 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local 1510 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 1571 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local 1607 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk() 1626 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid() 1736 static int btrfs_rm_dev_item(struct btrfs_fs_info *fs_info, in btrfs_rm_dev_item() 1785 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices() 1839 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local [all …]
|
D | sysfs.c | 23 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 35 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 82 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 98 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 165 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local 261 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_size_show() local 270 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_reserved_show() local 388 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() local 403 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() local 439 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show() local [all …]
|
D | reada.c | 79 struct btrfs_fs_info *fs_info; member 93 static void __readahead_hook(struct btrfs_fs_info *fs_info, in __readahead_hook() 199 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_readahead_hook() local 226 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_find_zone() local 298 static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info, in reada_find_extent() 480 static void reada_extent_put(struct btrfs_fs_info *fs_info, in reada_extent_put() 543 struct btrfs_fs_info *fs_info = rc->fs_info; in reada_add_block() local 641 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_start_machine_dev() local 723 struct btrfs_fs_info *fs_info; in reada_start_machine_worker() local 740 static void __reada_start_machine(struct btrfs_fs_info *fs_info) in __reada_start_machine() [all …]
|
D | super.c | 99 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error() 187 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_printk() 239 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local 264 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic() 999 static char *get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in get_subvol_name_from_objectid() 1135 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid() 1181 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1237 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1373 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local 1427 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local [all …]
|
D | ref-verify.c | 218 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 236 static void inline __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 271 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() 318 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 363 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 392 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 438 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 509 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 562 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_tree() local 626 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() [all …]
|
D | ctree.c | 201 struct btrfs_fs_info *fs_info = root->fs_info; in add_root_to_dirty_list() local 230 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_copy_root() local 323 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq() 336 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq() 351 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq() 412 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert() 449 static inline int tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log() 467 static inline int tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log() 602 __tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in __tree_mod_log_free_eb() 625 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root() local [all …]
|
D | scrub.c | 154 struct btrfs_fs_info *fs_info; member 275 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() 285 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on() 291 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off() 301 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed() 419 static int lock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in lock_full_stripe() 466 static int unlock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in unlock_full_stripe() 576 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_setup_ctx() local 644 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local 729 struct btrfs_fs_info *fs_info; in scrub_print_warning() local [all …]
|
D | ioctl.c | 186 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_setflags() local 488 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_fitrim() local 551 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local 745 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local 940 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_mksubvol() local 1372 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_defrag_file() local 1578 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_resize() local 1864 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_getflags() local 1887 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_setflags() local 2349 struct btrfs_fs_info *fs_info = BTRFS_I(inode)->root->fs_info; in btrfs_search_path_in_tree_user() local [all …]
|
D | relocation.c | 323 struct btrfs_fs_info *fs_info = NULL; in backref_tree_panic() local 574 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info, in read_fs_root() 1247 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local 1279 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local 1310 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local 1341 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local 1418 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local 1456 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local 1607 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local 1743 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local [all …]
|
D | ctree.h | 547 struct btrfs_fs_info *fs_info; member 568 struct btrfs_fs_info *fs_info; member 1174 struct btrfs_fs_info *fs_info; member 1372 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument 1375 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument 1382 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument 1393 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local 1469 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ argument 2368 static inline unsigned int leaf_data_end(const struct btrfs_fs_info *fs_info, in leaf_data_end() 2594 static inline u64 btrfs_calc_trans_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_trans_metadata_size() [all …]
|
D | inode.c | 269 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range_inline() local 393 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in inode_need_compress() local 443 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in compress_file_range() local 710 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in submit_compressed_extents() local 941 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in cow_file_range() local 1145 struct btrfs_fs_info *fs_info; in async_cow_submit() local 1180 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in cow_file_range_async() local 1224 static noinline int csum_exist_in_range(struct btrfs_fs_info *fs_info, in csum_exist_in_range() 1258 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in run_delalloc_nocow() local 1709 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_add_delalloc_inodes() local [all …]
|
D | file.c | 83 struct btrfs_fs_info *fs_info = inode->root->fs_info; in __btrfs_add_inode_defrag() local 117 static inline int __need_auto_defrag(struct btrfs_fs_info *fs_info) in __need_auto_defrag() 136 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_inode_defrag() local 185 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_requeue_inode_defrag() local 210 btrfs_pick_defrag_inode(struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() 250 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_cleanup_defrag_inodes() 271 static int __btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info, in __btrfs_run_defrag_inode() 348 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_run_defrag_inodes() 518 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_dirty_pages() local 746 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_drop_extents() local [all …]
|
D | file-item.c | 24 #define MAX_ORDERED_SUM_BYTES(fs_info) ((PAGE_SIZE - \ argument 80 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csum() local 153 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in __btrfs_lookup_bio_sums() local 305 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csums_range() local 425 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_csum_one_bio() local 529 static noinline void truncate_one_csum(struct btrfs_fs_info *fs_info, in truncate_one_csum() 580 struct btrfs_fs_info *fs_info, u64 bytenr, u64 len) in btrfs_del_csums() 725 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_csum_file_blocks() local 925 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_extent_item_to_extent_map() local
|
D | backref.c | 223 static void prelim_ref_insert(const struct btrfs_fs_info *fs_info, in prelim_ref_insert() 332 static int add_prelim_ref(const struct btrfs_fs_info *fs_info, in add_prelim_ref() 386 static int add_direct_ref(const struct btrfs_fs_info *fs_info, in add_direct_ref() 396 static int add_indirect_ref(const struct btrfs_fs_info *fs_info, in add_indirect_ref() 501 static int resolve_indirect_ref(struct btrfs_fs_info *fs_info, in resolve_indirect_ref() 607 static int resolve_indirect_refs(struct btrfs_fs_info *fs_info, in resolve_indirect_refs() 712 static int add_missing_keys(struct btrfs_fs_info *fs_info, in add_missing_keys() 755 static int add_delayed_refs(const struct btrfs_fs_info *fs_info, in add_delayed_refs() 872 static int add_inline_refs(const struct btrfs_fs_info *fs_info, in add_inline_refs() 994 static int add_keyed_refs(struct btrfs_fs_info *fs_info, in add_keyed_refs() [all …]
|
D | delayed-inode.c | 545 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delayed_item_reserve_metadata() local 577 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delayed_item_release_metadata() local 600 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delayed_inode_reserve_metadata() local 660 static void btrfs_delayed_inode_release_metadata(struct btrfs_fs_info *fs_info, in btrfs_delayed_inode_release_metadata() 691 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_batch_insert_items() local 1007 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_update_delayed_inode() local 1130 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_run_delayed_items() local 1225 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_commit_inode_delayed_inode() local 1358 struct btrfs_fs_info *fs_info, int nr) in btrfs_wq_run_delayed_node() 1375 void btrfs_assert_delayed_root_empty(struct btrfs_fs_info *fs_info) in btrfs_assert_delayed_root_empty() [all …]
|
/Linux-v4.19/fs/btrfs/tests/ |
D | extent-map-tests.c | 50 static void test_case_1(struct btrfs_fs_info *fs_info, in test_case_1() 116 static void test_case_2(struct btrfs_fs_info *fs_info, in test_case_2() 174 static void __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 241 static void test_case_3(struct btrfs_fs_info *fs_info, in test_case_3() 249 static void __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 332 static void test_case_4(struct btrfs_fs_info *fs_info, in test_case_4() 341 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
|
D | free-space-tree-tests.c | 19 struct btrfs_fs_info *fs_info, in __check_free_space_extents() 108 struct btrfs_fs_info *fs_info, in check_free_space_extents() 151 struct btrfs_fs_info *fs_info, in test_empty_block_group() 165 struct btrfs_fs_info *fs_info, in test_remove_all() 186 struct btrfs_fs_info *fs_info, in test_remove_beginning() 210 struct btrfs_fs_info *fs_info, in test_remove_end() 234 struct btrfs_fs_info *fs_info, in test_remove_middle() 259 struct btrfs_fs_info *fs_info, in test_merge_left() 297 struct btrfs_fs_info *fs_info, in test_merge_right() 336 struct btrfs_fs_info *fs_info, in test_merge_both() [all …]
|
D | btrfs-tests.c | 71 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local 128 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 183 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 223 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|