| /linux/fs/btrfs/ |
| H A D | disk-io.c | 65 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash() 76 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 160 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 185 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_repair_eb_io_failure() local 226 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_read_extent_buffer() local 270 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_csum_one_bio() local 342 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local 369 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_validate_extent_buffer() local 529 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in btree_dirty_folio() local 586 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block() [all …]
|
| H A D | transaction.c | 182 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 256 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 269 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 411 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 471 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 490 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 523 static void wait_current_trans(struct btrfs_fs_info *fs_info, unsigned int type) in wait_current_trans() 544 static bool may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 557 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 568 static int btrfs_reserve_trans_metadata(struct btrfs_fs_info *fs_info, in btrfs_reserve_trans_metadata() [all …]
|
| H A D | qgroup.c | 33 enum btrfs_qgroup_mode btrfs_qgroup_mode(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_mode() 42 bool btrfs_qgroup_enabled(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_enabled() 47 bool btrfs_qgroup_full_accounting(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_full_accounting() 82 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() 90 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() 108 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() 118 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() 177 static struct btrfs_qgroup *find_qgroup_rb(const struct btrfs_fs_info *fs_info, in find_qgroup_rb() 201 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb() 249 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() [all …]
|
| H A D | super.c | 71 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local 667 static void btrfs_clear_oneshot_options(struct btrfs_fs_info *fs_info) in btrfs_clear_oneshot_options() 674 static bool check_ro_option(const struct btrfs_fs_info *fs_info, in check_ro_option() 737 void btrfs_set_free_space_cache_settings(struct btrfs_fs_info *fs_info) in btrfs_set_free_space_cache_settings() 777 static void set_device_specific_options(struct btrfs_fs_info *fs_info) in set_device_specific_options() 800 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid() 918 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid() 960 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1013 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1202 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() 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 | space-info.c | 209 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size() 261 struct btrfs_fs_info *fs_info = parent->fs_info; in create_space_info_sub_group() local 327 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 407 static u64 calc_effective_data_chunk_size(struct btrfs_fs_info *fs_info) in calc_effective_data_chunk_size() 432 struct btrfs_fs_info *fs_info = space_info->fs_info; in calc_available_free_space() local 600 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument 625 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info) in dump_global_block_rsv() 636 const struct btrfs_fs_info *fs_info = info->fs_info; in __btrfs_dump_space_info() local 656 struct btrfs_fs_info *fs_info = info->fs_info; in btrfs_dump_space_info() local 694 static inline u64 calc_reclaim_items_nr(const struct btrfs_fs_info *fs_info, in calc_reclaim_items_nr() [all …]
|
| H A D | fs.c | 108 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start() 134 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock() 147 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock() 152 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish() 160 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance() 185 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat() 208 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat() 231 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_compat_ro() 254 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_compat_ro()
|
| H A D | scrub.c | 197 struct btrfs_fs_info *fs_info; member 355 static int init_scrub_stripe(struct btrfs_fs_info *fs_info, in init_scrub_stripe() 400 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() 410 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on() 416 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off() 426 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed() 452 struct btrfs_fs_info *fs_info, bool is_dev_replace) in scrub_setup_ctx() 507 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local 588 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local 688 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; in scrub_stripe_get_kaddr() local [all …]
|
| H A D | sysfs.c | 122 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 134 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 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 473 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local 484 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local 495 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local 506 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local 517 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local [all …]
|
| H A D | volumes.c | 1681 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent() local 1826 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 1874 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk() 1892 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid() 2035 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices() 2085 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local 2104 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices() 2118 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock() 2140 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device) in btrfs_scratch_superblocks() 2162 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device() [all …]
|
| H A D | tree-mod-log.c | 58 static u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq() 71 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq() 85 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq() 144 static noinline int tree_mod_log_insert(struct btrfs_fs_info *fs_info, in tree_mod_log_insert() 208 static bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, const struct extent_buffer *eb) in tree_mod_dont_log() 225 static bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log() 406 static int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb() 430 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local 510 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search() 557 static struct tree_mod_elem *tree_mod_log_search_oldest(struct btrfs_fs_info *fs_info, in tree_mod_log_search_oldest() [all …]
|
| H A D | ioctl.c | 221 static int check_fsflags_compatible(const struct btrfs_fs_info *fs_info, in check_fsflags_compatible() 261 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_fileattr_set() local 409 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim() 503 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_subvol() local 701 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_snapshot() local 899 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in btrfs_mksubvol() local 986 static int exclop_start_or_cancel_reloc(struct btrfs_fs_info *fs_info, in exclop_start_or_cancel_reloc() 1023 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_ioctl_resize() local 1294 struct btrfs_fs_info *fs_info = inode_to_fs_info(file_inode(file)); in btrfs_ioctl_snap_create_v2() local 1328 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_ioctl_subvol_getflags() local [all …]
|
| H A D | zoned.c | 294 static int calculate_emulated_zone_size(struct btrfs_fs_info *fs_info) in calculate_emulated_zone_size() 330 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices() 357 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local 674 static int btrfs_check_for_zoned_device(struct btrfs_fs_info *fs_info) in btrfs_check_for_zoned_device() 690 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode() 1229 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local 1298 static int btrfs_load_zone_info(struct btrfs_fs_info *fs_info, int zone_idx, in btrfs_load_zone_info() 1430 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_dup() local 1481 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid1() local 1532 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid0() 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 61 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info) in btrfs_extent_buffer_leak_debug_check() 243 static void process_one_folio(struct btrfs_fs_info *fs_info, in process_one_folio() 269 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in __process_folios_contig() local 306 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in lock_delalloc_folios() local 373 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in find_lock_delalloc_range() local 481 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in btrfs_verify_folio() local 492 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in end_folio_read() local 520 struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info; in end_bbio_data_write() local [all …]
|
| H A D | relocation.c | 305 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root() 480 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local 512 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local 555 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local 585 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local 700 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local 766 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local 859 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local 1012 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local 1333 struct btrfs_fs_info *fs_info = root->fs_info; in invalidate_extent_cache() local [all …]
|
| H A D | lzo.c | 68 static u32 workspace_buf_length(const struct btrfs_fs_info *fs_info) in workspace_buf_length() 72 static u32 workspace_cbuf_length(const struct btrfs_fs_info *fs_info) in workspace_cbuf_length() 87 struct list_head *lzo_alloc_workspace(struct btrfs_fs_info *fs_info) in lzo_alloc_workspace() 135 static int copy_compressed_data_to_page(struct btrfs_fs_info *fs_info, in copy_compressed_data_to_page() 221 struct btrfs_fs_info *fs_info = inode->root->fs_info; in lzo_compress_folios() local 321 struct btrfs_fs_info *fs_info = cb_to_fs_info(cb); in copy_compressed_segment() local 342 const struct btrfs_fs_info *fs_info = cb->bbio.inode->root->fs_info; in lzo_decompress_bio() local 454 struct btrfs_fs_info *fs_info = folio_to_fs_info(dest_folio); in lzo_decompress() local
|
| H A D | compression.c | 222 struct folio *btrfs_alloc_compr_folio(struct btrfs_fs_info *fs_info) in btrfs_alloc_compr_folio() 290 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in end_compressed_writeback() local 376 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_submit_compressed_write() local 414 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in add_ra_bio_pages() local 570 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_submit_compressed_read() local 705 static struct list_head *alloc_heuristic_ws(struct btrfs_fs_info *fs_info) in alloc_heuristic_ws() 742 static struct list_head *alloc_workspace(struct btrfs_fs_info *fs_info, int type, int level) in alloc_workspace() 774 static int alloc_workspace_manager(struct btrfs_fs_info *fs_info, in alloc_workspace_manager() 808 static void free_workspace_manager(struct btrfs_fs_info *fs_info, in free_workspace_manager() 834 struct list_head *btrfs_get_workspace(struct btrfs_fs_info *fs_info, int type, int level) in btrfs_get_workspace() [all …]
|
| H A D | tree-checker.c | 59 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 85 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 146 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 211 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local 368 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local 525 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_dir_item() local 662 const struct btrfs_fs_info *fs_info = eb->fs_info; in block_group_err() local 685 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_block_group_item() local 770 static void chunk_err(const struct btrfs_fs_info *fs_info, in chunk_err() 819 int btrfs_check_chunk_valid(const struct btrfs_fs_info *fs_info, in btrfs_check_chunk_valid() [all …]
|
| H A D | ref-verify.c | 196 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 210 static inline void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 245 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() 294 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 339 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 368 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 414 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 494 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 599 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() 613 static void dump_block_entry(struct btrfs_fs_info *fs_info, in dump_block_entry() [all …]
|
| H A D | extent_map.c | 82 struct btrfs_fs_info *fs_info = inode->root->fs_info; in remove_em() local 307 static void dump_extent_map(struct btrfs_fs_info *fs_info, const char *prefix, in dump_extent_map() 320 static void validate_extent_map(struct btrfs_fs_info *fs_info, struct extent_map *em) in validate_extent_map() 344 struct btrfs_fs_info *fs_info = inode->root->fs_info; in try_merge_map() local 414 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_unpin_extent_cache() local 493 struct btrfs_fs_info *fs_info = root->fs_info; in add_extent_mapping() local 599 struct btrfs_fs_info *fs_info = inode->root->fs_info; in replace_extent_mapping() local 701 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_add_extent_mapping() local 1124 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_scan_inode() local 1246 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_scan_root() local [all …]
|
| H A D | zstd.c | 182 int zstd_alloc_workspace_manager(struct btrfs_fs_info *fs_info) in zstd_alloc_workspace_manager() 211 void zstd_free_workspace_manager(struct btrfs_fs_info *fs_info) in zstd_free_workspace_manager() 246 static struct list_head *zstd_find_workspace(struct btrfs_fs_info *fs_info, int level) in zstd_find_workspace() 285 struct list_head *zstd_get_workspace(struct btrfs_fs_info *fs_info, int level) in zstd_get_workspace() 330 void zstd_put_workspace(struct btrfs_fs_info *fs_info, struct list_head *ws) in zstd_put_workspace() 371 struct list_head *zstd_alloc_workspace(struct btrfs_fs_info *fs_info, int level) in zstd_alloc_workspace() 403 struct btrfs_fs_info *fs_info = inode->root->fs_info; in zstd_compress_folios() local 590 struct btrfs_fs_info *fs_info = cb_to_fs_info(cb); in zstd_decompress_bio() local 681 struct btrfs_fs_info *fs_info = btrfs_sb(folio_inode(dest_folio)->i_sb); in zstd_decompress() local
|
| H A D | inode.c | 96 struct btrfs_fs_info *fs_info; member 132 struct btrfs_fs_info *fs_info = warn->fs_info; in data_reloc_print_warning_inode() local 220 struct btrfs_fs_info *fs_info = inode->root->fs_info; in print_data_reloc_error() local 572 struct btrfs_fs_info *fs_info = inode->root->fs_info; in can_cow_file_range_inline() local 634 struct btrfs_fs_info *fs_info = root->fs_info; in __cow_file_range_inline() local 811 struct btrfs_fs_info *fs_info = inode->root->fs_info; in inode_need_compress() local 884 struct btrfs_fs_info *fs_info = inode->root->fs_info; in compress_file_range() local 1128 struct btrfs_fs_info *fs_info = root->fs_info; in submit_one_async_extent() local 1307 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range() local 1596 struct btrfs_fs_info *fs_info = btrfs_work_owner(work); in submit_compressed_extents() local [all …]
|
| /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() 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() 291 struct btrfs_fs_info *fs_info, in test_merge_right() 328 struct btrfs_fs_info *fs_info, in test_merge_both() [all …]
|
| 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() 909 static int test_case_8(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_8() [all …]
|
| H A D | raid-stripe-tree-tests.c | 40 struct btrfs_fs_info *fs_info = trans->fs_info; in test_punch_hole_3extents() local 218 struct btrfs_fs_info *fs_info = trans->fs_info; in test_delete_two_extents() local 362 struct btrfs_fs_info *fs_info = trans->fs_info; in test_punch_hole() local 505 struct btrfs_fs_info *fs_info = trans->fs_info; in test_front_delete_prev_item() local 647 struct btrfs_fs_info *fs_info = trans->fs_info; in test_front_delete() local 756 struct btrfs_fs_info *fs_info = trans->fs_info; in test_tail_delete() local 878 struct btrfs_fs_info *fs_info = trans->fs_info; in test_create_update_delete() local 999 struct btrfs_fs_info *fs_info = trans->fs_info; in test_simple_create_delete() local 1087 struct btrfs_fs_info *fs_info; in run_test() local
|