Motr  M0
client.c File Reference
#include <stdio.h>
#include "lib/assert.h"
#include "motr/magic.h"
#include "desim/sim.h"
#include "desim/net.h"
#include "desim/client.h"
Include dependency graph for client.c:

Go to the source code of this file.

Data Structures

struct  client_thread_param
 
struct  client_write_ext
 

Functions

 M0_TL_DESCR_DEFINE (cl, "client write extents", static, struct client_write_ext, cwe_linkage, cwe_magic, M0_DESIM_CLIENT_WRITE_EXT_MAGIC, M0_DESIM_CLIENT_WRITE_EXT_HEAD_MAGIC)
 
 M0_TL_DEFINE (cl, static, struct client_write_ext)
 
static void client_pageout (struct sim *s, struct sim_thread *t, void *arg)
 
static void client_write_loop (struct sim *s, struct sim_thread *t, void *arg)
 
static int client_threads_start (struct sim_callout *call)
 
M0_INTERNAL void client_init (struct sim *s, struct client_conf *conf)
 
M0_INTERNAL void client_fini (struct client_conf *conf)