Motr
M0
|
#include <stdio.h>
#include "lib/assert.h"
#include "motr/magic.h"
#include "desim/sim.h"
#include "desim/net.h"
#include "desim/elevator.h"
#include "stob/stob.h"
Go to the source code of this file.
Functions | |
M0_TL_DESCR_DEFINE (rpc, "rpcs", static, struct net_rpc, nr_inqueue, nr_magic, M0_DESIM_NET_RPC_MAGIC, M0_DESIM_NET_RPC_HEAD_MAGIC) | |
M0_TL_DEFINE (rpc, static, struct net_rpc) | |
static void | net_srv_loop (struct sim *s, struct sim_thread *t, void *arg) |
static int | net_srv_threads_start (struct sim_callout *call) |
M0_INTERNAL void | net_srv_init (struct sim *s, struct net_srv *srv) |
M0_INTERNAL void | net_srv_fini (struct net_srv *srv) |
M0_INTERNAL void | net_init (struct net_conf *net) |
M0_INTERNAL void | net_fini (struct net_conf *net) |
M0_INTERNAL void | net_rpc_init (struct net_rpc *rpc, struct net_conf *conf, struct net_srv *srv, struct m0_stob_id *stob_id, unsigned long long offset, unsigned long nob) |
M0_INTERNAL void | net_rpc_fini (struct net_rpc *rpc) |
static void | net_enter (struct sim_thread *t, struct net_conf *n, unsigned long nob) |
static void | net_leave (struct sim_thread *t, struct net_conf *n, unsigned long nob) |
static void | net_tx (struct sim_thread *t, struct net_conf *n, unsigned long nob, sim_time_t min, sim_time_t max) |
M0_INTERNAL void | net_rpc_send (struct sim_thread *t, struct net_rpc *rpc) |
M0_INTERNAL void | net_rpc_bulk (struct sim_thread *t, struct net_rpc *rpc) |
M0_INTERNAL void | net_rpc_process (struct sim_thread *t, struct net_conf *net, struct net_srv *srv, struct m0_stob_id *stob_id, unsigned long long offset, unsigned long count) |