Home
last modified time | relevance | path

Searched refs:btrfs_fs_info (Results 1 – 25 of 89) sorted by relevance

1234

/linux/fs/btrfs/
A Dsubpage.h78 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info,
80 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info,
88 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info,
90 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info,
93 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info,
95 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info,
98 void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_info,
104 void btrfs_page_end_writer_lock(const struct btrfs_fs_info *fs_info,
128 void btrfs_page_set_##name(const struct btrfs_fs_info *fs_info, \
130 void btrfs_page_clear_##name(const struct btrfs_fs_info *fs_info, \
[all …]
A Ddisk-io.h38 void btrfs_check_leaked_roots(struct btrfs_fs_info *fs_info);
39 void btrfs_init_fs_info(struct btrfs_fs_info *fs_info);
46 struct btrfs_fs_info *fs_info,
55 void __cold close_ctree(struct btrfs_fs_info *fs_info);
60 int btrfs_commit_super(struct btrfs_fs_info *fs_info);
63 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info,
65 void btrfs_free_fs_roots(struct btrfs_fs_info *fs_info);
75 void btrfs_free_fs_info(struct btrfs_fs_info *fs_info);
123 struct btrfs_fs_info *fs_info);
127 struct btrfs_fs_info *fs_info);
[all …]
A Dvolumes.h62 struct btrfs_fs_info *fs_info;
301 struct btrfs_fs_info *fs_info;
384 struct btrfs_fs_info *fs_info;
504 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info);
505 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info);
531 int btrfs_rm_device(struct btrfs_fs_info *fs_info,
542 int btrfs_balance(struct btrfs_fs_info *fs_info,
548 int btrfs_pause_balance(struct btrfs_fs_info *fs_info);
550 int btrfs_cancel_balance(struct btrfs_fs_info *fs_info);
557 int btrfs_get_dev_stats(struct btrfs_fs_info *fs_info,
[all …]
A Dref-verify.h10 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 Dblock-group.h59 struct btrfs_fs_info *fs_info;
232 struct btrfs_fs_info *fs_info = block_group->fs_info; in btrfs_should_fragment_free_space()
242 struct btrfs_fs_info *info, u64 bytenr);
244 struct btrfs_fs_info *info, u64 bytenr);
266 struct btrfs_fs_info *fs_info,
270 void btrfs_delete_unused_bgs(struct btrfs_fs_info *fs_info);
273 void btrfs_reclaim_bgs(struct btrfs_fs_info *fs_info);
275 int btrfs_read_block_groups(struct btrfs_fs_info *info);
299 void btrfs_put_block_group_cache(struct btrfs_fs_info *info);
300 int btrfs_free_block_groups(struct btrfs_fs_info *info);
[all …]
A Dsysfs.h22 void btrfs_sysfs_feature_update(struct btrfs_fs_info *fs_info,
28 int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info);
29 void btrfs_sysfs_remove_mounted(struct btrfs_fs_info *fs_info);
31 int btrfs_sysfs_add_space_info_type(struct btrfs_fs_info *fs_info,
36 int btrfs_sysfs_add_one_qgroup(struct btrfs_fs_info *fs_info,
38 void btrfs_sysfs_del_qgroups(struct btrfs_fs_info *fs_info);
39 int btrfs_sysfs_add_qgroups(struct btrfs_fs_info *fs_info);
40 void btrfs_sysfs_del_one_qgroup(struct btrfs_fs_info *fs_info,
A Dsubpage.c97 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_attach_subpage()
121 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, in btrfs_detach_subpage()
173 void btrfs_page_inc_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_inc_eb_refs()
188 void btrfs_page_dec_eb_refs(const struct btrfs_fs_info *fs_info, in btrfs_page_dec_eb_refs()
220 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_reader()
231 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, in btrfs_subpage_end_reader()
273 void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_info, in btrfs_subpage_start_writer()
417 void btrfs_subpage_set_error(const struct btrfs_fs_info *fs_info, in btrfs_subpage_set_error()
446 void btrfs_subpage_set_dirty(const struct btrfs_fs_info *fs_info, in btrfs_subpage_set_dirty()
620 void btrfs_page_set_##name(const struct btrfs_fs_info *fs_info, \
[all …]
A Dblock-rsv.h53 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info,
55 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info,
58 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info,
71 int btrfs_cond_migrate_bytes(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 Dspace-info.h92 btrfs_space_info_update_##name(struct btrfs_fs_info *fs_info, \
113 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
114 void btrfs_update_space_info(struct btrfs_fs_info *info, u64 flags,
118 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info,
122 void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
123 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info,
130 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info,
132 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info,
137 struct btrfs_fs_info *fs_info, in btrfs_space_info_free_bytes_may_use()
146 int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes,
A Dzoned.h37 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);
62 bool btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info,
70 struct btrfs_device *btrfs_zoned_get_device(struct btrfs_fs_info *fs_info,
76 void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical,
107 static inline int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info) in btrfs_check_mountopts_zoned()
208 struct btrfs_fs_info *fs_info, in btrfs_zoned_get_device()
230 static inline void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, in btrfs_zone_finish_endio()
326 static inline void btrfs_zoned_meta_io_lock(struct btrfs_fs_info *fs_info) in btrfs_zoned_meta_io_lock()
[all …]
A Ddev-replace.h11 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info);
13 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info,
15 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info,
17 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info);
18 void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info);
19 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info);
A Ddiscard.h8 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 Dqgroup.h246 int btrfs_quota_enable(struct btrfs_fs_info *fs_info);
247 int btrfs_quota_disable(struct btrfs_fs_info *fs_info);
248 int btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info);
249 void btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info);
250 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info,
260 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info);
261 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info);
276 struct btrfs_fs_info *fs_info,
348 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info,
353 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid,
[all …]
A Dspace-info.c175 void btrfs_clear_space_info_full(struct btrfs_fs_info *info) in btrfs_clear_space_info_full()
217 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info()
331 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, in btrfs_can_overcommit()
436 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, in btrfs_dump_space_info()
485 static void shrink_delalloc(struct btrfs_fs_info *fs_info, in shrink_delalloc()
616 static void flush_space(struct btrfs_fs_info *fs_info, in flush_space()
936 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_metadata_space()
1024 struct btrfs_fs_info *fs_info; in btrfs_preempt_reclaim_metadata_space()
1032 fs_info = container_of(work, struct btrfs_fs_info, in btrfs_preempt_reclaim_metadata_space()
1155 struct btrfs_fs_info *fs_info; in btrfs_async_reclaim_data_space()
[all …]
A Dtransaction.h88 struct btrfs_fs_info *fs_info;
139 struct btrfs_fs_info *fs_info;
214 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid);
223 void btrfs_throttle(struct btrfs_fs_info *fs_info);
226 int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info,
229 int btrfs_transaction_blocked(struct btrfs_fs_info *info);
230 int btrfs_transaction_in_commit(struct btrfs_fs_info *info);
232 void btrfs_apply_pending_changes(struct btrfs_fs_info *fs_info);
A Dsysfs.c171 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show()
187 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store()
254 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible()
768 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show()
783 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store()
819 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_nodesize_show()
829 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_sectorsize_show()
839 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_clone_alignment_show()
849 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in quota_override_show()
860 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in quota_override_store()
[all …]
A Dbackref.h23 int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical,
31 int iterate_extent_inodes(struct btrfs_fs_info *fs_info,
37 int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info,
45 struct btrfs_fs_info *fs_info, u64 bytenr,
49 struct btrfs_fs_info *fs_info, u64 bytenr,
91 struct btrfs_fs_info *fs_info;
99 struct btrfs_fs_info *fs_info, gfp_t gfp_flag);
262 struct btrfs_fs_info *fs_info;
273 void btrfs_backref_init_cache(struct btrfs_fs_info *fs_info,
362 static inline void btrfs_backref_panic(struct btrfs_fs_info *fs_info, in btrfs_backref_panic()
A Ddelalloc-space.c117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand()
132 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space()
164 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota()
185 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space()
211 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release()
233 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, in btrfs_calculate_inode_block_rsv_size()
272 static void calc_inode_reservations(struct btrfs_fs_info *fs_info, in calc_inode_reservations()
294 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delalloc_reserve_metadata()
382 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_metadata()
409 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_delalloc_release_extents()
A Ddisk-io.c57 struct btrfs_fs_info *fs_info);
76 struct btrfs_fs_info *info;
739 struct btrfs_fs_info *fs_info; in end_workqueue_bio()
982 struct btrfs_fs_info *fs_info; in btree_writepages()
1084 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block()
1320 struct btrfs_fs_info *fs_info) in alloc_log_tree()
1364 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree()
3045 struct btrfs_fs_info *fs_info = (struct btrfs_fs_info *)data; in btrfs_uuid_rescan_kthread()
4656 struct btrfs_fs_info *fs_info) in btrfs_destroy_delayed_refs()
4873 struct btrfs_fs_info *fs_info) in btrfs_cleanup_dirty_bgs()
[all …]
A Dextent_io.h70 struct btrfs_fs_info;
86 struct btrfs_fs_info *fs_info;
198 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info,
200 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info,
202 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info,
205 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info,
215 void btrfs_readahead_tree_block(struct btrfs_fs_info *fs_info,
316 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info,
320 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info);
A Dtransaction.c161 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots()
265 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata()
411 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans()
472 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root()
491 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans()
556 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root()
572 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction()
960 struct btrfs_fs_info *info = trans->fs_info; in __btrfs_end_transaction()
1199 struct btrfs_fs_info *fs_info = root->fs_info; in update_cowonly_root()
1391 struct btrfs_fs_info *info = root->fs_info; in btrfs_defrag_root()
[all …]
A Dctree.h624 struct btrfs_fs_info { struct
1140 struct btrfs_fs_info *fs_info;
2673 const struct btrfs_fs_info *fs_info, u64 csum_bytes) in btrfs_csum_bytes_to_leaves()
2710 struct btrfs_fs_info *fs_info, u64 bytenr,
2833 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
2835 struct btrfs_fs_info *fs_info);
3307 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
3312 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
3806 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
3808 int btrfs_scrub_cancel(struct btrfs_fs_info *info);
[all …]
A Dasync-thread.h12 struct btrfs_fs_info;
32 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info,
44 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work);
45 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct __btrfs_workqueue *wq);
A Dblock-rsv.c102 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes()
180 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv()
189 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv()
202 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv()
274 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release()
325 int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, in btrfs_cond_migrate_bytes()
350 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_update_global_block_rsv()
415 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_init_global_block_rsv()
448 void btrfs_release_global_block_rsv(struct btrfs_fs_info *fs_info) in btrfs_release_global_block_rsv()
466 struct btrfs_fs_info *fs_info = root->fs_info; in get_block_rsv()
[all …]
/linux/fs/btrfs/tests/
A Dbtrfs-tests.h41 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);

Completed in 66 milliseconds

1234