MOS Source Code
|
#include "mos/filesystem/vfs_types.h"
#include "proto/filesystem.pb.h"
#include <librpc/rpc_client.h>
Go to the source code of this file.
Classes | |
struct | userfs_t |
Functions | |
void | userfs_ensure_connected (userfs_t *userfs) |
Ensure that the userfs is connected to the server. | |
inode_t * | i_from_pbfull (const mosrpc_fs_inode_info *pbi, superblock_t *sb, void *private) |
Convert a protobuf inode to a kernel inode. | |
mosrpc_fs_inode_info * | i_to_pb_full (const inode_t *i, mosrpc_fs_inode_info *pbi) |
Convert a kernel inode to a protobuf inode. | |
dentry_t * | userfs_fsop_mount (filesystem_t *fs, const char *device, const char *options) |
inode_t * i_from_pbfull | ( | const mosrpc_fs_inode_info * | pbi, |
superblock_t * | sb, | ||
void * | private ) |
Convert a protobuf inode to a kernel inode.
pbi | The protobuf inode. |
sb | The superblock. |
private | The private data for the inode. |
Definition at line 41 of file userfs.c.
Referenced by userfs_fsop_mount(), userfs_iop_lookup(), userfs_iop_mkdir(), and userfs_iop_newfile().
mosrpc_fs_inode_info * i_to_pb_full | ( | const inode_t * | i, |
mosrpc_fs_inode_info * | pbi ) |
Convert a kernel inode to a protobuf inode.
i | The kernel inode. |
pbi | The protobuf inode, which must be allocated. |
Definition at line 62 of file userfs.c.
Referenced by userfs_sync_inode().
dentry_t * userfs_fsop_mount | ( | filesystem_t * | fs, |
const char * | device, | ||
const char * | options ) |
Definition at line 542 of file userfs.c.
Referenced by userfs_manager_register_filesystem().