| /linux-6.15/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 | 75 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 184 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_repair_eb_io_failure() local 217 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_read_extent_buffer() local 262 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_csum_one_bio() local 334 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local 505 struct btrfs_fs_info *fs_info; in btree_writepages() local 606 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block() 962 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree() 1479 struct btrfs_fs_info *fs_info = arg; in cleaner_kthread() local 2963 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_rescan_kthread() local [all …]
|
| H A D | transaction.c | 181 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 254 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 409 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 469 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 488 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 554 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 599 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local 1023 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_metadata() local 1294 struct btrfs_fs_info *fs_info = root->fs_info; in update_cowonly_root() local 1442 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dead_root() local [all …]
|
| H A D | subpage.c | 66 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage() 181 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, in btrfs_subpage_assert() 200 #define subpage_calc_start_bit(fs_info, folio, name, start, len) \ argument 282 void btrfs_folio_end_lock(const struct btrfs_fs_info *fs_info, in btrfs_folio_end_lock() 346 #define subpage_test_bitmap_all_set(fs_info, folio, name) \ argument 357 #define subpage_test_bitmap_all_zero(fs_info, folio, name) \ argument 397 void btrfs_subpage_set_dirty(const struct btrfs_fs_info *fs_info, in btrfs_subpage_set_dirty() 438 void btrfs_subpage_clear_dirty(const struct btrfs_fs_info *fs_info, in btrfs_subpage_clear_dirty() 663 #define GET_SUBPAGE_BITMAP(fs_info, folio, name, dst) \ argument 675 #define SUBPAGE_DUMP_BITMAP(fs_info, folio, name, start, len) \ argument [all …]
|
| H A D | dev-replace.c | 70 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 340 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local 440 static int mark_block_group_to_copy(struct btrfs_fs_info *fs_info, in mark_block_group_to_copy() 538 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_finish_block_group_to_copy() local 586 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 732 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 812 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() 1057 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_status() 1077 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info) in btrfs_dev_replace_cancel() 1190 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info) in btrfs_resume_dev_replace_async() [all …]
|
| H A D | block-group.c | 28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local 275 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local 844 struct btrfs_fs_info *fs_info; in caching_thread() local 917 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group() local 1033 struct btrfs_fs_info *fs_info = trans->fs_info; in remove_block_group_item() local 1056 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_block_group() local 1471 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_link_bg_list() local 1749 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_unused() local 1809 struct btrfs_fs_info *fs_info = in btrfs_reclaim_bgs_work() local 2035 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_mark_bg_to_reclaim() local [all …]
|
| H A D | space-info.c | 275 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 448 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit() 518 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument 570 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 758 static void flush_space(struct btrfs_fs_info *fs_info, in flush_space() 1093 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_metadata_space() local 1186 struct btrfs_fs_info *fs_info; in btrfs_preempt_reclaim_metadata_space() local 1323 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_data_space() local 1966 struct btrfs_fs_info *fs_info = space_info->fs_info; in calc_dynamic_reclaim_threshold() local 1999 struct btrfs_fs_info *fs_info = space_info->fs_info; in is_reclaim_urgent() local [all …]
|
| H A D | block-rsv.c | 104 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() 181 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() 203 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() 212 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_add() 243 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_refill() 272 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release() 323 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv() 403 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_root_block_rsv() local 427 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv() 462 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() local [all …]
|
| H A D | qgroup.c | 863 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_info_item() local 905 struct btrfs_fs_info *fs_info = trans->fs_info; in update_qgroup_status_item() local 1549 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_qgroup_relation() local 1609 struct btrfs_fs_info *fs_info = trans->fs_info; in __del_qgroup_relation() local 1664 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_del_qgroup_relation() local 1676 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_qgroup() local 1772 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_qgroup() local 1908 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_limit_qgroup() local 3587 struct btrfs_fs_info *fs_info = root->fs_info; in qgroup_reserve() local 4467 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_qgroup_reserve_meta() local [all …]
|
| H A D | ref-verify.h | 26 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() 32 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() 37 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() 41 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod() 47 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range() 52 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
|
| H A D | fs.c | 60 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start() 86 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock() 99 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock() 104 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish() 112 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance() 137 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() 160 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() 183 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_compat_ro() 206 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_compat_ro()
|
| H A D | super.c | 71 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local 955 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1006 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1193 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local 1492 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_reconfigure() local 1827 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fc_test_super() local 2007 struct btrfs_fs_info *fs_info = NULL; in btrfs_get_tree_subvol() local 2102 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_kill_super() local 2271 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_freeze() local 2285 struct btrfs_fs_info *fs_info = dev->fs_info; in check_dev_super() local [all …]
|
| H A D | delalloc-space.c | 117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local 133 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local 171 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota() 192 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() local 218 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local 240 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size() 284 struct btrfs_fs_info *fs_info = inode->root->fs_info; in calc_inode_reservations() local 309 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local 398 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local 427 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 1069 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() local 1084 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() local 1120 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show() local 1130 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_sectorsize_show() local 1140 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_show() local 1157 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_store() local 1182 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 481 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local 871 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_stripe_report_errors() local 1012 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_stripe_read_repair_worker() local 1156 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_submit_write_bio() local 1461 struct btrfs_fs_info *fs_info = sctx->fs_info; in sync_write_pointer_for_zoned() local 1532 struct btrfs_fs_info *fs_info = bg->fs_info; in scrub_find_fill_first_stripe() local 1749 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_submit_initial_read() local 1837 struct btrfs_fs_info *fs_info = sctx->fs_info; in flush_scrub_stripes() local 1954 struct btrfs_fs_info *fs_info = sctx->fs_info; in scrub_raid56_parity_stripe() local [all …]
|
| H A D | delayed-ref.c | 31 bool btrfs_check_space_for_delayed_refs(struct btrfs_fs_info *fs_info) in btrfs_check_space_for_delayed_refs() 90 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_update_delayed_refs_rsv() local 210 int btrfs_delayed_refs_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_delayed_refs_rsv_refill() 387 static bool merge_ref(struct btrfs_fs_info *fs_info, in merge_ref() 434 void btrfs_merge_delayed_refs(struct btrfs_fs_info *fs_info, in btrfs_merge_delayed_refs() 479 const struct btrfs_fs_info *fs_info, in btrfs_select_ref_head() 536 void btrfs_delete_ref_head(const struct btrfs_fs_info *fs_info, in btrfs_delete_ref_head() 643 struct btrfs_fs_info *fs_info = trans->fs_info; in update_existing_head_ref() local 816 struct btrfs_fs_info *fs_info = trans->fs_info; in add_delayed_ref_head() local 994 struct btrfs_fs_info *fs_info = trans->fs_info; in add_delayed_ref() local [all …]
|
| H A D | tree-mod-log.c | 47 static 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() 190 static bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log() 369 static int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb() 393 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local 543 struct btrfs_fs_info *fs_info = dst->fs_info; in btrfs_tree_mod_log_eb_copy() local 790 static void tree_mod_log_rewind(struct btrfs_fs_info *fs_info, in tree_mod_log_rewind() 972 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_get_old_root() local [all …]
|
| H A D | zoned.h | 102 static inline int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices() 125 static inline int btrfs_check_zoned_mode(const struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode() 201 static inline int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, in btrfs_check_meta_write_pointer() 236 static inline void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio() 244 static inline void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info) { } in btrfs_free_zone_cache() 246 static inline bool btrfs_zoned_should_reclaim(const struct btrfs_fs_info *fs_info) in btrfs_zoned_should_reclaim() 254 static inline int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info) in btrfs_zone_finish_one_bg() 259 static inline int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_activate_one_bg() 366 static inline void btrfs_zoned_meta_io_lock(struct btrfs_fs_info *fs_info) in btrfs_zoned_meta_io_lock() 373 static inline void btrfs_zoned_meta_io_unlock(struct btrfs_fs_info *fs_info) in btrfs_zoned_meta_io_unlock() [all …]
|
| H A D | volumes.c | 1674 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent() local 1818 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 2494 struct btrfs_fs_info *fs_info, u64 devid, in btrfs_find_device_by_devspec() 2619 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_finish_sprout() local 3022 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_free_chunk() local 3239 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_remove_chunk() local 3968 struct btrfs_fs_info *fs_info = leaf->fs_info; in should_balance_chunk() local 4444 int btrfs_balance(struct btrfs_fs_info *fs_info, in btrfs_balance() 4636 struct btrfs_fs_info *fs_info = data; in balance_kthread() local 6984 struct btrfs_fs_info *fs_info = leaf->fs_info; in read_one_chunk() local [all …]
|
| H A D | ioctl.c | 261 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_fileattr_set() local 503 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_subvol() local 704 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_snapshot() local 903 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in btrfs_mksubvol() local 1035 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_ioctl_resize() local 1342 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_ioctl_subvol_getflags() local 2068 struct btrfs_fs_info *fs_info; in btrfs_ioctl_get_subvol_info() local 2283 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in btrfs_ioctl_snap_destroy() local 3515 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_ioctl_balance() local 4430 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_ioctl_encoded_read() local [all …]
|
| H A D | zoned.c | 351 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local 1209 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local 1408 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_dup() local 1451 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid1() local 1499 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid0() local 1531 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid10() local 1563 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_load_block_group_zone_info() local 1745 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_use_zone_append() local 2059 struct btrfs_fs_info *fs_info = tgt_dev->fs_info; in btrfs_sync_zone_write_pointer() local 2340 struct btrfs_fs_info *fs_info = fs_devices->fs_info; in btrfs_can_activate_zone() local [all …]
|
| H A D | extent_io.c | 43 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb() local 53 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb() local 453 struct btrfs_fs_info *fs_info = bbio->fs_info; in end_bbio_data_write() local 512 struct btrfs_fs_info *fs_info = bbio->fs_info; in end_bbio_data_read() local 827 struct btrfs_fs_info *fs_info = eb->fs_info; in attach_extent_buffer_folio() local 864 struct btrfs_fs_info *fs_info; in set_folio_extent_mapped() local 882 struct btrfs_fs_info *fs_info; in clear_folio_extent_mapped() local 1798 struct btrfs_fs_info *fs_info = eb->fs_info; in lock_extent_buffer_for_io() local 1833 struct btrfs_fs_info *fs_info = eb->fs_info; in set_btree_ioerr() local 1974 struct btrfs_fs_info *fs_info = eb->fs_info; in write_one_eb() local [all …]
|
| /linux-6.15/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 62 static int test_case_1(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_1() 163 static int test_case_2(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_2() 254 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 348 static int test_case_3(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_3() 363 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 482 static int test_case_4(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_4() 620 static int test_case_5(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_5() 707 static int test_case_6(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_6() 767 static int test_case_7(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_7() 1012 static int test_rmap_block(struct btrfs_fs_info *fs_info, in test_rmap_block() [all …]
|
| 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 | 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 158 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 218 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 256 void btrfs_init_dummy_transaction(struct btrfs_transaction *trans, struct btrfs_fs_info *fs_info) in btrfs_init_dummy_transaction() 266 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|