MOS Source Code
Loading...
Searching...
No Matches
userfs_manager.c File Reference
#include "mos/filesystem/userfs/userfs.h"
#include "mos/filesystem/vfs.h"
#include "mos/mm/slab_autoinit.h"
#include "mos/syslog/printk.h"
#include "mos/tasks/kthread.h"
#include "proto/userfs-manager.services.h"
#include <librpc/rpc.h>
#include <librpc/rpc_server.h>
#include <mos/proto/fs_server.h>
#include <mos_stdio.h>
#include <pb_decode.h>
#include <pb_encode.h>
+ Include dependency graph for userfs_manager.c:

Go to the source code of this file.

Functions

 SLAB_AUTOINIT ("userfs", userfs_slab, userfs_t)
 
static rpc_result_code_t userfs_manager_register_filesystem (rpc_context_t *, mosrpc_userfs_register_request *req, mosrpc_userfs_register_response *resp)
 
static void userfs_manager_server_exec (void *arg)
 
static void userfs_manager_rpc_init ()
 
 MOS_INIT (KTHREAD, userfs_manager_rpc_init)
 

Variables

static slab_tuserfs_slab = NULL
 

Function Documentation

◆ SLAB_AUTOINIT()

SLAB_AUTOINIT ( "userfs" ,
userfs_slab ,
userfs_t  )

◆ userfs_manager_register_filesystem()

static rpc_result_code_t userfs_manager_register_filesystem ( rpc_context_t * ,
mosrpc_userfs_register_request * req,
mosrpc_userfs_register_response * resp )
static

Definition at line 22 of file userfs_manager.c.

+ Here is the call graph for this function:

◆ userfs_manager_server_exec()

static void userfs_manager_server_exec ( void * arg)
static

Definition at line 48 of file userfs_manager.c.

Referenced by userfs_manager_rpc_init().

+ Here is the call graph for this function:

◆ userfs_manager_rpc_init()

static void userfs_manager_rpc_init ( )
static

Definition at line 57 of file userfs_manager.c.

+ Here is the call graph for this function:

◆ MOS_INIT()

MOS_INIT ( KTHREAD ,
userfs_manager_rpc_init  )

Variable Documentation

◆ userfs_slab

slab_t* userfs_slab = NULL
static

Definition at line 17 of file userfs_manager.c.

Referenced by userfs_manager_register_filesystem().