Motr  M0
failvec_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "ha/failvec.h"
#include "ha/failvec_xc.h"
Include dependency graph for failvec_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_ha_msg_failure_vec_req_s
 
struct  _m0_ha_msg_failure_vec_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_ha_msg_failure_vec_req_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_msg_failure_vec_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_ha_msg_failure_vec_req)==32U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_failure_vec_req *) 0) ->mfq_pool==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_req, mfq_pool)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_req, mfq_cookie)==16U)
 
 M0_BASSERT (sizeof(struct m0_ha_msg_failure_vec_rep)==24616U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_failure_vec_rep *) 0) ->mfp_pool==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_rep, mfp_pool)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_rep, mfp_cookie)==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_rep, mfp_nr)==32U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_failure_vec_rep, mfp_vec)==40U)
 
M0_INTERNAL void m0_xc_m0_ha_msg_failure_vec_req_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_msg_failure_vec_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_ha_failvec_init (void)
 
M0_INTERNAL void m0_xc_ha_failvec_fini (void)
 

Variables

struct m0_xcode_typem0_ha_msg_failure_vec_req_xc = &_m0_ha_msg_failure_vec_req._type
 
struct m0_xcode_typem0_ha_msg_failure_vec_rep_xc = &_m0_ha_msg_failure_vec_rep._type
 
static struct _m0_ha_msg_failure_vec_req_s _m0_ha_msg_failure_vec_req
 
static struct _m0_ha_msg_failure_vec_rep_s _m0_ha_msg_failure_vec_rep
 

Function Documentation

◆ M0_BASSERT() [1/12]

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

◆ M0_BASSERT() [2/12]

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

◆ M0_BASSERT() [3/12]

M0_BASSERT ( sizeof(struct m0_ha_msg_failure_vec_req = =32U)

◆ M0_BASSERT() [4/12]

M0_BASSERT ( sizeof((struct m0_ha_msg_failure_vec_req *) 0) ->  mfq_pool = =16U)

◆ M0_BASSERT() [5/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_req, mfq_pool = =0U)

◆ M0_BASSERT() [6/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_req, mfq_cookie = =16U)

◆ M0_BASSERT() [7/12]

M0_BASSERT ( sizeof(struct m0_ha_msg_failure_vec_rep = =24616U)

◆ M0_BASSERT() [8/12]

M0_BASSERT ( sizeof((struct m0_ha_msg_failure_vec_rep *) 0) ->  mfp_pool = =16U)

◆ M0_BASSERT() [9/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_rep, mfp_pool = =0U)

◆ M0_BASSERT() [10/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_rep, mfp_cookie = =16U)

◆ M0_BASSERT() [11/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_rep, mfp_nr = =32U)

◆ M0_BASSERT() [12/12]

M0_BASSERT ( offsetof(struct m0_ha_msg_failure_vec_rep, mfp_vec = =40U)

◆ m0_xc_ha_failvec_fini()

M0_INTERNAL void m0_xc_ha_failvec_fini ( void  )

Definition at line 174 of file failvec_xc.c.

◆ m0_xc_ha_failvec_init()

M0_INTERNAL void m0_xc_ha_failvec_init ( void  )

Definition at line 168 of file failvec_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_ha_msg_failure_vec_rep_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_failure_vec_rep_struct_init ( void  )

Definition at line 103 of file failvec_xc.c.

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

◆ m0_xc_m0_ha_msg_failure_vec_req_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_failure_vec_req_struct_init ( void  )

Definition at line 68 of file failvec_xc.c.

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

Variable Documentation

◆ _m0_ha_msg_failure_vec_rep

struct _m0_ha_msg_failure_vec_rep_s _m0_ha_msg_failure_vec_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_msg_failure_vec_rep",
.xct_sizeof = sizeof (struct m0_ha_msg_failure_vec_rep),
.xct_nr = 4,
}
}

◆ _m0_ha_msg_failure_vec_req

struct _m0_ha_msg_failure_vec_req_s _m0_ha_msg_failure_vec_req
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_msg_failure_vec_req",
.xct_sizeof = sizeof (struct m0_ha_msg_failure_vec_req),
.xct_nr = 2,
}
}

◆ m0_ha_msg_failure_vec_rep_xc

struct m0_xcode_type * m0_ha_msg_failure_vec_rep_xc = &_m0_ha_msg_failure_vec_rep._type

Definition at line 11 of file failvec_xc.c.

◆ m0_ha_msg_failure_vec_req_xc

struct m0_xcode_type * m0_ha_msg_failure_vec_req_xc = &_m0_ha_msg_failure_vec_req._type

Definition at line 10 of file failvec_xc.c.