#include <errno.h>
#include <stdlib.h>
#include <str.h>
#include <assert.h>
#include <bool.h>
#include <fibril.h>
#include <fibril_synch.h>
#include "vfs.h"
Go to the source code of this file.
Data Structures | |
| struct | vfs_client_data_t |
Defines | |
| #define | FILES (VFS_DATA->files) |
| #define | VFS_DATA ((vfs_client_data_t *) async_client_data_get()) |
Functions | |
| void * | vfs_client_data_create (void) |
| void | vfs_client_data_destroy (void *) |
| int | vfs_fd_alloc (bool desc) |
| Allocate a file descriptor. | |
| int | vfs_fd_assign (vfs_file_t *file, int fd) |
| Assign a file to a file descriptor. | |
| int | vfs_fd_free (int fd) |
| Release file descriptor. | |
| static void | vfs_file_addref (vfs_file_t *file) |
| Increment reference count of VFS file structure. | |
| static int | vfs_file_close_remote (vfs_file_t *file) |
| Close the file in the endpoint FS server. | |
| static int | vfs_file_delref (vfs_file_t *file) |
| Decrement reference count of VFS file structure. | |
| vfs_file_t * | vfs_file_get (int fd) |
| Find VFS file structure for a given file descriptor. | |
| void | vfs_file_put (vfs_file_t *file) |
| Stop using a file structure. | |
| static void | vfs_files_done (void) |
| Cleanup the table of open files. | |
| static bool | vfs_files_init (void) |
| Initialize the table of open files. | |
Definition in file vfs_file.c.
1.4.7