Lines Matching refs:btrfs_inode
116 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback);
118 static noinline int run_delalloc_cow(struct btrfs_inode *inode,
211 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off, in print_data_reloc_error()
304 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode, in btrfs_print_data_csum_error()
345 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock()
375 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock()
395 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
421 static int btrfs_dirty_inode(struct btrfs_inode *inode);
452 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent()
558 static bool can_cow_file_range_inline(struct btrfs_inode *inode, in can_cow_file_range_inline()
609 static noinline int __cow_file_range_inline(struct btrfs_inode *inode, in __cow_file_range_inline()
681 static noinline int cow_file_range_inline(struct btrfs_inode *inode, in cow_file_range_inline()
741 struct btrfs_inode *inode;
783 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
826 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
873 struct btrfs_inode *inode = async_chunk->inode; in compress_file_range()
1074 static void submit_uncompressed_range(struct btrfs_inode *inode, in submit_uncompressed_range()
1108 struct btrfs_inode *inode = async_chunk->inode; in submit_one_async_extent()
1220 u64 btrfs_get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in btrfs_get_extent_allocation_hint()
1280 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1603 static bool run_delalloc_compressed(struct btrfs_inode *inode, in run_delalloc_compressed()
1696 static noinline int run_delalloc_cow(struct btrfs_inode *inode, in run_delalloc_cow()
1717 static int fallback_to_cow(struct btrfs_inode *inode, in fallback_to_cow()
1826 struct btrfs_inode *inode, in can_nocow_file_extent()
1941 static void cleanup_dirty_folios(struct btrfs_inode *inode, in cleanup_dirty_folios()
1986 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
2307 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end) in should_nocow()
2322 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct folio *locked_folio, in btrfs_run_delalloc_range()
2358 void btrfs_split_delalloc_extent(struct btrfs_inode *inode, in btrfs_split_delalloc_extent()
2397 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2453 static void btrfs_add_delalloc_inode(struct btrfs_inode *inode) in btrfs_add_delalloc_inode()
2471 void btrfs_del_delalloc_inode(struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2501 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2559 void btrfs_clear_delalloc_extent(struct btrfs_inode *inode, in btrfs_clear_delalloc_extent()
2661 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2700 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2730 struct btrfs_inode *inode;
2742 struct btrfs_inode *inode = fixup->inode; in btrfs_writepage_fixup_worker()
2913 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
3065 struct btrfs_inode *inode = ordered_extent->inode; in btrfs_finish_one_ordered()
3355 struct btrfs_inode *inode = bbio->inode; in btrfs_data_csum_ok()
3402 void btrfs_add_delayed_iput(struct btrfs_inode *inode) in btrfs_add_delayed_iput()
3425 struct btrfs_inode *inode) in run_delayed_iput_locked()
3436 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
3456 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
3459 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3496 struct btrfs_inode *inode) in btrfs_orphan_add()
3514 struct btrfs_inode *inode) in btrfs_orphan_del()
3788 static int btrfs_init_file_extent_tree(struct btrfs_inode *inode) in btrfs_init_file_extent_tree()
3812 static int btrfs_add_inode_to_root(struct btrfs_inode *inode, bool prealloc) in btrfs_add_inode_to_root()
3815 struct btrfs_inode *existing; in btrfs_add_inode_to_root()
4107 struct btrfs_inode *inode) in btrfs_update_inode_item()
4143 struct btrfs_inode *inode) in btrfs_update_inode()
4171 struct btrfs_inode *inode) in btrfs_update_inode_fallback()
4187 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4188 struct btrfs_inode *inode, in __btrfs_unlink_inode()
4290 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4311 static struct btrfs_trans_handle *__unlink_start_trans(struct btrfs_inode *dir) in __unlink_start_trans()
4361 struct btrfs_inode *dir, struct dentry *dentry) in btrfs_unlink_subvol()
4364 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
4529 struct btrfs_inode *inode; in btrfs_prune_dentries()
4551 int btrfs_delete_subvolume(struct btrfs_inode *dir, struct dentry *dentry) in btrfs_delete_subvolume()
4776 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len, in btrfs_truncate_block()
4919 static int maybe_insert_hole(struct btrfs_inode *inode, u64 offset, u64 len) in maybe_insert_hole()
4973 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
5439 static int btrfs_inode_by_name(struct btrfs_inode *dir, struct dentry *dentry, in btrfs_inode_by_name()
5493 struct btrfs_inode *dir, in fixup_tree_root_location()
5561 static void btrfs_del_inode_from_root(struct btrfs_inode *inode) in btrfs_del_inode_from_root()
5564 struct btrfs_inode *entry; in btrfs_del_inode_from_root()
5819 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
5865 static int btrfs_get_dir_last_index(struct btrfs_inode *dir, u64 *index) in btrfs_get_dir_last_index()
6088 static int btrfs_dirty_inode(struct btrfs_inode *inode) in btrfs_dirty_inode()
6139 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6236 static void btrfs_inherit_iflags(struct btrfs_inode *inode, struct btrfs_inode *dir) in btrfs_inherit_iflags()
6516 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6845 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
7162 struct extent_map *btrfs_create_io_em(struct btrfs_inode *inode, u64 start, in btrfs_create_io_em()
7311 struct btrfs_inode *inode = folio_to_inode(folio); in btrfs_invalidate_folio()
7475 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback) in btrfs_truncate()
7691 struct btrfs_inode *ei; in btrfs_alloc_inode()
7772 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
7843 struct btrfs_inode *ei = foo; in init_once()
7861 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
8502 struct btrfs_inode *binode; in start_delalloc_inodes()
8514 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
8744 struct btrfs_inode *inode, in insert_prealloc_file_extent()
9066 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_inline()
9183 int btrfs_encoded_read_regular_fill_pages(struct btrfs_inode *inode, in btrfs_encoded_read_regular_fill_pages()
9254 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_regular()
9317 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read()
9483 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_do_encoded_write()
10201 void btrfs_update_inode_bytes(struct btrfs_inode *inode, in btrfs_update_inode_bytes()
10230 void btrfs_assert_inode_range_clean(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_assert_inode_range_clean()
10260 struct btrfs_inode *btrfs_find_first_inode(struct btrfs_root *root, u64 min_ino) in btrfs_find_first_inode()
10262 struct btrfs_inode *inode; in btrfs_find_first_inode()