Motr  M0
at_ut.h File Reference
#include "xcode/xcode_attr.h"
#include "lib/types.h"
#include "rpc/at.h"
#include "rpc/at_xc.h"
Include dependency graph for at_ut.h:

Go to the source code of this file.

Data Structures

struct  atut__req
 
struct  atut__rep
 

Macros

#define __MOTR_RPC_UT_AT_AT_UT_H__
 

Enumerations

enum  { DATA_PATTERN = 0x0a, INLINE_LEN = 70 }
 
enum  {
  AT_TEST_INLINE_SEND, AT_TEST_INBULK_SEND, AT_TEST_INLINE_RECV, AT_TEST_INLINE_RECV_UNK,
  AT_TEST_INBULK_RECV_UNK, AT_TEST_INBULK_RECV
}
 

Functions

M0_INTERNAL void atut__bufdata_alloc (struct m0_buf *buf, size_t size, struct m0_rpc_machine *rmach)
 
struct atut__req M0_XCA_DOMAIN (rpc)
 

Variables

uint32_t arq_test_id
 
struct m0_rpc_at_buf arq_buf
 
uint32_t arp_rc
 
struct m0_rpc_at_buf arp_buf
 

Macro Definition Documentation

◆ __MOTR_RPC_UT_AT_AT_UT_H__

#define __MOTR_RPC_UT_AT_AT_UT_H__

Definition at line 26 of file at_ut.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DATA_PATTERN 
INLINE_LEN 

Definition at line 36 of file at_ut.h.

◆ anonymous enum

anonymous enum
Enumerator
AT_TEST_INLINE_SEND 
AT_TEST_INBULK_SEND 
AT_TEST_INLINE_RECV 
AT_TEST_INLINE_RECV_UNK 
AT_TEST_INBULK_RECV_UNK 
AT_TEST_INBULK_RECV 

Definition at line 41 of file at_ut.h.

Function Documentation

◆ atut__bufdata_alloc()

M0_INTERNAL void atut__bufdata_alloc ( struct m0_buf buf,
size_t  size,
struct m0_rpc_machine rmach 
)

Definition at line 143 of file at_ut.c.

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

◆ M0_XCA_DOMAIN()

struct atut__req M0_XCA_DOMAIN ( rpc  )

Variable Documentation

◆ arp_buf

struct m0_rpc_at_buf arp_buf

Definition at line 58 of file at_ut.h.

◆ arp_rc

uint32_t arp_rc

Definition at line 57 of file at_ut.h.

◆ arq_buf

struct m0_rpc_at_buf arq_buf

Definition at line 58 of file at_ut.h.

◆ arq_test_id

uint32_t arq_test_id

Definition at line 57 of file at_ut.h.