/openbmc/linux/fs/btrfs/ |
H A D | messages.h | 26 #define btrfs_printk(fs_info, fmt, args...) \ argument 35 #define btrfs_printk(fs_info, fmt, args...) \ argument 39 #define btrfs_emerg(fs_info, fmt, args...) \ argument 41 #define btrfs_alert(fs_info, fmt, args...) \ argument 43 #define btrfs_crit(fs_info, fmt, args...) \ argument 45 #define btrfs_err(fs_info, fmt, args...) \ argument 47 #define btrfs_warn(fs_info, fmt, args...) \ argument 49 #define btrfs_notice(fs_info, fmt, args...) \ argument 51 #define btrfs_info(fs_info, fmt, args...) \ argument 122 #define btrfs_debug(fs_info, fmt, args...) \ argument [all …]
|
H A D | disk-io.c | 77 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 169 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_repair_eb_io_failure() local 201 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_read_extent_buffer() local 476 struct btrfs_fs_info *fs_info; in btree_writepages() local 579 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block() 908 struct btrfs_fs_info *fs_info) in alloc_log_tree() 952 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree() 1461 struct btrfs_fs_info *fs_info = arg; in cleaner_kthread() local 2841 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_rescan_kthread() local 4807 struct btrfs_fs_info *fs_info) in btrfs_cleanup_dirty_bgs() [all …]
|
H A D | subpage.c | 118 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage() 142 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_detach_subpage() 194 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_inc_eb_refs() 209 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_dec_eb_refs() 241 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_reader() 252 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_reader() 294 void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_writer() 367 #define subpage_calc_start_bit(fs_info, page, name, start, len) \ argument 377 #define subpage_test_bitmap_all_set(fs_info, subpage, name) \ argument 382 #define subpage_test_bitmap_all_zero(fs_info, subpage, name) \ argument [all …]
|
H A D | transaction.c | 179 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 252 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 406 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 466 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 485 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 551 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 567 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local 987 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_metadata() local 1249 struct btrfs_fs_info *fs_info = root->fs_info; in update_cowonly_root() local 1397 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dead_root() local [all …]
|
H A D | space-info.c | 262 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 380 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit() 413 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets() 452 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument 504 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 575 static void shrink_delalloc(struct btrfs_fs_info *fs_info, in shrink_delalloc() 706 static void flush_space(struct btrfs_fs_info *fs_info, in flush_space() 1046 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_metadata_space() local 1134 struct btrfs_fs_info *fs_info; in btrfs_preempt_reclaim_metadata_space() local 1266 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_data_space() local [all …]
|
H A D | dev-replace.c | 73 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 347 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local 453 static int mark_block_group_to_copy(struct btrfs_fs_info *fs_info, in mark_block_group_to_copy() 551 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_finish_block_group_to_copy() local 601 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 746 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 826 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() 1050 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_status() 1070 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info) in btrfs_dev_replace_cancel() 1183 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info) in btrfs_resume_dev_replace_async() [all …]
|
H A D | block-rsv.c | 105 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() 184 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() 206 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() 215 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_add() 245 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_refill() 273 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release() 324 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv() 401 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_root_block_rsv() local 424 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv() 459 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() local [all …]
|
H A 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()
|
H A D | block-group.c | 28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local 277 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local 847 struct btrfs_fs_info *fs_info; in caching_thread() local 920 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group() local 1029 struct btrfs_fs_info *fs_info = trans->fs_info; in remove_block_group_item() local 1052 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_block_group() local 1423 struct btrfs_fs_info *fs_info = bg->fs_info; in clean_pinned_extents() local 1725 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_unused() local 1788 struct btrfs_fs_info *fs_info = in btrfs_reclaim_bgs_work() local 1979 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_to_reclaim() local [all …]
|
H A D | qgroup.c | 822 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_info_item() local 867 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_status_item() local 1484 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_qgroup_relation() local 1550 struct btrfs_fs_info *fs_info = trans->fs_info; in __del_qgroup_relation() local 1615 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_qgroup_relation() local 1627 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_qgroup() local 1673 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_qgroup() local 1733 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_limit_qgroup() local 1898 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_qgroup_trace_extent() local 3156 struct btrfs_fs_info *fs_info = root->fs_info; in qgroup_reserve() local [all …]
|
H A D | delalloc-space.c | 119 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local 135 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local 173 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota() 194 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() local 220 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local 242 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size() 286 struct btrfs_fs_info *fs_info = inode->root->fs_info; in calc_inode_reservations() local 311 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local 399 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local 428 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
|
H A D | sysfs.c | 180 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 196 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 263 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local 972 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() local 987 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() local 1023 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show() local 1033 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_sectorsize_show() local 1043 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_show() local 1060 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_store() local 1085 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_clone_alignment_show() local [all …]
|
H A D | scrub.c | 188 struct btrfs_fs_info *fs_info; member 482 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local 872 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_stripe_report_errors() local 1013 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_stripe_read_repair_worker() local 1157 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_submit_write_bio() local 1458 struct btrfs_fs_info *fs_info = sctx->fs_info; in sync_write_pointer_for_zoned() local 1529 struct btrfs_fs_info *fs_info = bg->fs_info; in scrub_find_fill_first_stripe() local 1651 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_submit_initial_read() local 1736 struct btrfs_fs_info *fs_info = sctx->fs_info; in flush_scrub_stripes() local 1850 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_raid56_parity_stripe() local [all …]
|
H A D | tree-mod-log.c | 47 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq() 60 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq() 74 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq() 133 static noinline int tree_mod_log_insert(struct btrfs_fs_info *fs_info, in tree_mod_log_insert() 173 static inline bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log() 370 static inline int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb() 394 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local 544 struct btrfs_fs_info *fs_info = dst->fs_info; in btrfs_tree_mod_log_eb_copy() local 791 static void tree_mod_log_rewind(struct btrfs_fs_info *fs_info, in tree_mod_log_rewind() 974 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_get_old_root() local [all …]
|
H A D | zoned.h | 94 static inline int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices() 117 static inline int btrfs_check_zoned_mode(const struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode() 195 static inline int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, in btrfs_check_meta_write_pointer() 230 static inline void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio() 238 static inline void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info) { } in btrfs_free_zone_cache() 240 static inline bool btrfs_zoned_should_reclaim(struct btrfs_fs_info *fs_info) in btrfs_zoned_should_reclaim() 248 static inline int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info) in btrfs_zone_finish_one_bg() 253 static inline int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_activate_one_bg() 354 static inline void btrfs_zoned_meta_io_lock(struct btrfs_fs_info *fs_info) in btrfs_zoned_meta_io_lock() 361 static inline void btrfs_zoned_meta_io_unlock(struct btrfs_fs_info *fs_info) in btrfs_zoned_meta_io_unlock() [all …]
|
H A D | ioctl.c | 250 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_fileattr_set() local 398 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start() 442 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish() 450 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance() 585 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local 785 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local 982 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_mksubvol() local 1117 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_resize() local 1425 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_getflags() local 2153 struct btrfs_fs_info *fs_info; in btrfs_ioctl_get_subvol_info() local [all …]
|
H A D | volumes.c | 1596 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent() local 1740 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 2422 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec() 2547 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local 2957 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local 3098 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local 3794 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local 4462 struct btrfs_fs_info *fs_info = data; in balance_kthread() local 4660 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local 6762 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local [all …]
|
H A D | fs.c | 8 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() 31 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() 54 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_compat_ro() 77 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_compat_ro()
|
H A D | zoned.c | 362 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local 1217 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local 1445 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_load_block_group_zone_info() local 1629 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_use_zone_append() local 1712 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_finish_ordered_zoned() local 1769 struct btrfs_fs_info *fs_info = block_group->fs_info; in check_bg_is_active() local 1941 struct btrfs_fs_info *fs_info = tgt_dev->fs_info; in btrfs_sync_zone_write_pointer() local 1975 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_zone_activate() local 2051 struct btrfs_fs_info *fs_info = block_group->fs_info; in wait_eb_writebacks() local 2210 struct btrfs_fs_info *fs_info = fs_devices->fs_info; in btrfs_can_activate_zone() local [all …]
|
H A D | file-item.c | 51 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_safe_disk_i_size_write() local 209 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csum() local 282 static int search_csum_tree(struct btrfs_fs_info *fs_info, in search_csum_tree() 347 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_lookup_bio_sums() local 461 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csums_list() local 604 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csums_bitmap() local 736 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_csum_one_bio() local 819 struct btrfs_fs_info *fs_info = trans->fs_info; in truncate_one_csum() local 867 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_csums() local 1043 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_csum_file_blocks() local [all …]
|
H A D | relocation.c | 569 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local 602 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local 646 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local 677 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local 780 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local 847 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local 1001 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local 1148 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local 1456 struct btrfs_fs_info *fs_info = root->fs_info; in invalidate_extent_cache() local 1794 struct btrfs_fs_info *fs_info = root->fs_info; in prepare_to_merge() local [all …]
|
H A D | super.c | 82 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local 1138 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1193 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1349 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local 1403 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local 1450 struct btrfs_fs_info *fs_info = NULL; in btrfs_mount_root() local 1690 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_remount() local 2146 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_kill_super() local 2238 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_freeze() local 2260 struct btrfs_fs_info *fs_info = dev->fs_info; in check_dev_super() local [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tree-tests.c | 21 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() 209 struct btrfs_fs_info *fs_info, in test_remove_end() 256 struct btrfs_fs_info *fs_info, in test_merge_left() 293 struct btrfs_fs_info *fs_info, in test_merge_right() 331 struct btrfs_fs_info *fs_info, in test_merge_both() 374 struct btrfs_fs_info *fs_info, in test_merge_none() [all …]
|
H A D | extent-map-tests.c | 56 static int test_case_1(struct btrfs_fs_info *fs_info, in test_case_1() 146 static int test_case_2(struct btrfs_fs_info *fs_info, in test_case_2() 228 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 311 static int test_case_3(struct btrfs_fs_info *fs_info, in test_case_3() 327 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 433 static int test_case_4(struct btrfs_fs_info *fs_info, in test_case_4() 663 static int test_case_6(struct btrfs_fs_info *fs_info, struct extent_map_tree *em_tree) in test_case_6() 864 static int test_rmap_block(struct btrfs_fs_info *fs_info, in test_rmap_block() 960 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
|
H A D | btrfs-tests.c | 97 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device() 120 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local 153 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 214 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 253 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|