Lines Matching refs:btrfs_inode
86 static noinline int cow_file_range(struct btrfs_inode *inode,
90 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
96 static void __endio_write_update_ordered(struct btrfs_inode *inode,
160 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
343 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()
504 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
563 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
884 static int submit_uncompressed_range(struct btrfs_inode *inode, in submit_uncompressed_range()
921 static int submit_one_async_extent(struct btrfs_inode *inode, in submit_one_async_extent()
1043 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); in submit_compressed_extents()
1068 static u64 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in get_extent_allocation_hint()
1113 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1395 static int cow_file_range_async(struct btrfs_inode *inode, in cow_file_range_async()
1509 static noinline int run_delalloc_zoned(struct btrfs_inode *inode, in run_delalloc_zoned()
1554 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, in fallback_to_cow()
1627 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
1977 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end) in should_nocow()
1993 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, in btrfs_run_delalloc_range()
2153 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
2173 struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2238 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent()
2321 static int split_zoned_em(struct btrfs_inode *inode, u64 start, u64 len, in split_zoned_em()
2431 static blk_status_t extract_ordered_extent(struct btrfs_inode *inode, in extract_ordered_extent()
2601 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2641 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2682 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker()
2857 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
3007 struct btrfs_inode *inode = BTRFS_I(ordered_extent->inode); in btrfs_finish_ordered_io()
3218 void btrfs_writepage_endio_finish_ordered(struct btrfs_inode *inode, in btrfs_writepage_endio_finish_ordered()
3365 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput()
3380 struct btrfs_inode *inode) in run_delayed_iput_locked()
3391 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
3406 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
3409 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3442 struct btrfs_inode *inode) in btrfs_orphan_add()
3460 struct btrfs_inode *inode) in btrfs_orphan_del()
3982 struct btrfs_inode *inode) in btrfs_update_inode_item()
4018 struct btrfs_inode *inode) in btrfs_update_inode()
4045 struct btrfs_root *root, struct btrfs_inode *inode) in btrfs_update_inode_fallback()
4061 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4062 struct btrfs_inode *inode, in __btrfs_unlink_inode()
4155 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4224 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
4379 struct btrfs_inode *entry; in btrfs_prune_dentries()
4392 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4403 entry = rb_entry(prev, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4412 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4651 struct btrfs_inode *inode, in btrfs_truncate_inode_items()
5011 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len, in btrfs_truncate_block()
5146 static int maybe_insert_hole(struct btrfs_root *root, struct btrfs_inode *inode, in maybe_insert_hole()
5201 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
5787 struct btrfs_inode *entry; in inode_tree_add()
5800 entry = rb_entry(parent, struct btrfs_inode, rb_node); in inode_tree_add()
5820 static void inode_tree_del(struct btrfs_inode *inode) in inode_tree_del()
6316 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
6372 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6617 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6700 struct btrfs_inode *dir, struct dentry *dentry, in btrfs_add_nondir()
6701 struct btrfs_inode *inode, int backref, u64 index) in btrfs_add_nondir()
7047 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
7262 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, in btrfs_get_extent_fiemap()
7389 static struct extent_map *btrfs_create_dio_extent(struct btrfs_inode *inode, in btrfs_create_dio_extent()
7424 static struct extent_map *btrfs_new_extent_direct(struct btrfs_inode *inode, in btrfs_new_extent_direct()
7711 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, in create_io_em()
8145 static void __endio_write_update_ordered(struct btrfs_inode *inode, in __endio_write_update_ordered()
8421 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_readpage()
8552 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_invalidatepage()
9085 struct btrfs_inode *ei; in btrfs_alloc_inode()
9160 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
9219 struct btrfs_inode *ei = (struct btrfs_inode *) foo; in init_once()
9241 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
9915 struct btrfs_inode *binode; in start_delalloc_inodes()
9930 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
10181 struct btrfs_inode *inode, in insert_prealloc_file_extent()
10491 void btrfs_set_range_writeback(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_set_range_writeback()
10888 void btrfs_update_inode_bytes(struct btrfs_inode *inode, in btrfs_update_inode_bytes()