#include <vfs/vfs.h>
#include <ubixos/vitals.h>
#include <lib/kmalloc.h>
#include <lib/kprintf.h>
#include <lib/string.h>
Go to the source code of this file.
Functions | |
| int | vfs_init () |
| fileSystem * | vfsFindFS (int vfsType) |
| int | vfsRegisterFS (struct fileSystem newFS) |
| int vfs_init | ( | ) |
Definition at line 47 of file vfs.c.
References vitalsStruct::fileSystems, kprintf(), and systemVitals.
| struct fileSystem* vfsFindFS | ( | int | vfsType | ) |
Definition at line 58 of file vfs.c.
References vitalsStruct::fileSystems, fileSystem::next, systemVitals, and fileSystem::vfsType.
Referenced by vfs_mount(), and vfsRegisterFS().
| int vfsRegisterFS | ( | struct fileSystem | newFS | ) |
Definition at line 73 of file vfs.c.
References vitalsStruct::fileSystems, kmalloc(), kprintf(), memcpy(), fileSystem::next, NULL, fileSystem::prev, systemVitals, vfsFindFS(), fileSystem::vfsType, and x1.
Referenced by devfs_init(), ubixfs_init(), and ufs_init().
1.4.7