Motr  M0
rpc.c File Reference
#include "lib/trace.h"
#include "lib/memory.h"
#include "lib/errno.h"
#include "lib/misc.h"
#include "lib/types.h"
#include "lib/finject.h"
#include "rpc/link.h"
#include "rpc/rpc.h"
#include "rpc/rpc_internal.h"
#include "rpc/service.h"
#include "net/lnet/lnet.h"
Include dependency graph for rpc.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_RPC
 

Functions

M0_INTERNAL int m0_rpc_init (void)
 
M0_INTERNAL void m0_rpc_fini (void)
 
M0_INTERNAL int m0_rpc_post (struct m0_rpc_item *item)
 
M0_INTERNAL int m0_rpc__post_locked (struct m0_rpc_item *item)
 
void m0_rpc_reply_post (struct m0_rpc_item *request, struct m0_rpc_item *reply)
 
M0_INTERNAL void m0_rpc_oneway_item_post (const struct m0_rpc_conn *conn, struct m0_rpc_item *item)
 
M0_INTERNAL void m0_rpc_oneway_item_post_locked (const struct m0_rpc_conn *conn, struct m0_rpc_item *item)
 
M0_INTERNAL int m0_rpc_reply_timedwait (struct m0_clink *clink, const m0_time_t timeout)
 
static void rpc_buffer_pool_low (struct m0_net_buffer_pool *bp)
 
M0_INTERNAL int m0_rpc_net_buffer_pool_setup (struct m0_net_domain *ndom, struct m0_net_buffer_pool *app_pool, uint32_t bufs_nr, uint32_t tm_nr)
 
void m0_rpc_net_buffer_pool_cleanup (struct m0_net_buffer_pool *app_pool)
 
M0_INTERNAL uint32_t m0_rpc_bufs_nr (uint32_t len, uint32_t tms_nr)
 
M0_INTERNAL m0_bcount_t m0_rpc_max_seg_size (struct m0_net_domain *ndom)
 
M0_INTERNAL uint32_t m0_rpc_max_segs_nr (struct m0_net_domain *ndom)
 
M0_INTERNAL m0_bcount_t m0_rpc_max_msg_size (struct m0_net_domain *ndom, m0_bcount_t rpc_size)
 
M0_INTERNAL uint32_t m0_rpc_max_recv_msgs (struct m0_net_domain *ndom, m0_bcount_t rpc_size)
 
M0_INTERNAL m0_time_t m0_rpc__down_timeout (void)
 

Variables

static const struct m0_net_buffer_pool_ops b_ops
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_RPC

Definition at line 23 of file rpc.c.