mount.h File Reference

#include <ubixos/types.h>

Include dependency graph for mount.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vfs_mountPoint

Functions

int vfs_addMount (struct vfs_mountPoint *mp)
vfs_mountPointvfs_findMount (char *mountPoint)
int vfs_mount (int major, int minor, int partition, int fsType, char *mountPoint, char *perms)


Function Documentation

int vfs_addMount ( struct vfs_mountPoint mp  ) 

Definition at line 105 of file mount.c.

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

Referenced by vfs_mount().

struct vfs_mountPoint* vfs_findMount ( char *  mountPoint  ) 

Definition at line 132 of file mount.c.

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:


Generated on Fri Dec 15 11:22:22 2006 for UbixOS V2 by  doxygen 1.4.7