vfs.h File Reference

#include <ipc/common.h>
#include <sys/types.h>
#include <bool.h>

Go to the source code of this file.

Data Structures

struct  vfs_info_t
 A structure like this is passed to VFS by each individual FS upon its registration. More...

Defines

#define FS_NAME_MAXLEN   20
#define L_CREATE   32
 L_CREATE is used for creating both regular files and directories.
#define L_DIRECTORY   2
 Lookup will succeed only if the object is a directory.
#define L_EXCLUSIVE   16
 When used with L_CREATE, L_EXCLUSIVE will cause the lookup to fail if the object already exists.
#define L_FILE   1
 Lookup will succeed only if the object is a regular file.
#define L_LINK   64
 L_LINK is used for linking to an already existing nodes.
#define L_MP   8
 Lookup will succeed only if the object is a mount point.
#define L_NONE   0
 No lookup flags used.
#define L_OPEN   256
 L_OPEN is used to indicate that the lookup operation is a part of VFS_IN_OPEN call from the client.
#define L_ROOT   4
 Lookup will succeed only if the object is a root directory.
#define L_UNLINK   128
 L_UNLINK is used to remove leaves from the file system namespace.
#define MAX_PATH_LEN   (64 * 1024)
#define PLB_SIZE   (2 * MAX_PATH_LEN)

Typedefs

typedef int16_t fs_handle_t
typedef uint32_t fs_index_t

Enumerations

enum  vfs_in_request_t
enum  vfs_out_request_t


Detailed Description

Definition in file vfs.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7