MOS Source Code
|
#include "mos/filesystem/vfs_types.h"
Go to the source code of this file.
void inode_init | ( | inode_t * | inode, |
superblock_t * | sb, | ||
u64 | ino, | ||
file_type_t | type ) |
Definition at line 49 of file inode.c.
Referenced by cpio_inode_trycreate(), inode_create(), and tmpfs_create_inode().
inode_t * inode_create | ( | superblock_t * | sb, |
u64 | ino, | ||
file_type_t | type ) |
Definition at line 65 of file inode.c.
Referenced by i_from_pbfull(), MOS_INIT(), sysfs_create_inode(), sysfs_do_register(), and sysfs_register_file().
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.
sb | The superblock of the dentry |
parent | The parent dentry |
name | The name of the dentry |
Definition at line 40 of file vfs_utils.c.
Referenced by cpio_mount(), dentry_lookup_child(), memfd_create(), MOS_INIT(), sysfs_do_register(), sysfs_register_file(), tmpfs_fsop_mount(), and userfs_fsop_mount().
phyframe_t * simple_fill_cache | ( | inode_cache_t * | cache, |
off_t | pgoff ) |
bool simple_page_write_begin | ( | inode_cache_t * | icache, |
off_t | offset, | ||
size_t | size, | ||
phyframe_t ** | page, | ||
void ** | private ) |
void simple_page_write_end | ( | inode_cache_t * | icache, |
off_t | offset, | ||
size_t | size, | ||
phyframe_t * | page, | ||
void * | private ) |
Definition at line 76 of file vfs_utils.c.
long simple_flush_page_discard_data | ( | inode_cache_t * | icache, |
off_t | pgoff, | ||
phyframe_t * | page ) |
Definition at line 86 of file vfs_utils.c.
Referenced by do_flush_and_drop_cached_page().
void vfs_generic_iterate_dir | ( | const dentry_t * | dir, |
vfs_listdir_state_t * | state, | ||
dentry_iterator_op | op ) |
Definition at line 120 of file vfs_utils.c.
Referenced by sysfs_iops_iterate_dir(), and vfs_populate_listdir_buf().