/Linux-v4.19/fs/btrfs/ |
D | disk-io.h | 42 struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, 45 void readahead_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr); 46 int reada_tree_block_flagged(struct btrfs_fs_info *fs_info, u64 bytenr, 49 struct btrfs_fs_info *fs_info, 51 void clean_tree_block(struct btrfs_fs_info *fs_info, struct extent_buffer *buf); 55 void close_ctree(struct btrfs_fs_info *fs_info); 56 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors); 60 int btrfs_commit_super(struct btrfs_fs_info *fs_info); 64 struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info, 66 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info, [all …]
|
D | volumes.h | 49 struct btrfs_fs_info *fs_info; 246 struct btrfs_fs_info *fs_info; 298 struct btrfs_fs_info *fs_info; 390 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 393 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 396 int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start, 398 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info); 399 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info); 403 blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, 413 int btrfs_find_device_missing_or_by_path(struct btrfs_fs_info *fs_info, [all …]
|
D | dev-replace.h | 11 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info); 13 struct btrfs_fs_info *fs_info); 14 void btrfs_after_dev_replace_commit(struct btrfs_fs_info *fs_info); 15 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, 17 int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, 20 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, 22 int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info); 23 void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); 24 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info);
|
D | ref-verify.h | 10 int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info); 11 void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info); 15 void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start, 18 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() 24 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() 29 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() 40 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range() 45 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
|
D | qgroup.h | 144 int btrfs_quota_enable(struct btrfs_fs_info *fs_info); 145 int btrfs_quota_disable(struct btrfs_fs_info *fs_info); 146 int btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info); 147 void btrfs_qgroup_rescan_resume(struct btrfs_fs_info *fs_info); 148 int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info, 158 int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info); 159 void btrfs_free_qgroup_config(struct btrfs_fs_info *fs_info); 174 struct btrfs_fs_info *fs_info, 199 int btrfs_qgroup_trace_extent_post(struct btrfs_fs_info *fs_info, 246 void btrfs_qgroup_free_refroot(struct btrfs_fs_info *fs_info, [all …]
|
D | transaction.h | 90 struct btrfs_fs_info *fs_info; 128 struct btrfs_fs_info *fs_info; 193 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid); 210 struct btrfs_fs_info *fs_info) in btrfs_commit_transaction_locksafe() 217 void btrfs_throttle(struct btrfs_fs_info *fs_info); 220 int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, 222 int btrfs_wait_extents(struct btrfs_fs_info *fs_info, 225 int btrfs_transaction_blocked(struct btrfs_fs_info *info); 226 int btrfs_transaction_in_commit(struct btrfs_fs_info *info); 228 void btrfs_apply_pending_changes(struct btrfs_fs_info *fs_info);
|
D | raid56.h | 33 int raid56_parity_recover(struct btrfs_fs_info *fs_info, struct bio *bio, 36 int raid56_parity_write(struct btrfs_fs_info *fs_info, struct bio *bio, 43 raid56_parity_alloc_scrub_rbio(struct btrfs_fs_info *fs_info, struct bio *bio, 50 raid56_alloc_missing_rbio(struct btrfs_fs_info *fs_info, struct bio *bio, 54 int btrfs_alloc_stripe_hash_table(struct btrfs_fs_info *info); 55 void btrfs_free_stripe_hash_table(struct btrfs_fs_info *info);
|
D | free-space-cache.h | 41 struct inode *lookup_free_space_inode(struct btrfs_fs_info *fs_info, 44 int create_free_space_inode(struct btrfs_fs_info *fs_info, 49 int btrfs_check_trunc_cache_free_space(struct btrfs_fs_info *fs_info, 54 int load_free_space_cache(struct btrfs_fs_info *fs_info, 59 int btrfs_write_out_cache(struct btrfs_fs_info *fs_info, 68 int load_free_ino_cache(struct btrfs_fs_info *fs_info, 76 int __btrfs_add_free_space(struct btrfs_fs_info *fs_info, 98 int btrfs_find_space_cluster(struct btrfs_fs_info *fs_info,
|
D | ctree.h | 547 struct btrfs_fs_info *fs_info; 568 struct btrfs_fs_info *fs_info; 752 struct btrfs_fs_info { struct 1130 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument 1174 struct btrfs_fs_info *fs_info; 1300 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE() 1308 static inline u32 BTRFS_MAX_ITEM_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_ITEM_SIZE() 1313 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info) in BTRFS_NODEPTRS_PER_BLOCK() 1320 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_INLINE_DATA_SIZE() 1326 static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_XATTR_SIZE() [all …]
|
D | tree-checker.h | 17 int btrfs_check_leaf_full(struct btrfs_fs_info *fs_info, 24 int btrfs_check_leaf_relaxed(struct btrfs_fs_info *fs_info, 26 int btrfs_check_node(struct btrfs_fs_info *fs_info, struct extent_buffer *node);
|
D | sysfs.c | 20 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj); 23 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 35 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 82 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() 98 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() 165 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() 261 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_size_show() 270 struct btrfs_fs_info *fs_info = to_fs_info(kobj->parent); in global_rsv_reserved_show() 388 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_show() 403 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_label_store() [all …]
|
D | async-thread.h | 12 struct btrfs_fs_info; 59 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, 73 struct btrfs_fs_info *btrfs_work_owner(const struct btrfs_work *work); 74 struct btrfs_fs_info *btrfs_workqueue_owner(const struct __btrfs_workqueue *wq);
|
D | dev-replace.c | 24 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, 27 struct btrfs_fs_info *fs_info, 32 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() 180 static int btrfs_init_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, in btrfs_init_dev_replace_tgtdev() 278 struct btrfs_fs_info *fs_info) in btrfs_run_dev_replace() 385 void btrfs_after_dev_replace_commit(struct btrfs_fs_info *fs_info) in btrfs_after_dev_replace_commit() 401 int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_start() 513 int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, in btrfs_dev_replace_by_ioctl() 545 static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_blocked() 555 static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) in btrfs_rm_dev_replace_unblocked() [all …]
|
D | disk-io.c | 57 struct btrfs_fs_info *fs_info); 59 static int btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, 62 static int btrfs_destroy_pinned_extent(struct btrfs_fs_info *fs_info, 64 static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info); 65 static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info); 76 struct btrfs_fs_info *info; 209 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btree_get_extent() 265 static int csum_tree_block(struct btrfs_fs_info *fs_info, in csum_tree_block() 376 static int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() 410 static int verify_level_key(struct btrfs_fs_info *fs_info, in verify_level_key() [all …]
|
D | backref.h | 22 int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical, 30 int iterate_extent_inodes(struct btrfs_fs_info *fs_info, 36 int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info, 44 struct btrfs_fs_info *fs_info, u64 bytenr,
|
D | transaction.c | 112 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() 168 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() 298 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans() 358 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root() 377 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans() 409 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans() 428 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction() 441 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root() 457 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction() 602 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_start_transaction_fallback_global_rsv() [all …]
|
D | tree-checker.c | 46 static void generic_err(const struct btrfs_fs_info *fs_info, in generic_err() 71 static void file_extent_err(const struct btrfs_fs_info *fs_info, in file_extent_err() 107 static int check_extent_data_item(struct btrfs_fs_info *fs_info, in check_extent_data_item() 191 static int check_csum_item(struct btrfs_fs_info *fs_info, in check_csum_item() 225 static void dir_item_err(const struct btrfs_fs_info *fs_info, in dir_item_err() 247 static int check_dir_item(struct btrfs_fs_info *fs_info, in check_dir_item() 359 static void block_group_err(const struct btrfs_fs_info *fs_info, in block_group_err() 381 static int check_block_group_item(struct btrfs_fs_info *fs_info, in check_block_group_item() 456 static int check_leaf_item(struct btrfs_fs_info *fs_info, in check_leaf_item() 481 static int check_leaf(struct btrfs_fs_info *fs_info, struct extent_buffer *leaf, in check_leaf() [all …]
|
D | qgroup.c | 68 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() 76 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() 94 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() 104 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() 165 qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid, 167 static void qgroup_rescan_zero_tracking(struct btrfs_fs_info *fs_info); 170 static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info, in find_qgroup_rb() 189 static struct btrfs_qgroup *add_qgroup_rb(struct btrfs_fs_info *fs_info, in add_qgroup_rb() 247 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() 260 static int add_relation_rb(struct btrfs_fs_info *fs_info, in add_relation_rb() [all …]
|
D | free-space-tree.h | 18 int btrfs_create_free_space_tree(struct btrfs_fs_info *fs_info); 19 int btrfs_clear_free_space_tree(struct btrfs_fs_info *fs_info); 33 struct btrfs_fs_info *fs_info,
|
D | reada.c | 79 struct btrfs_fs_info *fs_info; 82 static void reada_extent_put(struct btrfs_fs_info *, struct reada_extent *); 85 static void reada_start_machine(struct btrfs_fs_info *fs_info); 86 static void __reada_start_machine(struct btrfs_fs_info *fs_info); 93 static void __readahead_hook(struct btrfs_fs_info *fs_info, in __readahead_hook() 199 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_readahead_hook() 226 struct btrfs_fs_info *fs_info = dev->fs_info; in reada_find_zone() 298 static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info, in reada_find_extent() 480 static void reada_extent_put(struct btrfs_fs_info *fs_info, in reada_extent_put() 543 struct btrfs_fs_info *fs_info = rc->fs_info; in reada_add_block() [all …]
|
/Linux-v4.19/fs/btrfs/tests/ |
D | btrfs-tests.h | 26 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize); 27 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info); 30 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, unsigned long length); 33 struct btrfs_fs_info *fs_info);
|
D | free-space-tree-tests.c | 19 struct btrfs_fs_info *fs_info, in __check_free_space_extents() 108 struct btrfs_fs_info *fs_info, in check_free_space_extents() 151 struct btrfs_fs_info *fs_info, in test_empty_block_group() 165 struct btrfs_fs_info *fs_info, in test_remove_all() 186 struct btrfs_fs_info *fs_info, in test_remove_beginning() 210 struct btrfs_fs_info *fs_info, in test_remove_end() 234 struct btrfs_fs_info *fs_info, in test_remove_middle() 259 struct btrfs_fs_info *fs_info, in test_merge_left() 297 struct btrfs_fs_info *fs_info, in test_merge_right() 336 struct btrfs_fs_info *fs_info, in test_merge_both() [all …]
|
D | btrfs-tests.c | 69 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize) in btrfs_alloc_dummy_fs_info() 71 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() 128 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) in btrfs_free_dummy_fs_info() 183 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, in btrfs_alloc_dummy_block_group() 223 struct btrfs_fs_info *fs_info) in btrfs_init_dummy_trans()
|
D | extent-map-tests.c | 50 static void test_case_1(struct btrfs_fs_info *fs_info, in test_case_1() 116 static void test_case_2(struct btrfs_fs_info *fs_info, in test_case_2() 174 static void __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 241 static void test_case_3(struct btrfs_fs_info *fs_info, in test_case_3() 249 static void __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 332 static void test_case_4(struct btrfs_fs_info *fs_info, in test_case_4() 341 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_extent_map()
|
/Linux-v4.19/include/trace/events/ |
D | btrfs.h | 13 struct btrfs_fs_info; 259 TP_PROTO(struct btrfs_fs_info *fs_info, 648 TP_PROTO(const struct btrfs_fs_info *fs_info, int wait), 665 TP_PROTO(const struct btrfs_fs_info *fs_info, 711 TP_PROTO(const struct btrfs_fs_info *fs_info, 754 TP_PROTO(const struct btrfs_fs_info *fs_info, 764 TP_PROTO(const struct btrfs_fs_info *fs_info, 774 TP_PROTO(const struct btrfs_fs_info *fs_info, 821 TP_PROTO(const struct btrfs_fs_info *fs_info, 831 TP_PROTO(const struct btrfs_fs_info *fs_info, [all …]
|