/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() 279 static inline void btrfs_set_inode_last_sub_trans(struct btrfs_inode *inode) in btrfs_set_inode_last_sub_trans() 286 static inline int btrfs_inode_in_log(struct btrfs_inode *inode, u64 generation) in btrfs_inode_in_log() 343 static inline void btrfs_inode_block_unlocked_dio(struct btrfs_inode *inode) in btrfs_inode_block_unlocked_dio() [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); 115 int btrfs_delayed_delete_inode_ref(struct btrfs_inode *inode);
|
D | tree-log.h | 60 struct btrfs_inode *dir, u64 index); 64 struct btrfs_inode *inode, u64 dirid); 68 struct btrfs_inode *dir, struct btrfs_inode *inode, 71 struct btrfs_inode *dir); 73 struct btrfs_inode *inode, struct btrfs_inode *old_dir,
|
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 | 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() 396 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() 424 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents()
|
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() 739 struct btrfs_inode *inode, u64 file_offset, u64 len) in btrfs_lookup_ordered_range() 988 struct btrfs_inode *inode, u64 start, in btrfs_lock_and_flush_ordered_range()
|
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 | tree-log.c | 95 struct btrfs_root *root, struct btrfs_inode *inode, 859 struct btrfs_inode *dir, in drop_one_dir_item() 1016 struct btrfs_inode *dir, in __add_inode_ref() 1017 struct btrfs_inode *inode, in __add_inode_ref() 1250 struct btrfs_inode *inode, in unlink_old_inode_refs() 1639 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs() 1683 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs() 3387 struct btrfs_inode *inode) in inode_logged() 3424 struct btrfs_inode *dir, u64 index) in btrfs_del_dir_entries_in_log() 3533 struct btrfs_inode *inode, u64 dirid) in btrfs_del_inode_ref_in_log() [all …]
|
D | ordered-data.h | 180 struct btrfs_inode *inode, 192 struct btrfs_inode *inode, u64 start,
|
D | qgroup.h | 347 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, 403 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode);
|
D | extent_io.h | 96 struct btrfs_inode; 258 typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode, 508 struct btrfs_inode; 540 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
|
D | ctree.h | 2495 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes); 2497 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes); 2717 int name_len, struct btrfs_inode *dir, 2815 void btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, 2822 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, 2829 struct btrfs_inode *inode); 2831 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index); 2834 struct btrfs_inode *dir, struct btrfs_inode *inode, 2837 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, 2882 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, [all …]
|
D | inode.c | 444 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag() 1938 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode() 1958 struct btrfs_inode *inode) in btrfs_del_delalloc_inode() 2023 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent() 3540 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput() 3555 struct btrfs_inode *inode) in run_delayed_iput_locked() 3566 struct btrfs_inode *inode) in btrfs_run_delayed_iput() 3581 struct btrfs_inode *inode; in btrfs_run_delayed_iputs() 3584 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs() 3615 struct btrfs_inode *inode) in btrfs_orphan_add() [all …]
|
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 int btrfs_check_can_nocow(struct btrfs_inode *inode, loff_t pos, in btrfs_check_can_nocow() 2269 static int hole_mergeable(struct btrfs_inode *inode, struct extent_buffer *leaf, in hole_mergeable() 2299 struct btrfs_inode *inode, in fill_holes()
|
D | disk-io.h | 136 struct extent_map *btree_get_extent(struct btrfs_inode *inode,
|
D | disk-io.c | 204 struct extent_map *btree_get_extent(struct btrfs_inode *inode, in btree_get_extent() 868 struct btrfs_inode *bi) in check_async_write() 4392 struct btrfs_inode *btrfs_inode; in btrfs_destroy_delalloc_inodes() local 4402 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes() 4404 __btrfs_del_delalloc_inode(root, btrfs_inode); in btrfs_destroy_delalloc_inodes() 4411 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 | 2348 void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_free_io_failure_record() 3271 struct btrfs_inode *inode = BTRFS_I(pages[0]->mapping->host); in contiguous_readpages() 3290 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in __extent_read_full_page() 4454 struct btrfs_inode *btrfs_inode = BTRFS_I(page->mapping->host); in try_release_extent_mapping() local 4455 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping() 4456 struct extent_map_tree *map = &btrfs_inode->extent_tree; in try_release_extent_mapping() 4488 &btrfs_inode->runtime_flags); in try_release_extent_mapping()
|
D | qgroup.c | 3544 static int qgroup_unreserve_range(struct btrfs_inode *inode, in qgroup_unreserve_range() 3678 static int qgroup_reserve_data(struct btrfs_inode *inode, in qgroup_reserve_data() 3743 int btrfs_qgroup_reserve_data(struct btrfs_inode *inode, in btrfs_qgroup_reserve_data() 3760 static int qgroup_free_reserved_data(struct btrfs_inode *inode, in qgroup_free_reserved_data() 4070 void btrfs_qgroup_check_reserved_leak(struct btrfs_inode *inode) in btrfs_qgroup_check_reserved_leak()
|
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() 203 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_ioctl_setflags() 390 struct btrfs_inode *binode = BTRFS_I(file_inode(file)); in btrfs_ioctl_fsgetxattr() 403 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_ioctl_fssetxattr()
|
D | relocation.c | 1568 struct btrfs_inode *entry; in find_next_inode() 1577 entry = rb_entry(node, struct btrfs_inode, rb_node); in find_next_inode() 1588 entry = rb_entry(prev, struct btrfs_inode, rb_node); in find_next_inode() 1597 entry = rb_entry(node, struct btrfs_inode, rb_node); in find_next_inode()
|
D | file-item.c | 940 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()
|