vfs.c File Reference

#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 ()
fileSystemvfsFindFS (int vfsType)
int vfsRegisterFS (struct fileSystem newFS)


Function Documentation

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().


Generated on Tue Dec 5 09:28:08 2006 for UbixOS V2 by  doxygen 1.4.7