/linux-master/fs/btrfs/ |
H A D | scrub.h | 8 struct btrfs_fs_info; 12 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start, 15 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info); 16 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info); 17 int btrfs_scrub_cancel(struct btrfs_fs_info *info); 19 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
|
H A D | ref-verify.h | 12 struct btrfs_fs_info; 19 int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info); 20 void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info); 21 int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, 23 void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start, 26 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) 32 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) 37 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) 41 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, 47 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_inf [all...] |
H A D | dev-replace.h | 13 struct btrfs_fs_info; 19 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info); 21 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, 23 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, 25 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info); 26 void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); 27 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info); 32 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info); 33 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount); 35 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_inf [all...] |
H A D | discard.h | 8 struct btrfs_fs_info; 33 void btrfs_discard_punt_unused_bgs_list(struct btrfs_fs_info *fs_info); 34 void btrfs_discard_resume(struct btrfs_fs_info *fs_info); 35 void btrfs_discard_stop(struct btrfs_fs_info *fs_info); 36 void btrfs_discard_init(struct btrfs_fs_info *fs_info); 37 void btrfs_discard_cleanup(struct btrfs_fs_info *fs_info);
|
H A D | disk-io.h | 19 struct btrfs_fs_info; 44 void btrfs_check_leaked_roots(struct btrfs_fs_info *fs_info); 45 void btrfs_init_fs_info(struct btrfs_fs_info *fs_info); 46 struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, 49 struct btrfs_fs_info *fs_info, 52 int btrfs_start_pre_rw_mount(struct btrfs_fs_info *fs_info); 53 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, 58 void __cold close_ctree(struct btrfs_fs_info *fs_info); 59 int btrfs_validate_super(struct btrfs_fs_info *fs_info, 61 int btrfs_check_features(struct btrfs_fs_info *fs_inf [all...] |
H A D | super.h | 11 struct btrfs_fs_info; 13 bool btrfs_check_options(struct btrfs_fs_info *info, unsigned long *mount_opt, 16 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, 18 void btrfs_set_free_space_cache_settings(struct btrfs_fs_info *fs_info); 20 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb)
|
H A D | relocation.h | 9 struct btrfs_fs_info; 15 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start); 19 int btrfs_recover_relocation(struct btrfs_fs_info *fs_info); 29 int btrfs_should_cancel_balance(const struct btrfs_fs_info *fs_info); 30 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr); 32 u64 btrfs_get_reloc_bg_bytenr(const struct btrfs_fs_info *fs_info);
|
H A D | subpage.h | 11 struct btrfs_fs_info; 91 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct address_space *mapping); 94 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, 96 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, struct folio *folio); 99 struct btrfs_subpage *btrfs_alloc_subpage(const struct btrfs_fs_info *fs_info, 103 void btrfs_folio_inc_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio); 104 void btrfs_folio_dec_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio); 106 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, 108 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, 111 int btrfs_folio_start_writer_lock(const struct btrfs_fs_info *fs_inf [all...] |
H A D | defrag.h | 11 struct btrfs_fs_info; 23 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info); 24 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info); 27 static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info)
|
H A D | sysfs.h | 10 struct btrfs_fs_info; 31 void btrfs_sysfs_feature_update(struct btrfs_fs_info *fs_info); 36 int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info); 37 void btrfs_sysfs_remove_mounted(struct btrfs_fs_info *fs_info); 39 int btrfs_sysfs_add_space_info_type(struct btrfs_fs_info *fs_info, 44 int btrfs_sysfs_add_one_qgroup(struct btrfs_fs_info *fs_info, 46 void btrfs_sysfs_del_qgroups(struct btrfs_fs_info *fs_info); 47 int btrfs_sysfs_add_qgroups(struct btrfs_fs_info *fs_info); 48 void btrfs_sysfs_del_one_qgroup(struct btrfs_fs_info *fs_info,
|
H A D | uuid-tree.h | 9 struct btrfs_fs_info; 15 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
|
H A D | async-thread.h | 14 struct btrfs_fs_info; 32 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, 38 struct btrfs_fs_info *fs_info, const char *name, 46 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work); 47 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq);
|
H A D | block-rsv.h | 14 struct btrfs_fs_info; 63 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, 65 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, 68 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, 70 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, 74 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, 83 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, 86 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info); 87 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info); 88 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_inf [all...] |
H A D | space-info.h | 15 struct btrfs_fs_info; 190 btrfs_space_info_update_##name(struct btrfs_fs_info *fs_info, \ 211 int btrfs_init_space_info(struct btrfs_fs_info *fs_info); 212 void btrfs_add_bg_to_space_info(struct btrfs_fs_info *info, 216 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info, 220 void btrfs_clear_space_info_full(struct btrfs_fs_info *info); 221 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, 224 int btrfs_reserve_metadata_bytes(struct btrfs_fs_info *fs_info, 228 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, 230 int btrfs_can_overcommit(struct btrfs_fs_info *fs_inf [all...] |
H A D | zoned.h | 24 struct btrfs_fs_info; 58 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info); 62 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info); 63 int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info, unsigned long *mount_opt); 79 int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, 87 void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical, 92 void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info); 93 bool btrfs_zoned_should_reclaim(struct btrfs_fs_info *fs_info); 94 void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, u64 logical, 96 int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_inf [all...] |
H A D | tree-mod-log.h | 9 struct btrfs_fs_info; 33 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, 35 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, 43 struct extent_buffer *btrfs_tree_mod_log_rewind(struct btrfs_fs_info *fs_info, 57 u64 btrfs_tree_mod_log_lowest_seq(struct btrfs_fs_info *fs_info);
|
H A D | bio.h | 16 struct btrfs_fs_info; 80 struct btrfs_fs_info *fs_info; 97 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, 100 struct btrfs_fs_info *fs_info, 109 int btrfs_repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
|
H A D | raid-stripe-tree.h | 20 struct btrfs_fs_info; 25 int btrfs_get_raid_extent_offset(struct btrfs_fs_info *fs_info, 31 static inline bool btrfs_need_stripe_tree_update(struct btrfs_fs_info *fs_info,
|
H A D | qgroup.h | 19 struct btrfs_fs_info; 315 enum btrfs_qgroup_mode btrfs_qgroup_mode(struct btrfs_fs_info *fs_info); 316 bool btrfs_qgroup_enabled(struct btrfs_fs_info *fs_info); 317 bool btrfs_qgroup_full_accounting(struct btrfs_fs_info *fs_info); 318 int btrfs_quota_enable(struct btrfs_fs_info *fs_info, 320 int btrfs_quota_disable(struct btrfs_fs_info *fs_info); 321 int btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info); 322 void btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info); 323 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, 332 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_inf [all...] |
H A D | ioctl.h | 12 struct btrfs_fs_info; 23 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
|
H A D | block-group.h | 19 struct btrfs_fs_info; 117 struct btrfs_fs_info *fs_info; 190 * 1) struct btrfs_fs_info::unused_bgs 191 * 2) struct btrfs_fs_info::reclaim_bgs 296 struct btrfs_fs_info *info, u64 bytenr); 298 struct btrfs_fs_info *info, u64 bytenr); 303 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, 306 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, 318 struct btrfs_fs_info *fs_info, 322 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_inf [all...] |
H A D | free-space-tree.h | 12 struct btrfs_fs_info; 26 int btrfs_create_free_space_tree(struct btrfs_fs_info *fs_info); 27 int btrfs_delete_free_space_tree(struct btrfs_fs_info *fs_info); 28 int btrfs_rebuild_free_space_tree(struct btrfs_fs_info *fs_info);
|
H A D | volumes.h | 26 struct btrfs_fs_info; 102 struct btrfs_fs_info *fs_info; 406 struct btrfs_fs_info *fs_info; 467 struct btrfs_fs_info *fs_info; 665 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 669 int btrfs_map_repair_block(struct btrfs_fs_info *fs_info, 672 struct btrfs_discard_stripe *btrfs_map_discard(struct btrfs_fs_info *fs_info, 675 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info); 676 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info); 679 void btrfs_mapping_tree_free(struct btrfs_fs_info *fs_inf [all...] |
H A D | delayed-ref.h | 19 struct btrfs_fs_info; 289 static inline u64 btrfs_calc_delayed_ref_bytes(const struct btrfs_fs_info *fs_info, 310 static inline u64 btrfs_calc_delayed_ref_csum_bytes(const struct btrfs_fs_info *fs_info, 368 void btrfs_merge_delayed_refs(struct btrfs_fs_info *fs_info, 387 int btrfs_check_delayed_seq(struct btrfs_fs_info *fs_info, u64 seq); 389 void btrfs_delayed_refs_rsv_release(struct btrfs_fs_info *fs_info, int nr_refs, int nr_csums); 391 void btrfs_inc_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info); 392 void btrfs_dec_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info); 393 void btrfs_inc_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_info); 394 void btrfs_dec_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_inf [all...] |
/linux-master/fs/btrfs/tests/ |
H A D | btrfs-tests.h | 42 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize); 43 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info); 46 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, unsigned long length); 49 struct btrfs_fs_info *fs_info); 50 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info);
|