Lines Matching refs:btrfs_inode
117 static noinline int cow_file_range(struct btrfs_inode *inode,
122 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
188 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
283 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent()
391 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 size, in cow_file_range_inline()
527 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
586 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
907 static int submit_uncompressed_range(struct btrfs_inode *inode, in submit_uncompressed_range()
954 static int submit_one_async_extent(struct btrfs_inode *inode, in submit_one_async_extent()
1079 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); in submit_compressed_extents()
1104 static u64 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in get_extent_allocation_hint()
1171 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1509 static int cow_file_range_async(struct btrfs_inode *inode, in cow_file_range_async()
1623 static noinline int run_delalloc_zoned(struct btrfs_inode *inode, in run_delalloc_zoned()
1692 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, in fallback_to_cow()
1793 struct btrfs_inode *inode, in can_nocow_file_extent()
1902 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
2182 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end) in should_nocow()
2198 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, in btrfs_run_delalloc_range()
2359 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
2379 struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2444 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent()
2527 static int split_zoned_em(struct btrfs_inode *inode, u64 start, u64 len, in split_zoned_em()
2637 static blk_status_t extract_ordered_extent(struct btrfs_inode *inode, in extract_ordered_extent()
2700 struct btrfs_inode *bi = BTRFS_I(inode); in btrfs_submit_data_write_bio()
2792 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2832 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2873 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker()
3047 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
3202 struct btrfs_inode *inode = BTRFS_I(ordered_extent->inode); in btrfs_finish_ordered_io()
3410 void btrfs_writepage_endio_finish_ordered(struct btrfs_inode *inode, in btrfs_writepage_endio_finish_ordered()
3569 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput()
3584 struct btrfs_inode *inode) in run_delayed_iput_locked()
3595 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
3610 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
3613 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3646 struct btrfs_inode *inode) in btrfs_orphan_add()
3664 struct btrfs_inode *inode) in btrfs_orphan_del()
4184 struct btrfs_inode *inode) in btrfs_update_inode_item()
4220 struct btrfs_inode *inode) in btrfs_update_inode()
4247 struct btrfs_root *root, struct btrfs_inode *inode) in btrfs_update_inode_fallback()
4263 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4264 struct btrfs_inode *inode, in __btrfs_unlink_inode()
4371 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4441 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
4597 struct btrfs_inode *entry; in btrfs_prune_dentries()
4610 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4621 entry = rb_entry(prev, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4630 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
4860 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len, in btrfs_truncate_block()
4992 static int maybe_insert_hole(struct btrfs_root *root, struct btrfs_inode *inode, in maybe_insert_hole()
5046 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
5621 struct btrfs_inode *entry; in inode_tree_add()
5634 entry = rb_entry(parent, struct btrfs_inode, rb_node); in inode_tree_add()
5654 static void inode_tree_del(struct btrfs_inode *inode) in inode_tree_del()
6135 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
6185 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6533 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6835 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
7047 static struct extent_map *btrfs_create_dio_extent(struct btrfs_inode *inode, in btrfs_create_dio_extent()
7086 static struct extent_map *btrfs_new_extent_direct(struct btrfs_inode *inode, in btrfs_new_extent_direct()
7339 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, in create_io_em()
8215 struct btrfs_inode *inode = BTRFS_I(folio->mapping->host); in btrfs_invalidate_folio()
8745 struct btrfs_inode *ei; in btrfs_alloc_inode()
8818 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
8888 struct btrfs_inode *ei = foo; in init_once()
8911 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
9551 struct btrfs_inode *binode; in start_delalloc_inodes()
9566 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
9799 struct btrfs_inode *inode, in insert_prealloc_file_extent()
10089 void btrfs_set_range_writeback(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_set_range_writeback()
10142 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_inline()
10221 struct btrfs_inode *inode;
10229 static blk_status_t submit_encoded_read_bio(struct btrfs_inode *inode, in submit_encoded_read_bio()
10251 struct btrfs_inode *inode = priv->inode; in btrfs_encoded_read_verify_csum()
10301 int btrfs_encoded_read_regular_fill_pages(struct btrfs_inode *inode, in btrfs_encoded_read_regular_fill_pages()
10387 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_regular()
10448 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read()
10591 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_do_encoded_write()
11235 void btrfs_update_inode_bytes(struct btrfs_inode *inode, in btrfs_update_inode_bytes()
11264 void btrfs_assert_inode_range_clean(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_assert_inode_range_clean()