/Linux-v5.4/fs/btrfs/ |
D | dev-replace.c | 33 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() 280 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local 394 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 516 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 549 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked() 559 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked() 565 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_finishing() 723 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() 753 static u64 btrfs_dev_replace_progress(struct btrfs_fs_info *fs_info) in btrfs_dev_replace_progress() [all …]
|
D | transaction.c | 82 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 142 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 157 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 284 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local 344 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local 363 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local 395 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans() 414 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 427 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local 443 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local [all …]
|
D | disk-io.c | 208 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btree_get_extent() local 257 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 365 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 394 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_verify_level_key() local 461 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_read_extent_buffer_pages() local 513 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct page *page) in csum_dirty_buffer() 560 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local 597 struct btrfs_fs_info *fs_info = root->fs_info; in btree_readpage_end_io_hook() local 707 struct btrfs_fs_info *fs_info; in end_workqueue_bio() local 822 blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_wq_submit_bio() [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 | 77 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 163 static int can_overcommit(struct btrfs_fs_info *fs_info, in can_overcommit() 213 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets() 252 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument 261 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info() 284 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 315 static void btrfs_writeback_inodes_sb_nr(struct btrfs_fs_info *fs_info, in btrfs_writeback_inodes_sb_nr() 337 static inline u64 calc_reclaim_items_nr(struct btrfs_fs_info *fs_info, in calc_reclaim_items_nr() 355 static void shrink_delalloc(struct btrfs_fs_info *fs_info, u64 to_reclaim, in shrink_delalloc() 459 static int may_commit_transaction(struct btrfs_fs_info *fs_info, in may_commit_transaction() [all …]
|
D | block-group.c | 24 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target() 53 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile() 98 static u64 get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in get_alloc_profile() 118 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() 253 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local 278 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_inc_nocow_writers() 301 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_dec_nocow_writers() 322 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations() 429 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local 495 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local [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 | block-rsv.c | 9 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() 87 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() 96 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv() 109 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() 181 u64 __btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in __btrfs_block_rsv_release() 232 int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, in btrfs_cond_migrate_bytes() 257 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv() 320 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv() 345 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_release_global_block_rsv() 362 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() local [all …]
|
D | delalloc-space.c | 15 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local 141 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_check_data_free_space() local 173 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_free_reserved_data_space_noquota() local 221 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local 243 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size() 282 static void calc_inode_reservations(struct btrfs_fs_info *fs_info, in calc_inode_reservations() 304 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local 402 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local 429 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
|
D | volumes.c | 531 struct btrfs_fs_info *fs_info = device->fs_info; in run_scheduled_bios() local 1556 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local 1720 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local 1781 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local 1817 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk() 1836 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid() 2000 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices() 2054 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local 2076 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices() 2090 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() [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() 483 static void reada_extent_put(struct btrfs_fs_info *fs_info, in reada_extent_put() 546 struct btrfs_fs_info *fs_info = rc->fs_info; in reada_add_block() local 642 static int reada_tree_block_flagged(struct btrfs_fs_info *fs_info, u64 bytenr, in reada_tree_block_flagged() 673 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_start_machine_dev() local 755 struct btrfs_fs_info *fs_info; in reada_start_machine_worker() local [all …]
|
D | sysfs.c | 88 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 100 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 147 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 163 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 230 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local 347 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_size_show() local 356 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_reserved_show() local 476 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() local 491 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() local 527 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show() local [all …]
|
D | tree-checker.c | 52 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 77 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 131 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local 248 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local 282 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 304 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_dir_item() local 416 const struct btrfs_fs_info *fs_info = eb->fs_info; in block_group_err() local 510 const struct btrfs_fs_info *fs_info = leaf->fs_info; in chunk_err() local 558 struct btrfs_fs_info *fs_info = leaf->fs_info; in btrfs_check_chunk_valid() local 726 #define inode_item_err(fs_info, eb, slot, fmt, ...) \ argument [all …]
|
D | super.c | 102 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error() 190 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_printk() 242 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local 267 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic() 1008 static char *get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in get_subvol_name_from_objectid() 1144 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid() 1190 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1246 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1382 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local 1436 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() 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() 307 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 352 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 381 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 427 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 498 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 552 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_tree() local 616 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() [all …]
|
D | extent-tree.c | 62 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 98 static void add_pinned_bytes(struct btrfs_fs_info *fs_info, in add_pinned_bytes() 110 static void sub_pinned_bytes(struct btrfs_fs_info *fs_info, in sub_pinned_bytes() 123 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent() 151 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() 825 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local 1011 void setup_inline_extent_backref(struct btrfs_fs_info *fs_info, in setup_inline_extent_backref() 1306 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_discard_extent() 1373 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local [all …]
|
D | ioctl.c | 189 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_setflags() local 485 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_fitrim() local 561 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local 754 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local 955 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_mksubvol() local 1384 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_defrag_file() local 1594 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_resize() local 1843 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_snap_create_v2() local 1887 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_getflags() local 1910 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_setflags() local [all …]
|
D | scrub.c | 156 struct btrfs_fs_info *fs_info; member 277 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() 287 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on() 293 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off() 303 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 732 struct btrfs_fs_info *fs_info; in scrub_print_warning() local [all …]
|
D | relocation.c | 327 struct btrfs_fs_info *fs_info = NULL; in backref_tree_panic() local 578 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info, in read_fs_root() 1260 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local 1292 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local 1323 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local 1354 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local 1431 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local 1476 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local 1629 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local 1772 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local [all …]
|
D | ctree.h | 972 struct btrfs_fs_info *fs_info; member 1198 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument 1201 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument 1208 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument 1297 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ argument 2382 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size() 2392 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size() 2626 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing() 2644 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep() 2649 static inline void free_fs_info(struct btrfs_fs_info *fs_info) in free_fs_info() [all …]
|
D | inode.c | 274 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range_inline() local 419 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in inode_need_compress() local 472 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in compress_file_range() local 754 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in submit_compressed_extents() local 969 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in cow_file_range() local 1171 struct btrfs_fs_info *fs_info = btrfs_work_owner(work); in async_cow_submit() local 1212 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in cow_file_range_async() local 1288 static noinline int csum_exist_in_range(struct btrfs_fs_info *fs_info, in csum_exist_in_range() 1323 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in run_delalloc_nocow() local 1817 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_add_delalloc_inodes() local [all …]
|
D | ctree.c | 194 struct btrfs_fs_info *fs_info = root->fs_info; in add_root_to_dirty_list() local 223 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_copy_root() local 316 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq() 329 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq() 344 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq() 403 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert() 442 static inline int tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log() 460 static inline int tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log() 595 __tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in __tree_mod_log_free_eb() 618 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root() local [all …]
|
/Linux-v5.4/fs/btrfs/tests/ |
D | extent-map-tests.c | 50 static int test_case_1(struct btrfs_fs_info *fs_info, in test_case_1() 140 static int test_case_2(struct btrfs_fs_info *fs_info, in test_case_2() 222 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 305 static int test_case_3(struct btrfs_fs_info *fs_info, in test_case_3() 321 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 427 static int test_case_4(struct btrfs_fs_info *fs_info, in test_case_4() 442 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
|
D | free-space-tree-tests.c | 20 struct btrfs_fs_info *fs_info, in __check_free_space_extents() 109 struct btrfs_fs_info *fs_info, in check_free_space_extents() 152 struct btrfs_fs_info *fs_info, in test_empty_block_group() 166 struct btrfs_fs_info *fs_info, in test_remove_all() 187 struct btrfs_fs_info *fs_info, in test_remove_beginning() 211 struct btrfs_fs_info *fs_info, in test_remove_end() 235 struct btrfs_fs_info *fs_info, in test_remove_middle() 260 struct btrfs_fs_info *fs_info, in test_merge_left() 298 struct btrfs_fs_info *fs_info, in test_merge_right() 337 struct btrfs_fs_info *fs_info, in test_merge_both() [all …]
|
D | btrfs-tests.c | 91 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local 149 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 206 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 246 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|