/Linux-v5.4/fs/btrfs/ |
D | btrfs_inode.h | 36 struct btrfs_inode { struct 200 static inline struct btrfs_inode *BTRFS_I(const struct inode *inode) in BTRFS_I() argument 202 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I() 224 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() 237 static inline void btrfs_i_size_write(struct btrfs_inode *inode, u64 size) in btrfs_i_size_write() 243 static inline bool btrfs_is_free_space_inode(struct btrfs_inode *inode) in btrfs_is_free_space_inode() 260 static inline void btrfs_mod_outstanding_extents(struct btrfs_inode *inode, in btrfs_mod_outstanding_extents() 271 static inline int btrfs_inode_in_log(struct btrfs_inode *inode, u64 generation) in btrfs_inode_in_log() 328 static inline void btrfs_inode_block_unlocked_dio(struct btrfs_inode *inode) in btrfs_inode_block_unlocked_dio() 334 static inline void btrfs_inode_resume_unlocked_dio(struct btrfs_inode *inode) in btrfs_inode_resume_unlocked_dio() [all …]
|
D | tree-log.h | 58 struct btrfs_inode *dir, u64 index); 62 struct btrfs_inode *inode, u64 dirid); 66 struct btrfs_inode *dir, struct btrfs_inode *inode, 69 struct btrfs_inode *dir); 78 struct btrfs_inode *inode, struct btrfs_inode *old_dir,
|
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); 115 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); 18 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
|
D | delalloc-space.c | 12 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) in btrfs_alloc_data_chunk_ondemand() 219 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free) in btrfs_inode_rsv_release() 244 struct btrfs_inode *inode) in btrfs_calculate_inode_block_rsv_size() 301 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_reserve_metadata() 399 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() 427 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents()
|
D | delayed-inode.c | 66 struct btrfs_inode *btrfs_inode) in btrfs_get_delayed_node() argument 68 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() 69 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node() 72 node = READ_ONCE(btrfs_inode->delayed_node); in btrfs_get_delayed_node() 82 if (btrfs_inode->delayed_node) { in btrfs_get_delayed_node() 84 BUG_ON(btrfs_inode->delayed_node != node); in btrfs_get_delayed_node() 107 btrfs_inode->delayed_node = node; in btrfs_get_delayed_node() 122 struct btrfs_inode *btrfs_inode) in btrfs_get_or_create_delayed_node() argument 125 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() 126 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node() [all …]
|
D | ordered-data.c | 465 struct btrfs_inode *btrfs_inode = BTRFS_I(inode); in btrfs_remove_ordered_extent() local 466 struct btrfs_root *root = btrfs_inode->root; in btrfs_remove_ordered_extent() 470 spin_lock(&btrfs_inode->lock); in btrfs_remove_ordered_extent() 471 btrfs_mod_outstanding_extents(btrfs_inode, -1); in btrfs_remove_ordered_extent() 472 spin_unlock(&btrfs_inode->lock); in btrfs_remove_ordered_extent() 474 btrfs_delalloc_release_metadata(btrfs_inode, entry->len, false); in btrfs_remove_ordered_extent() 480 tree = &btrfs_inode->ordered_tree; in btrfs_remove_ordered_extent() 735 struct btrfs_inode *inode, u64 file_offset, u64 len) in btrfs_lookup_ordered_range() 984 struct btrfs_inode *inode, u64 start, in btrfs_lock_and_flush_ordered_range()
|
D | ordered-data.h | 180 struct btrfs_inode *inode, 192 struct btrfs_inode *inode, u64 start,
|
D | tree-log.c | 95 struct btrfs_root *root, struct btrfs_inode *inode, 852 struct btrfs_inode *dir, in drop_one_dir_item() 1002 struct btrfs_inode *dir, in __add_inode_ref() 1003 struct btrfs_inode *inode, in __add_inode_ref() 1230 struct btrfs_inode *inode, in unlink_old_inode_refs() 1598 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs() 1642 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs() 3354 struct btrfs_inode *inode) in inode_logged() 3391 struct btrfs_inode *dir, u64 index) in btrfs_del_dir_entries_in_log() 3499 struct btrfs_inode *inode, u64 dirid) in btrfs_del_inode_ref_in_log() [all …]
|
D | extent_io.h | 94 struct btrfs_inode; 256 typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode, 506 struct btrfs_inode; 538 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
|
D | ctree.h | 2490 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes); 2492 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes); 2712 int name_len, struct btrfs_inode *dir, 2810 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, 2817 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, 2824 struct btrfs_inode *inode); 2826 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index); 2829 struct btrfs_inode *dir, struct btrfs_inode *inode, 2832 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, 2877 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, [all …]
|
D | inode.c | 443 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag() 1839 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode() 1859 struct btrfs_inode *inode) in btrfs_del_delalloc_inode() 1924 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent() 3360 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput() 3375 struct btrfs_inode *inode) in run_delayed_iput_locked() 3386 struct btrfs_inode *inode) in btrfs_run_delayed_iput() 3401 struct btrfs_inode *inode; in btrfs_run_delayed_iputs() 3404 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs() 3434 struct btrfs_inode *inode) in btrfs_orphan_add() [all …]
|
D | disk-io.h | 136 struct extent_map *btree_get_extent(struct btrfs_inode *inode,
|
D | file.c | 81 static int __btrfs_add_inode_defrag(struct btrfs_inode *inode, in __btrfs_add_inode_defrag() 134 struct btrfs_inode *inode) in btrfs_add_inode_defrag() 183 static void btrfs_requeue_inode_defrag(struct btrfs_inode *inode, in btrfs_requeue_inode_defrag() 466 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes() 587 void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_drop_extent_cache() 1146 struct btrfs_inode *inode, u64 start, u64 end) in btrfs_mark_extent_written() 1481 lock_and_cleanup_extent_if_need(struct btrfs_inode *inode, struct page **pages, in lock_and_cleanup_extent_if_need() 1549 static noinline int check_can_nocow(struct btrfs_inode *inode, loff_t pos, in check_can_nocow() 2248 static int hole_mergeable(struct btrfs_inode *inode, struct extent_buffer *leaf, in hole_mergeable() 2278 struct btrfs_inode *inode, in fill_holes()
|
D | disk-io.c | 204 struct extent_map *btree_get_extent(struct btrfs_inode *inode, in btree_get_extent() 881 struct btrfs_inode *bi) in check_async_write() 4309 struct btrfs_inode *btrfs_inode; in btrfs_destroy_delalloc_inodes() local 4319 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes() 4321 __btrfs_del_delalloc_inode(root, btrfs_inode); in btrfs_destroy_delalloc_inodes() 4328 inode = igrab(&btrfs_inode->vfs_inode); in btrfs_destroy_delalloc_inodes()
|
D | dir-item.c | 109 int name_len, struct btrfs_inode *dir, in btrfs_insert_dir_item()
|
D | extent_io.c | 2345 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_free_io_failure_record() 3268 struct btrfs_inode *inode = BTRFS_I(pages[0]->mapping->host); in contiguous_readpages() 3287 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in __extent_read_full_page() 4404 struct btrfs_inode *btrfs_inode = BTRFS_I(page->mapping->host); in try_release_extent_mapping() local 4405 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping() 4406 struct extent_map_tree *map = &btrfs_inode->extent_tree; in try_release_extent_mapping() 4429 &btrfs_inode->runtime_flags); in try_release_extent_mapping()
|
D | ioctl.c | 141 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_sync_inode_flags_to_i_flags() 162 struct btrfs_inode *binode = BTRFS_I(file_inode(file)); in btrfs_ioctl_getflags() 190 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_ioctl_setflags() 376 struct btrfs_inode *binode = BTRFS_I(file_inode(file)); in btrfs_ioctl_fsgetxattr() 389 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_ioctl_fssetxattr()
|
D | relocation.c | 1517 struct btrfs_inode *entry; in find_next_inode() 1526 entry = rb_entry(node, struct btrfs_inode, rb_node); in find_next_inode() 1537 entry = rb_entry(prev, struct btrfs_inode, rb_node); in find_next_inode() 1546 entry = rb_entry(node, struct btrfs_inode, rb_node); in find_next_inode()
|
D | file-item.c | 932 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, in btrfs_extent_item_to_extent_map()
|
D | compression.c | 74 static int check_compressed_csum(struct btrfs_inode *inode, in check_compressed_csum()
|
/Linux-v5.4/include/trace/events/ |
D | btrfs.h | 14 struct btrfs_inode; 245 TP_PROTO(const struct btrfs_root *root, const struct btrfs_inode *inode, 333 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, 388 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, 429 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, 438 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, 447 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, 456 TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l,
|