Home
last modified time | relevance | path

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

1234

/linux/fs/btrfs/
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
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 …]
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
263 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_csum_one_bio() local
336 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local
363 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_validate_extent_buffer() local
507 struct btrfs_fs_info *fs_info; in btree_writepages() local
551 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in btree_dirty_folio() local
[all …]
H A Dtransaction.c175 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local
248 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local
261 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction()
401 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local
461 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local
480 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local
513 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans()
533 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction()
546 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local
557 static int btrfs_reserve_trans_metadata(struct btrfs_fs_info *fs_info, in btrfs_reserve_trans_metadata()
[all …]
H A Dsubpage.c68 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct address_space *mapping) in btrfs_is_subpage()
91 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage()
115 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, struct folio *folio) in btrfs_detach_subpage()
128 struct btrfs_subpage *btrfs_alloc_subpage(const struct btrfs_fs_info *fs_info, in btrfs_alloc_subpage()
164 void btrfs_folio_inc_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) in btrfs_folio_inc_eb_refs()
178 void btrfs_folio_dec_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) in btrfs_folio_dec_eb_refs()
193 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, in btrfs_subpage_assert()
212 #define subpage_calc_start_bit(fs_info, folio, name, start, len) \ argument
240 static bool btrfs_subpage_end_and_test_lock(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_and_test_lock()
292 void btrfs_folio_end_lock(const struct btrfs_fs_info *fs_info, in btrfs_folio_end_lock()
[all …]
H A Dspace-info.c200 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size()
266 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info()
348 static u64 calc_effective_data_chunk_size(struct btrfs_fs_info *fs_info) in calc_effective_data_chunk_size()
370 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space()
439 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit()
472 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets()
511 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument
536 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info) in dump_global_block_rsv()
545 static void __btrfs_dump_space_info(const struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info()
563 void btrfs_dump_space_info(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()
240 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev()
346 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local
452 static int mark_block_group_to_copy(struct btrfs_fs_info *fs_info, in mark_block_group_to_copy()
550 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_finish_block_group_to_copy() local
598 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start()
744 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl()
776 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked()
786 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked()
824 struct btrfs_fs_info *fs_info, in btrfs_dev_replace_update_device_in_mapping_tree()
[all …]
H A Dblock-rsv.c104 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()
192 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_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()
245 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_refill()
274 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release()
325 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv()
407 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_root_block_rsv() local
431 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv()
[all …]
H A Dblock-group.c28 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space() local
43 static u64 get_restripe_target(const 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 …]
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()
164 static struct btrfs_qgroup *find_qgroup_rb(const 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()
252 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 Dsuper.c71 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local
646 static void btrfs_clear_oneshot_options(struct btrfs_fs_info *fs_info) in btrfs_clear_oneshot_options()
653 static bool check_ro_option(const struct btrfs_fs_info *fs_info, in check_ro_option()
719 void btrfs_set_free_space_cache_settings(struct btrfs_fs_info *fs_info) in btrfs_set_free_space_cache_settings()
761 static void set_device_specific_options(struct btrfs_fs_info *fs_info) in set_device_specific_options()
784 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid()
906 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid()
951 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_fill_super() local
1002 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_sync_fs() local
1190 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()
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
468 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local
479 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local
490 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local
501 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local
512 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local
[all …]
H A Dscrub.c188 struct btrfs_fs_info *fs_info; member
249 static int init_scrub_stripe(struct btrfs_fs_info *fs_info, in init_scrub_stripe()
291 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed()
301 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on()
307 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off()
317 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed()
343 struct btrfs_fs_info *fs_info, int is_dev_replace) in scrub_setup_ctx()
398 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local
481 struct btrfs_fs_info *fs_info = dev->fs_info; in scrub_print_common_warning() local
584 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; in scrub_stripe_get_page() local
[all …]
H A Ddelalloc-space.c117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local
133 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local
171 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota()
192 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() local
218 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() local
240 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size()
284 struct btrfs_fs_info *fs_info = inode->root->fs_info; in calc_inode_reservations() local
309 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata() local
398 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local
427 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
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
132 void btrfs_inc_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info) in btrfs_inc_delayed_refs_rsv_bg_inserts()
151 void btrfs_dec_delayed_refs_rsv_bg_inserts(struct btrfs_fs_info *fs_info) in btrfs_dec_delayed_refs_rsv_bg_inserts()
167 void btrfs_inc_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_info) in btrfs_inc_delayed_refs_rsv_bg_updates()
186 void btrfs_dec_delayed_refs_rsv_bg_updates(struct btrfs_fs_info *fs_info) in btrfs_dec_delayed_refs_rsv_bg_updates()
207 int btrfs_delayed_refs_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_delayed_refs_rsv_refill()
379 static inline void drop_delayed_ref(struct btrfs_fs_info *fs_info, in drop_delayed_ref()
393 static bool merge_ref(struct btrfs_fs_info *fs_info, in merge_ref()
[all …]
H A Dtree-mod-log.c47 static 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 bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, const struct extent_buffer *eb) in tree_mod_dont_log()
190 static bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log()
369 static int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb()
393 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local
473 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search()
520 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.h101 static inline int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
124 static inline int btrfs_check_zoned_mode(const struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
200 static inline int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, in btrfs_check_meta_write_pointer()
235 static inline void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio()
243 static inline void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info) { } in btrfs_free_zone_cache()
245 static inline bool btrfs_zoned_should_reclaim(const struct btrfs_fs_info *fs_info) in btrfs_zoned_should_reclaim()
250 static inline void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_release_data_reloc_bg()
253 static inline int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info) in btrfs_zone_finish_one_bg()
258 static inline int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_activate_one_bg()
266 static inline void btrfs_check_active_zone_reservation(struct btrfs_fs_info *fs_info) { } in btrfs_check_active_zone_reservation()
[all …]
H A Dvolumes.c1741 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent() local
1885 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1935 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1953 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
2111 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2161 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2180 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2194 static void btrfs_scratch_superblock(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblock()
2216 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, struct btrfs_device *device) in btrfs_scratch_superblocks()
2238 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
[all …]
H A Dioctl.c222 static int check_fsflags_compatible(struct btrfs_fs_info *fs_info, in check_fsflags_compatible()
261 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in btrfs_fileattr_set() local
409 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start()
435 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock()
448 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock()
453 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish()
461 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance()
491 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim()
596 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_subvol() local
797 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); in create_snapshot() local
[all …]
H A Dzoned.c288 static int calculate_emulated_zone_size(struct btrfs_fs_info *fs_info) in calculate_emulated_zone_size()
324 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
351 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local
658 static int btrfs_check_for_zoned_device(struct btrfs_fs_info *fs_info) in btrfs_check_for_zoned_device()
674 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
1208 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local
1277 static int btrfs_load_zone_info(struct btrfs_fs_info *fs_info, int zone_idx, in btrfs_load_zone_info()
1393 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_dup() local
1436 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_load_block_group_raid1() local
1484 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()
174 static void process_one_folio(struct btrfs_fs_info *fs_info, in process_one_folio()
200 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); in __process_folios_contig() local
243 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in lock_delalloc_folios() local
316 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in find_lock_delalloc_range() local
417 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in btrfs_verify_folio() local
428 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); in end_folio_read() local
456 struct btrfs_fs_info *fs_info = bbio->fs_info; in end_bbio_data_write() local
[all …]
H A Drelocation.c294 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root()
563 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local
596 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local
640 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local
671 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local
774 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local
840 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local
940 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local
1097 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local
1420 struct btrfs_fs_info *fs_info = root->fs_info; in invalidate_extent_cache() 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()
99 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info()
339 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_get_extent_inline_ref_type() local
773 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local
1094 struct btrfs_fs_info *fs_info = leaf->fs_info; in update_inline_extent_backref() local
1352 struct btrfs_fs_info *fs_info = dev->fs_info; in do_discard_extent() local
1389 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_discard_extent()
1457 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local
1546 static void free_head_ref_squota_rsv(struct btrfs_fs_info *fs_info, in free_head_ref_squota_rsv()
1636 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()
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 …]
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