Motr  M0
bulkio_client.c File Reference
#include "ut/ut.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "motr/magic.h"
#include "ioservice/io_fops.h"
#include "rpc/rpc.h"
#include "file/file.h"
#include "lib/finject.h"
Include dependency graph for bulkio_client.c:

Go to the source code of this file.

Data Structures

struct  bulkio_msg_tm
 

Enumerations

enum  { IO_SINGLE_BUFFER = 1 }
 

Functions

 M0_TL_DESCR_DECLARE (rpcbulk, M0_EXTERN)
 
struct m0_fop_cob_rwio_rw_get (struct m0_fop *fop)
 
static void bulkio_tm_cb (const struct m0_net_tm_event *ev)
 
static void bulkio_msg_tm_init (struct bulkio_msg_tm *bmt, struct m0_net_domain *nd)
 
static void bulkio_msg_tm_fini (struct bulkio_msg_tm *bmt)
 
static void bulkclient_test (void)
 

Variables

static struct m0_net_tm_callbacks bulkio_ut_tm_cb
 
struct m0_ut_suite bulkio_client_ut
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
IO_SINGLE_BUFFER 

Definition at line 36 of file bulkio_client.c.

Function Documentation

◆ bulkclient_test()

static void bulkclient_test ( void  )
static

Definition at line 125 of file bulkio_client.c.

Here is the call graph for this function:

◆ bulkio_msg_tm_fini()

static void bulkio_msg_tm_fini ( struct bulkio_msg_tm bmt)
static

Definition at line 100 of file bulkio_client.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bulkio_msg_tm_init()

static void bulkio_msg_tm_init ( struct bulkio_msg_tm bmt,
struct m0_net_domain nd 
)
static

Definition at line 67 of file bulkio_client.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bulkio_tm_cb()

static void bulkio_tm_cb ( const struct m0_net_tm_event ev)
static

Definition at line 43 of file bulkio_client.c.

◆ M0_TL_DESCR_DECLARE()

M0_TL_DESCR_DECLARE ( rpcbulk  ,
M0_EXTERN   
)

Variable Documentation

◆ bulkio_client_ut

struct m0_ut_suite bulkio_client_ut
Initial value:
= {
.ts_name = "bulk-client-ut",
.ts_tests = {
{ "bulkclient_test", bulkclient_test},
{ NULL, NULL }
}
}
#define NULL
Definition: misc.h:38
static void bulkclient_test(void)

Definition at line 484 of file bulkio_client.c.

◆ bulkio_ut_tm_cb

struct m0_net_tm_callbacks bulkio_ut_tm_cb
static
Initial value:
= {
.ntc_event_cb = bulkio_tm_cb
}
static void bulkio_tm_cb(const struct m0_net_tm_event *ev)
Definition: bulkio_client.c:43

Definition at line 47 of file bulkio_client.c.