Go to the source code of this file.
|
| SLAB_AUTOINIT ("tmpfs_i", tmpfs_inode_cache, tmpfs_inode_t) |
|
| SLAB_AUTOINIT ("tmpfs_sb", tmpfs_superblock_cache, tmpfs_sb_t) |
|
static 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 phyframe_t * | tmpfs_fill_cache (inode_cache_t *cache, off_t pgoff) |
|
static bool | tmpfs_sb_drop_inode (inode_t *inode) |
|
◆ TMPFS_INODE
#define TMPFS_INODE |
( |
| inode | ) |
|
◆ TMPFS_SB
◆ SLAB_AUTOINIT() [1/2]
◆ SLAB_AUTOINIT() [2/2]
◆ 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 42 of file tmpfs.c.
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 43 of file tmpfs.c.
Referenced by tmpfs_create_inode().
◆ tmpfs_inode_cache_ops
Initial value:= {
}
static phyframe_t * tmpfs_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 44 of file tmpfs.c.
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 45 of file tmpfs.c.
Referenced by tmpfs_create_inode().
◆ tmpfs_sb_op
Initial value:= {
}
static bool tmpfs_sb_drop_inode(inode_t *inode)
Definition at line 46 of file tmpfs.c.
Referenced by tmpfs_fsop_mount().
◆ tmpfs_inode_cache
◆ tmpfs_superblock_cache
◆ tmpfs_default_mode