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

Go to the source code of this file.

Data Structures

struct  _m0_conf_ha_process_s
 
struct  _m0_conf_ha_service_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_conf_ha_process_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_conf_ha_service_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_conf_ha_process)==24U)
 
 M0_BASSERT (sizeof((struct m0_conf_ha_process *) 0) ->chp_event==8U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_process, chp_event)==0U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_process, chp_type)==8U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_process, chp_pid)==16U)
 
 M0_BASSERT (sizeof(struct m0_conf_ha_service)==24U)
 
 M0_BASSERT (sizeof((struct m0_conf_ha_service *) 0) ->chs_event==8U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_service, chs_event)==0U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_service, chs_type)==8U)
 
 M0_BASSERT (offsetof(struct m0_conf_ha_service, chs_pid)==16U)
 
M0_INTERNAL void m0_xc_m0_conf_ha_process_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_conf_ha_service_struct_init (void)
 
M0_INTERNAL void m0_xc_conf_ha_init (void)
 
M0_INTERNAL void m0_xc_conf_ha_fini (void)
 

Variables

struct m0_xcode_typem0_conf_ha_process_xc = &_m0_conf_ha_process._type
 
struct m0_xcode_typem0_conf_ha_service_xc = &_m0_conf_ha_service._type
 
static struct _m0_conf_ha_process_s _m0_conf_ha_process
 
static struct _m0_conf_ha_service_s _m0_conf_ha_service
 

Function Documentation

◆ M0_BASSERT() [1/12]

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

◆ M0_BASSERT() [2/12]

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

◆ M0_BASSERT() [3/12]

M0_BASSERT ( sizeof(struct m0_conf_ha_process = =24U)

◆ M0_BASSERT() [4/12]

M0_BASSERT ( sizeof((struct m0_conf_ha_process *) 0) ->  chp_event = =8U)

◆ M0_BASSERT() [5/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_process, chp_event = =0U)

◆ M0_BASSERT() [6/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_process, chp_type = =8U)

◆ M0_BASSERT() [7/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_process, chp_pid = =16U)

◆ M0_BASSERT() [8/12]

M0_BASSERT ( sizeof(struct m0_conf_ha_service = =24U)

◆ M0_BASSERT() [9/12]

M0_BASSERT ( sizeof((struct m0_conf_ha_service *) 0) ->  chs_event = =8U)

◆ M0_BASSERT() [10/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_service, chs_event = =0U)

◆ M0_BASSERT() [11/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_service, chs_type = =8U)

◆ M0_BASSERT() [12/12]

M0_BASSERT ( offsetof(struct m0_conf_ha_service, chs_pid = =16U)

◆ m0_xc_conf_ha_fini()

M0_INTERNAL void m0_xc_conf_ha_fini ( void  )

Definition at line 174 of file ha_xc.c.

◆ m0_xc_conf_ha_init()

M0_INTERNAL void m0_xc_conf_ha_init ( void  )

Definition at line 168 of file ha_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_conf_ha_process_struct_init()

M0_INTERNAL void m0_xc_m0_conf_ha_process_struct_init ( void  )

Definition at line 68 of file ha_xc.c.

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

◆ m0_xc_m0_conf_ha_service_struct_init()

M0_INTERNAL void m0_xc_m0_conf_ha_service_struct_init ( void  )

Definition at line 118 of file ha_xc.c.

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

Variable Documentation

◆ _m0_conf_ha_process

struct _m0_conf_ha_process_s _m0_conf_ha_process
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_conf_ha_process",
.xct_sizeof = sizeof (struct m0_conf_ha_process),
.xct_nr = 3,
}
}

◆ _m0_conf_ha_service

struct _m0_conf_ha_service_s _m0_conf_ha_service
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_conf_ha_service",
.xct_sizeof = sizeof (struct m0_conf_ha_service),
.xct_nr = 3,
}
}

◆ m0_conf_ha_process_xc

struct m0_xcode_type * m0_conf_ha_process_xc = &_m0_conf_ha_process._type

Definition at line 10 of file ha_xc.c.

◆ m0_conf_ha_service_xc

struct m0_xcode_type * m0_conf_ha_service_xc = &_m0_conf_ha_service._type

Definition at line 11 of file ha_xc.c.