MOS Source Code
|
#include "mos/ipc/memfd.h"
#include "mos/filesystem/dentry.h"
#include "mos/filesystem/inode.h"
#include "mos/filesystem/vfs.h"
#include "mos/filesystem/vfs_types.h"
#include "mos/filesystem/vfs_utils.h"
#include "mos/io/io.h"
#include "mos/misc/setup.h"
#include "mos/mm/slab_autoinit.h"
#include "mos/syslog/printk.h"
#include <mos/filesystem/fs_types.h>
#include <mos_stdlib.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | memfd_t |
Functions | |
SLAB_AUTOINIT ("memfd", memfd_slab, memfd_t) | |
static void | memfd_file_release (file_t *file) |
io_t * | memfd_create (const char *name) |
static void | memfd_init () |
MOS_INIT (VFS, memfd_init) | |
Variables | |
filesystem_t | fs_tmpfs |
static slab_t * | memfd_slab = NULL |
static dentry_t * | memfd_root_dentry = NULL |
static const file_ops_t | memfd_file_ops |
SLAB_AUTOINIT | ( | "memfd" | , |
memfd_slab | , | ||
memfd_t | ) |
io_t * memfd_create | ( | const char * | name | ) |
|
static |
MOS_INIT | ( | VFS | , |
memfd_init | ) |
|
extern |
Referenced by memfd_init(), and tmpfs_fsop_mount().
Definition at line 26 of file memfd.c.
Referenced by memfd_create().
Definition at line 29 of file memfd.c.
Referenced by memfd_create(), and memfd_init().
|
static |
Definition at line 36 of file memfd.c.
Referenced by memfd_create().