Motr  M0
fops_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "rpc/ut/fops.h"
#include "rpc/ut/fops_xc.h"
Include dependency graph for fops_xc.c:

Go to the source code of this file.

Data Structures

struct  _arrow_s
 

Functions

 M0_BASSERT (offsetof(struct _arrow_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct arrow)==8U)
 
 M0_BASSERT (sizeof((struct arrow *) 0) ->n==8U)
 
 M0_BASSERT (offsetof(struct arrow, n)==0U)
 
M0_INTERNAL void m0_xc_arrow_struct_init (void)
 
M0_INTERNAL void m0_xc_rpc_ut_fops_init (void)
 
M0_INTERNAL void m0_xc_rpc_ut_fops_fini (void)
 

Variables

struct m0_xcode_typearrow_xc = &_arrow._type
 
static struct _arrow_s _arrow
 

Function Documentation

◆ M0_BASSERT() [1/4]

M0_BASSERT ( offsetof(struct _arrow_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [2/4]

M0_BASSERT ( sizeof(struct arrow = =8U)

◆ M0_BASSERT() [3/4]

M0_BASSERT ( sizeof((struct arrow *) 0) ->  n = =8U)

◆ M0_BASSERT() [4/4]

M0_BASSERT ( offsetof(struct arrow, n = =0U)

◆ m0_xc_arrow_struct_init()

M0_INTERNAL void m0_xc_arrow_struct_init ( void  )

Definition at line 37 of file fops_xc.c.

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

◆ m0_xc_rpc_ut_fops_fini()

M0_INTERNAL void m0_xc_rpc_ut_fops_fini ( void  )

Definition at line 62 of file fops_xc.c.

Here is the caller graph for this function:

◆ m0_xc_rpc_ut_fops_init()

M0_INTERNAL void m0_xc_rpc_ut_fops_init ( void  )

Definition at line 57 of file fops_xc.c.

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

Variable Documentation

◆ _arrow

struct _arrow_s _arrow
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "arrow",
.xct_sizeof = sizeof (struct arrow),
.xct_nr = 1,
}
}
Definition: fops.h:33

◆ arrow_xc

struct m0_xcode_type * arrow_xc = &_arrow._type

Definition at line 10 of file fops_xc.c.