/linux-master/fs/btrfs/ |
H A D | delalloc-space.h | 10 struct btrfs_fs_info; 21 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info,
|
H A D | fs.h | 100 /* The btrfs_fs_info created for self-tests */ 405 struct btrfs_fs_info { struct 473 * Must be written and read while holding btrfs_fs_info::commit_root_sem. 883 static inline u64 btrfs_get_fs_generation(const struct btrfs_fs_info *fs_info) 888 static inline void btrfs_set_fs_generation(struct btrfs_fs_info *fs_info, u64 gen) 893 static inline u64 btrfs_get_last_trans_committed(const struct btrfs_fs_info *fs_info) 898 static inline void btrfs_set_last_trans_committed(struct btrfs_fs_info *fs_info, u64 gen) 903 static inline void btrfs_set_last_root_drop_gen(struct btrfs_fs_info *fs_info, 909 static inline u64 btrfs_get_last_root_drop_gen(const struct btrfs_fs_info *fs_info) 919 const struct btrfs_fs_info *fs_inf [all...] |
H A D | extent-tree.h | 13 struct btrfs_fs_info; 106 u64 btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info, 109 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len); 111 struct btrfs_fs_info *fs_info, u64 bytenr, 152 u64 btrfs_get_extent_owner_root(struct btrfs_fs_info *fs_info, 154 int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info,
|
H A D | raid56.h | 20 struct btrfs_fs_info; 207 int btrfs_alloc_stripe_hash_table(struct btrfs_fs_info *info); 208 void btrfs_free_stripe_hash_table(struct btrfs_fs_info *info);
|
H A D | fs.c | 8 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, 31 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag, 54 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag, 77 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag,
|
H A D | delayed-inode.h | 22 struct btrfs_fs_info; 124 void btrfs_balance_delayed_items(struct btrfs_fs_info *fs_info); 143 void btrfs_destroy_delayed_inodes(struct btrfs_fs_info *fs_info); 171 void btrfs_assert_delayed_root_empty(struct btrfs_fs_info *fs_info);
|
H A D | extent_io.h | 31 struct btrfs_fs_info; 97 struct btrfs_fs_info *fs_info; 251 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, 253 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, 255 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, 258 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info, 268 void btrfs_readahead_tree_block(struct btrfs_fs_info *fs_info, 370 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info, 374 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info);
|
H A D | transaction.h | 25 struct btrfs_fs_info; 108 struct btrfs_fs_info *fs_info; 160 struct btrfs_fs_info *fs_info; 264 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid); 267 void btrfs_maybe_wake_unfinished_drop(struct btrfs_fs_info *fs_info); 268 int btrfs_clean_one_deleted_snapshot(struct btrfs_fs_info *fs_info); 273 void btrfs_throttle(struct btrfs_fs_info *fs_info); 276 int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, 279 int btrfs_transaction_blocked(struct btrfs_fs_info *info);
|
H A D | backref.h | 25 struct btrfs_fs_info; 88 struct btrfs_fs_info *fs_info; 216 int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical, 228 int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info, 277 struct btrfs_fs_info *fs_info; 284 struct btrfs_backref_iter *btrfs_backref_iter_alloc(struct btrfs_fs_info *fs_info); 412 struct btrfs_fs_info *fs_info; 423 void btrfs_backref_init_cache(struct btrfs_fs_info *fs_info, 451 static inline void btrfs_backref_panic(struct btrfs_fs_info *fs_info,
|
H A D | subpage.c | 67 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct address_space *mapping) 120 int btrfs_attach_subpage(const struct btrfs_fs_info *fs_info, 144 void btrfs_detach_subpage(const struct btrfs_fs_info *fs_info, struct folio *folio) 157 struct btrfs_subpage *btrfs_alloc_subpage(const struct btrfs_fs_info *fs_info, 195 void btrfs_folio_inc_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) 209 void btrfs_folio_dec_eb_refs(const struct btrfs_fs_info *fs_info, struct folio *folio) 224 static void btrfs_subpage_assert(const struct btrfs_fs_info *fs_info, 253 void btrfs_subpage_start_reader(const struct btrfs_fs_info *fs_info, 275 void btrfs_subpage_end_reader(const struct btrfs_fs_info *fs_info, 327 static void btrfs_subpage_start_writer(const struct btrfs_fs_info *fs_inf [all...] |
H A D | dir-item.h | 10 struct btrfs_fs_info; 47 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info,
|
H A D | root-tree.h | 14 struct btrfs_fs_info; 36 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
|
H A D | block-rsv.c | 104 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, 183 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, 192 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, 205 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, 214 int btrfs_block_rsv_add(struct btrfs_fs_info *fs_info, 245 int btrfs_block_rsv_refill(struct btrfs_fs_info *fs_info, 274 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, 325 void btrfs_update_global_block_rsv(struct btrfs_fs_info *fs_info) 407 struct btrfs_fs_info *fs_info = root->fs_info; 431 void btrfs_init_global_block_rsv(struct btrfs_fs_info *fs_inf [all...] |
H A D | delalloc-space.c | 117 struct btrfs_fs_info *fs_info = root->fs_info; 133 struct btrfs_fs_info *fs_info = inode->root->fs_info; 171 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, 192 struct btrfs_fs_info *fs_info = inode->root->fs_info; 218 struct btrfs_fs_info *fs_info = inode->root->fs_info; 240 static void btrfs_calculate_inode_block_rsv_size(struct btrfs_fs_info *fs_info, 284 struct btrfs_fs_info *fs_info = inode->root->fs_info; 309 struct btrfs_fs_info *fs_info = root->fs_info; 398 struct btrfs_fs_info *fs_info = inode->root->fs_info; 427 struct btrfs_fs_info *fs_inf [all...] |
H A D | space-info.c | 178 void btrfs_clear_space_info_full(struct btrfs_fs_info *info) 196 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) 224 static int create_space_info(struct btrfs_fs_info *info, u64 flags) 261 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) 298 void btrfs_add_bg_to_space_info(struct btrfs_fs_info *info, 328 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info, 343 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, 411 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, 444 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info, 508 static void dump_global_block_rsv(struct btrfs_fs_info *fs_inf [all...] |
H A D | free-space-cache.h | 17 struct btrfs_fs_info; 97 struct btrfs_fs_info *fs_info; 164 bool btrfs_free_space_cache_v1_active(struct btrfs_fs_info *fs_info); 165 int btrfs_set_free_space_cache_v1_active(struct btrfs_fs_info *fs_info, bool active);
|
H A D | file-item.h | 12 struct btrfs_fs_info; 24 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info)
|
H A D | async-thread.c | 27 struct btrfs_fs_info *fs_info; 50 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq) 55 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) 75 struct btrfs_fs_info *fs_info) 84 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, 124 struct btrfs_fs_info *fs_info, const char *name,
|
H A D | messages.c | 27 static void btrfs_state_to_string(const struct btrfs_fs_info *info, char *buf) 115 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, 211 void __cold _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) 258 void __cold btrfs_warn_32bit_limit(struct btrfs_fs_info *fs_info) 270 void __cold btrfs_err_32bit_limit(struct btrfs_fs_info *fs_info) 288 void __btrfs_panic(const struct btrfs_fs_info *fs_info, const char *function,
|
H A D | disk-io.c | 61 static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info); 62 static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info); 64 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) 75 struct btrfs_fs_info *fs_info = buf->fs_info; 159 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, 184 struct btrfs_fs_info *fs_info = eb->fs_info; 218 struct btrfs_fs_info *fs_info = eb->fs_info; 263 struct btrfs_fs_info *fs_info = eb->fs_info; 336 struct btrfs_fs_info *fs_info = eb->fs_info; 363 struct btrfs_fs_info *fs_inf [all...] |
H A D | transaction.c | 177 struct btrfs_fs_info *fs_info = trans->fs_info; 250 struct btrfs_fs_info *fs_info = trans->fs_info; 263 static noinline int join_transaction(struct btrfs_fs_info *fs_info, 404 struct btrfs_fs_info *fs_info = root->fs_info; 464 struct btrfs_fs_info *fs_info = root->fs_info; 483 struct btrfs_fs_info *fs_info = root->fs_info; 516 static void wait_current_trans(struct btrfs_fs_info *fs_info) 536 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) 549 struct btrfs_fs_info *fs_info = root->fs_info; 560 static int btrfs_reserve_trans_metadata(struct btrfs_fs_info *fs_inf [all...] |
H A D | sysfs.c | 101 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj); 121 static u64 get_features(struct btrfs_fs_info *fs_info, 133 static void set_features(struct btrfs_fs_info *fs_info, 180 struct btrfs_fs_info *fs_info = to_fs_info(kobj); 196 struct btrfs_fs_info *fs_info; 263 struct btrfs_fs_info *fs_info = to_fs_info(kobj); 466 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); 477 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); 488 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); 499 struct btrfs_fs_info *fs_inf [all...] |
H A D | messages.h | 10 struct btrfs_fs_info; 18 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) 31 void _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...); 186 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, 197 void __btrfs_panic(const struct btrfs_fs_info *fs_info, const char *function, 218 void btrfs_warn_32bit_limit(struct btrfs_fs_info *fs_info); 219 void btrfs_err_32bit_limit(struct btrfs_fs_info *fs_info);
|
/linux-master/fs/btrfs/tests/ |
H A D | btrfs-tests.c | 98 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) 119 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize) 121 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), 154 void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info) 215 btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info, 254 struct btrfs_fs_info *fs_info)
|
H A D | free-space-tree-tests.c | 21 struct btrfs_fs_info *fs_info, 108 struct btrfs_fs_info *fs_info, 151 struct btrfs_fs_info *fs_info, 165 struct btrfs_fs_info *fs_info, 186 struct btrfs_fs_info *fs_info, 209 struct btrfs_fs_info *fs_info, 232 struct btrfs_fs_info *fs_info, 256 struct btrfs_fs_info *fs_info, 293 struct btrfs_fs_info *fs_info, 331 struct btrfs_fs_info *fs_inf [all...] |