Motr  M0
cp_onwire_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "cm/cp_onwire.h"
#include "cm/cp_onwire_xc.h"
Include dependency graph for cp_onwire_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_cpx_s
 
struct  _m0_cpx_reply_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_cpx_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_cpx_reply_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_cpx)==88U)
 
 M0_BASSERT (sizeof((struct m0_cpx *) 0) ->cpx_prio==4U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_prio)==0U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_ag_id)==8U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_ag_cp_idx)==40U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_bm)==48U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_desc)==64U)
 
 M0_BASSERT (offsetof(struct m0_cpx, cpx_epoch)==80U)
 
 M0_BASSERT (sizeof(struct m0_cpx_reply)==4U)
 
 M0_BASSERT (sizeof((struct m0_cpx_reply *) 0) ->cr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_cpx_reply, cr_rc)==0U)
 
M0_INTERNAL void m0_xc_m0_cpx_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_cpx_reply_struct_init (void)
 
M0_INTERNAL void m0_xc_cm_cp_onwire_init (void)
 
M0_INTERNAL void m0_xc_cm_cp_onwire_fini (void)
 

Variables

struct m0_xcode_typem0_cpx_xc = &_m0_cpx._type
 
struct m0_xcode_typem0_cpx_reply_xc = &_m0_cpx_reply._type
 
static struct _m0_cpx_s _m0_cpx
 
static struct _m0_cpx_reply_s _m0_cpx_reply
 

Function Documentation

◆ M0_BASSERT() [1/13]

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

◆ M0_BASSERT() [2/13]

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

◆ M0_BASSERT() [3/13]

M0_BASSERT ( sizeof(struct m0_cpx = =88U)

◆ M0_BASSERT() [4/13]

M0_BASSERT ( sizeof((struct m0_cpx *) 0) ->  cpx_prio = =4U)

◆ M0_BASSERT() [5/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_prio = =0U)

◆ M0_BASSERT() [6/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_ag_id = =8U)

◆ M0_BASSERT() [7/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_ag_cp_idx = =40U)

◆ M0_BASSERT() [8/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_bm = =48U)

◆ M0_BASSERT() [9/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_desc = =64U)

◆ M0_BASSERT() [10/13]

M0_BASSERT ( offsetof(struct m0_cpx, cpx_epoch = =80U)

◆ M0_BASSERT() [11/13]

M0_BASSERT ( sizeof(struct m0_cpx_reply = =4U)

◆ M0_BASSERT() [12/13]

M0_BASSERT ( sizeof((struct m0_cpx_reply *) 0) ->  cr_rc = =4U)

◆ M0_BASSERT() [13/13]

M0_BASSERT ( offsetof(struct m0_cpx_reply, cr_rc = =0U)

◆ m0_xc_cm_cp_onwire_fini()

M0_INTERNAL void m0_xc_cm_cp_onwire_fini ( void  )

Definition at line 191 of file cp_onwire_xc.c.

◆ m0_xc_cm_cp_onwire_init()

M0_INTERNAL void m0_xc_cm_cp_onwire_init ( void  )

Definition at line 185 of file cp_onwire_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_cpx_reply_struct_init()

M0_INTERNAL void m0_xc_m0_cpx_reply_struct_init ( void  )

Definition at line 165 of file cp_onwire_xc.c.

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

◆ m0_xc_m0_cpx_struct_init()

M0_INTERNAL void m0_xc_m0_cpx_struct_init ( void  )

Definition at line 70 of file cp_onwire_xc.c.

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

Variable Documentation

◆ _m0_cpx

struct _m0_cpx_s _m0_cpx
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cpx",
.xct_sizeof = sizeof (struct m0_cpx),
.xct_nr = 6,
}
}

◆ _m0_cpx_reply

struct _m0_cpx_reply_s _m0_cpx_reply
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cpx_reply",
.xct_sizeof = sizeof (struct m0_cpx_reply),
.xct_nr = 1,
}
}

◆ m0_cpx_reply_xc

struct m0_xcode_type * m0_cpx_reply_xc = &_m0_cpx_reply._type

Definition at line 11 of file cp_onwire_xc.c.

◆ m0_cpx_xc

struct m0_xcode_type * m0_cpx_xc = &_m0_cpx._type

Definition at line 10 of file cp_onwire_xc.c.