Lines Matching defs:fs_info
64 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
608 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block()
624 struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, in read_tree_block()
646 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root()
719 static struct btrfs_root *btrfs_alloc_root(struct btrfs_fs_info *fs_info, in btrfs_alloc_root()
730 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_root()
766 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_global_root_insert() local
784 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_global_root_delete() local
791 struct btrfs_root *btrfs_global_root(struct btrfs_fs_info *fs_info, in btrfs_global_root()
806 static u64 btrfs_global_root_id(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_global_root_id()
827 struct btrfs_root *btrfs_csum_root(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_csum_root()
838 struct btrfs_root *btrfs_extent_root(struct btrfs_fs_info *fs_info, u64 bytenr) in btrfs_extent_root()
852 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_tree() local
920 static struct btrfs_root *alloc_log_tree(struct btrfs_fs_info *fs_info) in alloc_log_tree()
964 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree()
989 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_log_tree() local
1031 struct btrfs_fs_info *fs_info = tree_root->fs_info; in read_tree_root_path() local
1153 static struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, in btrfs_lookup_fs_root()
1166 static struct btrfs_root *btrfs_get_global_root(struct btrfs_fs_info *fs_info, in btrfs_get_global_root()
1201 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info, in btrfs_insert_fs_root()
1224 void btrfs_check_leaked_roots(const struct btrfs_fs_info *fs_info) in btrfs_check_leaked_roots()
1245 static void free_global_roots(struct btrfs_fs_info *fs_info) in free_global_roots()
1257 void btrfs_free_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_fs_info()
1309 static struct btrfs_root *btrfs_get_root_ref(struct btrfs_fs_info *fs_info, in btrfs_get_root_ref()
1413 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root()
1427 struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_new_fs_root()
1448 struct btrfs_root *btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root_commit_root()
1482 struct btrfs_fs_info *fs_info = arg; in cleaner_kthread() local
1560 struct btrfs_fs_info *fs_info = root->fs_info; in transaction_kthread() local
1740 static int read_backup_root(struct btrfs_fs_info *fs_info, u8 priority) in read_backup_root()
1776 static void btrfs_stop_all_workers(struct btrfs_fs_info *fs_info) in btrfs_stop_all_workers()
1814 static void free_global_root_pointers(struct btrfs_fs_info *fs_info) in free_global_root_pointers()
1862 void btrfs_free_fs_roots(struct btrfs_fs_info *fs_info) in btrfs_free_fs_roots()
1889 static void btrfs_init_scrub(struct btrfs_fs_info *fs_info) in btrfs_init_scrub()
1900 static void btrfs_init_balance(struct btrfs_fs_info *fs_info) in btrfs_init_balance()
1913 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_init_btree_inode() local
1945 static void btrfs_init_dev_replace_locks(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace_locks()
1952 static void btrfs_init_qgroup(struct btrfs_fs_info *fs_info) in btrfs_init_qgroup()
1965 static int btrfs_init_workqueues(struct btrfs_fs_info *fs_info) in btrfs_init_workqueues()
2025 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash()
2063 static int btrfs_replay_log(struct btrfs_fs_info *fs_info, in btrfs_replay_log()
2122 struct btrfs_fs_info *fs_info = tree_root->fs_info; in load_global_roots_objectid() local
2227 static int btrfs_read_roots(struct btrfs_fs_info *fs_info) in btrfs_read_roots()
2340 int btrfs_validate_super(const struct btrfs_fs_info *fs_info, in btrfs_validate_super()
2541 static int btrfs_validate_mount_super(struct btrfs_fs_info *fs_info) in btrfs_validate_mount_super()
2552 static int btrfs_validate_write_super(struct btrfs_fs_info *fs_info, in btrfs_validate_write_super()
2608 static int load_important_roots(struct btrfs_fs_info *fs_info) in load_important_roots()
2625 static int __cold init_tree_roots(struct btrfs_fs_info *fs_info) in init_tree_roots()
2700 void btrfs_init_fs_info(struct btrfs_fs_info *fs_info) in btrfs_init_fs_info()
2838 static int init_mount_fs_info(struct btrfs_fs_info *fs_info, struct super_block *sb) in init_mount_fs_info()
2887 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_rescan_kthread() local
2906 static int btrfs_check_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_check_uuid_tree()
2922 static int btrfs_cleanup_fs_roots(struct btrfs_fs_info *fs_info) in btrfs_cleanup_fs_roots()
2977 int btrfs_start_pre_rw_mount(struct btrfs_fs_info *fs_info) in btrfs_start_pre_rw_mount()
3110 int btrfs_check_features(struct btrfs_fs_info *fs_info, bool is_rw_mount) in btrfs_check_features()
3211 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in open_ctree() local
3734 struct btrfs_fs_info *fs_info = device->fs_info; in write_dev_supers() local
4008 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers()
4121 void btrfs_drop_and_free_fs_root(struct btrfs_fs_info *fs_info, in btrfs_drop_and_free_fs_root()
4145 int btrfs_commit_super(struct btrfs_fs_info *fs_info) in btrfs_commit_super()
4159 static void warn_about_uncommitted_trans(struct btrfs_fs_info *fs_info) in warn_about_uncommitted_trans()
4198 void __cold close_ctree(struct btrfs_fs_info *fs_info) in close_ctree()
4396 struct btrfs_fs_info *fs_info = buf->fs_info; in btrfs_mark_buffer_dirty() local
4420 static void __btrfs_btree_balance_dirty(struct btrfs_fs_info *fs_info, in __btrfs_btree_balance_dirty()
4443 void btrfs_btree_balance_dirty(struct btrfs_fs_info *fs_info) in btrfs_btree_balance_dirty()
4448 void btrfs_btree_balance_dirty_nodelay(struct btrfs_fs_info *fs_info) in btrfs_btree_balance_dirty_nodelay()
4453 static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info) in btrfs_error_commit_super()
4466 static void btrfs_drop_all_logs(struct btrfs_fs_info *fs_info) in btrfs_drop_all_logs()
4511 static void btrfs_destroy_all_ordered_extents(struct btrfs_fs_info *fs_info) in btrfs_destroy_all_ordered_extents()
4574 static void btrfs_destroy_all_delalloc_inodes(struct btrfs_fs_info *fs_info) in btrfs_destroy_all_delalloc_inodes()
4596 static void btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, in btrfs_destroy_marked_extents()
4623 static void btrfs_destroy_pinned_extent(struct btrfs_fs_info *fs_info, in btrfs_destroy_pinned_extent()
4674 struct btrfs_fs_info *fs_info) in btrfs_cleanup_dirty_bgs()
4720 static void btrfs_free_all_qgroup_pertrans(struct btrfs_fs_info *fs_info) in btrfs_free_all_qgroup_pertrans()
4748 struct btrfs_fs_info *fs_info = cur_trans->fs_info; in btrfs_cleanup_one_transaction() local
4776 static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info) in btrfs_cleanup_transaction()