Lines Matching refs:btrfs_root
67 struct btrfs_root *root;
146 struct btrfs_root *root, struct inode *inode, in insert_inline_extent()
247 static noinline int cow_file_range_inline(struct btrfs_root *root, in cow_file_range_inline()
345 struct btrfs_root *root;
376 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_need_compress()
414 struct btrfs_root *root = BTRFS_I(inode)->root; in compress_file_range()
692 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_compressed_extents()
945 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range()
1125 struct btrfs_root *root; in async_cow_submit()
1160 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range_async()
1216 static noinline int csum_exist_in_range(struct btrfs_root *root, in csum_exist_in_range()
1248 struct btrfs_root *root = BTRFS_I(inode)->root; in run_delalloc_nocow()
1698 static void btrfs_add_delalloc_inodes(struct btrfs_root *root, in btrfs_add_delalloc_inodes()
1719 static void btrfs_del_delalloc_inode(struct btrfs_root *root, in btrfs_del_delalloc_inode()
1755 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_set_bit_hook()
1806 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_clear_bit_hook()
1861 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btrfs_merge_bio_hook()
1893 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_submit_bio_start()
1913 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_submit_bio_done()
1932 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_submit_bio_hook()
2106 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_writepage_start_hook()
2135 struct btrfs_root *root = BTRFS_I(inode)->root; in insert_reserved_file_extent()
2313 struct btrfs_root *root; in record_one_backref()
2487 struct btrfs_root *root; in relink_extent_backref()
2698 struct btrfs_root *root; in relink_file_extents()
2748 struct btrfs_root *root = BTRFS_I(inode)->root; in record_old_file_extents()
2857 static void btrfs_release_delalloc_bytes(struct btrfs_root *root, in btrfs_release_delalloc_bytes()
2879 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_finish_ordered_io()
3078 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_writepage_end_io_hook()
3148 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_readpage_end_io_hook()
3187 void btrfs_run_delayed_iputs(struct btrfs_root *root) in btrfs_run_delayed_iputs()
3217 struct btrfs_root *root) in btrfs_orphan_commit_root()
3267 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_orphan_add()
3363 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_orphan_del()
3395 int btrfs_orphan_cleanup(struct btrfs_root *root) in btrfs_orphan_cleanup()
3473 struct btrfs_root *dead_root; in btrfs_orphan_cleanup()
3672 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_read_locked_inode()
3910 struct btrfs_root *root, struct inode *inode) in btrfs_update_inode_item()
3947 struct btrfs_root *root, struct inode *inode) in btrfs_update_inode()
3973 struct btrfs_root *root, in btrfs_update_inode_fallback()
3990 struct btrfs_root *root, in __btrfs_unlink_inode()
4090 struct btrfs_root *root, in btrfs_unlink_inode()
4113 struct btrfs_root *root = BTRFS_I(dir)->root; in __unlink_start_trans()
4127 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_unlink()
4156 struct btrfs_root *root, in btrfs_unlink_subvol()
4239 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_rmdir()
4293 struct btrfs_root *root, in truncate_space_check()
4326 struct btrfs_root *root = BTRFS_I(inode)->root; in truncate_inline_extent()
4370 struct btrfs_root *root, in btrfs_truncate_inode_items()
4721 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_truncate_block()
4827 static int maybe_insert_hole(struct btrfs_root *root, struct inode *inode, in maybe_insert_hole()
4878 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_cont_expand()
4983 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setsize()
5101 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setattr()
5225 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_evict_inode()
5410 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_inode_by_name()
5439 static int fixup_tree_root_location(struct btrfs_root *root, in fixup_tree_root_location()
5443 struct btrfs_root **sub_root) in fixup_tree_root_location()
5446 struct btrfs_root *new_root; in fixup_tree_root_location()
5504 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_tree_add()
5540 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_tree_del()
5561 void btrfs_invalidate_inodes(struct btrfs_root *root) in btrfs_invalidate_inodes()
5643 struct btrfs_root *root) in btrfs_iget_locked()
5662 struct btrfs_root *root, int *new) in btrfs_iget()
5692 struct btrfs_root *root) in new_simple_dir()
5719 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_lookup_dentry()
5720 struct btrfs_root *sub_root = root; in btrfs_lookup_dentry()
5771 struct btrfs_root *root; in btrfs_dentry_delete()
5816 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_real_readdir()
6012 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_write_inode()
6043 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_dirty_inode()
6078 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_update_time()
6101 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_set_inode_index_count()
6186 struct btrfs_root *root, in btrfs_new_inode()
6369 struct btrfs_root *root = BTRFS_I(parent_inode)->root; in btrfs_add_link()
6448 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_mknod()
6519 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_create()
6593 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_link()
6668 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_mkdir()
6865 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_get_extent()
7300 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_new_extent_direct()
7334 struct btrfs_root *root = BTRFS_I(inode)->root; in can_nocow_extent()
7625 struct btrfs_root *root = BTRFS_I(inode)->root; in create_pinned_em()
7697 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_get_blocks_direct()
7898 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_dio_repair_bio()
8244 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_endio_direct_write_update_ordered()
8296 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_submit_bio_start_direct_io()
8351 static inline int btrfs_lookup_and_bind_dio_csum(struct btrfs_root *root, in btrfs_lookup_and_bind_dio_csum()
8389 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_submit_dio_bio()
8438 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_submit_direct_hook()
8666 static ssize_t check_direct_IO(struct btrfs_root *root, struct kiocb *iocb, in check_direct_IO()
8703 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_direct_IO()
9025 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_page_mkwrite()
9170 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_truncate()
9311 struct btrfs_root *new_root, in btrfs_create_subvol_root()
9312 struct btrfs_root *parent_root, in btrfs_create_subvol_root()
9416 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_destroy_inode()
9463 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_drop_inode()
9559 struct btrfs_root *root = BTRFS_I(old_dir)->root; in btrfs_rename_exchange()
9560 struct btrfs_root *dest = BTRFS_I(new_dir)->root; in btrfs_rename_exchange()
9772 struct btrfs_root *root, in btrfs_whiteout_for_rename()
9828 struct btrfs_root *root = BTRFS_I(old_dir)->root; in btrfs_rename()
9829 struct btrfs_root *dest = BTRFS_I(new_dir)->root; in btrfs_rename()
10102 static int __start_delalloc_inodes(struct btrfs_root *root, int delay_iput, in __start_delalloc_inodes()
10166 int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput) in btrfs_start_delalloc_inodes()
10195 struct btrfs_root *root; in btrfs_start_delalloc_roots()
10208 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots()
10252 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_symlink()
10382 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_prealloc_file_range()
10530 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_permission()
10546 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_tmpfile()