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

Go to the source code of this file.

Data Structures

struct  _m0_sns_cpx_s
 
struct  _m0_sns_cpx_reply_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_sns_cpx_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_sns_cpx_reply_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_sns_cpx)==152U)
 
 M0_BASSERT (sizeof((struct m0_sns_cpx *) 0) ->scx_cp==88U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx, scx_cp)==0U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx, scx_ivecs)==88U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx, scx_stob_id)==104U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx, scx_failed_idx)==136U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx, scx_phase)==144U)
 
 M0_BASSERT (sizeof(struct m0_sns_cpx_reply)==8U)
 
 M0_BASSERT (sizeof((struct m0_sns_cpx_reply *) 0) ->scr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx_reply, scr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_sns_cpx_reply, scr_cp_rep)==4U)
 
M0_INTERNAL void m0_xc_m0_sns_cpx_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_sns_cpx_reply_struct_init (void)
 
M0_INTERNAL void m0_xc_sns_cm_sns_cp_onwire_init (void)
 
M0_INTERNAL void m0_xc_sns_cm_sns_cp_onwire_fini (void)
 

Variables

struct m0_xcode_typem0_sns_cpx_xc = &_m0_sns_cpx._type
 
struct m0_xcode_typem0_sns_cpx_reply_xc = &_m0_sns_cpx_reply._type
 
static struct _m0_sns_cpx_s _m0_sns_cpx
 
static struct _m0_sns_cpx_reply_s _m0_sns_cpx_reply
 

Function Documentation

◆ M0_BASSERT() [1/13]

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

◆ M0_BASSERT() [2/13]

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

◆ M0_BASSERT() [3/13]

M0_BASSERT ( sizeof(struct m0_sns_cpx = =152U)

◆ M0_BASSERT() [4/13]

M0_BASSERT ( sizeof((struct m0_sns_cpx *) 0) ->  scx_cp = =88U)

◆ M0_BASSERT() [5/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx, scx_cp = =0U)

◆ M0_BASSERT() [6/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx, scx_ivecs = =88U)

◆ M0_BASSERT() [7/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx, scx_stob_id = =104U)

◆ M0_BASSERT() [8/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx, scx_failed_idx = =136U)

◆ M0_BASSERT() [9/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx, scx_phase = =144U)

◆ M0_BASSERT() [10/13]

M0_BASSERT ( sizeof(struct m0_sns_cpx_reply = =8U)

◆ M0_BASSERT() [11/13]

M0_BASSERT ( sizeof((struct m0_sns_cpx_reply *) 0) ->  scr_rc = =4U)

◆ M0_BASSERT() [12/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx_reply, scr_rc = =0U)

◆ M0_BASSERT() [13/13]

M0_BASSERT ( offsetof(struct m0_sns_cpx_reply, scr_cp_rep = =4U)

◆ m0_xc_m0_sns_cpx_reply_struct_init()

M0_INTERNAL void m0_xc_m0_sns_cpx_reply_struct_init ( void  )

Definition at line 150 of file sns_cp_onwire_xc.c.

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

◆ m0_xc_m0_sns_cpx_struct_init()

M0_INTERNAL void m0_xc_m0_sns_cpx_struct_init ( void  )

Definition at line 70 of file sns_cp_onwire_xc.c.

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

◆ m0_xc_sns_cm_sns_cp_onwire_fini()

M0_INTERNAL void m0_xc_sns_cm_sns_cp_onwire_fini ( void  )

Definition at line 191 of file sns_cp_onwire_xc.c.

◆ m0_xc_sns_cm_sns_cp_onwire_init()

M0_INTERNAL void m0_xc_sns_cm_sns_cp_onwire_init ( void  )

Definition at line 185 of file sns_cp_onwire_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_sns_cpx

struct _m0_sns_cpx_s _m0_sns_cpx
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_sns_cpx",
.xct_sizeof = sizeof (struct m0_sns_cpx),
.xct_nr = 5,
}
}

◆ _m0_sns_cpx_reply

struct _m0_sns_cpx_reply_s _m0_sns_cpx_reply
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_sns_cpx_reply",
.xct_sizeof = sizeof (struct m0_sns_cpx_reply),
.xct_nr = 2,
}
}

◆ m0_sns_cpx_reply_xc

struct m0_xcode_type * m0_sns_cpx_reply_xc = &_m0_sns_cpx_reply._type

Definition at line 11 of file sns_cp_onwire_xc.c.

◆ m0_sns_cpx_xc

struct m0_xcode_type * m0_sns_cpx_xc = &_m0_sns_cpx._type

Definition at line 10 of file sns_cp_onwire_xc.c.