Lines Matching refs:btrfs_inode

41 #include "btrfs_inode.h"
134 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback);
136 static noinline int run_delalloc_cow(struct btrfs_inode *inode,
140 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
234 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off,
327 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode,
368 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags)
398 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags)
418 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode,
481 static int btrfs_dirty_inode(struct btrfs_inode *inode);
512 struct btrfs_inode *inode, bool extent_inserted,
620 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 size,
715 struct btrfs_inode *inode;
757 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start,
816 static inline void inode_should_defrag(struct btrfs_inode *inode,
842 struct btrfs_inode *inode = async_chunk->inode;
1072 static void submit_uncompressed_range(struct btrfs_inode *inode,
1109 struct btrfs_inode *inode = async_chunk->inode;
1223 static u64 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start,
1283 static noinline int cow_file_range(struct btrfs_inode *inode,
1622 static bool run_delalloc_compressed(struct btrfs_inode *inode,
1715 static noinline int run_delalloc_cow(struct btrfs_inode *inode,
1759 static int fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page,
1866 struct btrfs_inode *inode,
1975 static noinline int run_delalloc_nocow(struct btrfs_inode *inode,
2247 static bool should_nocow(struct btrfs_inode *inode, u64 start, u64 end)
2262 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page,
2299 void btrfs_split_delalloc_extent(struct btrfs_inode *inode,
2338 void btrfs_merge_delalloc_extent(struct btrfs_inode *inode, struct extent_state *new,
2394 static void btrfs_add_delalloc_inode(struct btrfs_inode *inode)
2412 void btrfs_del_delalloc_inode(struct btrfs_inode *inode)
2442 void btrfs_set_delalloc_extent(struct btrfs_inode *inode, struct extent_state *state,
2500 void btrfs_clear_delalloc_extent(struct btrfs_inode *inode,
2640 static int btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode,
2679 int btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end,
2709 struct btrfs_inode *inode;
2721 struct btrfs_inode *inode = fixup->inode;
2890 struct btrfs_inode *inode, u64 file_pos,
3045 struct btrfs_inode *inode = BTRFS_I(ordered_extent->inode);
3327 struct btrfs_inode *inode = bbio->inode;
3374 void btrfs_add_delayed_iput(struct btrfs_inode *inode)
3397 struct btrfs_inode *inode)
3408 struct btrfs_inode *inode)
3428 struct btrfs_inode *inode;
3431 struct btrfs_inode, delayed_iput);
3468 struct btrfs_inode *inode)
3486 struct btrfs_inode *inode)
4012 struct btrfs_inode *inode)
4047 struct btrfs_inode *inode)
4075 struct btrfs_inode *inode)
4091 struct btrfs_inode *dir,
4092 struct btrfs_inode *inode,
4193 struct btrfs_inode *dir, struct btrfs_inode *inode,
4214 static struct btrfs_trans_handle *__unlink_start_trans(struct btrfs_inode *dir)
4264 struct btrfs_inode *dir, struct dentry *dentry)
4267 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry));
4438 struct btrfs_inode *entry;
4451 entry = rb_entry(node, struct btrfs_inode, rb_node);
4462 entry = rb_entry(prev, struct btrfs_inode, rb_node);
4471 entry = rb_entry(node, struct btrfs_inode, rb_node);
4496 int btrfs_delete_subvolume(struct btrfs_inode *dir, struct dentry *dentry)
4727 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len,
4870 static int maybe_insert_hole(struct btrfs_inode *inode, u64 offset, u64 len)
4924 int btrfs_cont_expand(struct btrfs_inode *inode, loff_t oldsize, loff_t size)
5392 static int btrfs_inode_by_name(struct btrfs_inode *dir, struct dentry *dentry,
5446 struct btrfs_inode *dir,
5512 static void inode_tree_add(struct btrfs_inode *inode)
5515 struct btrfs_inode *entry;
5528 entry = rb_entry(parent, struct btrfs_inode, rb_node);
5548 static void inode_tree_del(struct btrfs_inode *inode)
5799 static int btrfs_set_inode_index_count(struct btrfs_inode *inode)
5845 static int btrfs_get_dir_last_index(struct btrfs_inode *dir, u64 *index)
6068 static int btrfs_dirty_inode(struct btrfs_inode *inode)
6119 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index)
6216 static void btrfs_inherit_iflags(struct btrfs_inode *inode, struct btrfs_inode *dir)
6485 struct btrfs_inode *parent_inode, struct btrfs_inode *inode,
6769 static int read_inline_extent(struct btrfs_inode *inode, struct btrfs_path *path,
6814 struct extent_map *btrfs_get_extent(struct btrfs_inode *inode,
7006 static struct extent_map *btrfs_create_dio_extent(struct btrfs_inode *inode,
7049 static struct extent_map *btrfs_new_extent_direct(struct btrfs_inode *inode,
7310 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
7783 struct btrfs_inode *inode = bbio->inode;
7878 struct btrfs_inode *btrfs_inode = BTRFS_I(inode);
7904 btrfs_inode_lock(btrfs_inode, BTRFS_ILOCK_SHARED);
7915 btrfs_inode_unlock(btrfs_inode, BTRFS_ILOCK_SHARED);
7920 ret = extent_fiemap(btrfs_inode, fieinfo, start, len);
7921 btrfs_inode_unlock(btrfs_inode, BTRFS_ILOCK_SHARED);
8013 struct btrfs_inode *inode = folio_to_inode(folio);
8344 static int btrfs_truncate(struct btrfs_inode *inode, bool skip_writeback)
8560 struct btrfs_inode *ei;
8653 struct btrfs_inode *inode = BTRFS_I(vfs_inode);
8723 struct btrfs_inode *ei = foo;
8741 btrfs_inode_cachep = kmem_cache_create("btrfs_inode",
8742 sizeof(struct btrfs_inode), 0,
9358 struct btrfs_inode *binode;
9370 binode = list_entry(splice.next, struct btrfs_inode,
9601 struct btrfs_inode *inode,
9891 void btrfs_set_range_writeback(struct btrfs_inode *inode, u64 start, u64 end)
9946 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp));
10050 int btrfs_encoded_read_regular_fill_pages(struct btrfs_inode *inode,
10104 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp));
10165 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp));
10308 struct btrfs_inode *inode = BTRFS_I(file_inode(iocb->ki_filp));
10957 void btrfs_update_inode_bytes(struct btrfs_inode *inode,
10986 void btrfs_assert_inode_range_clean(struct btrfs_inode *inode, u64 start, u64 end)