Lines Matching defs:fs_info
208 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btree_get_extent() local
257 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local
365 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum()
394 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_verify_level_key() local
461 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_read_extent_buffer_pages() local
513 static int csum_dirty_buffer(struct btrfs_fs_info *fs_info, struct page *page) in csum_dirty_buffer()
560 struct btrfs_fs_info *fs_info = eb->fs_info; in check_tree_block_fsid() local
597 struct btrfs_fs_info *fs_info = root->fs_info; in btree_readpage_end_io_hook() local
707 struct btrfs_fs_info *fs_info; in end_workqueue_bio() local
822 blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, in btrfs_wq_submit_bio()
880 static int check_async_write(struct btrfs_fs_info *fs_info, in check_async_write()
894 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btree_submit_bio_hook() local
958 struct btrfs_fs_info *fs_info; in btree_writepages() local
1035 void readahead_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr) in readahead_tree_block()
1052 struct btrfs_fs_info *fs_info, in btrfs_find_create_tree_block()
1068 struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, in read_tree_block()
1091 struct btrfs_fs_info *fs_info = buf->fs_info; in btrfs_clean_tree_block() local
1133 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root()
1204 static struct btrfs_root *btrfs_alloc_root(struct btrfs_fs_info *fs_info, in btrfs_alloc_root()
1215 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_root()
1237 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_create_tree() local
1311 struct btrfs_fs_info *fs_info) in alloc_log_tree()
1350 struct btrfs_fs_info *fs_info) in btrfs_init_log_root_tree()
1365 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_log_tree() local
1398 struct btrfs_fs_info *fs_info = tree_root->fs_info; in btrfs_read_tree_root() local
1512 struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, in btrfs_lookup_fs_root()
1524 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info, in btrfs_insert_fs_root()
1545 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, in btrfs_get_fs_root()
1667 struct btrfs_fs_info *fs_info = root->fs_info; in cleaner_kthread() local
1735 struct btrfs_fs_info *fs_info = root->fs_info; in transaction_kthread() local
1994 static void btrfs_stop_all_workers(struct btrfs_fs_info *fs_info) in btrfs_stop_all_workers()
2045 void btrfs_free_fs_roots(struct btrfs_fs_info *fs_info) in btrfs_free_fs_roots()
2081 static void btrfs_init_scrub(struct btrfs_fs_info *fs_info) in btrfs_init_scrub()
2092 static void btrfs_init_balance(struct btrfs_fs_info *fs_info) in btrfs_init_balance()
2102 static void btrfs_init_btree_inode(struct btrfs_fs_info *fs_info) in btrfs_init_btree_inode()
2130 static void btrfs_init_dev_replace_locks(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace_locks()
2137 static void btrfs_init_qgroup(struct btrfs_fs_info *fs_info) in btrfs_init_qgroup()
2149 static int btrfs_init_workqueues(struct btrfs_fs_info *fs_info, in btrfs_init_workqueues()
2233 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash()
2251 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash()
2256 static int btrfs_replay_log(struct btrfs_fs_info *fs_info, in btrfs_replay_log()
2309 static int btrfs_read_roots(struct btrfs_fs_info *fs_info) in btrfs_read_roots()
2396 static int validate_super(struct btrfs_fs_info *fs_info, in validate_super()
2552 static int btrfs_validate_mount_super(struct btrfs_fs_info *fs_info) in btrfs_validate_mount_super()
2563 static int btrfs_validate_write_super(struct btrfs_fs_info *fs_info, in btrfs_validate_write_super()
2605 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in open_ctree() local
3488 struct btrfs_fs_info *fs_info = device->fs_info; in write_dev_supers() local
3655 static int check_barrier_error(struct btrfs_fs_info *fs_info) in check_barrier_error()
3750 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers()
3863 void btrfs_drop_and_free_fs_root(struct btrfs_fs_info *fs_info, in btrfs_drop_and_free_fs_root()
3906 int btrfs_cleanup_fs_roots(struct btrfs_fs_info *fs_info) in btrfs_cleanup_fs_roots()
3957 int btrfs_commit_super(struct btrfs_fs_info *fs_info) in btrfs_commit_super()
3977 void close_ctree(struct btrfs_fs_info *fs_info) in close_ctree()
4107 struct btrfs_fs_info *fs_info; in btrfs_mark_buffer_dirty() local
4146 static void __btrfs_btree_balance_dirty(struct btrfs_fs_info *fs_info, in __btrfs_btree_balance_dirty()
4169 void btrfs_btree_balance_dirty(struct btrfs_fs_info *fs_info) in btrfs_btree_balance_dirty()
4174 void btrfs_btree_balance_dirty_nodelay(struct btrfs_fs_info *fs_info) in btrfs_btree_balance_dirty_nodelay()
4186 static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info) in btrfs_error_commit_super()
4214 static void btrfs_destroy_all_ordered_extents(struct btrfs_fs_info *fs_info) in btrfs_destroy_all_ordered_extents()
4247 struct btrfs_fs_info *fs_info) in btrfs_destroy_delayed_refs()
4338 static void btrfs_destroy_all_delalloc_inodes(struct btrfs_fs_info *fs_info) in btrfs_destroy_all_delalloc_inodes()
4362 static int btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, in btrfs_destroy_marked_extents()
4395 static int btrfs_destroy_pinned_extent(struct btrfs_fs_info *fs_info, in btrfs_destroy_pinned_extent()
4457 struct btrfs_fs_info *fs_info) in btrfs_cleanup_dirty_bgs()
4504 struct btrfs_fs_info *fs_info) in btrfs_cleanup_one_transaction()
4537 static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info) in btrfs_cleanup_transaction()