vfs_ops.c File Reference

Operations that VFS offers to its clients. More...

#include "vfs.h"
#include <macros.h>
#include <stdint.h>
#include <async.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <str.h>
#include <bool.h>
#include <fibril_synch.h>
#include <adt/list.h>
#include <unistd.h>
#include <ctype.h>
#include <fcntl.h>
#include <assert.h>
#include <vfs/canonify.h>

Go to the source code of this file.

Functions

 FIBRIL_RWLOCK_INITIALIZE (namespace_rwlock)
 This rwlock prevents the race between a triplet-to-VFS-node resolution and a concurrent VFS operation which modifies the file system namespace.
void vfs_close (ipc_callid_t, ipc_call_t *)
void vfs_dup (ipc_callid_t, ipc_call_t *)
void vfs_fstat (ipc_callid_t, ipc_call_t *)
void vfs_mkdir (ipc_callid_t, ipc_call_t *)
void vfs_mount (ipc_callid_t, ipc_call_t *)
static void vfs_mount_internal (ipc_callid_t rid, devmap_handle_t devmap_handle, fs_handle_t fs_handle, char *mp, char *opts)
void vfs_open (ipc_callid_t, ipc_call_t *)
void vfs_open_node (ipc_callid_t, ipc_call_t *)
static void vfs_rdwr (ipc_callid_t rid, ipc_call_t *request, bool read)
void vfs_read (ipc_callid_t, ipc_call_t *)
void vfs_rename (ipc_callid_t, ipc_call_t *)
void vfs_seek (ipc_callid_t, ipc_call_t *)
void vfs_stat (ipc_callid_t, ipc_call_t *)
void vfs_sync (ipc_callid_t, ipc_call_t *)
void vfs_truncate (ipc_callid_t, ipc_call_t *)
static int vfs_truncate_internal (fs_handle_t, devmap_handle_t, fs_index_t, aoff64_t)
void vfs_unlink (ipc_callid_t, ipc_call_t *)
void vfs_unmount (ipc_callid_t, ipc_call_t *)
void vfs_write (ipc_callid_t, ipc_call_t *)

Variables

vfs_pair_t rootfs
 Root file system.


Detailed Description

Operations that VFS offers to its clients.

Definition in file vfs_ops.c.


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