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

Go to the source code of this file.

Data Structures

struct  _m0_be_io_err_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_be_io_err_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_be_io_err)==8U)
 
 M0_BASSERT (sizeof((struct m0_be_io_err *) 0) ->ber_errcode==4U)
 
 M0_BASSERT (offsetof(struct m0_be_io_err, ber_errcode)==0U)
 
 M0_BASSERT (offsetof(struct m0_be_io_err, ber_location)==4U)
 
 M0_BASSERT (offsetof(struct m0_be_io_err, ber_io_opcode)==5U)
 
M0_INTERNAL void m0_xc_m0_be_io_err_struct_init (void)
 
M0_INTERNAL void m0_xc_be_ha_init (void)
 
M0_INTERNAL void m0_xc_be_ha_fini (void)
 

Variables

struct m0_xcode_typem0_be_io_err_xc = &_m0_be_io_err._type
 
static struct _m0_be_io_err_s _m0_be_io_err
 

Function Documentation

◆ M0_BASSERT() [1/6]

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

◆ M0_BASSERT() [2/6]

M0_BASSERT ( sizeof(struct m0_be_io_err = =8U)

◆ M0_BASSERT() [3/6]

M0_BASSERT ( sizeof((struct m0_be_io_err *) 0) ->  ber_errcode = =4U)

◆ M0_BASSERT() [4/6]

M0_BASSERT ( offsetof(struct m0_be_io_err, ber_errcode = =0U)

◆ M0_BASSERT() [5/6]

M0_BASSERT ( offsetof(struct m0_be_io_err, ber_location = =4U)

◆ M0_BASSERT() [6/6]

M0_BASSERT ( offsetof(struct m0_be_io_err, ber_io_opcode = =5U)

◆ m0_xc_be_ha_fini()

M0_INTERNAL void m0_xc_be_ha_fini ( void  )

Definition at line 96 of file ha_xc.c.

◆ m0_xc_be_ha_init()

M0_INTERNAL void m0_xc_be_ha_init ( void  )

Definition at line 91 of file ha_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_be_io_err_struct_init()

M0_INTERNAL void m0_xc_m0_be_io_err_struct_init ( void  )

Definition at line 41 of file ha_xc.c.

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

Variable Documentation

◆ _m0_be_io_err

struct _m0_be_io_err_s _m0_be_io_err
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_be_io_err",
.xct_sizeof = sizeof (struct m0_be_io_err),
.xct_nr = 3,
}
}

◆ m0_be_io_err_xc

struct m0_xcode_type * m0_be_io_err_xc = &_m0_be_io_err._type

Definition at line 10 of file ha_xc.c.