Lines Matching refs:btrfs_inode

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()
1059 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1343 static int cow_file_range_async(struct btrfs_inode *inode, in cow_file_range_async()
1457 static noinline int run_delalloc_zoned(struct btrfs_inode *inode, in run_delalloc_zoned()
1502 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, in fallback_to_cow()
1576 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
1927 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end) in should_nocow()
1943 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, in btrfs_run_delalloc_range()
2088 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
2108 struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2173 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent()
2298 static int split_zoned_em(struct btrfs_inode *inode, u64 start, u64 len, in split_zoned_em()
2408 static blk_status_t extract_ordered_extent(struct btrfs_inode *inode, in extract_ordered_extent()
2578 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2618 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2659 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker()
2834 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
2984 struct btrfs_inode *inode = BTRFS_I(ordered_extent->inode); in btrfs_finish_ordered_io()
3191 void btrfs_writepage_endio_finish_ordered(struct btrfs_inode *inode, in btrfs_writepage_endio_finish_ordered()
3342 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput()
3357 struct btrfs_inode *inode) in run_delayed_iput_locked()
3368 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
3383 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
3386 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3419 struct btrfs_inode *inode) in btrfs_orphan_add()
3437 struct btrfs_inode *inode) in btrfs_orphan_del()
3959 struct btrfs_inode *inode) in btrfs_update_inode_item()
3995 struct btrfs_inode *inode) in btrfs_update_inode()
4022 struct btrfs_root *root, struct btrfs_inode *inode) in btrfs_update_inode_fallback()
4039 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4040 struct btrfs_inode *inode, in __btrfs_unlink_inode()
4143 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4213 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
4368 struct btrfs_inode *entry; in btrfs_prune_dentries()
4381 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4392 entry = rb_entry(prev, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4401 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4641 struct btrfs_inode *inode, in btrfs_truncate_inode_items()
5001 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len, in btrfs_truncate_block()
5135 static int maybe_insert_hole(struct btrfs_root *root, struct btrfs_inode *inode, in maybe_insert_hole()
5190 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
5776 struct btrfs_inode *entry; in inode_tree_add()
5789 entry = rb_entry(parent, struct btrfs_inode, rb_node); in inode_tree_add()
5809 static void inode_tree_del(struct btrfs_inode *inode) in inode_tree_del()
6305 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
6361 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6602 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6685 struct btrfs_inode *dir, struct dentry *dentry, in btrfs_add_nondir()
6686 struct btrfs_inode *inode, int backref, u64 index) in btrfs_add_nondir()
7032 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
7247 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, in btrfs_get_extent_fiemap()
7374 static struct extent_map *btrfs_create_dio_extent(struct btrfs_inode *inode, in btrfs_create_dio_extent()
7409 static struct extent_map *btrfs_new_extent_direct(struct btrfs_inode *inode, in btrfs_new_extent_direct()
7696 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, in create_io_em()
8128 static void __endio_write_update_ordered(struct btrfs_inode *inode, in __endio_write_update_ordered()
8409 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_readpage()
8540 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_invalidatepage()
9073 struct btrfs_inode *ei; in btrfs_alloc_inode()
9148 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
9205 struct btrfs_inode *ei = (struct btrfs_inode *) foo; in init_once()
9227 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
9901 struct btrfs_inode *binode; in start_delalloc_inodes()
9916 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
10167 struct btrfs_inode *inode, in insert_prealloc_file_extent()
10477 void btrfs_set_range_writeback(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_set_range_writeback()
10874 void btrfs_update_inode_bytes(struct btrfs_inode *inode, in btrfs_update_inode_bytes()