#include <stdint.h>
#include <stdbool.h>
#include <process/object.h>
#include <util/list.h>
Go to the source code of this file.
|
| struct tarHeader | __attribute__ ((packed)) |
| |
| struct directory * | directoryCreate (struct directory *parent, char *name, uint32_t nameLength) |
| | Creates a new kernel directory object. More...
|
| |
| struct file * | fileCreate (struct directory *parent, char *name, uint32_t nameLength, uint8_t *staticBuffer, uint32_t staticSize) |
| | Creates a new kernel file object. More...
|
| |
| struct openedFile * | fileOpen (struct file *file) |
| | Creates a new kernel openedFile object. More...
|
| |
| struct openedDirectory * | directoryOpen (struct directory *directory) |
| | Creates a new kernel openedDirectory object. More...
|
| |
| void | fileSystemInit (void *addr, uint32_t length) |
| | Initializes the root file system. More...
|
| |
| struct directory * | fileSystemIsValidDirectory (struct object *obj) |
| | Checks if a given object is of the type directory and casts it if possible. More...
|
| |
| struct file * | fileSystemIsValidFile (struct object *obj) |
| | Checks if a given object is of the type file and casts it if possible. More...
|
| |
| struct directory * | fileSystemGetRoot () |
| | Returns a reference to the root node of the file system. More...
|
| |
| struct directory * | fileSystemSearchDirectory (struct directory *directory, char *path, uint32_t pathLength, bool create) |
| | Opens or creates a directory. More...
|
| |
| struct file * | fileSystemSearchFile (struct directory *directory, char *path, uint32_t pathLength, bool create) |
| | Opens or creates a file. More...
|
| |
◆ TAR_TYPE_BLOCKDEV
| #define TAR_TYPE_BLOCKDEV '4' |
◆ TAR_TYPE_DEVICE
| #define TAR_TYPE_DEVICE '3' |
◆ TAR_TYPE_DIRECTORY
| #define TAR_TYPE_DIRECTORY '5' |
◆ TAR_TYPE_FILE
| #define TAR_TYPE_FILE '0' |
◆ TAR_TYPE_HARDLINK
| #define TAR_TYPE_HARDLINK '1' |
◆ TAR_TYPE_NAMEDPIPE
| #define TAR_TYPE_NAMEDPIPE '6' |
◆ TAR_TYPE_SYMLINK
| #define TAR_TYPE_SYMLINK '2' |
◆ __attribute__()
◆ checksum
◆ devmajor
◆ devminor
◆ gid
◆ gname
◆ linkname
◆ magic
◆ mode
◆ mtime
◆ name
◆ pad
◆ prefix
◆ size
◆ typeflag
◆ uid
◆ uname
◆ version