|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <miniOS/fs/vfs.h>

Go to the source code of this file.
Classes | |
| struct | sysfs_node |
Macros | |
| #define | SYSFS_NODE_DIR 1 |
| #define | SYSFS_NODE_FILE 2 |
| #define | SYSFS_CONTENT_MAX 32 |
Typedefs | |
| typedef struct sysfs_node | sysfs_node_t |
Functions | |
| void | sysfs_init (void) |
| sysfs_node_t * | sysfs_create_dir (sysfs_node_t *parent, const char *name) |
| sysfs_node_t * | sysfs_create_file (sysfs_node_t *parent, const char *name, const char *buf, uint32_t len, int(*callback)(char *, uint32_t)) |
Variables | |
| sysfs_node_t * | g_sysfs_root |
| #define SYSFS_CONTENT_MAX 32 |
| #define SYSFS_NODE_DIR 1 |
| #define SYSFS_NODE_FILE 2 |
| typedef struct sysfs_node sysfs_node_t |
| sysfs_node_t * sysfs_create_dir | ( | sysfs_node_t * | parent, |
| const char * | name ) |


| sysfs_node_t * sysfs_create_file | ( | sysfs_node_t * | parent, |
| const char * | name, | ||
| const char * | buf, | ||
| uint32_t | len, | ||
| int(* | callback )(char *, uint32_t) ) |


| void sysfs_init | ( | void | ) |


|
extern |