/linux-6.3-rc2/fs/btrfs/ |
A D | disk-io.h | 33 void btrfs_init_fs_info(struct btrfs_fs_info *fs_info); 39 struct btrfs_fs_info *fs_info, 46 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, 51 void __cold close_ctree(struct btrfs_fs_info *fs_info); 52 int btrfs_validate_super(struct btrfs_fs_info *fs_info, 59 int btrfs_commit_super(struct btrfs_fs_info *fs_info); 62 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info, 81 void btrfs_free_fs_info(struct btrfs_fs_info *fs_info); 121 struct btrfs_fs_info *fs_info); 125 struct btrfs_fs_info *fs_info); [all …]
|
A D | subpage.h | 80 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, 82 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, 90 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info, 92 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info, 95 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, 97 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, 100 void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_info, 106 void btrfs_page_end_writer_lock(const struct btrfs_fs_info *fs_info, 130 void btrfs_page_set_##name(const struct btrfs_fs_info *fs_info, \ 132 void btrfs_page_clear_##name(const struct btrfs_fs_info *fs_info, \ [all …]
|
A D | ref-verify.h | 10 int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info); 11 void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info); 12 int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, 14 void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start, 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()
|
A D | dev-replace.h | 10 struct btrfs_fs_info; 15 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info); 17 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, 19 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, 21 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info); 22 void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); 23 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info); 28 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info); 29 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount); 31 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info) in btrfs_bio_counter_dec()
|
A D | volumes.h | 83 struct btrfs_fs_info *fs_info; 347 struct btrfs_fs_info *fs_info; 403 struct btrfs_fs_info *fs_info; 533 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info); 534 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info); 558 int btrfs_rm_device(struct btrfs_fs_info *fs_info, 569 int btrfs_balance(struct btrfs_fs_info *fs_info, 575 int btrfs_pause_balance(struct btrfs_fs_info *fs_info); 577 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info); 584 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info, [all …]
|
A D | zoned.h | 36 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info); 40 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info); 41 int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info); 61 bool btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, 72 void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical, 77 void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info); 78 bool btrfs_zoned_should_reclaim(struct btrfs_fs_info *fs_info); 81 int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info); 82 int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, 123 static inline int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info) in btrfs_check_mountopts_zoned() [all …]
|
A D | space-info.h | 181 btrfs_space_info_update_##name(struct btrfs_fs_info *fs_info, \ 202 int btrfs_init_space_info(struct btrfs_fs_info *fs_info); 203 void btrfs_add_bg_to_space_info(struct btrfs_fs_info *info, 211 void btrfs_clear_space_info_full(struct btrfs_fs_info *info); 212 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, 215 int btrfs_reserve_metadata_bytes(struct btrfs_fs_info *fs_info, 219 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, 221 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, 226 struct btrfs_fs_info *fs_info, in btrfs_space_info_free_bytes_may_use() 235 int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes, [all …]
|
A D | block-rsv.h | 56 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, 58 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, 61 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, 63 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, 67 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, 76 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, 79 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info); 80 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info); 81 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_info); 85 static inline void btrfs_unuse_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_unuse_block_rsv()
|
A D | sysfs.h | 22 void btrfs_sysfs_feature_update(struct btrfs_fs_info *fs_info); 27 int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info); 28 void btrfs_sysfs_remove_mounted(struct btrfs_fs_info *fs_info); 30 int btrfs_sysfs_add_space_info_type(struct btrfs_fs_info *fs_info, 35 int btrfs_sysfs_add_one_qgroup(struct btrfs_fs_info *fs_info, 37 void btrfs_sysfs_del_qgroups(struct btrfs_fs_info *fs_info); 38 int btrfs_sysfs_add_qgroups(struct btrfs_fs_info *fs_info); 39 void btrfs_sysfs_del_one_qgroup(struct btrfs_fs_info *fs_info,
|
A D | block-group.h | 103 struct btrfs_fs_info *fs_info; 271 struct btrfs_fs_info *info, u64 bytenr); 273 struct btrfs_fs_info *info, u64 bytenr); 278 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, 294 struct btrfs_fs_info *fs_info, 298 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info); 301 void btrfs_reclaim_bgs(struct btrfs_fs_info *fs_info); 303 int btrfs_read_block_groups(struct btrfs_fs_info *info); 328 void btrfs_put_block_group_cache(struct btrfs_fs_info *info); 329 int btrfs_free_block_groups(struct btrfs_fs_info *info); [all …]
|
A D | subpage.c | 121 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage() 145 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_detach_subpage() 197 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_inc_eb_refs() 212 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_dec_eb_refs() 244 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_reader() 255 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_reader() 441 void btrfs_subpage_set_error(const struct btrfs_fs_info *fs_info, in btrfs_subpage_set_error() 455 void btrfs_subpage_clear_error(const struct btrfs_fs_info *fs_info, in btrfs_subpage_clear_error() 470 void btrfs_subpage_set_dirty(const struct btrfs_fs_info *fs_info, in btrfs_subpage_set_dirty() 644 void btrfs_page_set_##name(const struct btrfs_fs_info *fs_info, \ [all …]
|
A D | discard.h | 8 struct btrfs_fs_info; 34 void btrfs_discard_punt_unused_bgs_list(struct btrfs_fs_info *fs_info); 35 void btrfs_discard_resume(struct btrfs_fs_info *fs_info); 36 void btrfs_discard_stop(struct btrfs_fs_info *fs_info); 37 void btrfs_discard_init(struct btrfs_fs_info *fs_info); 38 void btrfs_discard_cleanup(struct btrfs_fs_info *fs_info);
|
A D | scrub.h | 6 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start, 9 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info); 10 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info); 11 int btrfs_scrub_cancel(struct btrfs_fs_info *info); 13 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
|
A D | qgroup.h | 252 int btrfs_quota_enable(struct btrfs_fs_info *fs_info); 253 int btrfs_quota_disable(struct btrfs_fs_info *fs_info); 254 int btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info); 255 void btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info); 256 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, 266 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info); 267 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info); 282 struct btrfs_fs_info *fs_info, 354 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info, 359 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, [all …]
|
A D | fs.h | 359 struct btrfs_fs_info { struct 823 const struct btrfs_fs_info *fs_info, u64 csum_bytes) in btrfs_csum_bytes_to_leaves() 871 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, 873 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, 875 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info); 876 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info); 877 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, 881 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, 934 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing() 974 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing() [all …]
|
A D | transaction.h | 89 struct btrfs_fs_info *fs_info; 142 struct btrfs_fs_info *fs_info; 245 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid); 249 void btrfs_maybe_wake_unfinished_drop(struct btrfs_fs_info *fs_info); 250 int btrfs_clean_one_deleted_snapshot(struct btrfs_fs_info *fs_info); 255 void btrfs_throttle(struct btrfs_fs_info *fs_info); 258 int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, 261 int btrfs_transaction_blocked(struct btrfs_fs_info *info); 262 int btrfs_transaction_in_commit(struct btrfs_fs_info *info);
|
A D | space-info.c | 179 void btrfs_clear_space_info_full(struct btrfs_fs_info *info) in btrfs_clear_space_info_full() 262 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() 299 void btrfs_add_bg_to_space_info(struct btrfs_fs_info *info, in btrfs_add_bg_to_space_info() 398 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit() 526 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info() 576 static void shrink_delalloc(struct btrfs_fs_info *fs_info, in shrink_delalloc() 707 static void flush_space(struct btrfs_fs_info *fs_info, in flush_space() 1065 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_metadata_space() 1153 struct btrfs_fs_info *fs_info; in btrfs_preempt_reclaim_metadata_space() 1161 fs_info = container_of(work, struct btrfs_fs_info, in btrfs_preempt_reclaim_metadata_space() [all …]
|
A D | relocation.h | 6 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start); 10 int btrfs_recover_relocation(struct btrfs_fs_info *fs_info); 19 int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info); 20 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr);
|
A D | extent_io.h | 67 struct btrfs_fs_info; 79 struct btrfs_fs_info *fs_info; 193 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, 195 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, 197 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, 200 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info, 210 void btrfs_readahead_tree_block(struct btrfs_fs_info *fs_info, 288 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info, 292 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info);
|
A D | sysfs.c | 180 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() 196 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() 263 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() 965 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() 980 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() 1016 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show() 1026 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_sectorsize_show() 1036 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_show() 1053 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_commit_stats_store() 1078 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_clone_alignment_show() [all …]
|
A D | async-thread.h | 12 struct btrfs_fs_info; 29 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, 40 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work); 41 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq);
|
A D | delalloc-space.c | 119 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() 135 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() 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() 220 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() 242 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size() 281 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() 394 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() 422 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents()
|
A D | block-rsv.c | 105 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() 183 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() 205 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() 214 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_add() 247 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_refill() 277 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release() 328 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv() 398 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_root_block_rsv() 421 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv() 456 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv() [all …]
|
A D | disk-io.c | 65 struct btrfs_fs_info *fs_info); 86 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() 728 struct btrfs_fs_info *fs_info; in btree_writepages() 829 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block() 1153 struct btrfs_fs_info *fs_info) in alloc_log_tree() 1197 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree() 1699 struct btrfs_fs_info *fs_info = arg; in cleaner_kthread() 3058 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_rescan_kthread() 4827 struct btrfs_fs_info *fs_info) in btrfs_destroy_delayed_refs() 5045 struct btrfs_fs_info *fs_info) in btrfs_cleanup_dirty_bgs() [all …]
|
/linux-6.3-rc2/fs/btrfs/tests/ |
A D | btrfs-tests.h | 41 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize); 42 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info); 45 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, unsigned long length); 48 struct btrfs_fs_info *fs_info); 49 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|