Home
last modified time | relevance | path

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

1234

/fs/btrfs/
Ddisk-io.c66 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash()
94 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local
169 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum()
194 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_verify_level_key() local
261 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_read_extent_buffer() local
310 struct btrfs_fs_info *fs_info = eb->fs_info; in csum_one_extent_buffer() local
359 static int csum_dirty_subpage_buffers(struct btrfs_fs_info *fs_info, in csum_dirty_subpage_buffers()
402 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct bio_vec *bvec) in csum_dirty_buffer()
437 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local
467 struct btrfs_fs_info *fs_info = eb->fs_info; in validate_extent_buffer() local
[all …]
Dsubpage.c66 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct page *page) in btrfs_is_subpage()
120 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage()
144 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_detach_subpage()
158 struct btrfs_subpage *btrfs_alloc_subpage(const struct btrfs_fs_info *fs_info, in btrfs_alloc_subpage()
196 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_inc_eb_refs()
211 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_dec_eb_refs()
227 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, in btrfs_subpage_assert()
243 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_reader()
254 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_reader()
296 void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_writer()
[all …]
Dtransaction.c163 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local
236 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local
249 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction()
392 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() local
452 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() local
471 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() local
504 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans()
524 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction()
537 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() local
553 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() local
[all …]
Dspace-info.c194 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size()
259 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info()
343 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space()
379 static inline u64 writable_total_bytes(struct btrfs_fs_info *fs_info, in writable_total_bytes()
395 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit()
428 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, in btrfs_try_granting_tickets()
467 #define DUMP_BLOCK_RSV(fs_info, rsv_name) \ argument
492 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info) in dump_global_block_rsv()
501 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in __btrfs_dump_space_info()
519 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info()
[all …]
Ddev-replace.c71 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace()
241 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev()
353 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_run_dev_replace() local
467 static int mark_block_group_to_copy(struct btrfs_fs_info *fs_info, in mark_block_group_to_copy()
565 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_finish_block_group_to_copy() local
615 static int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start()
743 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 …]
Dblock-rsv.c103 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes()
182 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv()
191 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv()
204 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv()
213 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_add()
246 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_refill()
276 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release()
327 int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, in btrfs_cond_migrate_bytes()
352 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv()
427 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_root_block_rsv() local
[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.c27 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target()
56 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile()
105 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile()
270 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_next_block_group() local
309 struct btrfs_block_group *btrfs_inc_nocow_writers(struct btrfs_fs_info *fs_info, in btrfs_inc_nocow_writers()
362 void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, in btrfs_dec_block_group_reservations()
483 struct btrfs_fs_info *fs_info = block_group->fs_info; in fragment_free_space() local
557 struct btrfs_fs_info *fs_info = block_group->fs_info; in load_extent_tree_free() local
693 struct btrfs_fs_info *fs_info; in caching_thread() local
765 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_cache_block_group() local
[all …]
Dqgroup.c58 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add()
66 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release()
84 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup()
94 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup()
160 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb()
179 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb()
213 static void __del_qgroup_rb(struct btrfs_fs_info *fs_info, in __del_qgroup_rb()
237 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb()
286 static int add_relation_rb(struct btrfs_fs_info *fs_info, u64 memberid, u64 parentid) in add_relation_rb()
298 static int del_relation_rb(struct btrfs_fs_info *fs_info, in del_relation_rb()
[all …]
Dsysfs.c118 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features()
130 static void set_features(struct btrfs_fs_info *fs_info, in set_features()
177 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local
193 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local
260 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local
443 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local
454 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local
465 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local
476 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local
487 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local
[all …]
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
397 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata() local
425 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents() local
Dtree-mod-log.c43 static inline u64 btrfs_inc_tree_mod_seq(struct btrfs_fs_info *fs_info) in btrfs_inc_tree_mod_seq()
56 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_get_tree_mod_seq()
70 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info, in btrfs_put_tree_mod_seq()
129 static noinline int tree_mod_log_insert(struct btrfs_fs_info *fs_info, in tree_mod_log_insert()
169 static inline bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, in tree_mod_dont_log()
187 static inline bool tree_mod_need_log(const struct btrfs_fs_info *fs_info, in tree_mod_need_log()
323 static inline int tree_mod_log_free_eb(struct btrfs_fs_info *fs_info, in tree_mod_log_free_eb()
347 struct btrfs_fs_info *fs_info = old_root->fs_info; in btrfs_tree_mod_log_insert_root() local
413 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search()
460 static struct tree_mod_elem *tree_mod_log_search_oldest(struct btrfs_fs_info *fs_info, in tree_mod_log_search_oldest()
[all …]
Dsuper.c174 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error()
266 void __cold _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in _btrfs_printk()
309 void __cold btrfs_warn_32bit_limit(struct btrfs_fs_info *fs_info) in btrfs_warn_32bit_limit()
321 void __cold btrfs_err_32bit_limit(struct btrfs_fs_info *fs_info) in btrfs_err_32bit_limit()
352 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local
368 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic()
395 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_put_super() local
546 static bool check_ro_option(struct btrfs_fs_info *fs_info, unsigned long opt, in check_ro_option()
1277 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info, in btrfs_get_subvol_name_from_objectid()
1399 static int get_default_subvol_objectid(struct btrfs_fs_info *fs_info, u64 *objectid) in get_default_subvol_objectid()
[all …]
Dioctl.c214 static int check_fsflags_compatible(struct btrfs_fs_info *fs_info, in check_fsflags_compatible()
239 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_fileattr_set() local
387 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info, in btrfs_exclop_start()
413 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info, in btrfs_exclop_start_try_lock()
426 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info) in btrfs_exclop_start_unlock()
431 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info) in btrfs_exclop_finish()
439 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info, in btrfs_exclop_balance()
469 static noinline int btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, in btrfs_ioctl_fitrim()
576 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_subvol() local
769 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in create_snapshot() local
[all …]
Dvolumes.c1601 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local
1752 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_free_dev_extent() local
1802 static u64 find_next_chunk(struct btrfs_fs_info *fs_info) in find_next_chunk()
1821 static noinline int find_next_devid(struct btrfs_fs_info *fs_info, in find_next_devid()
1981 static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info, in btrfs_check_raid_min_devices()
2031 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_assign_next_active_device() local
2050 static u64 btrfs_num_devices(struct btrfs_fs_info *fs_info) in btrfs_num_devices()
2064 void btrfs_scratch_superblocks(struct btrfs_fs_info *fs_info, in btrfs_scratch_superblocks()
2109 int btrfs_rm_device(struct btrfs_fs_info *fs_info, in btrfs_rm_device()
2382 int btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, in btrfs_get_dev_args_from_path()
[all …]
Dzoned.h94 static inline int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
117 static inline int btrfs_check_zoned_mode(const struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
200 static inline bool btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info, in btrfs_check_meta_write_pointer()
227 struct btrfs_fs_info *fs_info, in btrfs_zoned_get_device()
249 static inline void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio()
257 static inline void btrfs_free_zone_cache(struct btrfs_fs_info *fs_info) { } in btrfs_free_zone_cache()
259 static inline bool btrfs_zoned_should_reclaim(struct btrfs_fs_info *fs_info) in btrfs_zoned_should_reclaim()
264 static inline void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_release_data_reloc_bg()
267 static inline int btrfs_zone_finish_one_bg(struct btrfs_fs_info *fs_info) in btrfs_zone_finish_one_bg()
272 static inline int btrfs_zoned_activate_one_bg(struct btrfs_fs_info *fs_info, in btrfs_zoned_activate_one_bg()
[all …]
Dzoned.c282 static int calculate_emulated_zone_size(struct btrfs_fs_info *fs_info) in calculate_emulated_zone_size()
325 int btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info *fs_info) in btrfs_get_dev_zone_info_all_devices()
352 struct btrfs_fs_info *fs_info = device->fs_info; in btrfs_get_dev_zone_info() local
696 static int btrfs_check_for_zoned_device(struct btrfs_fs_info *fs_info) in btrfs_check_for_zoned_device()
713 int btrfs_check_zoned_mode(struct btrfs_fs_info *fs_info) in btrfs_check_zoned_mode()
1205 struct btrfs_fs_info *fs_info = cache->fs_info; in calculate_alloc_pointer() local
1275 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_load_block_group_zone_info() local
1590 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_redirty_list_add() local
1625 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_use_zone_append() local
1679 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_rewrite_logical_zoned() local
[all …]
Dtree-defrag.c69 struct btrfs_fs_info *fs_info = inode->root->fs_info; in __btrfs_add_inode_defrag() local
104 static inline int __need_auto_defrag(struct btrfs_fs_info *fs_info) in __need_auto_defrag()
122 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_inode_defrag() local
169 struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode()
209 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_cleanup_defrag_inodes()
230 static int __btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info, in __btrfs_run_defrag_inode()
291 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_run_defrag_inodes()
Drelocation.c353 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr) in find_reloc_root()
627 struct btrfs_fs_info *fs_info = root->fs_info; in __add_reloc_root() local
660 struct btrfs_fs_info *fs_info = root->fs_info; in __del_reloc_root() local
704 struct btrfs_fs_info *fs_info = root->fs_info; in __update_reloc_root() local
735 struct btrfs_fs_info *fs_info = root->fs_info; in create_reloc_root() local
838 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_init_reloc_root() local
905 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_reloc_root() local
1059 struct btrfs_fs_info *fs_info = root->fs_info; in replace_file_extents() local
1203 struct btrfs_fs_info *fs_info = dest->fs_info; in replace_path() local
1511 struct btrfs_fs_info *fs_info = root->fs_info; in invalidate_extent_cache() local
[all …]
Dref-verify.c211 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace()
225 static inline void __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()
501 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local
606 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action()
620 static void dump_block_entry(struct btrfs_fs_info *fs_info, in dump_block_entry()
[all …]
Dscrub.c161 struct btrfs_fs_info *fs_info; member
443 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed()
453 static void scrub_pause_on(struct btrfs_fs_info *fs_info) in scrub_pause_on()
459 static void scrub_pause_off(struct btrfs_fs_info *fs_info) in scrub_pause_off()
469 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in scrub_blocked_if_needed()
588 static int lock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in lock_full_stripe()
635 static int unlock_full_stripe(struct btrfs_fs_info *fs_info, u64 bytenr, in unlock_full_stripe()
739 struct btrfs_fs_info *fs_info, int is_dev_replace) in scrub_setup_ctx()
807 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; in scrub_print_warning_inode() local
890 struct btrfs_fs_info *fs_info; in scrub_print_warning() local
[all …]
Dextent_io.c40 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb() local
50 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb() local
58 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info) in btrfs_extent_buffer_leak_debug_check()
225 static int process_one_page(struct btrfs_fs_info *fs_info, in process_one_page()
270 struct btrfs_fs_info *fs_info = btrfs_sb(mapping->host->i_sb); in __process_pages_contig() local
396 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in find_lock_delalloc_range() local
541 static int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start, in repair_io_failure()
633 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_repair_eb_io_failure() local
675 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_clean_io_failure() local
744 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_get_io_failure_record() 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.c55 static int test_case_1(struct btrfs_fs_info *fs_info, in test_case_1()
145 static int test_case_2(struct btrfs_fs_info *fs_info, in test_case_2()
227 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3()
310 static int test_case_3(struct btrfs_fs_info *fs_info, in test_case_3()
326 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4()
432 static int test_case_4(struct btrfs_fs_info *fs_info, in test_case_4()
458 static int test_rmap_block(struct btrfs_fs_info *fs_info, in test_rmap_block()
555 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map() local
Dbtrfs-tests.c96 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device()
119 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local
152 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info()
213 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group()
252 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()

1234