void dentry_iterator_op(vfs_listdir_state_t *state, u64 ino, const char *name, size_t name_len, file_type_t type)
bool simple_page_write_begin(inode_cache_t *icache, off_t offset, size_t size, phyframe_t **page, void **private)
phyframe_t * simple_fill_cache(inode_cache_t *cache, off_t pgoff)
inode_t * inode_create(superblock_t *sb, u64 ino, file_type_t type)
ssize_t vfs_generic_write(const file_t *file, const void *buf, size_t size, off_t offset)
ssize_t vfs_generic_lseek(const file_t *file, off_t offset, int whence)
dentry_t * dentry_get_from_parent(superblock_t *sb, dentry_t *parent, const char *name)
Create a new dentry with the given name and parent.
void vfs_generic_iterate_dir(const dentry_t *dir, vfs_listdir_state_t *state, dentry_iterator_op op)
void simple_page_write_end(inode_cache_t *icache, off_t offset, size_t size, phyframe_t *page, void *private)
void inode_init(inode_t *inode, superblock_t *sb, u64 ino, file_type_t type)
int vfs_generic_close(const file_t *file)
ssize_t vfs_generic_read(const file_t *file, void *buf, size_t size, off_t offset)
long simple_flush_page_discard_data(inode_cache_t *icache, off_t pgoff, phyframe_t *page)