#include <vfs/vfs.h>#include <vfs/canonify.h>#include <macros.h>#include <stdlib.h>#include <unistd.h>#include <dirent.h>#include <fcntl.h>#include <stdio.h>#include <sys/stat.h>#include <sys/types.h>#include <ipc/services.h>#include <ipc/ns.h>#include <async.h>#include <fibril_synch.h>#include <errno.h>#include <assert.h>#include <str.h>#include <devmap.h>#include <ipc/vfs.h>Go to the source code of this file.
Functions | |
| static int | _unlink (const char *path, int lflag) |
| char * | absolutize (const char *path, size_t *retlen) |
| int | chdir (const char *path) |
| int | close (int fildes) |
| int | closedir (DIR *dirp) |
| int | dup2 (int oldfd, int newfd) |
| int | fd_node (int fildes, fdi_node_t *node) |
| int | fd_phone (int fildes) |
| int | fstat (int fildes, struct stat *stat) |
| int | fsync (int fildes) |
| int | ftruncate (int fildes, aoff64_t length) |
| char * | getcwd (char *buf, size_t size) |
| off64_t | lseek (int fildes, off64_t offset, int whence) |
| int | mkdir (const char *path, mode_t mode) |
| int | mount (const char *fs_name, const char *mp, const char *fqdn, const char *opts, unsigned int flags) |
| int | open (const char *path, int oflag,...) |
| static int | open_internal (const char *abs, size_t abs_size, int lflag, int oflag) |
| int | open_node (fdi_node_t *node, int oflag) |
| DIR * | opendir (const char *dirname) |
| ssize_t | read (int fildes, void *buf, size_t nbyte) |
| dirent * | readdir (DIR *dirp) |
| int | rename (const char *old, const char *new) |
| void | rewinddir (DIR *dirp) |
| int | rmdir (const char *path) |
| int | stat (const char *path, struct stat *stat) |
| int | unlink (const char *path) |
| int | unmount (const char *mp) |
| static void | vfs_connect (void) |
| Connect to VFS service and create session. | |
| static int | vfs_exchange_begin (void) |
| Start an async exchange on the VFS session. | |
| static void | vfs_exchange_end (int phone) |
| End an async exchange on the VFS session. | |
| ssize_t | write (int fildes, const void *buf, size_t nbyte) |
Variables | |
| static int | cwd_fd = -1 |
| static char * | cwd_path = NULL |
| static size_t | cwd_size = 0 |
| static int | vfs_phone = -1 |
| static async_sess_t | vfs_session |
Definition in file vfs.c.
1.4.7