Lines Matching refs:erofs_inode

53 static struct erofs_inode *erofs_igrab(struct erofs_inode *inode)  in erofs_igrab()
60 struct erofs_inode *erofs_iget(dev_t dev, ino_t ino) in erofs_iget()
64 struct erofs_inode *inode; in erofs_iget()
72 struct erofs_inode *erofs_iget_by_nid(erofs_nid_t nid) in erofs_iget_by_nid()
76 struct erofs_inode *inode; in erofs_iget_by_nid()
84 unsigned int erofs_iput(struct erofs_inode *inode) in erofs_iput()
114 struct erofs_dentry *erofs_d_alloc(struct erofs_inode *parent, in erofs_d_alloc()
130 static int __allocate_inode_bh_data(struct erofs_inode *inode, in __allocate_inode_bh_data()
159 int erofs_prepare_dir_file(struct erofs_inode *dir) in erofs_prepare_dir_file()
244 int erofs_write_dir_file(struct erofs_inode *dir) in erofs_write_dir_file()
291 int erofs_write_file_from_buffer(struct erofs_inode *inode, char *buf) in erofs_write_file_from_buffer()
316 static bool erofs_file_is_compressible(struct erofs_inode *inode) in erofs_file_is_compressible()
321 static int write_uncompressed_file_from_fd(struct erofs_inode *inode, int fd) in write_uncompressed_file_from_fd()
365 int erofs_write_file(struct erofs_inode *inode) in erofs_write_file()
393 struct erofs_inode *const inode = bh->fsprivate; in erofs_bh_flush_write_inode()
509 int erofs_prepare_tail_block(struct erofs_inode *inode) in erofs_prepare_tail_block()
538 int erofs_prepare_inode_buffer(struct erofs_inode *inode) in erofs_prepare_inode_buffer()
596 struct erofs_inode *const inode = bh->fsprivate; in erofs_bh_flush_write_inline()
616 int erofs_write_tail_end(struct erofs_inode *inode) in erofs_write_tail_end()
668 static bool erofs_should_use_inode_extended(struct erofs_inode *inode) in erofs_should_use_inode_extended()
692 int erofs_droid_inode_fsconfig(struct erofs_inode *inode, in erofs_droid_inode_fsconfig()
738 static int erofs_droid_inode_fsconfig(struct erofs_inode *inode, in erofs_droid_inode_fsconfig()
746 int erofs_fill_inode(struct erofs_inode *inode, in erofs_fill_inode()
812 struct erofs_inode *erofs_new_inode(void) in erofs_new_inode()
815 struct erofs_inode *inode; in erofs_new_inode()
817 inode = malloc(sizeof(struct erofs_inode)); in erofs_new_inode()
839 struct erofs_inode *erofs_iget_from_path(const char *path, bool is_src) in erofs_iget_from_path()
842 struct erofs_inode *inode; in erofs_iget_from_path()
876 void erofs_fixup_meta_blkaddr(struct erofs_inode *rootdir) in erofs_fixup_meta_blkaddr()
893 erofs_nid_t erofs_lookupnid(struct erofs_inode *inode) in erofs_lookupnid()
911 struct erofs_inode *const inode = d->inode; in erofs_d_invalidate()
917 struct erofs_inode *erofs_mkfs_build_tree(struct erofs_inode *dir) in erofs_mkfs_build_tree()
1052 struct erofs_inode *erofs_mkfs_build_tree_from_path(struct erofs_inode *parent, in erofs_mkfs_build_tree_from_path()
1055 struct erofs_inode *const inode = erofs_iget_from_path(path, true); in erofs_mkfs_build_tree_from_path()