Lines Matching defs:root

243 u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len)  in btrfs_csum_data()
257 static int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf, in csum_tree_block()
358 static int btree_read_extent_buffer_pages(struct btrfs_root *root, in btree_read_extent_buffer_pages()
402 static int csum_dirty_buffer(struct btrfs_root *root, struct page *page) in csum_dirty_buffer()
454 static int check_tree_block_fsid(struct btrfs_root *root, in check_tree_block_fsid()
473 #define CORRUPT(reason, eb, root, slot) \ argument
479 static noinline int check_leaf(struct btrfs_root *root, in check_leaf()
548 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local
629 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_io_failed_hook() local
808 struct btrfs_root *root; in btree_csum_one_bio() local
899 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_writepage() local
931 struct btrfs_root *root = BTRFS_I(mapping->host)->root; in btree_writepages() local
1012 int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize, in readahead_tree_block()
1028 int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, u32 blocksize, in reada_tree_block_flagged()
1060 struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root, in btrfs_find_tree_block()
1070 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, in btrfs_find_create_tree_block()
1094 struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, in read_tree_block()
1112 int clean_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, in clean_tree_block()
1138 u32 stripesize, struct btrfs_root *root, in __setup_root()
1198 struct btrfs_root *root) in find_and_setup_root()
1229 struct btrfs_root *root = kzalloc(sizeof(*root), GFP_NOFS); in btrfs_alloc_root() local
1238 struct btrfs_root *root; in alloc_log_tree() local
1298 struct btrfs_root *root) in btrfs_add_log_tree()
1329 struct btrfs_root *root; in btrfs_read_fs_root_no_radix() local
1393 struct btrfs_root *root; in btrfs_read_fs_root_no_name() local
1586 struct btrfs_root *root = arg; in cleaner_kthread() local
1611 struct btrfs_root *root = arg; in transaction_kthread() local
2808 int write_all_supers(struct btrfs_root *root, int max_mirrors) in write_all_supers()
2886 struct btrfs_root *root, int max_mirrors) in write_ctree_super()
2894 int btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root) in btrfs_free_fs_root()
2910 static void free_fs_root(struct btrfs_root *root) in free_fs_root()
2984 int btrfs_commit_super(struct btrfs_root *root) in btrfs_commit_super()
3015 int close_ctree(struct btrfs_root *root) in close_ctree()
3146 struct btrfs_root *root = BTRFS_I(buf->first_page->mapping->host)->root; in btrfs_mark_buffer_dirty() local
3169 void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr) in btrfs_btree_balance_dirty()
3192 void __btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr) in __btrfs_btree_balance_dirty()
3215 struct btrfs_root *root = BTRFS_I(buf->first_page->mapping->host)->root; in btrfs_read_buffer() local
3227 struct btrfs_root *root = BTRFS_I(inode)->root; in btree_lock_page_hook() local
3277 int btrfs_error_commit_super(struct btrfs_root *root) in btrfs_error_commit_super()
3296 static int btrfs_destroy_ordered_operations(struct btrfs_root *root) in btrfs_destroy_ordered_operations()
3322 static int btrfs_destroy_ordered_extents(struct btrfs_root *root) in btrfs_destroy_ordered_extents()
3359 struct btrfs_root *root) in btrfs_destroy_delayed_refs()
3432 static int btrfs_destroy_delalloc_inodes(struct btrfs_root *root) in btrfs_destroy_delalloc_inodes()
3456 static int btrfs_destroy_marked_extents(struct btrfs_root *root, in btrfs_destroy_marked_extents()
3515 static int btrfs_destroy_pinned_extent(struct btrfs_root *root, in btrfs_destroy_pinned_extent()
3544 static int btrfs_cleanup_transaction(struct btrfs_root *root) in btrfs_cleanup_transaction()