Home
last modified time | relevance | path

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

1234

/linux/fs/btrfs/
H A Ddisk-io.c64 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash()
75 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local
159 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum()
184 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_repair_eb_io_failure() local
218 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_read_extent_buffer() local
262 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_csum_one_bio() local
334 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local
361 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_validate_extent_buffer() local
499 struct btrfs_fs_info *fs_info; in btree_writepages() local
543 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in btree_dirty_folio() local
[all …]
H A Dmessages.h18 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
42 #define btrfs_crit(fs_info, fmt, args...) \ argument
44 #define btrfs_err(fs_info, fmt, args...) \ argument
46 #define btrfs_warn(fs_info, fmt, args...) \ argument
48 #define btrfs_info(fs_info, fmt, args...) \ argument
54 #define btrfs_crit_rl(fs_info, fmt, args...) \ argument
56 #define btrfs_err_rl(fs_info, fmt, args...) \ argument
58 #define btrfs_warn_rl(fs_info, fmt, args...) \ argument
[all …]
H A Dtransaction.c181 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local
254 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local
267 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction()
409 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local
469 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local
488 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local
521 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans()
541 static bool may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction()
554 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local
565 static int btrfs_reserve_trans_metadata(struct btrfs_fs_info *fs_info, in btrfs_reserve_trans_metadata()
[all …]
H A Dsubpage.c66 int btrfs_attach_folio_state(const struct btrfs_fs_info *fs_info, in btrfs_attach_folio_state()
98 void btrfs_detach_folio_state(const struct btrfs_fs_info *fs_info, struct folio *folio, in btrfs_detach_folio_state()
116 struct btrfs_folio_state *btrfs_alloc_folio_state(const struct btrfs_fs_info *fs_info, in btrfs_alloc_folio_state()
148 void btrfs_folio_inc_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) in btrfs_folio_inc_eb_refs()
162 void btrfs_folio_dec_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) in btrfs_folio_dec_eb_refs()
177 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, in btrfs_subpage_assert()
194 #define subpage_calc_start_bit(fs_info, folio, name, start, len) \ argument
223 static bool btrfs_subpage_end_and_test_lock(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_and_test_lock()
275 void btrfs_folio_end_lock(const struct btrfs_fs_info *fs_info, in btrfs_folio_end_lock()
305 void btrfs_folio_end_lock_bitmap(const struct btrfs_fs_info *fs_info, in btrfs_folio_end_lock_bitmap()
[all …]
H A Dspace-info.c209 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size()
261 struct btrfs_fs_info *fs_info = parent->fs_info; in create_space_info_sub_group() local
322 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info()
402 static u64 calc_effective_data_chunk_size(struct btrfs_fs_info *fs_info) in calc_effective_data_chunk_size()
424 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space()
493 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit()
526 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets()
563 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument
588 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info) in dump_global_block_rsv()
597 static void __btrfs_dump_space_info(const struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info()
[all …]
H A Ddev-replace.c70 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace()
232 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev()
338 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local
438 static int mark_block_group_to_copy(struct btrfs_fs_info *fs_info, in mark_block_group_to_copy()
536 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_finish_block_group_to_copy() local
584 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start()
730 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl()
762 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked()
772 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked()
810 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree()
[all …]
H A Dblock-group.c28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local
56 static u64 get_restripe_target(const struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target()
85 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
134 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
209 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_add_block_group_cache() local
288 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local
327 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, in btrfs_inc_nocow_writers()
378 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
499 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local
595 struct btrfs_fs_info *fs_info = block_group->fs_info; in sample_block_group_extent_item() local
[all …]
H A Dqgroup.c33 enum btrfs_qgroup_mode btrfs_qgroup_mode(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_mode()
42 bool btrfs_qgroup_enabled(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_enabled()
47 bool btrfs_qgroup_full_accounting(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_full_accounting()
82 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add()
90 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
108 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
118 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
177 static struct btrfs_qgroup *find_qgroup_rb(const struct btrfs_fs_info *fs_info, in find_qgroup_rb()
201 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
249 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
[all …]
H A Dref-verify.h26 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
32 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree()
37 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache()
41 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod()
47 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range()
52 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
H A Dfs.c108 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start()
134 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock()
147 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock()
152 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish()
160 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance()
185 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_incompat()
208 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_incompat()
231 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_set_fs_compat_ro()
254 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, in __btrfs_clear_fs_compat_ro()
H A Dsuper.c71 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local
667 static void btrfs_clear_oneshot_options(struct btrfs_fs_info *fs_info) in btrfs_clear_oneshot_options()
674 static bool check_ro_option(const struct btrfs_fs_info *fs_info, in check_ro_option()
737 void btrfs_set_free_space_cache_settings(struct btrfs_fs_info *fs_info) in btrfs_set_free_space_cache_settings()
779 static void set_device_specific_options(struct btrfs_fs_info *fs_info) in set_device_specific_options()
802 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid()
924 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid()
966 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local
1019 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local
1208 struct btrfs_fs_info *fs_info = btrfs_sb(s); in mount_subvol() local
[all …]
H A Dsysfs.c121 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()
179 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local
195 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local
262 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local
472 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local
483 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local
494 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local
505 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local
516 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local
[all …]
H A Ddelayed-ref.c31 bool btrfs_check_space_for_delayed_refs(struct btrfs_fs_info *fs_info) in btrfs_check_space_for_delayed_refs()
66 void btrfs_delayed_refs_rsv_release(struct btrfs_fs_info *fs_info, int nr_refs, int nr_csums) in btrfs_delayed_refs_rsv_release()
90 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_update_delayed_refs_rsv() local
135 void btrfs_inc_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info) in btrfs_inc_delayed_refs_rsv_bg_inserts()
154 void btrfs_dec_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info) in btrfs_dec_delayed_refs_rsv_bg_inserts()
170 void btrfs_inc_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_info) in btrfs_inc_delayed_refs_rsv_bg_updates()
189 void btrfs_dec_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_info) in btrfs_dec_delayed_refs_rsv_bg_updates()
210 int btrfs_delayed_refs_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_delayed_refs_rsv_refill()
370 static inline void drop_delayed_ref(struct btrfs_fs_info *fs_info, in drop_delayed_ref()
384 static bool merge_ref(struct btrfs_fs_info *fs_info, in merge_ref()
[all …]
H A Dzoned.h103 static inline int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
126 static inline int btrfs_check_zoned_mode(const struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
202 static inline int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, in btrfs_check_meta_write_pointer()
237 static inline int btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio()
248 static inline void btrfs_zoned_reserve_data_reloc_bg(struct btrfs_fs_info *fs_info) { } in btrfs_zoned_reserve_data_reloc_bg()
250 static inline void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info) { } in btrfs_free_zone_cache()
252 static inline bool btrfs_zoned_should_reclaim(const struct btrfs_fs_info *fs_info) in btrfs_zoned_should_reclaim()
257 static inline void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_release_data_reloc_bg()
260 static inline int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info) in btrfs_zone_finish_one_bg()
265 static inline int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_activate_one_bg()
[all …]
H A Dscrub.c197 struct btrfs_fs_info *fs_info; member
355 static int init_scrub_stripe(struct btrfs_fs_info *fs_info, in init_scrub_stripe()
400 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed()
410 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on()
416 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off()
426 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed()
452 struct btrfs_fs_info *fs_info, bool is_dev_replace) in scrub_setup_ctx()
507 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local
590 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local
690 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; in scrub_stripe_get_kaddr() local
[all …]
H A Dvolumes.c1680 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent() local
1826 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1876 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1894 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
2051 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2101 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2120 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2134 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock()
2156 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device) in btrfs_scratch_superblocks()
2178 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
[all …]
H A Dtree-mod-log.c58 static u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq()
71 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq()
85 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq()
144 static noinline int tree_mod_log_insert(struct btrfs_fs_info *fs_info, in tree_mod_log_insert()
208 static bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, const struct extent_buffer *eb) in tree_mod_dont_log()
225 static bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log()
406 static int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb()
430 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local
510 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search()
557 static struct tree_mod_elem *tree_mod_log_search_oldest(struct btrfs_fs_info *fs_info, in tree_mod_log_search_oldest()
[all …]
H A Dzoned.c292 static int calculate_emulated_zone_size(struct btrfs_fs_info *fs_info) in calculate_emulated_zone_size()
328 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
355 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local
671 static int btrfs_check_for_zoned_device(struct btrfs_fs_info *fs_info) in btrfs_check_for_zoned_device()
687 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
1222 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()
1422 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_dup() local
1473 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid1() local
1524 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid0() local
[all …]
H A Dextent_io.c43 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb() local
53 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb() local
61 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info) in btrfs_extent_buffer_leak_debug_check()
243 static void process_one_folio(struct btrfs_fs_info *fs_info, in process_one_folio()
269 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in __process_folios_contig() local
306 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in lock_delalloc_folios() local
373 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in find_lock_delalloc_range() local
482 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in btrfs_verify_folio() local
493 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in end_folio_read() local
521 struct btrfs_fs_info *fs_info = bbio->fs_info; in end_bbio_data_write() local
[all …]
H A Dcompression.c226 struct folio *btrfs_alloc_compr_folio(struct btrfs_fs_info *fs_info) in btrfs_alloc_compr_folio()
294 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in end_compressed_writeback() local
350 struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info; in end_bbio_compressed_write() local
357 struct btrfs_fs_info *fs_info = cb->bbio.fs_info; in btrfs_add_compressed_bio_folios() local
391 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_submit_compressed_write() local
430 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in add_ra_bio_pages() local
586 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_submit_compressed_read() local
721 static struct list_head *alloc_heuristic_ws(struct btrfs_fs_info *fs_info) in alloc_heuristic_ws()
758 static struct list_head *alloc_workspace(struct btrfs_fs_info *fs_info, int type, int level) in alloc_workspace()
790 static int alloc_workspace_manager(struct btrfs_fs_info *fs_info, in alloc_workspace_manager()
[all …]
H A Drelocation.c305 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root()
480 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local
512 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local
556 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local
586 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local
708 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local
774 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local
867 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local
1020 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local
1341 struct btrfs_fs_info *fs_info = root->fs_info; in invalidate_extent_cache() local
[all …]
H A Dbio.c44 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, in btrfs_bio_init()
63 struct btrfs_fs_info *fs_info, in btrfs_bio_alloc()
75 static struct btrfs_bio *btrfs_split_bio(struct btrfs_fs_info *fs_info, in btrfs_split_bio()
165 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_end_repair_bio() local
211 struct btrfs_fs_info *fs_info = inode->root->fs_info; in repair_one_sector() local
260 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_read_bio() local
312 static struct workqueue_struct *btrfs_end_io_wq(const struct btrfs_fs_info *fs_info, in btrfs_end_io_wq()
335 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_simple_end_io() local
623 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_wq_submit_bio() local
662 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_submit_chunk() local
[all …]
H A Dextent-tree.c70 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent()
96 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info()
335 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_get_extent_inline_ref_type() local
767 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local
1087 struct btrfs_fs_info *fs_info = leaf->fs_info; in update_inline_extent_backref() local
1344 struct btrfs_fs_info *fs_info = dev->fs_info; in do_discard_extent() local
1381 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_discard_extent()
1449 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local
1538 static void free_head_ref_squota_rsv(struct btrfs_fs_info *fs_info, in free_head_ref_squota_rsv()
1628 struct btrfs_fs_info *fs_info = trans->fs_info; in run_delayed_extent_op() local
[all …]
/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c21 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()
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()
291 struct btrfs_fs_info *fs_info, in test_merge_right()
328 struct btrfs_fs_info *fs_info, in test_merge_both()
[all …]
H A Dextent-map-tests.c62 static int test_case_1(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_1()
163 static int test_case_2(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_2()
254 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3()
348 static int test_case_3(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_3()
363 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4()
482 static int test_case_4(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_4()
620 static int test_case_5(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_5()
707 static int test_case_6(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_6()
767 static int test_case_7(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_7()
909 static int test_case_8(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_8()
[all …]

1234