Home
last modified time | relevance | path

Searched defs:fs_info (Results 1 – 25 of 83) sorted by relevance

1234

/fs/btrfs/
Ddisk-io.c100 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash()
211 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local
304 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum()
331 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_verify_level_key() local
398 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_read_extent_buffer_pages() local
450 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct page *page) in csum_dirty_buffer()
499 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local
533 struct btrfs_fs_info *fs_info; in btrfs_validate_metadata_buffer() local
642 struct btrfs_fs_info *fs_info; in end_workqueue_bio() local
748 blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_wq_submit_bio()
[all …]
Dtransaction.c156 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local
257 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local
272 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction()
404 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local
464 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local
483 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local
515 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans()
534 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction()
547 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local
563 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local
[all …]
Ddev-replace.c69 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace()
238 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev()
336 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local
450 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start()
586 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl()
618 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked()
628 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked()
666 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree()
691 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_finishing()
870 static u64 btrfs_dev_replace_progress(struct btrfs_fs_info *fs_info) in btrfs_dev_replace_progress()
[all …]
Dspace-info.c221 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info()
298 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space()
334 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit()
367 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets()
406 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument
415 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info()
439 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info()
469 static inline u64 calc_reclaim_items_nr(struct btrfs_fs_info *fs_info, in calc_reclaim_items_nr()
487 static void shrink_delalloc(struct btrfs_fs_info *fs_info, in shrink_delalloc()
573 static int may_commit_transaction(struct btrfs_fs_info *fs_info, in may_commit_transaction()
[all …]
Dref-verify.h17 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()
Dblock-group.c25 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target()
54 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
103 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
262 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local
286 bool btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_inc_nocow_writers()
309 void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_dec_nocow_writers()
330 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
437 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local
503 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local
638 struct btrfs_fs_info *fs_info; in caching_thread() local
[all …]
Dqgroup.c69 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add()
77 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
95 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
105 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
171 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb()
190 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
224 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb()
248 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
261 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb()
286 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb()
[all …]
Ddelalloc-space.c117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local
132 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local
161 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota()
182 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() local
206 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local
228 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size()
267 static void calc_inode_reservations(struct btrfs_fs_info *fs_info, in calc_inode_reservations()
289 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local
373 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local
400 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
Dblock-rsv.c102 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()
190 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv()
203 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv()
275 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release()
326 int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, in btrfs_cond_migrate_bytes()
351 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv()
416 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv()
441 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_release_global_block_rsv()
459 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() local
[all …]
Dsysfs.c92 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features()
104 static void set_features(struct btrfs_fs_info *fs_info, in set_features()
151 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local
167 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local
234 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local
361 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local
372 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local
383 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local
394 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local
405 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local
[all …]
Dvolumes.c412 static struct btrfs_device *__alloc_device(struct btrfs_fs_info *fs_info) in __alloc_device()
1566 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local
1719 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1780 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_alloc_dev_extent() local
1816 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1835 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
2005 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2059 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2078 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2092 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
[all …]
Dreada.c80 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()
488 static void reada_extent_put(struct btrfs_fs_info *fs_info, in reada_extent_put()
551 struct btrfs_fs_info *fs_info = rc->fs_info; in reada_add_block() local
647 static int reada_tree_block_flagged(struct btrfs_fs_info *fs_info, u64 bytenr, in reada_tree_block_flagged()
678 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_start_machine_dev() local
795 static void __reada_start_machine(struct btrfs_fs_info *fs_info) in __reada_start_machine()
[all …]
Dioctl.c199 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_setflags() local
381 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start()
387 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish()
505 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim()
582 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local
795 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local
972 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_mksubvol() local
1475 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_defrag_file() local
1685 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_resize() local
1984 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_ioctl_subvol_getflags() local
[all …]
Dref-verify.c211 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()
309 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block()
354 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref()
383 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref()
429 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item()
500 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local
554 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_tree() local
618 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action()
[all …]
Dsuper.c127 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error()
217 void __cold btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_printk()
269 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local
294 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic()
1136 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid()
1273 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid()
1319 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local
1371 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local
1515 struct btrfs_fs_info *fs_info = btrfs_sb(s); in btrfs_test_super() local
1569 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local
[all …]
Drelocation.c350 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root()
624 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local
656 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local
700 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local
731 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local
834 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local
894 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local
1048 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local
1192 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local
1439 struct btrfs_fs_info *fs_info = root->fs_info; in walk_down_reloc_tree() local
[all …]
Dscrub.c157 struct btrfs_fs_info *fs_info; member
278 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed()
288 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on()
294 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off()
304 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
731 struct btrfs_fs_info *fs_info; in scrub_print_warning() local
[all …]
Dextent-tree.c64 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
86 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent()
114 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info()
787 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local
978 void setup_inline_extent_backref(struct btrfs_fs_info *fs_info, in setup_inline_extent_backref()
1271 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_discard_extent()
1363 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local
1546 struct btrfs_fs_info *fs_info = trans->fs_info; in run_delayed_extent_op() local
1767 void btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info, in btrfs_cleanup_ref_head_accounting()
[all …]
Dtree-checker.c53 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local
78 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local
137 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local
200 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local
337 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local
478 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_dir_item() local
613 const struct btrfs_fs_info *fs_info = eb->fs_info; in block_group_err() local
707 const struct btrfs_fs_info *fs_info = leaf->fs_info; in chunk_err() local
755 struct btrfs_fs_info *fs_info = leaf->fs_info; in btrfs_check_chunk_valid() local
996 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_inode_item() local
[all …]
Dctree.h1061 struct btrfs_fs_info *fs_info; member
1314 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument
1317 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument
1324 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument
1413 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ argument
2533 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
2543 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
2804 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing()
2822 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep()
3139 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk()
[all …]
Dctree.c154 struct btrfs_fs_info *fs_info = root->fs_info; in add_root_to_dirty_list() local
183 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_copy_root() local
280 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq()
293 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq()
306 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq()
364 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert()
403 static inline int tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log()
421 static inline int tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log()
556 __tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in __tree_mod_log_free_eb()
579 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root() local
[all …]
Dinode.c277 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range_inline() local
424 struct btrfs_fs_info *fs_info = inode->root->fs_info; in inode_need_compress() local
477 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in compress_file_range() local
769 struct btrfs_fs_info *fs_info = inode->root->fs_info; in submit_compressed_extents() local
983 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range() local
1198 struct btrfs_fs_info *fs_info = btrfs_work_owner(work); in async_cow_submit() local
1242 struct btrfs_fs_info *fs_info = inode->root->fs_info; in cow_file_range_async() local
1351 static noinline int csum_exist_in_range(struct btrfs_fs_info *fs_info, in csum_exist_in_range()
1421 struct btrfs_fs_info *fs_info = inode->root->fs_info; in fallback_to_cow() local
1453 struct btrfs_fs_info *fs_info = inode->root->fs_info; in run_delalloc_nocow() local
[all …]
/fs/btrfs/tests/
Dfree-space-tree-tests.c20 struct btrfs_fs_info *fs_info, in __check_free_space_extents()
107 struct btrfs_fs_info *fs_info, in check_free_space_extents()
150 struct btrfs_fs_info *fs_info, in test_empty_block_group()
164 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()
292 struct btrfs_fs_info *fs_info, in test_merge_right()
330 struct btrfs_fs_info *fs_info, in test_merge_both()
[all …]
Dextent-map-tests.c53 static int test_case_1(struct btrfs_fs_info *fs_info, in test_case_1()
143 static int test_case_2(struct btrfs_fs_info *fs_info, in test_case_2()
225 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3()
308 static int test_case_3(struct btrfs_fs_info *fs_info, in test_case_3()
324 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4()
430 static int test_case_4(struct btrfs_fs_info *fs_info, in test_case_4()
456 static int test_rmap_block(struct btrfs_fs_info *fs_info, in test_rmap_block()
553 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
Dbtrfs-tests.c89 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device()
112 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local
144 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info()
204 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group()
243 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()

1234