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

Go to the source code of this file.

Data Structures

struct  _failure_data_s
 
struct  _trigger_fop_s
 
struct  _trigger_rep_fop_s
 
struct  _m0_status_rep_fop_s
 

Functions

 M0_BASSERT (offsetof(struct _failure_data_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _trigger_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _trigger_rep_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_status_rep_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct failure_data)==16U)
 
 M0_BASSERT (sizeof((struct failure_data *) 0) ->fd_nr==4U)
 
 M0_BASSERT (offsetof(struct failure_data, fd_nr)==0U)
 
 M0_BASSERT (offsetof(struct failure_data, fd_index)==8U)
 
 M0_BASSERT (sizeof(struct trigger_fop)==4U)
 
 M0_BASSERT (sizeof((struct trigger_fop *) 0) ->op==4U)
 
 M0_BASSERT (offsetof(struct trigger_fop, op)==0U)
 
 M0_BASSERT (sizeof(struct trigger_rep_fop)==4U)
 
 M0_BASSERT (sizeof((struct trigger_rep_fop *) 0) ->rc==4U)
 
 M0_BASSERT (offsetof(struct trigger_rep_fop, rc)==0U)
 
 M0_BASSERT (sizeof(struct m0_status_rep_fop)==16U)
 
 M0_BASSERT (sizeof((struct m0_status_rep_fop *) 0) ->ssr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_status_rep_fop, ssr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_status_rep_fop, ssr_state)==4U)
 
 M0_BASSERT (offsetof(struct m0_status_rep_fop, ssr_progress)==8U)
 
M0_INTERNAL void m0_xc_failure_data_struct_init (void)
 
M0_INTERNAL void m0_xc_trigger_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_trigger_rep_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_status_rep_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_cm_repreb_trigger_fop_init (void)
 
M0_INTERNAL void m0_xc_cm_repreb_trigger_fop_fini (void)
 

Variables

struct m0_xcode_typefailure_data_xc = &_failure_data._type
 
struct m0_xcode_typetrigger_fop_xc = &_trigger_fop._type
 
struct m0_xcode_typetrigger_rep_fop_xc = &_trigger_rep_fop._type
 
struct m0_xcode_typem0_status_rep_fop_xc = &_m0_status_rep_fop._type
 
static struct _failure_data_s _failure_data
 
static struct _trigger_fop_s _trigger_fop
 
static struct _trigger_rep_fop_s _trigger_rep_fop
 
static struct _m0_status_rep_fop_s _m0_status_rep_fop
 

Function Documentation

◆ M0_BASSERT() [1/19]

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

◆ M0_BASSERT() [2/19]

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

◆ M0_BASSERT() [3/19]

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

◆ M0_BASSERT() [4/19]

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

◆ M0_BASSERT() [5/19]

M0_BASSERT ( sizeof(struct failure_data = =16U)

◆ M0_BASSERT() [6/19]

M0_BASSERT ( sizeof((struct failure_data *) 0) ->  fd_nr = =4U)

◆ M0_BASSERT() [7/19]

M0_BASSERT ( offsetof(struct failure_data, fd_nr = =0U)

◆ M0_BASSERT() [8/19]

M0_BASSERT ( offsetof(struct failure_data, fd_index = =8U)

◆ M0_BASSERT() [9/19]

M0_BASSERT ( sizeof(struct trigger_fop = =4U)

◆ M0_BASSERT() [10/19]

M0_BASSERT ( sizeof((struct trigger_fop *) 0) ->  op = =4U)

◆ M0_BASSERT() [11/19]

M0_BASSERT ( offsetof(struct trigger_fop, op = =0U)

◆ M0_BASSERT() [12/19]

M0_BASSERT ( sizeof(struct trigger_rep_fop = =4U)

◆ M0_BASSERT() [13/19]

M0_BASSERT ( sizeof((struct trigger_rep_fop *) 0) ->  rc = =4U)

◆ M0_BASSERT() [14/19]

M0_BASSERT ( offsetof(struct trigger_rep_fop, rc = =0U)

◆ M0_BASSERT() [15/19]

M0_BASSERT ( sizeof(struct m0_status_rep_fop = =16U)

◆ M0_BASSERT() [16/19]

M0_BASSERT ( sizeof((struct m0_status_rep_fop *) 0) ->  ssr_rc = =4U)

◆ M0_BASSERT() [17/19]

M0_BASSERT ( offsetof(struct m0_status_rep_fop, ssr_rc = =0U)

◆ M0_BASSERT() [18/19]

M0_BASSERT ( offsetof(struct m0_status_rep_fop, ssr_state = =4U)

◆ M0_BASSERT() [19/19]

M0_BASSERT ( offsetof(struct m0_status_rep_fop, ssr_progress = =8U)

◆ m0_xc_cm_repreb_trigger_fop_fini()

M0_INTERNAL void m0_xc_cm_repreb_trigger_fop_fini ( void  )

Definition at line 245 of file trigger_fop_xc.c.

◆ m0_xc_cm_repreb_trigger_fop_init()

M0_INTERNAL void m0_xc_cm_repreb_trigger_fop_init ( void  )

Definition at line 237 of file trigger_fop_xc.c.

Here is the call graph for this function:

◆ m0_xc_failure_data_struct_init()

M0_INTERNAL void m0_xc_failure_data_struct_init ( void  )

Definition at line 112 of file trigger_fop_xc.c.

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

◆ m0_xc_m0_status_rep_fop_struct_init()

M0_INTERNAL void m0_xc_m0_status_rep_fop_struct_init ( void  )

Definition at line 187 of file trigger_fop_xc.c.

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

◆ m0_xc_trigger_fop_struct_init()

M0_INTERNAL void m0_xc_trigger_fop_struct_init ( void  )

Definition at line 147 of file trigger_fop_xc.c.

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

◆ m0_xc_trigger_rep_fop_struct_init()

M0_INTERNAL void m0_xc_trigger_rep_fop_struct_init ( void  )

Definition at line 167 of file trigger_fop_xc.c.

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

Variable Documentation

◆ _failure_data

struct _failure_data_s _failure_data
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "failure_data",
.xct_sizeof = sizeof (struct failure_data),
.xct_nr = 2,
}
}

◆ _m0_status_rep_fop

struct _m0_status_rep_fop_s _m0_status_rep_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_status_rep_fop",
.xct_sizeof = sizeof (struct m0_status_rep_fop),
.xct_nr = 3,
}
}

◆ _trigger_fop

struct _trigger_fop_s _trigger_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "trigger_fop",
.xct_sizeof = sizeof (struct trigger_fop),
.xct_nr = 1,
}
}

◆ _trigger_rep_fop

struct _trigger_rep_fop_s _trigger_rep_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "trigger_rep_fop",
.xct_sizeof = sizeof (struct trigger_rep_fop),
.xct_nr = 1,
}
}

◆ failure_data_xc

struct m0_xcode_type * failure_data_xc = &_failure_data._type

Definition at line 10 of file trigger_fop_xc.c.

◆ m0_status_rep_fop_xc

struct m0_xcode_type * m0_status_rep_fop_xc = &_m0_status_rep_fop._type

Definition at line 13 of file trigger_fop_xc.c.

◆ trigger_fop_xc

struct m0_xcode_type * trigger_fop_xc = &_trigger_fop._type

Definition at line 11 of file trigger_fop_xc.c.

◆ trigger_rep_fop_xc

struct m0_xcode_type * trigger_rep_fop_xc = &_trigger_rep_fop._type

Definition at line 12 of file trigger_fop_xc.c.