Lines Matching refs:btrfs_inode

84 static noinline int cow_file_range(struct btrfs_inode *inode,
88 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
94 static void __endio_write_update_ordered(struct btrfs_inode *inode,
108 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
271 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 start, in cow_file_range_inline()
409 static inline bool inode_can_compress(struct btrfs_inode *inode) in inode_can_compress()
421 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
448 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
768 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); in submit_compressed_extents()
932 static u64 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, in get_extent_allocation_hint()
977 static noinline int cow_file_range(struct btrfs_inode *inode, in cow_file_range()
1236 static int cow_file_range_async(struct btrfs_inode *inode, in cow_file_range_async()
1373 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, in fallback_to_cow()
1447 static noinline int run_delalloc_nocow(struct btrfs_inode *inode, in run_delalloc_nocow()
1792 static inline int need_force_cow(struct btrfs_inode *inode, u64 start, u64 end) in need_force_cow()
1815 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, in btrfs_run_delalloc_range()
1957 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
1977 struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
2042 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent()
2255 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, in btrfs_find_new_delalloc_bytes()
2295 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, in btrfs_set_extent_delalloc()
2336 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker()
2511 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
2834 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_writepage_endio_finish_ordered()
2935 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_add_delayed_iput()
2950 struct btrfs_inode *inode) in run_delayed_iput_locked()
2961 struct btrfs_inode *inode) in btrfs_run_delayed_iput()
2976 struct btrfs_inode *inode; in btrfs_run_delayed_iputs()
2979 struct btrfs_inode, delayed_iput); in btrfs_run_delayed_iputs()
3010 struct btrfs_inode *inode) in btrfs_orphan_add()
3028 struct btrfs_inode *inode) in btrfs_orphan_del()
3612 struct btrfs_inode *dir, in __btrfs_unlink_inode()
3613 struct btrfs_inode *inode, in __btrfs_unlink_inode()
3717 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
3787 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol()
3942 struct btrfs_inode *entry; in btrfs_prune_dentries()
3955 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
3966 entry = rb_entry(prev, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
3975 entry = rb_entry(node, struct btrfs_inode, rb_node); in btrfs_prune_dentries()
5336 struct btrfs_inode *entry; in inode_tree_add()
5349 entry = rb_entry(parent, struct btrfs_inode, rb_node); in inode_tree_add()
5369 static void inode_tree_del(struct btrfs_inode *inode) in inode_tree_del()
5865 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
5921 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) in btrfs_set_inode_index()
6162 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6245 struct btrfs_inode *dir, struct dentry *dentry, in btrfs_add_nondir()
6246 struct btrfs_inode *inode, int backref, u64 index) in btrfs_add_nondir()
6592 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, in btrfs_get_extent()
6806 struct extent_map *btrfs_get_extent_fiemap(struct btrfs_inode *inode, in btrfs_get_extent_fiemap()
6933 static struct extent_map *btrfs_create_dio_extent(struct btrfs_inode *inode, in btrfs_create_dio_extent()
6968 static struct extent_map *btrfs_new_extent_direct(struct btrfs_inode *inode, in btrfs_new_extent_direct()
7245 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, in create_io_em()
7706 static void __endio_write_update_ordered(struct btrfs_inode *inode, in __endio_write_update_ordered()
8119 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_readpage()
8215 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_invalidatepage()
8676 struct btrfs_inode *ei; in btrfs_alloc_inode()
8750 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode()
8807 struct btrfs_inode *ei = (struct btrfs_inode *) foo; in init_once()
8829 sizeof(struct btrfs_inode), 0, in btrfs_init_cachep()
9453 struct btrfs_inode *binode; in start_delalloc_inodes()
9468 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()