/linux-master/fs/btrfs/ |
H A D | orphan.h | 9 struct btrfs_root; 12 struct btrfs_root *root, u64 offset); 14 struct btrfs_root *root, u64 offset);
|
H A D | relocation.h | 10 struct btrfs_root; 16 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root); 18 struct btrfs_root *root); 22 struct btrfs_root *root, 30 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr); 31 bool btrfs_should_ignore_reloc_root(const struct btrfs_root *root);
|
H A D | disk-io.h | 67 struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root, 70 struct btrfs_root *root); 73 struct btrfs_root *btrfs_get_fs_root(struct btrfs_fs_info *fs_info, 75 struct btrfs_root *btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, 77 struct btrfs_root *btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, 80 int btrfs_global_root_insert(struct btrfs_root *root); 81 void btrfs_global_root_delete(struct btrfs_root *root); 82 struct btrfs_root *btrfs_global_root(struct btrfs_fs_info *fs_info, 84 struct btrfs_root *btrfs_csum_roo [all...] |
H A D | dir-item.h | 13 struct btrfs_root; 16 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, 22 struct btrfs_root *root, 27 struct btrfs_root *root, 30 struct btrfs_dir_item *btrfs_search_dir_index_item(struct btrfs_root *root, 34 struct btrfs_root *root, 38 struct btrfs_root *root, 43 struct btrfs_root *root,
|
H A D | tree-log.h | 18 struct btrfs_root; 74 struct btrfs_root *root, struct btrfs_log_ctx *ctx); 75 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 78 int btrfs_recover_log_trees(struct btrfs_root *tree_root); 83 struct btrfs_root *root, 87 struct btrfs_root *root, 90 void btrfs_end_log_trans(struct btrfs_root *root); 91 void btrfs_pin_log_trans(struct btrfs_root *root);
|
H A D | file-item.h | 16 struct btrfs_root; 53 struct btrfs_root *root, u64 bytenr, u64 len); 56 struct btrfs_root *root, u64 objectid, u64 pos, 59 struct btrfs_root *root, 63 struct btrfs_root *root, 67 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end, 70 int btrfs_lookup_csums_list(struct btrfs_root *root, u64 start, u64 end, 73 int btrfs_lookup_csums_bitmap(struct btrfs_root *root, struct btrfs_path *path,
|
H A D | root-tree.h | 11 struct btrfs_root; 18 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root, 28 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, 31 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, 33 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, 40 void btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root);
|
H A D | ctree.h | 164 struct btrfs_root { struct 170 struct btrfs_root *log_root; 171 struct btrfs_root *reloc_root; 320 static inline bool btrfs_root_readonly(const struct btrfs_root *root) 326 static inline bool btrfs_root_dead(const struct btrfs_root *root) 332 static inline u64 btrfs_root_id(const struct btrfs_root *root) 337 static inline int btrfs_get_root_log_transid(const struct btrfs_root *root) 342 static inline void btrfs_set_root_log_transid(struct btrfs_root *root, int log_transid) 347 static inline int btrfs_get_root_last_log_commit(const struct btrfs_root *root) 352 static inline void btrfs_set_root_last_log_commit(struct btrfs_root *roo [all...] |
H A D | inode-item.h | 12 struct btrfs_root; 89 struct btrfs_root *root, 92 struct btrfs_root *root, const struct fscrypt_str *name, 95 struct btrfs_root *root, const struct fscrypt_str *name, 98 struct btrfs_root *root, 101 struct btrfs_root *root, struct btrfs_path *path, 106 struct btrfs_root *root,
|
H A D | defrag.h | 12 struct btrfs_root; 25 int btrfs_defrag_root(struct btrfs_root *root);
|
H A D | extent-tree.h | 14 struct btrfs_root; 119 int btrfs_cross_ref_exist(struct btrfs_root *root, 123 struct btrfs_root *root, 135 struct btrfs_root *root, u64 owner, 141 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes, 144 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, 146 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, 160 int btrfs_drop_snapshot(struct btrfs_root *root, int update_ref, 163 struct btrfs_root *root,
|
H A D | transaction.h | 27 struct btrfs_root; 176 struct btrfs_root *root; 178 struct btrfs_root *snap; 253 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 256 struct btrfs_root *root, 258 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 259 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root); 260 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root); 261 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root); 263 struct btrfs_root *roo [all...] |
H A D | qgroup.h | 20 struct btrfs_root; 375 int btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes, 377 int __btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes, 381 static inline int btrfs_qgroup_reserve_meta_pertrans(struct btrfs_root *root, 388 static inline int btrfs_qgroup_reserve_meta_prealloc(struct btrfs_root *root, 397 void __btrfs_qgroup_free_meta(struct btrfs_root *root, int num_bytes, 401 static inline void btrfs_qgroup_free_meta_pertrans(struct btrfs_root *root, 409 static inline void btrfs_qgroup_free_meta_prealloc(struct btrfs_root *root, 416 void btrfs_qgroup_free_meta_all_pertrans(struct btrfs_root *root); 417 void btrfs_qgroup_convert_reserved_meta(struct btrfs_root *roo [all...] |
H A D | orphan.c | 10 struct btrfs_root *root, u64 offset) 31 struct btrfs_root *root, u64 offset)
|
H A D | tree-mod-log.h | 11 struct btrfs_root; 47 struct extent_buffer *btrfs_get_old_root(struct btrfs_root *root, u64 time_seq); 48 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
|
H A D | locking.h | 18 struct btrfs_root; 175 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root); 176 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root); 177 struct extent_buffer *btrfs_try_read_lock_root_node(struct btrfs_root *root); 216 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb); 222 static inline void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root,
|
H A D | file.h | 16 struct btrfs_root; 25 struct btrfs_root *root, struct btrfs_inode *inode,
|
H A D | delayed-inode.h | 24 struct btrfs_root; 54 struct btrfs_root *root; 140 void btrfs_kill_all_delayed_nodes(struct btrfs_root *root);
|
H A D | block-rsv.h | 11 struct btrfs_root; 62 void btrfs_init_root_block_rsv(struct btrfs_root *root); 90 struct btrfs_root *root,
|
H A D | dir-item.c | 23 struct btrfs_root *root, 57 struct btrfs_root *root, 115 struct btrfs_root *root = dir->root; 179 struct btrfs_root *root, struct btrfs_path *path, 213 struct btrfs_root *root, 233 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, 309 struct btrfs_root *root, 329 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, 357 struct btrfs_root *root, 418 struct btrfs_root *roo [all...] |
H A D | root-tree.c | 67 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, 128 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root 207 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, 219 struct btrfs_root *tree_root = fs_info->tree_root; 223 struct btrfs_root *root; 322 struct btrfs_root *root = trans->fs_info->tree_root; 348 struct btrfs_root *tree_root = trans->fs_info->tree_root; 420 struct btrfs_root *tree_root = trans->fs_info->tree_root; 484 struct btrfs_root *root) 512 int btrfs_subvolume_reserve_metadata(struct btrfs_root *roo [all...] |
H A D | disk-io.c | 646 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, 721 static struct btrfs_root *btrfs_alloc_root(struct btrfs_fs_info *fs_info, 724 struct btrfs_root *root = kzalloc(sizeof(*root), flags); 732 struct btrfs_root *btrfs_alloc_dummy_root(struct btrfs_fs_info *fs_info) 734 struct btrfs_root *root; 752 const struct btrfs_root *a = rb_entry(a_node, struct btrfs_root, rb_node); 753 const struct btrfs_root *b = rb_entry(b_node, struct btrfs_root, rb_node); 761 const struct btrfs_root *roo [all...] |
H A D | backref.h | 152 struct btrfs_root *fs_root; 237 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 243 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, 247 int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid, 333 struct btrfs_root *root;
|
H A D | uuid-tree.c | 24 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, u8 *uuid, 88 struct btrfs_root *uuid_root = fs_info->uuid_root; 152 struct btrfs_root *uuid_root = fs_info->uuid_root; 230 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type, 262 struct btrfs_root *subvol_root; 294 struct btrfs_root *root = fs_info->uuid_root;
|
/linux-master/fs/btrfs/tests/ |
H A D | btrfs-tests.h | 31 struct btrfs_root; 44 void btrfs_free_dummy_root(struct btrfs_root *root);
|