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()
423 static int btrfs_dirty_inode(struct btrfs_inode *inode);
454 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent()
560 static bool can_cow_file_range_inline(struct btrfs_inode *inode, in can_cow_file_range_inline()
602 static noinline int __cow_file_range_inline(struct btrfs_inode *inode, in __cow_file_range_inline()
674 static noinline int cow_file_range_inline(struct btrfs_inode *inode, in cow_file_range_inline()
734 struct btrfs_inode *inode;
776 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
805 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
814 static int extent_range_clear_dirty_for_io(struct btrfs_inode *inode, u64 start, u64 end) in extent_range_clear_dirty_for_io()
851 struct btrfs_inode *inode = async_chunk->inode; in compress_file_range()
1055 static void submit_uncompressed_range(struct btrfs_inode *inode, in submit_uncompressed_range()
1088 struct btrfs_inode *inode = async_chunk->inode; in submit_one_async_extent()
1207 u64 btrfs_get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in btrfs_get_extent_allocation_hint()
1264 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1587 static bool run_delalloc_compressed(struct btrfs_inode *inode, in run_delalloc_compressed()
1680 static noinline int run_delalloc_cow(struct btrfs_inode *inode, in run_delalloc_cow()
1701 static int fallback_to_cow(struct btrfs_inode *inode, in fallback_to_cow()
1810 struct btrfs_inode *inode, in can_nocow_file_extent()
1925 static void cleanup_dirty_folios(struct btrfs_inode *inode, in cleanup_dirty_folios()
1963 static int nocow_one_range(struct btrfs_inode *inode, struct folio *locked_folio, in nocow_one_range()
2029 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
2311 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end) in should_nocow()
2326 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct folio *locked_folio, in btrfs_run_delalloc_range()
2357 void btrfs_split_delalloc_extent(struct btrfs_inode *inode, in btrfs_split_delalloc_extent()
2396 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
2452 static void btrfs_add_delalloc_inode(struct btrfs_inode *inode) in btrfs_add_delalloc_inode()
2470 void btrfs_del_delalloc_inode(struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2500 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2558 void btrfs_clear_delalloc_extent(struct btrfs_inode *inode, in btrfs_clear_delalloc_extent()
2660 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2699 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2729 struct btrfs_inode *inode;
2741 struct btrfs_inode *inode = fixup->inode; in btrfs_writepage_fixup_worker()
2927 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
3077 struct btrfs_inode *inode = ordered_extent->inode; in btrfs_finish_one_ordered()
3365 struct btrfs_inode *inode = bbio->inode; in btrfs_data_csum_ok()
3416 void btrfs_add_delayed_iput(struct btrfs_inode *inode) in btrfs_add_delayed_iput()
3440 struct btrfs_inode *inode) in run_delayed_iput_locked()
3451 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
3471 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
3474 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3511 struct btrfs_inode *inode) in btrfs_orphan_add()
3529 struct btrfs_inode *inode) in btrfs_orphan_del()
3563 struct btrfs_inode *inode; in btrfs_orphan_cleanup()
3812 static int btrfs_init_file_extent_tree(struct btrfs_inode *inode) in btrfs_init_file_extent_tree()
3837 static int btrfs_add_inode_to_root(struct btrfs_inode *inode, bool prealloc) in btrfs_add_inode_to_root()
3840 struct btrfs_inode *existing; in btrfs_add_inode_to_root()
3873 static int btrfs_read_locked_inode(struct btrfs_inode *inode, struct btrfs_path *path) in btrfs_read_locked_inode()
4121 struct btrfs_inode *inode) in btrfs_update_inode_item()
4154 struct btrfs_inode *inode) in btrfs_update_inode()
4182 struct btrfs_inode *inode) in btrfs_update_inode_fallback()
4192 static void update_time_after_link_or_unlink(struct btrfs_inode *dir) in update_time_after_link_or_unlink()
4215 struct btrfs_inode *dir, in __btrfs_unlink_inode()
4216 struct btrfs_inode *inode, in __btrfs_unlink_inode()
4315 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
4336 static struct btrfs_trans_handle *__unlink_start_trans(struct btrfs_inode *dir) in __unlink_start_trans()
4386 struct btrfs_inode *dir, struct dentry *dentry) in btrfs_unlink_subvol()
4389 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
4552 struct btrfs_inode *inode; in btrfs_prune_dentries()
4574 int btrfs_delete_subvolume(struct btrfs_inode *dir, struct dentry *dentry) in btrfs_delete_subvolume()
4718 struct btrfs_inode *dir = BTRFS_I(vfs_dir); in btrfs_rmdir()
4719 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_rmdir()
4797 static int truncate_block_zero_beyond_eof(struct btrfs_inode *inode, u64 start) in truncate_block_zero_beyond_eof()
4860 int btrfs_truncate_block(struct btrfs_inode *inode, u64 offset, u64 start, u64 end) in btrfs_truncate_block()
5053 static int maybe_insert_hole(struct btrfs_inode *inode, u64 offset, u64 len) in maybe_insert_hole()
5107 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
5572 static int btrfs_inode_by_name(struct btrfs_inode *dir, struct dentry *dentry, in btrfs_inode_by_name()
5625 struct btrfs_inode *dir, in fixup_tree_root_location()
5692 static void btrfs_del_inode_from_root(struct btrfs_inode *inode) in btrfs_del_inode_from_root()
5695 struct btrfs_inode *entry; in btrfs_del_inode_from_root()
5736 static struct btrfs_inode *btrfs_iget_locked(u64 ino, struct btrfs_root *root) in btrfs_iget_locked()
5757 struct btrfs_inode *btrfs_iget_path(u64 ino, struct btrfs_root *root, in btrfs_iget_path()
5760 struct btrfs_inode *inode; in btrfs_iget_path()
5781 struct btrfs_inode *btrfs_iget(u64 ino, struct btrfs_root *root) in btrfs_iget()
5783 struct btrfs_inode *inode; in btrfs_iget()
5809 static struct btrfs_inode *new_simple_dir(struct inode *dir, in new_simple_dir()
5815 struct btrfs_inode *inode; in new_simple_dir()
5858 static inline u8 btrfs_inode_type(const struct btrfs_inode *inode) in btrfs_inode_type()
5866 struct btrfs_inode *inode; in btrfs_lookup_dentry()
5960 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
6004 static int btrfs_get_dir_last_index(struct btrfs_inode *dir, u64 *index) in btrfs_get_dir_last_index()
6225 static int btrfs_dirty_inode(struct btrfs_inode *inode) in btrfs_dirty_inode()
6276 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6373 static void btrfs_inherit_iflags(struct btrfs_inode *inode, struct btrfs_inode *dir) in btrfs_inherit_iflags()
6574 struct btrfs_inode *parent; in btrfs_create_new_inode()
6661 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6982 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
7202 noinline int can_nocow_extent(struct btrfs_inode *inode, u64 offset, u64 *len, in can_nocow_extent()
7293 struct extent_map *btrfs_create_io_em(struct btrfs_inode *inode, u64 start, in btrfs_create_io_em()
7442 struct btrfs_inode *inode = folio_to_inode(folio); in btrfs_invalidate_folio()
7605 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback) in btrfs_truncate()
7820 struct btrfs_inode *ei; in btrfs_alloc_inode()
7901 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
7972 struct btrfs_inode *ei = foo; in init_once()
7990 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
8688 struct btrfs_inode *inode; in start_delalloc_inodes()
8691 inode = list_first_entry(&splice, struct btrfs_inode, delalloc_inodes); in start_delalloc_inodes()
8922 struct btrfs_inode *inode, in insert_prealloc_file_extent()
9244 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_inline()
9355 int btrfs_encoded_read_regular_fill_pages(struct btrfs_inode *inode, in btrfs_encoded_read_regular_fill_pages()
9434 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read_regular()
9497 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_encoded_read()
9663 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp)); in btrfs_do_encoded_write()
10381 void btrfs_update_inode_bytes(struct btrfs_inode *inode, in btrfs_update_inode_bytes()
10410 void btrfs_assert_inode_range_clean(struct btrfs_inode *inode, u64 start, u64 end) in btrfs_assert_inode_range_clean()
10440 struct btrfs_inode *btrfs_find_first_inode(struct btrfs_root *root, u64 min_ino) in btrfs_find_first_inode()
10442 struct btrfs_inode *inode; in btrfs_find_first_inode()