mount.h File Reference

#include <ubixos/types.h>

Go to the source code of this file.

Data Structures

struct  vfs_mountPoint

Typedefs

typedef vfs_mountPoint vfs_mountPoint_t

Functions

int vfs_addMount (vfs_mountPoint_t *mp)
vfs_mountPoint_tvfs_findMount (char *mountPoint)
int vfs_mount (int major, int minor, int partition, int fsType, char *mountPoint, char *perms)


Typedef Documentation

typedef struct vfs_mountPoint vfs_mountPoint_t


Function Documentation

int vfs_addMount ( vfs_mountPoint_t mp  ) 

Definition at line 105 of file mount.c.

References vfs_mountPoint::next, vfs_mountPoint::prev, and systemVitals.

Referenced by vfs_mount().

vfs_mountPoint_t* vfs_findMount ( char *  mountPoint  ) 

Definition at line 132 of file mount.c.

References vfs_mountPoint::mountPoint, vfs_mountPoint::next, NULL, strcmp(), and systemVitals.

Referenced by devfs_makeNode(), fopen(), and unlink().

int vfs_mount ( int  major,
int  minor,
int  partition,
int  fsType,
char *  mountPoint,
char *  perms 
)

Definition at line 47 of file mount.c.

References vfs_mountPoint::device, device_find(), vfs_mountPoint::fs, kfree(), kmalloc(), kprintf(), vfs_mountPoint::mountPoint, NULL, vfs_mountPoint::partition, vfs_mountPoint::perms, sprintf(), vfs_addMount(), vfsFindFS(), fileSystem::vfsInitFS, and x1.

Referenced by devfs_init(), and kmain().


Generated on Sun Dec 3 02:38:08 2006 for UbixOS V2 by  doxygen 1.4.7