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

Go to the source code of this file.

Data Structures

struct  _m0_rpc_at_bulk_rep_s
 
struct  _m0_rpc_at_extra_s
 
struct  _m0_rpc_at_buf_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_rpc_at_bulk_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_at_extra_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_at_buf_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_rpc_at_bulk_rep)==16U)
 
 M0_BASSERT (sizeof((struct m0_rpc_at_bulk_rep *) 0) ->abr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_bulk_rep, abr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_bulk_rep, abr_len)==8U)
 
 M0_BASSERT (sizeof(struct m0_rpc_at_extra)==48U)
 
 M0_BASSERT (sizeof((struct m0_rpc_at_extra *) 0) ->abr_desc==24U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_extra, abr_desc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_extra, abr_bulk)==24U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_extra, abr_user_buf)==32U)
 
 M0_BASSERT (sizeof(struct m0_rpc_at_buf)==56U)
 
 M0_BASSERT (sizeof((struct m0_rpc_at_buf *) 0) ->ab_type==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, ab_type)==0U)
 
 M0_BASSERT (sizeof((struct m0_rpc_at_buf *) 0) ->u.ab_buf==16U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, u.ab_buf)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, u.ab_send)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, u.ab_recv)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, u.ab_rep)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_at_buf, u.ab_extra)==8U)
 
M0_INTERNAL void m0_xc_m0_rpc_at_bulk_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_at_extra_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_at_buf_struct_init (void)
 
M0_INTERNAL void m0_xc_rpc_at_init (void)
 
M0_INTERNAL void m0_xc_rpc_at_fini (void)
 

Variables

struct m0_xcode_typem0_rpc_at_bulk_rep_xc = &_m0_rpc_at_bulk_rep._type
 
struct m0_xcode_typem0_rpc_at_extra_xc = &_m0_rpc_at_extra._type
 
struct m0_xcode_typem0_rpc_at_buf_xc = &_m0_rpc_at_buf._type
 
static struct _m0_rpc_at_bulk_rep_s _m0_rpc_at_bulk_rep
 
static struct _m0_rpc_at_extra_s _m0_rpc_at_extra
 
static struct _m0_rpc_at_buf_s _m0_rpc_at_buf
 

Function Documentation

◆ M0_BASSERT() [1/21]

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

◆ M0_BASSERT() [2/21]

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

◆ M0_BASSERT() [3/21]

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

◆ M0_BASSERT() [4/21]

M0_BASSERT ( sizeof(struct m0_rpc_at_bulk_rep = =16U)

◆ M0_BASSERT() [5/21]

M0_BASSERT ( sizeof((struct m0_rpc_at_bulk_rep *) 0) ->  abr_rc = =4U)

◆ M0_BASSERT() [6/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_bulk_rep, abr_rc = =0U)

◆ M0_BASSERT() [7/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_bulk_rep, abr_len = =8U)

◆ M0_BASSERT() [8/21]

M0_BASSERT ( sizeof(struct m0_rpc_at_extra = =48U)

◆ M0_BASSERT() [9/21]

M0_BASSERT ( sizeof((struct m0_rpc_at_extra *) 0) ->  abr_desc = =24U)

◆ M0_BASSERT() [10/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_extra, abr_desc = =0U)

◆ M0_BASSERT() [11/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_extra, abr_bulk = =24U)

◆ M0_BASSERT() [12/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_extra, abr_user_buf = =32U)

◆ M0_BASSERT() [13/21]

M0_BASSERT ( sizeof(struct m0_rpc_at_buf = =56U)

◆ M0_BASSERT() [14/21]

M0_BASSERT ( sizeof((struct m0_rpc_at_buf *) 0) ->  ab_type = =4U)

◆ M0_BASSERT() [15/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, ab_type = =0U)

◆ M0_BASSERT() [16/21]

M0_BASSERT ( sizeof((struct m0_rpc_at_buf *) 0) ->u.  ab_buf = =16U)

◆ M0_BASSERT() [17/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, u.ab_buf)  = =8U)

◆ M0_BASSERT() [18/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, u.ab_send)  = =8U)

◆ M0_BASSERT() [19/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, u.ab_recv)  = =8U)

◆ M0_BASSERT() [20/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, u.ab_rep)  = =8U)

◆ M0_BASSERT() [21/21]

M0_BASSERT ( offsetof(struct m0_rpc_at_buf, u.ab_extra)  = =8U)

◆ m0_xc_m0_rpc_at_buf_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_at_buf_struct_init ( void  )

Definition at line 184 of file at_xc.c.

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

◆ m0_xc_m0_rpc_at_bulk_rep_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_at_bulk_rep_struct_init ( void  )

Definition at line 99 of file at_xc.c.

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

◆ m0_xc_m0_rpc_at_extra_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_at_extra_struct_init ( void  )

Definition at line 134 of file at_xc.c.

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

◆ m0_xc_rpc_at_fini()

M0_INTERNAL void m0_xc_rpc_at_fini ( void  )

Definition at line 286 of file at_xc.c.

◆ m0_xc_rpc_at_init()

M0_INTERNAL void m0_xc_rpc_at_init ( void  )

Definition at line 279 of file at_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_rpc_at_buf

struct _m0_rpc_at_buf_s _m0_rpc_at_buf
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_UNION,
.xct_name = "m0_rpc_at_buf",
.xct_sizeof = sizeof (struct m0_rpc_at_buf),
.xct_nr = 6,
}
}

◆ _m0_rpc_at_bulk_rep

struct _m0_rpc_at_bulk_rep_s _m0_rpc_at_bulk_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_at_bulk_rep",
.xct_sizeof = sizeof (struct m0_rpc_at_bulk_rep),
.xct_nr = 2,
}
}

◆ _m0_rpc_at_extra

struct _m0_rpc_at_extra_s _m0_rpc_at_extra
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_at_extra",
.xct_sizeof = sizeof (struct m0_rpc_at_extra),
.xct_nr = 3,
}
}

◆ m0_rpc_at_buf_xc

struct m0_xcode_type * m0_rpc_at_buf_xc = &_m0_rpc_at_buf._type

Definition at line 12 of file at_xc.c.

◆ m0_rpc_at_bulk_rep_xc

struct m0_xcode_type * m0_rpc_at_bulk_rep_xc = &_m0_rpc_at_bulk_rep._type

Definition at line 10 of file at_xc.c.

◆ m0_rpc_at_extra_xc

struct m0_xcode_type * m0_rpc_at_extra_xc = &_m0_rpc_at_extra._type

Definition at line 11 of file at_xc.c.