| /linux-4.4.14/fs/btrfs/ | 
| D | disk-io.h | 47 struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, 49 void readahead_tree_block(struct btrfs_root *root, u64 bytenr); 50 int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, 52 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, 59 void close_ctree(struct btrfs_root *root); 61 		      struct btrfs_root *root, int max_mirrors); 65 int btrfs_commit_super(struct btrfs_root *root); 68 struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root, 70 int btrfs_init_fs_root(struct btrfs_root *root); 72 			 struct btrfs_root *root); [all …] 
 | 
| D | transaction.h | 130 	struct btrfs_root *root; 139 	struct btrfs_root *root; 140 	struct btrfs_root *snap; 185 			  struct btrfs_root *root); 186 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 189 					struct btrfs_root *root, 193 					struct btrfs_root *root, 195 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 196 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root); 197 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root); [all …] 
 | 
| D | inode-map.h | 4 void btrfs_init_free_ino_ctl(struct btrfs_root *root); 5 void btrfs_unpin_free_ino(struct btrfs_root *root); 6 void btrfs_return_ino(struct btrfs_root *root, u64 objectid); 7 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid); 8 int btrfs_save_ino_cache(struct btrfs_root *root, 11 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid); 12 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
  | 
| D | free-space-cache.h | 54 struct inode *lookup_free_space_inode(struct btrfs_root *root, 57 int create_free_space_inode(struct btrfs_root *root, 62 int btrfs_check_trunc_cache_free_space(struct btrfs_root *root, 64 int btrfs_truncate_free_space_cache(struct btrfs_root *root, 70 int btrfs_wait_cache_io(struct btrfs_root *root, 75 int btrfs_write_out_cache(struct btrfs_root *root, 79 struct inode *lookup_free_ino_inode(struct btrfs_root *root, 81 int create_free_ino_inode(struct btrfs_root *root, 85 			struct btrfs_root *root); 86 int btrfs_write_out_ino_cache(struct btrfs_root *root, [all …] 
 | 
| D | delayed-inode.h | 58 	struct btrfs_root *root; 102 				   struct btrfs_root *root, const char *name, 108 				   struct btrfs_root *root, struct inode *dir, 114 			    struct btrfs_root *root); 116 			       struct btrfs_root *root, int nr); 118 void btrfs_balance_delayed_items(struct btrfs_root *root); 129 			       struct btrfs_root *root, struct inode *inode); 134 void btrfs_kill_all_delayed_nodes(struct btrfs_root *root); 137 void btrfs_destroy_delayed_inodes(struct btrfs_root *root); 154 void btrfs_assert_delayed_root_empty(struct btrfs_root *root);
  | 
| D | ctree.h | 1303 	struct btrfs_root *root; 1424 	struct btrfs_root *extent_root; 1425 	struct btrfs_root *tree_root; 1426 	struct btrfs_root *chunk_root; 1427 	struct btrfs_root *dev_root; 1428 	struct btrfs_root *fs_root; 1429 	struct btrfs_root *csum_root; 1430 	struct btrfs_root *quota_root; 1431 	struct btrfs_root *uuid_root; 1434 	struct btrfs_root *log_root_tree; [all …] 
 | 
| D | tree-log.h | 59 		   struct btrfs_root *root, struct btrfs_log_ctx *ctx); 60 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 63 int btrfs_recover_log_trees(struct btrfs_root *tree_root); 65 			  struct btrfs_root *root, struct dentry *dentry, 70 				 struct btrfs_root *root, 74 			       struct btrfs_root *root, 77 void btrfs_end_log_trans(struct btrfs_root *root); 78 int btrfs_pin_log_trans(struct btrfs_root *root);
  | 
| D | volumes.h | 55 	struct btrfs_root *dev_root; 434 int btrfs_read_sys_array(struct btrfs_root *root); 435 int btrfs_read_chunk_tree(struct btrfs_root *root); 437 		      struct btrfs_root *extent_root, u64 type); 440 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, 448 int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, 454 int btrfs_rm_device(struct btrfs_root *root, char *device_path); 462 int btrfs_init_new_device(struct btrfs_root *root, char *path); 463 int btrfs_init_dev_replace_tgtdev(struct btrfs_root *root, char *device_path, 474 int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); [all …] 
 | 
| D | transaction.c | 114 	struct btrfs_root *root, *tmp;  in switch_commit_roots() 131 					struct btrfs_root, root_list);  in switch_commit_roots() 169 static noinline int join_transaction(struct btrfs_root *root, unsigned int type)  in join_transaction() 297 			       struct btrfs_root *root)  in record_root_in_trans() 355 			    struct btrfs_root *root)  in btrfs_add_dropped_root() 373 			       struct btrfs_root *root)  in btrfs_record_root_in_trans() 405 static void wait_current_trans(struct btrfs_root *root)  in wait_current_trans() 424 static int may_wait_transaction(struct btrfs_root *root, int type)  in may_wait_transaction() 439 static inline bool need_reserve_reloc_root(struct btrfs_root *root)  in need_reserve_reloc_root() 451 start_transaction(struct btrfs_root *root, unsigned int num_items,  in start_transaction() [all …] 
 | 
| D | raid56.h | 45 int raid56_parity_recover(struct btrfs_root *root, struct bio *bio, 48 int raid56_parity_write(struct btrfs_root *root, struct bio *bio, 55 raid56_parity_alloc_scrub_rbio(struct btrfs_root *root, struct bio *bio, 62 raid56_alloc_missing_rbio(struct btrfs_root *root, struct bio *bio,
  | 
| D | backref.h | 28 	struct btrfs_root		*fs_root; 57 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 63 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, 67 int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
  | 
| D | disk-io.c | 59 static void free_fs_root(struct btrfs_root *root); 62 static void btrfs_destroy_ordered_extents(struct btrfs_root *root); 64 				      struct btrfs_root *root); 65 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root); 66 static int btrfs_destroy_marked_extents(struct btrfs_root *root, 69 static int btrfs_destroy_pinned_extent(struct btrfs_root *root, 71 static int btrfs_cleanup_transaction(struct btrfs_root *root); 72 static void btrfs_error_commit_super(struct btrfs_root *root); 437 static int btree_read_extent_buffer_pages(struct btrfs_root *root,  in btree_read_extent_buffer_pages() 538 static noinline int check_leaf(struct btrfs_root *root,  in check_leaf() [all …] 
 | 
| D | ordered-data.h | 148 static inline int btrfs_ordered_sum_size(struct btrfs_root *root,  in btrfs_ordered_sum_size() 200 int btrfs_wait_ordered_extents(struct btrfs_root *root, int nr); 208 				 struct btrfs_root *log); 210 			       struct btrfs_root *log, u64 transid); 211 void btrfs_free_logged_extents(struct btrfs_root *log, u64 transid);
  | 
| D | dir-item.c | 34 						   struct btrfs_root *root,  in insert_with_overflow() 69 			    struct btrfs_root *root,  in btrfs_insert_xattr_item() 120 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root  in btrfs_insert_dir_item() 192 					     struct btrfs_root *root,  in btrfs_lookup_dir_item() 216 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,  in btrfs_check_dir_item_collision() 285 			    struct btrfs_root *root,  in btrfs_lookup_dir_index_item() 308 btrfs_search_dir_index_item(struct btrfs_root *root,  in btrfs_search_dir_index_item() 355 					  struct btrfs_root *root,  in btrfs_lookup_xattr() 382 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root,  in btrfs_match_dir_item_name() 421 			      struct btrfs_root *root,  in btrfs_delete_one_dir_name() [all …] 
 | 
| D | tree-log.c | 97 			   struct btrfs_root *root, struct inode *inode, 103 			     struct btrfs_root *root, 106 				       struct btrfs_root *root, 107 				       struct btrfs_root *log, 140 			   struct btrfs_root *root,  in start_log_trans() 193 static int join_running_log_trans(struct btrfs_root *root)  in join_running_log_trans() 215 int btrfs_pin_log_trans(struct btrfs_root *root)  in btrfs_pin_log_trans() 229 void btrfs_end_log_trans(struct btrfs_root *root)  in btrfs_end_log_trans() 272 	struct btrfs_root *replay_dest; 282 	int (*process_func)(struct btrfs_root *log, struct extent_buffer *eb, [all …] 
 | 
| D | root-tree.c | 82 int btrfs_find_root(struct btrfs_root *root, struct btrfs_key *search_key,  in btrfs_find_root() 136 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root  in btrfs_update_root() 213 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,  in btrfs_insert_root() 223 int btrfs_find_orphan_roots(struct btrfs_root *tree_root)  in btrfs_find_orphan_roots() 229 	struct btrfs_root *root;  in btrfs_find_orphan_roots() 336 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,  in btrfs_del_root() 358 		       struct btrfs_root *tree_root,  in btrfs_del_root_ref() 429 		       struct btrfs_root *tree_root,  in btrfs_add_root_ref() 496 			     struct btrfs_root *root)  in btrfs_update_root_times()
  | 
| D | print-tree.h | 21 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l); 22 void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *c);
  | 
| D | extent-tree.c | 78 			      struct btrfs_root *root, u64 bytenr, 81 				struct btrfs_root *root, 90 				      struct btrfs_root *root, 95 				     struct btrfs_root *root, 100 			  struct btrfs_root *extent_root, u64 flags, 111 int btrfs_pin_extent(struct btrfs_root *root, 228 static int add_excluded_extent(struct btrfs_root *root,  in add_excluded_extent() 239 static void free_excluded_extents(struct btrfs_root *root,  in free_excluded_extents() 253 static int exclude_super_stripes(struct btrfs_root *root,  in exclude_super_stripes() 335 static void fragment_free_space(struct btrfs_root *root,  in fragment_free_space() [all …] 
 | 
| D | inode-map.c | 31 	struct btrfs_root *root = data;  in caching_kthread() 137 static void start_caching(struct btrfs_root *root)  in start_caching() 186 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid)  in btrfs_find_free_ino() 210 void btrfs_return_ino(struct btrfs_root *root, u64 objectid)  in btrfs_return_ino() 245 void btrfs_unpin_free_ino(struct btrfs_root *root)  in btrfs_unpin_free_ino() 364 void btrfs_init_free_ino_ctl(struct btrfs_root *root)  in btrfs_init_free_ino_ctl() 392 int btrfs_save_ino_cache(struct btrfs_root *root,  in btrfs_save_ino_cache() 518 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid)  in btrfs_find_highest_objectid() 553 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid)  in btrfs_find_free_objectid()
  | 
| D | relocation.c | 60 	struct btrfs_root *root; 161 	struct btrfs_root *extent_root; 527 static int should_ignore_root(struct btrfs_root *root)  in should_ignore_root() 529 	struct btrfs_root *reloc_root;  in should_ignore_root() 552 static struct btrfs_root *find_reloc_root(struct reloc_control *rc,  in find_reloc_root() 557 	struct btrfs_root *root = NULL;  in find_reloc_root() 563 		root = (struct btrfs_root *)node->data;  in find_reloc_root() 583 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info,  in read_fs_root() 600 struct btrfs_root *find_tree_root(struct reloc_control *rc,  in find_tree_root() 604 	struct btrfs_root *root;  in find_tree_root() [all …] 
 | 
| D | delayed-inode.c | 52 				struct btrfs_root *root, u64 inode_id)  in btrfs_init_delayed_node() 82 							struct btrfs_root *root)  in btrfs_get_delayed_root() 90 	struct btrfs_root *root = btrfs_inode->root;  in btrfs_get_delayed_node() 126 	struct btrfs_root *root = btrfs_inode->root;  in btrfs_get_or_create_delayed_node() 271 		struct btrfs_root *root = delayed_node->root;  in __btrfs_release_delayed_node() 547 					       struct btrfs_root *root,  in btrfs_delayed_item_reserve_metadata() 573 static void btrfs_delayed_item_release_metadata(struct btrfs_root *root,  in btrfs_delayed_item_release_metadata() 591 					struct btrfs_root *root,  in btrfs_delayed_inode_reserve_metadata() 703 static void btrfs_delayed_inode_release_metadata(struct btrfs_root *root,  in btrfs_delayed_inode_release_metadata() 723 static int btrfs_batch_insert_items(struct btrfs_root *root,  in btrfs_batch_insert_items() [all …] 
 | 
| D | props.h | 39 			       struct btrfs_root *root, 40 			       struct btrfs_root *parent_root);
  | 
| D | check-integrity.h | 32 int btrfsic_mount(struct btrfs_root *root, 35 void btrfsic_unmount(struct btrfs_root *root,
  | 
| D | ctree.c | 28 static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root 30 static int split_leaf(struct btrfs_trans_handle *trans, struct btrfs_root 34 			  struct btrfs_root *root, struct extent_buffer *dst, 37 			      struct btrfs_root *root, 40 static void del_ptr(struct btrfs_root *root, struct btrfs_path *path, 148 struct extent_buffer *btrfs_root_node(struct btrfs_root *root)  in btrfs_root_node() 176 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root)  in btrfs_lock_root_node() 195 static struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root)  in btrfs_read_lock_root_node() 214 static void add_root_to_dirty_list(struct btrfs_root *root)  in add_root_to_dirty_list() 239 		      struct btrfs_root *root,  in btrfs_copy_root() [all …] 
 | 
| D | qgroup.h | 105 int btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes); 106 void btrfs_qgroup_free_meta_all(struct btrfs_root *root); 107 void btrfs_qgroup_free_meta(struct btrfs_root *root, int num_bytes);
  | 
| D | inode-item.c | 97 			  struct btrfs_root *root,  in btrfs_lookup_inode_extref() 122 				  struct btrfs_root *root,  in btrfs_del_inode_extref() 194 			struct btrfs_root *root,  in btrfs_del_inode_ref() 271 				     struct btrfs_root *root,  in btrfs_insert_inode_extref() 327 			   struct btrfs_root *root,  in btrfs_insert_inode_ref() 402 			     struct btrfs_root *root,  in btrfs_insert_empty_inode() 416 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root  in btrfs_lookup_inode()
  | 
| D | props.c | 157 static int iterate_object_props(struct btrfs_root *root,  in iterate_object_props() 274 	struct btrfs_root *root = BTRFS_I(inode)->root;  in inode_prop_iterator() 289 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_load_inode_props() 302 	struct btrfs_root *root = BTRFS_I(inode)->root;  in inherit_props() 349 			       struct btrfs_root *root,  in btrfs_subvol_inherit_props() 350 			       struct btrfs_root *parent_root)  in btrfs_subvol_inherit_props()
  | 
| D | orphan.c | 23 			     struct btrfs_root *root, u64 offset)  in btrfs_insert_orphan_item() 44 			  struct btrfs_root *root, u64 offset)  in btrfs_del_orphan_item()
  | 
| D | uuid-tree.c | 34 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, u8 *uuid,  in btrfs_uuid_tree_lookup() 94 			struct btrfs_root *uuid_root, u8 *uuid, u8 type,  in btrfs_uuid_tree_add() 158 			struct btrfs_root *uuid_root, u8 *uuid, u8 type,  in btrfs_uuid_tree_rem() 238 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type,  in btrfs_uuid_iter_rem() 262 	struct btrfs_root *root = fs_info->uuid_root;  in btrfs_uuid_tree_iterate()
  | 
| D | btrfs_inode.h | 62 	struct btrfs_root *root; 206 					     const struct btrfs_root *root)  in btrfs_inode_hash() 245 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_is_free_space_inode()
  | 
| D | qgroup.c | 304 	struct btrfs_root *quota_root = fs_info->quota_root;  in btrfs_read_qgroup_config() 510 				    struct btrfs_root *quota_root,  in add_qgroup_relation_item() 534 				    struct btrfs_root *quota_root,  in del_qgroup_relation_item() 565 			   struct btrfs_root *quota_root, u64 qgroupid)  in add_qgroup_item() 633 			   struct btrfs_root *quota_root, u64 qgroupid)  in del_qgroup_item() 679 				    struct btrfs_root *root,  in update_qgroup_limit_item() 721 				   struct btrfs_root *root,  in update_qgroup_info_item() 767 				    struct btrfs_root *root)  in update_qgroup_status_item() 810 				  struct btrfs_root *root)  in btrfs_clean_quota_tree() 858 	struct btrfs_root *quota_root;  in btrfs_quota_enable() [all …] 
 | 
| D | inode.c | 66 	struct btrfs_root *root; 138 				struct btrfs_root *root, struct inode *inode,  in insert_inline_extent() 239 static noinline int cow_file_range_inline(struct btrfs_root *root,  in cow_file_range_inline() 337 	struct btrfs_root *root; 368 	struct btrfs_root *root = BTRFS_I(inode)->root;  in inode_need_compress() 406 	struct btrfs_root *root = BTRFS_I(inode)->root;  in compress_file_range() 681 	struct btrfs_root *root = BTRFS_I(inode)->root;  in submit_compressed_extents() 924 	struct btrfs_root *root = BTRFS_I(inode)->root;  in cow_file_range() 1097 	struct btrfs_root *root;  in async_cow_submit() 1132 	struct btrfs_root *root = BTRFS_I(inode)->root;  in cow_file_range_async() [all …] 
 | 
| D | xattr.c | 39 	struct btrfs_root *root = BTRFS_I(inode)->root;  in __btrfs_getxattr() 96 	struct btrfs_root *root = BTRFS_I(inode)->root;  in do_setxattr() 237 	struct btrfs_root *root = BTRFS_I(inode)->root;  in __btrfs_setxattr() 265 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_listxattr() 422 	struct btrfs_root *root = BTRFS_I(d_inode(dentry))->root;  in btrfs_setxattr() 457 	struct btrfs_root *root = BTRFS_I(d_inode(dentry))->root;  in btrfs_removexattr()
  | 
| D | ioctl.c | 218 	struct btrfs_root *root = ip->root;  in btrfs_ioctl_setflags() 443 	struct btrfs_root *root = BTRFS_I(dir)->root;  in create_subvol() 444 	struct btrfs_root *new_root;  in create_subvol() 632 static void btrfs_wait_for_no_snapshoting_writes(struct btrfs_root *root)  in btrfs_wait_for_no_snapshoting_writes() 649 static int create_snapshot(struct btrfs_root *root, struct inode *dir,  in create_snapshot() 821 				   struct btrfs_root *snap_src,  in btrfs_mksubvol() 919 static int find_new_extents(struct btrfs_root *root,  in find_new_extents() 1255 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_defrag_file() 1476 	struct btrfs_root *root = BTRFS_I(file_inode(file))->root;  in btrfs_ioctl_resize() 1753 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_ioctl_subvol_getflags() [all …] 
 | 
| D | file-item.c | 41 			     struct btrfs_root *root,  in btrfs_insert_file_extent() 88 		  struct btrfs_root *root,  in btrfs_lookup_csum() 140 			     struct btrfs_root *root,  in btrfs_lookup_file_extent() 161 static int __btrfs_lookup_bio_sums(struct btrfs_root *root,  in __btrfs_lookup_bio_sums() 295 int btrfs_lookup_bio_sums(struct btrfs_root *root, struct inode *inode,  in btrfs_lookup_bio_sums() 301 int btrfs_lookup_bio_sums_dio(struct btrfs_root *root, struct inode *inode,  in btrfs_lookup_bio_sums_dio() 307 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,  in btrfs_lookup_csums_range() 426 int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode,  in btrfs_csum_one_bio() 516 static noinline void truncate_one_csum(struct btrfs_root *root,  in truncate_one_csum() 567 		    struct btrfs_root *root, u64 bytenr, u64 len)  in btrfs_del_csums() [all …] 
 | 
| D | volumes.c | 122 				struct btrfs_root *root, 124 static int btrfs_relocate_sys_chunks(struct btrfs_root *root); 1090 	struct btrfs_root *root = device->dev_root;  in btrfs_account_dev_extents_size() 1250 	struct btrfs_root *root = device->dev_root;  in find_free_dev_extent_start() 1421 	struct btrfs_root *root = device->dev_root;  in btrfs_free_dev_extent() 1480 	struct btrfs_root *root = device->dev_root;  in btrfs_alloc_dev_extent() 1578 			    struct btrfs_root *root,  in btrfs_add_device() 1649 static int btrfs_rm_dev_item(struct btrfs_root *root,  in btrfs_rm_dev_item() 1690 int btrfs_rm_device(struct btrfs_root *root, char *device_path)  in btrfs_rm_device() 2046 static int btrfs_find_device_by_path(struct btrfs_root *root, char *device_path,  in btrfs_find_device_by_path() [all …] 
 | 
| D | dev-replace.c | 47 static int btrfs_dev_replace_find_srcdev(struct btrfs_root *root, u64 srcdevid, 58 	struct btrfs_root *dev_root = fs_info->dev_root;  in btrfs_init_dev_replace() 198 	struct btrfs_root *dev_root = fs_info->dev_root;  in btrfs_run_dev_replace() 308 int btrfs_dev_replace_start(struct btrfs_root *root,  in btrfs_dev_replace_start() 466 	struct btrfs_root *root = fs_info->tree_root;  in btrfs_dev_replace_finishing() 627 static int btrfs_dev_replace_find_srcdev(struct btrfs_root *root, u64 srcdevid,  in btrfs_dev_replace_find_srcdev() 693 	struct btrfs_root *root = fs_info->tree_root;  in __btrfs_dev_replace_cancel()
  | 
| D | export.c | 63 	struct btrfs_root *root;  in btrfs_get_dentry() 156 	struct btrfs_root *root = BTRFS_I(dir)->root;  in btrfs_get_parent() 226 	struct btrfs_root *root = BTRFS_I(dir)->root;  in btrfs_get_name()
  | 
| D | dev-replace.h | 28 int btrfs_dev_replace_start(struct btrfs_root *root,
  | 
| D | ordered-data.c | 188 	struct btrfs_root *root = BTRFS_I(inode)->root;  in __btrfs_add_ordered_extent() 476 				 struct btrfs_root *log)  in btrfs_submit_logged_extents() 486 			       struct btrfs_root *log, u64 transid)  in btrfs_wait_logged_extents() 537 void btrfs_free_logged_extents(struct btrfs_root *log, u64 transid)  in btrfs_free_logged_extents() 591 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_remove_ordered_extent() 663 int btrfs_wait_ordered_extents(struct btrfs_root *root, int nr)  in btrfs_wait_ordered_extents() 712 	struct btrfs_root *root;  in btrfs_wait_ordered_roots() 722 		root = list_first_entry(&splice, struct btrfs_root,  in btrfs_wait_ordered_roots()
  | 
| D | file.c | 98 	struct btrfs_root *root = BTRFS_I(inode)->root;  in __btrfs_add_inode_defrag() 132 static inline int __need_auto_defrag(struct btrfs_root *root)  in __need_auto_defrag() 150 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_add_inode_defrag() 199 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_requeue_inode_defrag() 288 	struct btrfs_root *inode_root;  in __btrfs_run_defrag_inode() 488 int btrfs_dirty_pages(struct btrfs_root *root, struct inode *inode,  in btrfs_dirty_pages() 692 			 struct btrfs_root *root, struct inode *inode,  in __btrfs_drop_extents() 1018 		       struct btrfs_root *root, struct inode *inode, u64 start,  in btrfs_drop_extents() 1076 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_mark_extent_written() 1439 	struct btrfs_root *root = BTRFS_I(inode)->root;  in check_can_nocow() [all …] 
 | 
| D | free-space-cache.c | 46 static struct inode *__lookup_free_space_inode(struct btrfs_root *root,  in __lookup_free_space_inode() 94 struct inode *lookup_free_space_inode(struct btrfs_root *root,  in lookup_free_space_inode() 131 static int __create_free_space_inode(struct btrfs_root *root,  in __create_free_space_inode() 192 int create_free_space_inode(struct btrfs_root *root,  in create_free_space_inode() 208 int btrfs_check_trunc_cache_free_space(struct btrfs_root *root,  in btrfs_check_trunc_cache_free_space() 227 int btrfs_truncate_free_space_cache(struct btrfs_root *root,  in btrfs_truncate_free_space_cache() 308 		       struct btrfs_root *root, int write)  in io_ctl_init() 668 static int __load_free_space_cache(struct btrfs_root *root, struct inode *inode,  in __load_free_space_cache() 830 	struct btrfs_root *root = fs_info->tree_root;  in load_free_space_cache() 981 		  struct btrfs_root *root,  in update_cache_item() [all …] 
 | 
| D | send.c | 74 	struct btrfs_root *root; 94 	struct btrfs_root *send_root; 95 	struct btrfs_root *parent_root; 786 static int __get_inode_info(struct btrfs_root *root, struct btrfs_path *path,  in __get_inode_info() 822 static int get_inode_info(struct btrfs_root *root,  in get_inode_info() 851 static int iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path,  in iterate_inode_ref() 971 static int iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path,  in iterate_dir_item() 1102 static int get_inode_path(struct btrfs_root *root,  in get_inode_path() 1449 static int read_symlink(struct btrfs_root *root,  in read_symlink() 1669 static int lookup_dir_item_inode(struct btrfs_root *root,  in lookup_dir_item_inode() [all …] 
 | 
| D | super.c | 236 			       struct btrfs_root *root, const char *function,  in __btrfs_abort_transaction() 374 int btrfs_parse_options(struct btrfs_root *root, char *options)  in btrfs_parse_options() 849 	struct btrfs_root *root = fs_info->tree_root;  in get_subvol_name_from_objectid() 850 	struct btrfs_root *fs_root;  in get_subvol_name_from_objectid() 984 	struct btrfs_root *root = fs_info->tree_root;  in get_default_subvol_objectid() 1079 	struct btrfs_root *root = fs_info->tree_root;  in btrfs_sync_fs() 1121 	struct btrfs_root *root = info->tree_root;  in btrfs_show_options() 1612 	struct btrfs_root *root = fs_info->tree_root;  in btrfs_remount() 1793 static int btrfs_calc_avail_data_space(struct btrfs_root *root, u64 *free_bytes)  in btrfs_calc_avail_data_space() 2127 	struct btrfs_root *root = btrfs_sb(sb)->tree_root;  in btrfs_freeze()
  | 
| D | backref.c | 247 static int add_all_parents(struct btrfs_root *root, struct btrfs_path *path,  in add_all_parents() 344 	struct btrfs_root *root;  in __resolve_indirect_ref() 831 	struct btrfs_root *extent_root = fs_info->extent_root;  in __add_keyed_refs() 1314 int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid, 1396 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 1762 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, 1828 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, 1895 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, 1997 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
  | 
| D | reada.c | 108 static int __readahead_hook(struct btrfs_root *root, struct extent_buffer *eb,  in __readahead_hook() 236 int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb,  in btree_readahead_hook() 318 static struct reada_extent *reada_find_extent(struct btrfs_root *root,  in reada_find_extent() 561 	struct btrfs_root *root = rc->root;  in reada_add_block() 914 struct reada_control *btrfs_reada_add(struct btrfs_root *root,  in btrfs_reada_add()
  | 
| D | tree-defrag.c | 33 			struct btrfs_root *root)  in btrfs_defrag_leaves()
  | 
| D | print-tree.c | 172 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l)  in btrfs_print_leaf() 313 void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *c)  in btrfs_print_tree()
  | 
| D | scrub.c | 174 	struct btrfs_root	*dev_root; 212 	struct btrfs_root	*root; 529 	struct btrfs_root *local_root;  in scrub_print_warning_inode() 682 	struct btrfs_root *local_root;  in scrub_fixup_readpage() 1860 	struct btrfs_root *root = sctx->dev_root;  in scrub_checksum_tree_block() 2842 	struct btrfs_root *root = fs_info->extent_root;  in scrub_raid56_parity() 2843 	struct btrfs_root *csum_root = fs_info->csum_root;  in scrub_raid56_parity() 3064 	struct btrfs_root *root = fs_info->extent_root;  in scrub_stripe() 3065 	struct btrfs_root *csum_root = fs_info->csum_root;  in scrub_stripe() 3493 	struct btrfs_root *root = sctx->dev_root;  in scrub_enumerate_chunks() [all …] 
 | 
| D | extent_io.h | 63 struct btrfs_root; 361 int repair_eb_io_failure(struct btrfs_root *root, struct extent_buffer *eb,
  | 
| D | compression.c | 88 static inline int compressed_bio_size(struct btrfs_root *root,  in compressed_bio_size() 333 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_submit_compressed_write() 569 	struct btrfs_root *root = BTRFS_I(inode)->root;  in btrfs_submit_compressed_read()
  | 
| D | raid56.c | 960 static struct btrfs_raid_bio *alloc_rbio(struct btrfs_root *root,  in alloc_rbio() 1747 int raid56_parity_write(struct btrfs_root *root, struct bio *bio,  in raid56_parity_write() 2128 int raid56_parity_recover(struct btrfs_root *root, struct bio *bio,  in raid56_parity_recover() 2214 raid56_parity_alloc_scrub_rbio(struct btrfs_root *root, struct bio *bio,  in raid56_parity_alloc_scrub_rbio() 2688 raid56_alloc_missing_rbio(struct btrfs_root *root, struct bio *bio,  in raid56_alloc_missing_rbio()
  | 
| D | check-integrity.c | 255 	struct btrfs_root *root; 3073 int btrfsic_mount(struct btrfs_root *root,  in btrfsic_mount() 3165 void btrfsic_unmount(struct btrfs_root *root,  in btrfsic_unmount()
  | 
| D | extent_io.c | 2152 int repair_eb_io_failure(struct btrfs_root *root, struct extent_buffer *eb,  in repair_eb_io_failure() 4480 	struct btrfs_root *root = BTRFS_I(inode)->root;  in extent_fiemap()
  | 
| /linux-4.4.14/fs/btrfs/tests/ | 
| D | btrfs-tests.h | 26 struct btrfs_root; 37 void btrfs_free_dummy_root(struct btrfs_root *root);
  | 
| D | qgroup-tests.c | 34 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr,  in insert_normal_tree_ref() 87 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes,  in add_tree_ref() 139 static int remove_extent_item(struct btrfs_root *root, u64 bytenr,  in remove_extent_item() 171 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr,  in remove_extent_ref() 227 static int test_no_shared_qgroup(struct btrfs_root *root)  in test_no_shared_qgroup() 321 static int test_multiple_refs(struct btrfs_root *root)  in test_multiple_refs() 448 	struct btrfs_root *root;  in btrfs_test_qgroups() 449 	struct btrfs_root *tmp_root;  in btrfs_test_qgroups()
  | 
| D | inode-tests.c | 26 static void insert_extent(struct btrfs_root *root, u64 start, u64 len,  in insert_extent() 62 static void insert_inode_item_key(struct btrfs_root *root)  in insert_inode_item_key() 100 static void setup_file_extents(struct btrfs_root *root)  in setup_file_extents() 225 	struct btrfs_root *root = NULL;  in test_btrfs_get_extent() 820 	struct btrfs_root *root = NULL;  in test_hole_first() 917 	struct btrfs_root *root = NULL;  in test_extent_accounting()
  | 
| D | btrfs-tests.c | 161 void btrfs_free_dummy_root(struct btrfs_root *root)  in btrfs_free_dummy_root()
  | 
| D | extent-buffer-tests.c | 28 	struct btrfs_root *root;  in test_btrfs_split_item()
  | 
| D | free-space-tests.c | 889 	struct btrfs_root *root = NULL;  in btrfs_test_free_space_cache()
  | 
| /linux-4.4.14/include/trace/events/ | 
| D | btrfs.h | 11 struct btrfs_root; 71 	TP_PROTO(struct btrfs_root *root), 171 	TP_PROTO(struct btrfs_root *root, struct extent_map *map), 635 	TP_PROTO(struct btrfs_root *root, struct map_lookup *map, 669 	TP_PROTO(struct btrfs_root *root, struct map_lookup *map, 677 	TP_PROTO(struct btrfs_root *root, struct map_lookup *map, 685 	TP_PROTO(struct btrfs_root *root, struct extent_buffer *buf, 748 	TP_PROTO(struct btrfs_root *root, u64 start, u64 len), 772 	TP_PROTO(struct btrfs_root *root, u64 start, u64 len), 779 	TP_PROTO(struct btrfs_root *root, u64 start, u64 len), [all …] 
 |