/fs/btrfs/ |
D | messages.h | 18 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() 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 [all …]
|
D | disk-io.c | 66 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash() 77 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 144 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 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 246 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_csum_one_bio() local 313 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local 339 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_validate_extent_buffer() local 476 struct btrfs_fs_info *fs_info; in btree_writepages() local 522 struct btrfs_fs_info *fs_info = btrfs_sb(mapping->host->i_sb); in btree_dirty_folio() local [all …]
|
D | subpage.c | 67 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct page *page) in btrfs_is_subpage() 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() 156 struct btrfs_subpage *btrfs_alloc_subpage(const struct btrfs_fs_info *fs_info, in btrfs_alloc_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() 225 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, in btrfs_subpage_assert() 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() [all …]
|
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 265 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 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 518 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans() 538 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 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 [all …]
|
D | space-info.c | 197 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size() 262 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 344 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space() 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 477 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info) in dump_global_block_rsv() 486 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info() 504 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 545 static inline u64 calc_reclaim_items_nr(const struct btrfs_fs_info *fs_info, in calc_reclaim_items_nr() [all …]
|
D | dev-replace.c | 73 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 243 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev() 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() 778 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked() 788 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked() 826 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree() [all …]
|
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() 193 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_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() [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 | block-group.c | 28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local 43 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target() 72 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile() 121 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() 277 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local 316 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, in btrfs_inc_nocow_writers() 367 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations() 488 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local 585 struct btrfs_fs_info *fs_info = block_group->fs_info; in sample_block_group_extent_item() local 672 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_block_group_size_class() local [all …]
|
D | qgroup.c | 63 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() 71 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() 89 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() 99 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() 165 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb() 184 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb() 219 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb() 243 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() 292 static int add_relation_rb(struct btrfs_fs_info *fs_info, u64 memberid, u64 parentid) in add_relation_rb() 304 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb() [all …]
|
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
|
D | sysfs.c | 121 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 133 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 453 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local 464 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local 475 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local 486 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local 497 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local [all …]
|
D | scrub.c | 188 struct btrfs_fs_info *fs_info; member 250 static int init_scrub_stripe(struct btrfs_fs_info *fs_info, in init_scrub_stripe() 292 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() 302 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on() 308 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off() 318 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed() 344 struct btrfs_fs_info *fs_info, int is_dev_replace) in scrub_setup_ctx() 399 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local 482 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local 585 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; in scrub_stripe_get_page() local [all …]
|
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() 191 static inline bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_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 474 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search() 521 static struct tree_mod_elem *tree_mod_log_search_oldest(struct btrfs_fs_info *fs_info, in tree_mod_log_search_oldest() [all …]
|
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() 245 static inline void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_release_data_reloc_bg() 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() 261 static inline void btrfs_check_active_zone_reservation(struct btrfs_fs_info *fs_info) { } in btrfs_check_active_zone_reservation() [all …]
|
D | ioctl.c | 225 static int check_fsflags_compatible(struct btrfs_fs_info *fs_info, in check_fsflags_compatible() 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() 424 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock() 437 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock() 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() 480 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim() 587 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local 787 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local [all …]
|
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 1790 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk() 1809 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid() 1967 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices() 2017 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local 2036 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices() 2050 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock() 2072 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks() 2095 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device() [all …]
|
D | zoned.c | 292 static int calculate_emulated_zone_size(struct btrfs_fs_info *fs_info) in calculate_emulated_zone_size() 335 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices() 362 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local 686 static int btrfs_check_for_zoned_device(struct btrfs_fs_info *fs_info) in btrfs_check_for_zoned_device() 703 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode() 1217 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local 1291 static int btrfs_load_zone_info(struct btrfs_fs_info *fs_info, int zone_idx, in btrfs_load_zone_info() 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 [all …]
|
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()
|
D | file-item.c | 51 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_safe_disk_i_size_write() local 130 static size_t bytes_to_csum_size(const struct btrfs_fs_info *fs_info, u32 bytes) in bytes_to_csum_size() 137 static size_t csum_size_to_bytes(const struct btrfs_fs_info *fs_info, u32 csum_size) in csum_size_to_bytes() 144 static inline u32 max_ordered_sum_bytes(const struct btrfs_fs_info *fs_info) in max_ordered_sum_bytes() 156 static int btrfs_ordered_sum_size(struct btrfs_fs_info *fs_info, unsigned long bytes) in btrfs_ordered_sum_size() 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 [all …]
|
D | super.c | 83 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local 234 static bool check_ro_option(struct btrfs_fs_info *fs_info, unsigned long opt, in check_ro_option() 971 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid() 1093 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid() 1139 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local 1195 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local 1351 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local 1405 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local 1452 struct btrfs_fs_info *fs_info = NULL; in btrfs_mount_root() local 1628 static void btrfs_resize_thread_pool(struct btrfs_fs_info *fs_info, in btrfs_resize_thread_pool() [all …]
|
D | ref-verify.c | 214 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 228 static inline void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 263 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() 312 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 357 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 386 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 432 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 504 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 609 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() 623 static void dump_block_entry(struct btrfs_fs_info *fs_info, in dump_block_entry() [all …]
|
/fs/btrfs/tests/ |
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() 232 struct btrfs_fs_info *fs_info, in test_remove_middle() 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() [all …]
|
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
|
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()
|