| /Linux-v5.4/fs/btrfs/ |
| D | transaction.h | 125 struct btrfs_root *root; 133 struct btrfs_root *root; 135 struct btrfs_root *snap; 180 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 183 struct btrfs_root *root, 186 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 187 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root); 188 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root); 189 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root); 191 struct btrfs_root *root); [all …]
|
| D | disk-io.h | 61 struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root, 63 int btrfs_init_fs_root(struct btrfs_root *root); 64 struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, 67 struct btrfs_root *root); 70 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, 73 static inline struct btrfs_root * 84 struct btrfs_root *root); 85 void btrfs_free_fs_root(struct btrfs_root *root); 88 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info); 98 static inline struct btrfs_root *btrfs_grab_fs_root(struct btrfs_root *root) in btrfs_grab_fs_root() [all …]
|
| D | inode-map.h | 6 void btrfs_init_free_ino_ctl(struct btrfs_root *root); 7 void btrfs_unpin_free_ino(struct btrfs_root *root); 8 void btrfs_return_ino(struct btrfs_root *root, u64 objectid); 9 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid); 10 int btrfs_save_ino_cache(struct btrfs_root *root, 13 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid); 14 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
|
| D | qgroup.h | 353 int __btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes, 356 static inline int btrfs_qgroup_reserve_meta_pertrans(struct btrfs_root *root, in btrfs_qgroup_reserve_meta_pertrans() 362 static inline int btrfs_qgroup_reserve_meta_prealloc(struct btrfs_root *root, in btrfs_qgroup_reserve_meta_prealloc() 369 void __btrfs_qgroup_free_meta(struct btrfs_root *root, int num_bytes, 373 static inline void btrfs_qgroup_free_meta_pertrans(struct btrfs_root *root, in btrfs_qgroup_free_meta_pertrans() 381 static inline void btrfs_qgroup_free_meta_prealloc(struct btrfs_root *root, in btrfs_qgroup_free_meta_prealloc() 392 void btrfs_qgroup_free_meta_all_pertrans(struct btrfs_root *root); 400 void btrfs_qgroup_convert_reserved_meta(struct btrfs_root *root, int num_bytes); 408 void btrfs_qgroup_clean_swapped_blocks(struct btrfs_root *root); 410 struct btrfs_root *subvol_root, [all …]
|
| D | tree-log.h | 45 struct btrfs_root *root, struct btrfs_log_ctx *ctx); 46 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 49 int btrfs_recover_log_trees(struct btrfs_root *tree_root); 56 struct btrfs_root *root, 60 struct btrfs_root *root, 63 void btrfs_end_log_trans(struct btrfs_root *root); 64 void btrfs_pin_log_trans(struct btrfs_root *root);
|
| D | ctree.h | 532 struct btrfs_root *extent_root; 533 struct btrfs_root *tree_root; 534 struct btrfs_root *chunk_root; 535 struct btrfs_root *dev_root; 536 struct btrfs_root *fs_root; 537 struct btrfs_root *csum_root; 538 struct btrfs_root *quota_root; 539 struct btrfs_root *uuid_root; 540 struct btrfs_root *free_space_root; 543 struct btrfs_root *log_root_tree; [all …]
|
| D | backref.h | 15 struct btrfs_root *fs_root; 46 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 52 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, 56 int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid, 60 int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr,
|
| D | free-space-cache.h | 72 struct inode *lookup_free_ino_inode(struct btrfs_root *root, 74 int create_free_ino_inode(struct btrfs_root *root, 78 struct btrfs_root *root); 79 int btrfs_write_out_ino_cache(struct btrfs_root *root, 98 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
|
| D | root-tree.c | 66 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() 120 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 199 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 211 struct btrfs_root *tree_root = fs_info->tree_root; in btrfs_find_orphan_roots() 216 struct btrfs_root *root; in btrfs_find_orphan_roots() 332 struct btrfs_root *root = trans->fs_info->tree_root; in btrfs_del_root() 356 struct btrfs_root *tree_root = trans->fs_info->tree_root; in btrfs_del_root_ref() 426 struct btrfs_root *tree_root = trans->fs_info->tree_root; in btrfs_add_root_ref() 490 struct btrfs_root *root) in btrfs_update_root_times() 517 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root, in btrfs_subvolume_reserve_metadata()
|
| D | dir-item.c | 20 struct btrfs_root *root, in insert_with_overflow() 56 struct btrfs_root *root, in btrfs_insert_xattr_item() 114 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() 180 struct btrfs_root *root, in btrfs_lookup_dir_item() 204 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision() 273 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 296 btrfs_search_dir_index_item(struct btrfs_root *root, in btrfs_search_dir_index_item() 344 struct btrfs_root *root, in btrfs_lookup_xattr() 408 struct btrfs_root *root, in btrfs_delete_one_dir_name()
|
| D | inode-map.c | 16 static void fail_caching_thread(struct btrfs_root *root) in fail_caching_thread() 31 struct btrfs_root *root = data; in caching_kthread() 139 static void start_caching(struct btrfs_root *root) in start_caching() 188 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_ino() 215 void btrfs_return_ino(struct btrfs_root *root, u64 objectid) in btrfs_return_ino() 251 void btrfs_unpin_free_ino(struct btrfs_root *root) in btrfs_unpin_free_ino() 368 void btrfs_init_free_ino_ctl(struct btrfs_root *root) in btrfs_init_free_ino_ctl() 396 int btrfs_save_ino_cache(struct btrfs_root *root, in btrfs_save_ino_cache() 527 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_highest_objectid() 562 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_objectid()
|
| D | tree-log.c | 95 struct btrfs_root *root, struct btrfs_inode *inode, 101 struct btrfs_root *root, 104 struct btrfs_root *root, 105 struct btrfs_root *log, 138 struct btrfs_root *root, in start_log_trans() 192 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans() 210 void btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans() 221 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans() 279 struct btrfs_root *replay_dest; 289 int (*process_func)(struct btrfs_root *log, struct extent_buffer *eb, [all …]
|
| D | relocation.c | 51 struct btrfs_root *root; 152 struct btrfs_root *extent_root; 521 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root() 523 struct btrfs_root *reloc_root; in should_ignore_root() 546 static struct btrfs_root *find_reloc_root(struct reloc_control *rc, in find_reloc_root() 551 struct btrfs_root *root = NULL; in find_reloc_root() 557 root = (struct btrfs_root *)node->data; in find_reloc_root() 578 static struct btrfs_root *read_fs_root(struct btrfs_fs_info *fs_info, in read_fs_root() 658 struct btrfs_root *root; in build_backref_tree() 1171 struct btrfs_root *src, in clone_backref_node() [all …]
|
| D | transaction.c | 83 struct btrfs_root *root, *tmp; in switch_commit_roots() 101 struct btrfs_root, root_list); in switch_commit_roots() 281 struct btrfs_root *root, in record_root_in_trans() 342 struct btrfs_root *root) in btrfs_add_dropped_root() 361 struct btrfs_root *root) in btrfs_record_root_in_trans() 425 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root() 439 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() 608 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 616 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv() 656 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction() [all …]
|
| D | block-rsv.h | 60 int btrfs_block_rsv_add(struct btrfs_root *root, 64 int btrfs_block_rsv_refill(struct btrfs_root *root, 83 struct btrfs_root *root,
|
| D | props.h | 25 struct btrfs_root *root, 26 struct btrfs_root *parent_root);
|
| D | btrfs_inode.h | 38 struct btrfs_root *root; 206 const struct btrfs_root *root) in btrfs_inode_hash() 245 struct btrfs_root *root = inode->root; in btrfs_is_free_space_inode() 347 struct btrfs_root *root = inode->root; in btrfs_print_data_csum_error()
|
| D | delayed-inode.h | 45 struct btrfs_root *root; 113 struct btrfs_root *root, struct inode *inode); 118 void btrfs_kill_all_delayed_nodes(struct btrfs_root *root);
|
| D | inode-item.c | 75 struct btrfs_root *root, in btrfs_lookup_inode_extref() 99 struct btrfs_root *root, in btrfs_del_inode_extref() 172 struct btrfs_root *root, in btrfs_del_inode_ref() 252 struct btrfs_root *root, in btrfs_insert_inode_extref() 310 struct btrfs_root *root, in btrfs_insert_inode_ref() 389 struct btrfs_root *root, in btrfs_insert_empty_inode() 403 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | props.c | 114 static int iterate_object_props(struct btrfs_root *root, in iterate_object_props() 231 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() 246 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() 327 struct btrfs_root *root = BTRFS_I(inode)->root; in inherit_props() 407 struct btrfs_root *root, in btrfs_subvol_inherit_props() 408 struct btrfs_root *parent_root) in btrfs_subvol_inherit_props()
|
| D | orphan.c | 10 struct btrfs_root *root, u64 offset) in btrfs_insert_orphan_item() 31 struct btrfs_root *root, u64 offset) in btrfs_del_orphan_item()
|
| D | disk-io.c | 54 static void btrfs_destroy_ordered_extents(struct btrfs_root *root); 57 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root); 596 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() 855 struct btrfs_root *root; in btree_csum_one_bio() 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() 1207 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() 1215 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_root() 1217 struct btrfs_root *root; in btrfs_alloc_dummy_root() 1234 struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans, in btrfs_create_tree() [all …]
|
| D | uuid-tree.c | 22 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, u8 *uuid, in btrfs_uuid_tree_lookup() 86 struct btrfs_root *uuid_root = fs_info->uuid_root; in btrfs_uuid_tree_add() 151 struct btrfs_root *uuid_root = fs_info->uuid_root; in btrfs_uuid_tree_remove() 229 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_iter_rem() 253 struct btrfs_root *root = fs_info->uuid_root; in btrfs_uuid_tree_iterate()
|
| /Linux-v5.4/fs/btrfs/tests/ |
| D | qgroup-tests.c | 14 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() 67 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() 119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() 151 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() 207 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup() 308 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs() 454 struct btrfs_root *root; in btrfs_test_qgroups() 455 struct btrfs_root *tmp_root; in btrfs_test_qgroups()
|
| D | btrfs-tests.h | 30 struct btrfs_root; 43 void btrfs_free_dummy_root(struct btrfs_root *root);
|