Go to the source code of this file.
|
static PtrResult< dentry_t > | tmpfs_fsop_mount (filesystem_t *fs, const char *dev, const char *options) |
|
| FILESYSTEM_DEFINE (fs_tmpfs, "tmpfs", tmpfs_fsop_mount, NULL) |
|
| FILESYSTEM_AUTOREGISTER (fs_tmpfs) |
|
inode_t * | tmpfs_create_inode (tmpfs_sb_t *sb, file_type_t type, file_perm_t perm) |
|
static bool | tmpfs_mknod_impl (inode_t *dir, dentry_t *dentry, file_type_t type, file_perm_t perm, dev_t dev) |
|
static bool | tmpfs_i_create (inode_t *dir, dentry_t *dentry, file_type_t type, file_perm_t perm) |
|
static bool | tmpfs_i_hardlink (dentry_t *old_dentry, inode_t *dir, dentry_t *new_dentry) |
|
static bool | tmpfs_i_symlink (inode_t *dir, dentry_t *dentry, const char *symname) |
|
static bool | tmpfs_i_unlink (inode_t *dir, dentry_t *dentry) |
|
static bool | tmpfs_i_mkdir (inode_t *dir, dentry_t *dentry, file_perm_t perm) |
|
static bool | tmpfs_i_rmdir (inode_t *dir, dentry_t *subdir_to_remove) |
|
static bool | tmpfs_i_mknod (inode_t *dir, dentry_t *dentry, file_type_t type, file_perm_t perm, dev_t dev) |
|
static bool | tmpfs_i_rename (inode_t *old_dir, dentry_t *old_dentry, inode_t *new_dir, dentry_t *new_dentry) |
|
static size_t | tmpfs_i_readlink (dentry_t *dentry, char *buffer, size_t buflen) |
|
static PtrResult< phyframe_t > | tmpfs_fill_cache (inode_cache_t *cache, uint64_t pgoff) |
|
static bool | tmpfs_sb_drop_inode (inode_t *inode) |
|
◆ TMPFS_INODE
#define TMPFS_INODE |
( |
| inode | ) |
|
◆ TMPFS_SB
◆ tmpfs_fsop_mount()
◆ FILESYSTEM_DEFINE()
◆ FILESYSTEM_AUTOREGISTER()
◆ tmpfs_create_inode()
◆ tmpfs_mknod_impl()
◆ tmpfs_i_create()
◆ tmpfs_i_hardlink()
◆ tmpfs_i_symlink()
◆ tmpfs_i_unlink()
◆ tmpfs_i_mkdir()
◆ tmpfs_i_rmdir()
◆ tmpfs_i_mknod()
◆ tmpfs_i_rename()
◆ tmpfs_i_readlink()
◆ tmpfs_fill_cache()
◆ tmpfs_sb_drop_inode()
◆ tmpfs_noop_file_ops
◆ tmpfs_inode_dir_ops
Initial value:= {
}
static bool tmpfs_i_mknod(inode_t *dir, dentry_t *dentry, file_type_t type, file_perm_t perm, dev_t dev)
static bool tmpfs_i_symlink(inode_t *dir, dentry_t *dentry, const char *symname)
static bool tmpfs_i_hardlink(dentry_t *old_dentry, inode_t *dir, dentry_t *new_dentry)
static bool tmpfs_i_create(inode_t *dir, dentry_t *dentry, file_type_t type, file_perm_t perm)
static bool tmpfs_i_unlink(inode_t *dir, dentry_t *dentry)
static bool tmpfs_i_rmdir(inode_t *dir, dentry_t *subdir_to_remove)
static bool tmpfs_i_rename(inode_t *old_dir, dentry_t *old_dentry, inode_t *new_dir, dentry_t *new_dentry)
static bool tmpfs_i_mkdir(inode_t *dir, dentry_t *dentry, file_perm_t perm)
Definition at line 200 of file tmpfs.cpp.
Referenced by tmpfs_create_inode().
◆ tmpfs_inode_symlink_ops
Initial value:= {
}
static size_t tmpfs_i_readlink(dentry_t *dentry, char *buffer, size_t buflen)
Definition at line 249 of file tmpfs.cpp.
Referenced by tmpfs_create_inode().
◆ tmpfs_inode_cache_ops
Initial value:= {
}
static PtrResult< phyframe_t > tmpfs_fill_cache(inode_cache_t *cache, uint64_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 258 of file tmpfs.cpp.
Referenced by tmpfs_create_inode().
◆ tmpfs_file_ops
Initial value:= {
}
ssize_t vfs_generic_write(const file_t *file, const void *buf, size_t size, off_t offset)
ssize_t vfs_generic_read(const file_t *file, void *buf, size_t size, off_t offset)
Definition at line 253 of file tmpfs.cpp.
Referenced by tmpfs_create_inode().
◆ tmpfs_sb_op
◆ tmpfs_default_mode