/Linux-v5.15/fs/btrfs/ |
D | ordered-data.h | 172 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, 174 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, 178 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode, 181 int btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset, 184 int btrfs_add_ordered_extent_dio(struct btrfs_inode *inode, u64 file_offset, 187 int btrfs_add_ordered_extent_compress(struct btrfs_inode *inode, u64 file_offset, 192 struct btrfs_ordered_extent *btrfs_lookup_ordered_extent(struct btrfs_inode *inode, 197 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset); 199 struct btrfs_inode *inode, u64 file_offset, u64 len); 201 struct btrfs_inode *inode, [all …]
|
D | delayed-inode.h | 90 struct btrfs_inode *dir, 95 struct btrfs_inode *dir, u64 index); 97 int btrfs_inode_delayed_dir_index_count(struct btrfs_inode *inode); 105 struct btrfs_inode *inode); 107 void btrfs_remove_delayed_node(struct btrfs_inode *inode); 108 void btrfs_kill_delayed_inode_items(struct btrfs_inode *inode); 109 int btrfs_commit_inode_delayed_inode(struct btrfs_inode *inode); 114 struct btrfs_inode *inode); 116 int btrfs_delayed_delete_inode_ref(struct btrfs_inode *inode);
|
D | delalloc-space.h | 8 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes); 9 int btrfs_check_data_free_space(struct btrfs_inode *inode, 11 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, 13 void btrfs_delalloc_release_space(struct btrfs_inode *inode, 18 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, 20 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
|
D | btrfs_inode.h | 64 struct btrfs_inode { struct 236 static inline u32 btrfs_inode_sectorsize(const struct btrfs_inode *inode) in btrfs_inode_sectorsize() argument 241 static inline struct btrfs_inode *BTRFS_I(const struct inode *inode) in BTRFS_I() 243 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I() 265 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() 278 static inline void btrfs_i_size_write(struct btrfs_inode *inode, u64 size) in btrfs_i_size_write() 284 static inline bool btrfs_is_free_space_inode(struct btrfs_inode *inode) in btrfs_is_free_space_inode() 301 static inline void btrfs_mod_outstanding_extents(struct btrfs_inode *inode, in btrfs_mod_outstanding_extents() 320 static inline void btrfs_set_inode_last_sub_trans(struct btrfs_inode *inode) in btrfs_set_inode_last_sub_trans() 327 static inline bool btrfs_inode_in_log(struct btrfs_inode *inode, u64 generation) in btrfs_inode_in_log() [all …]
|
D | tree-log.h | 74 struct btrfs_inode *dir, u64 index); 78 struct btrfs_inode *inode, u64 dirid); 82 struct btrfs_inode *dir, struct btrfs_inode *inode, 85 struct btrfs_inode *dir); 87 struct btrfs_inode *inode, struct btrfs_inode *old_dir,
|
D | delalloc-space.c | 114 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) in btrfs_alloc_data_chunk_ondemand() 129 int btrfs_check_data_free_space(struct btrfs_inode *inode, in btrfs_check_data_free_space() 179 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, in btrfs_free_reserved_data_space() 206 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free) in btrfs_inode_rsv_release() 231 struct btrfs_inode *inode) in btrfs_calculate_inode_block_rsv_size() 288 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_reserve_metadata() 376 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() 404 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents() 446 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, in btrfs_delalloc_reserve_space() 474 void btrfs_delalloc_release_space(struct btrfs_inode *inode, in btrfs_delalloc_release_space()
|
D | ordered-data.c | 152 static int __btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset, in __btrfs_add_ordered_extent() 250 int btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset, in btrfs_add_ordered_extent() 262 int btrfs_add_ordered_extent_dio(struct btrfs_inode *inode, u64 file_offset, in btrfs_add_ordered_extent_dio() 274 int btrfs_add_ordered_extent_compress(struct btrfs_inode *inode, u64 file_offset, in btrfs_add_ordered_extent_compress() 316 void btrfs_mark_ordered_io_finished(struct btrfs_inode *inode, in btrfs_mark_ordered_io_finished() 457 bool btrfs_dec_test_ordered_pending(struct btrfs_inode *inode, in btrfs_dec_test_ordered_pending() 538 void btrfs_remove_ordered_extent(struct btrfs_inode *btrfs_inode, in btrfs_remove_ordered_extent() argument 542 struct btrfs_root *root = btrfs_inode->root; in btrfs_remove_ordered_extent() 548 spin_lock(&btrfs_inode->lock); in btrfs_remove_ordered_extent() 549 btrfs_mod_outstanding_extents(btrfs_inode, -1); in btrfs_remove_ordered_extent() [all …]
|
D | verity.c | 103 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() 182 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items() 211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() 291 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() 420 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan() 452 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity() 518 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity() 578 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() 627 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity()
|
D | delayed-inode.c | 67 struct btrfs_inode *btrfs_inode) in btrfs_get_delayed_node() argument 69 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() 70 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node() 73 node = READ_ONCE(btrfs_inode->delayed_node); in btrfs_get_delayed_node() 83 if (btrfs_inode->delayed_node) { in btrfs_get_delayed_node() 85 BUG_ON(btrfs_inode->delayed_node != node); in btrfs_get_delayed_node() 108 btrfs_inode->delayed_node = node; in btrfs_get_delayed_node() 123 struct btrfs_inode *btrfs_inode) in btrfs_get_or_create_delayed_node() argument 126 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() 127 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node() [all …]
|
D | qgroup.h | 358 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, 360 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len); 361 int btrfs_qgroup_free_data(struct btrfs_inode *inode, 415 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode);
|
D | ctree.h | 2799 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes); 2801 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes); 3022 int name_len, struct btrfs_inode *dir, 3113 blk_status_t btrfs_csum_one_bio(struct btrfs_inode *inode, struct bio *bio, 3117 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, 3122 int btrfs_inode_clear_file_extent_range(struct btrfs_inode *inode, u64 start, 3124 int btrfs_inode_set_file_extent_range(struct btrfs_inode *inode, u64 start, 3126 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size); 3134 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, 3141 struct btrfs_inode *inode); [all …]
|
D | extent_io.h | 67 struct btrfs_inode; 173 typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode, 193 int extent_fiemap(struct btrfs_inode *inode, struct fiemap_extent_info *fieinfo, 277 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
|
D | inode.c | 85 static noinline int cow_file_range(struct btrfs_inode *inode, 89 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, 95 static void __endio_write_update_ordered(struct btrfs_inode *inode, 159 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents() 342 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 start, in cow_file_range_inline() 492 static inline bool inode_can_compress(struct btrfs_inode *inode) in inode_can_compress() 507 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress() 534 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag() 852 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); in submit_compressed_extents() 1014 static u64 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in get_extent_allocation_hint() [all …]
|
D | compression.h | 11 struct btrfs_inode; 92 blk_status_t btrfs_submit_compressed_write(struct btrfs_inode *inode, u64 start,
|
D | tree-log.c | 97 struct btrfs_root *root, struct btrfs_inode *inode, 898 struct btrfs_inode *dir, in drop_one_dir_item() 1033 struct btrfs_inode *dir, in __add_inode_ref() 1034 struct btrfs_inode *inode, in __add_inode_ref() 1270 struct btrfs_inode *inode, in unlink_old_inode_refs() 1631 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs() 1675 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs() 3450 struct btrfs_inode *inode) in inode_logged() 3496 struct btrfs_inode *dir, u64 index) in btrfs_del_dir_entries_in_log() 3574 struct btrfs_inode *inode, u64 dirid) in btrfs_del_inode_ref_in_log() [all …]
|
D | file.c | 84 static int __btrfs_add_inode_defrag(struct btrfs_inode *inode, in __btrfs_add_inode_defrag() 137 struct btrfs_inode *inode) in btrfs_add_inode_defrag() 186 static void btrfs_requeue_inode_defrag(struct btrfs_inode *inode, in btrfs_requeue_inode_defrag() 463 int btrfs_dirty_pages(struct btrfs_inode *inode, struct page **pages, in btrfs_dirty_pages() 525 void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_drop_extent_cache() 690 struct btrfs_root *root, struct btrfs_inode *inode, in btrfs_drop_extents() 1079 struct btrfs_inode *inode, u64 start, u64 end) in btrfs_mark_extent_written() 1431 lock_and_cleanup_extent_if_need(struct btrfs_inode *inode, struct page **pages, in lock_and_cleanup_extent_if_need() 1484 static int check_can_nocow(struct btrfs_inode *inode, loff_t pos, in check_can_nocow() 1538 static int check_nocow_nolock(struct btrfs_inode *inode, loff_t pos, in check_nocow_nolock() [all …]
|
D | zoned.h | 55 bool btrfs_use_zone_append(struct btrfs_inode *inode, u64 start); 156 static inline bool btrfs_use_zone_append(struct btrfs_inode *inode, u64 start) in btrfs_use_zone_append()
|
D | file-item.c | 44 void btrfs_inode_safe_disk_i_size_write(struct btrfs_inode *inode, u64 new_i_size) in btrfs_inode_safe_disk_i_size_write() 81 int btrfs_inode_set_file_extent_range(struct btrfs_inode *inode, u64 start, in btrfs_inode_set_file_extent_range() 109 int btrfs_inode_clear_file_extent_range(struct btrfs_inode *inode, u64 start, in btrfs_inode_clear_file_extent_range() 623 blk_status_t btrfs_csum_one_bio(struct btrfs_inode *inode, struct bio *bio, in btrfs_csum_one_bio() 1192 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, in btrfs_extent_item_to_extent_map()
|
D | transaction.h | 170 struct btrfs_inode *inode) in btrfs_set_inode_last_trans()
|
D | extent_io.c | 2065 void extent_clear_unlock_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in extent_clear_unlock_delalloc() 2451 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_free_io_failure_record() 2780 struct btrfs_inode *inode; in end_extent_writepage() 2860 struct btrfs_inode *inode; 2880 struct btrfs_inode *inode, u64 start, u64 end, in endio_readpage_release_extent() 3244 struct btrfs_inode *inode, u64 file_offset) in calc_bio_boundaries() 3298 static int alloc_new_bio(struct btrfs_inode *inode, in alloc_new_bio() 3379 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in submit_extent_page() 3750 struct btrfs_inode *inode = BTRFS_I(pages[0]->mapping->host); in contiguous_readpages() 3778 static noinline_for_stack int writepage_delalloc(struct btrfs_inode *inode, in writepage_delalloc() [all …]
|
D | extent-io-tree.h | 257 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
|
D | qgroup.c | 3486 static int qgroup_unreserve_range(struct btrfs_inode *inode, in qgroup_unreserve_range() 3603 static int qgroup_reserve_data(struct btrfs_inode *inode, in qgroup_reserve_data() 3667 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, in btrfs_qgroup_reserve_data() 3684 static int qgroup_free_reserved_data(struct btrfs_inode *inode, in qgroup_free_reserved_data() 3738 static int __btrfs_qgroup_release_data(struct btrfs_inode *inode, in __btrfs_qgroup_release_data() 3785 int btrfs_qgroup_free_data(struct btrfs_inode *inode, in btrfs_qgroup_free_data() 3806 int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len) in btrfs_qgroup_release_data() 3992 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode) in btrfs_qgroup_check_reserved_leak()
|
D | dir-item.c | 109 int name_len, struct btrfs_inode *dir, in btrfs_insert_dir_item()
|
D | disk-io.c | 905 struct btrfs_inode *bi) in should_async_write() 4708 struct btrfs_inode *btrfs_inode; in btrfs_destroy_delalloc_inodes() local 4718 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes() 4720 __btrfs_del_delalloc_inode(root, btrfs_inode); in btrfs_destroy_delalloc_inodes() 4727 inode = igrab(&btrfs_inode->vfs_inode); in btrfs_destroy_delalloc_inodes()
|
/Linux-v5.15/include/trace/events/ |
D | btrfs.h | 14 struct btrfs_inode; 284 TP_PROTO(const struct btrfs_root *root, const struct btrfs_inode *inode, 372 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 427 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 468 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 477 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 486 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 495 TP_PROTO(const struct btrfs_inode *bi, const struct extent_buffer *l, 516 TP_PROTO(const struct btrfs_inode *inode, 568 TP_PROTO(const struct btrfs_inode *inode, [all …]
|