Lines Matching defs:inode

108 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode,  in btrfs_cleanup_ordered_extents()
144 struct inode *inode, struct inode *dir, in btrfs_init_inode_security()
162 struct btrfs_root *root, struct inode *inode, in insert_inline_extent()
271 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 start, in cow_file_range_inline()
368 struct inode *inode; member
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()
476 struct inode *inode = async_chunk->inode; in compress_file_range() local
768 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); in submit_compressed_extents() local
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()
1843 void btrfs_split_delalloc_extent(struct inode *inode, in btrfs_split_delalloc_extent()
1879 void btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, in btrfs_merge_delalloc_extent()
1933 struct inode *inode) in btrfs_add_delalloc_inodes()
1957 struct btrfs_inode *inode) in __btrfs_del_delalloc_inode()
1977 struct btrfs_inode *inode) in btrfs_del_delalloc_inode()
1988 void btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state, in btrfs_set_delalloc_extent()
2042 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_clear_delalloc_extent() local
2121 struct inode *inode = page->mapping->host; in btrfs_bio_fits_in_stripe() local
2155 struct inode *inode = private_data; in btrfs_submit_bio_start() local
2178 blk_status_t btrfs_submit_data_bio(struct inode *inode, struct bio *bio, in btrfs_submit_data_bio()
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()
2325 struct inode *inode; member
2336 struct btrfs_inode *inode; in btrfs_writepage_fixup_worker() local
2471 struct inode *inode = page->mapping->host; in btrfs_writepage_cow_fixup() local
2511 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent()
2630 struct inode *inode = ordered_extent->inode; in btrfs_finish_ordered_io() local
2834 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_writepage_endio_finish_ordered() local
2855 static int check_data_csum(struct inode *inode, struct btrfs_io_bio *io_bio, in check_data_csum()
2899 struct inode *inode = page->mapping->host; in btrfs_verify_data_csum() local
2932 void btrfs_add_delayed_iput(struct inode *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() local
3010 struct btrfs_inode *inode) in btrfs_orphan_add()
3028 struct btrfs_inode *inode) in btrfs_orphan_del()
3044 struct inode *inode; in btrfs_orphan_cleanup() local
3281 static int btrfs_read_locked_inode(struct inode *inode, in btrfs_read_locked_inode()
3484 struct inode *inode) in fill_inode_item()
3530 struct btrfs_root *root, struct inode *inode) in btrfs_update_inode_item()
3567 struct btrfs_root *root, struct inode *inode) in btrfs_update_inode()
3595 struct inode *inode) in btrfs_update_inode_fallback()
3613 struct btrfs_inode *inode, in __btrfs_unlink_inode()
3717 struct btrfs_inode *dir, struct btrfs_inode *inode, in btrfs_unlink_inode()
3755 struct inode *inode = d_inode(dentry); in btrfs_unlink() local
3787 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); in btrfs_unlink_subvol() local
3943 struct inode *inode; in btrfs_prune_dentries() local
4004 struct inode *inode = d_inode(dentry); in btrfs_delete_subvolume() local
4144 struct inode *inode = d_inode(dentry); in btrfs_rmdir() local
4216 struct inode *inode, in btrfs_truncate_inode_items()
4570 int btrfs_truncate_block(struct inode *inode, loff_t from, loff_t len, in btrfs_truncate_block()
4708 static int maybe_insert_hole(struct btrfs_root *root, struct inode *inode, in maybe_insert_hole()
4758 int btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size) in btrfs_cont_expand()
4862 static int btrfs_setsize(struct inode *inode, struct iattr *attr) in btrfs_setsize()
4948 struct inode *inode = d_inode(dentry); in btrfs_setattr() local
4989 static void evict_inode_truncate_pages(struct inode *inode) in evict_inode_truncate_pages()
5123 void btrfs_evict_inode(struct inode *inode) in btrfs_evict_inode()
5333 static void inode_tree_add(struct inode *inode) in inode_tree_add()
5369 static void inode_tree_del(struct btrfs_inode *inode) in inode_tree_del()
5392 static int btrfs_init_locked_inode(struct inode *inode, void *p) in btrfs_init_locked_inode()
5405 static int btrfs_find_actor(struct inode *inode, void *opaque) in btrfs_find_actor()
5416 struct inode *inode; in btrfs_iget_locked() local
5438 struct inode *inode; in btrfs_iget_path() local
5476 struct inode *inode = new_inode(s); in new_simple_dir() local
5502 static inline u8 btrfs_inode_type(struct inode *inode) in btrfs_inode_type()
5523 struct inode *inode; in btrfs_lookup_dentry() local
5584 struct inode *inode = d_inode(dentry); in btrfs_dentry_delete() local
5603 struct inode *inode = btrfs_lookup_dentry(dir, dentry); in btrfs_lookup() local
5619 static int btrfs_opendir(struct inode *inode, struct file *file) in btrfs_opendir()
5662 struct inode *inode = file_inode(file); in btrfs_real_readdir() local
5805 static int btrfs_dirty_inode(struct inode *inode) in btrfs_dirty_inode()
5840 static int btrfs_update_time(struct inode *inode, struct timespec64 *now, in btrfs_update_time()
5865 static int btrfs_set_inode_index_count(struct btrfs_inode *inode) in btrfs_set_inode_index_count()
5940 static int btrfs_insert_inode_locked(struct inode *inode) in btrfs_insert_inode_locked()
5957 static void btrfs_inherit_iflags(struct inode *inode, struct inode *dir) in btrfs_inherit_iflags()
5991 struct inode *inode; in btrfs_new_inode() local
6162 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link()
6246 struct btrfs_inode *inode, int backref, u64 index) in btrfs_add_nondir()
6262 struct inode *inode = NULL; in btrfs_mknod() local
6326 struct inode *inode = NULL; in btrfs_create() local
6392 struct inode *inode = d_inode(old_dentry); in btrfs_link() local
6468 struct inode *inode = NULL; in btrfs_mkdir() local
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()
7018 noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len, in can_nocow_extent()
7164 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct()
7245 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start, in create_io_em()
7304 struct inode *inode, in btrfs_get_blocks_direct_write()
7386 static int btrfs_dio_iomap_begin(struct inode *inode, loff_t start, in btrfs_dio_iomap_begin()
7560 static int btrfs_dio_iomap_end(struct inode *inode, loff_t pos, loff_t length, in btrfs_dio_iomap_end()
7633 static blk_status_t submit_dio_repair_bio(struct inode *inode, struct bio *bio, in submit_dio_repair_bio()
7654 static blk_status_t btrfs_check_read_dio_bio(struct inode *inode, in btrfs_check_read_dio_bio()
7706 static void __endio_write_update_ordered(struct btrfs_inode *inode, in __endio_write_update_ordered()
7752 struct inode *inode = private_data; in btrfs_submit_bio_start_direct_io() local
7783 struct inode *inode, u64 file_offset, int async_submit) in btrfs_submit_dio_bio()
7835 struct inode *inode, in btrfs_create_dio_private()
7866 static blk_qc_t btrfs_submit_direct(struct inode *inode, struct iomap *iomap, in btrfs_submit_direct()
8052 struct inode *inode = file->f_mapping->host; in btrfs_direct_IO() local
8105 static int btrfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, in btrfs_fiemap()
8119 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_readpage() local
8136 struct inode *inode = page->mapping->host; in btrfs_writepage() local
8215 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); in btrfs_invalidatepage() local
8348 struct inode *inode = file_inode(vmf->vma->vm_file); in btrfs_page_mkwrite() local
8491 static int btrfs_truncate(struct inode *inode, bool skip_writeback) in btrfs_truncate()
8644 struct inode *inode; in btrfs_create_subvol_root() local
8677 struct inode *inode; in btrfs_alloc_inode() local
8735 void btrfs_test_destroy_inode(struct inode *inode) in btrfs_test_destroy_inode()
8742 void btrfs_free_inode(struct inode *inode) in btrfs_free_inode()
8750 struct btrfs_inode *inode = BTRFS_I(vfs_inode); in btrfs_destroy_inode() local
8791 int btrfs_drop_inode(struct inode *inode) in btrfs_drop_inode()
8869 struct inode *inode = d_inode(path->dentry); in btrfs_getattr() local
9134 struct inode *inode; in btrfs_whiteout_for_rename() local
9406 struct inode *inode; member
9415 struct inode *inode; in btrfs_run_delalloc_work() local
9429 static struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode) in btrfs_alloc_delalloc_work()
9454 struct inode *inode; in start_delalloc_inodes() local
9609 struct inode *inode = NULL; in btrfs_symlink() local
9722 struct inode *inode, struct btrfs_key *ins, in insert_prealloc_file_extent()
9779 static int __btrfs_prealloc_file_range(struct inode *inode, int mode, in __btrfs_prealloc_file_range()
9910 int btrfs_prealloc_file_range(struct inode *inode, int mode, in btrfs_prealloc_file_range()
9919 int btrfs_prealloc_file_range_trans(struct inode *inode, in btrfs_prealloc_file_range_trans()
9933 static int btrfs_permission(struct inode *inode, int mask) in btrfs_permission()
9953 struct inode *inode = NULL; in btrfs_tmpfile() local
10014 struct inode *inode = tree->private_data; in btrfs_set_range_writeback() local
10034 static int btrfs_add_swapfile_pin(struct inode *inode, void *ptr, in btrfs_add_swapfile_pin()
10076 static void btrfs_free_swapfile_pins(struct inode *inode) in btrfs_free_swapfile_pins()
10155 struct inode *inode = file_inode(file); in btrfs_swap_deactivate() local
10164 struct inode *inode = file_inode(file); in btrfs_swap_activate() local