Motr  M0
operation_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "dtm/operation.h"
#include "dtm/operation_xc.h"
Include dependency graph for operation_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_dtm_oper_updates_s
 
struct  _m0_dtm_oper_descr_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_dtm_oper_updates_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_dtm_oper_descr_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_dtm_oper_updates)==16U)
 
 M0_BASSERT (sizeof((struct m0_dtm_oper_updates *) 0) ->ou_nr==4U)
 
 M0_BASSERT (offsetof(struct m0_dtm_oper_updates, ou_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_dtm_oper_updates, ou_update)==8U)
 
 M0_BASSERT (sizeof(struct m0_dtm_oper_descr)==16U)
 
 M0_BASSERT (sizeof((struct m0_dtm_oper_descr *) 0) ->od_updates==16U)
 
 M0_BASSERT (offsetof(struct m0_dtm_oper_descr, od_updates)==0U)
 
M0_INTERNAL void m0_xc_m0_dtm_oper_updates_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_dtm_oper_descr_struct_init (void)
 
M0_INTERNAL void m0_xc_dtm_operation_init (void)
 
M0_INTERNAL void m0_xc_dtm_operation_fini (void)
 

Variables

struct m0_xcode_typem0_dtm_oper_updates_xc = &_m0_dtm_oper_updates._type
 
struct m0_xcode_typem0_dtm_oper_descr_xc = &_m0_dtm_oper_descr._type
 
static struct _m0_dtm_oper_updates_s _m0_dtm_oper_updates
 
static struct _m0_dtm_oper_descr_s _m0_dtm_oper_descr
 

Function Documentation

◆ M0_BASSERT() [1/9]

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

◆ M0_BASSERT() [2/9]

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

◆ M0_BASSERT() [3/9]

M0_BASSERT ( sizeof(struct m0_dtm_oper_updates = =16U)

◆ M0_BASSERT() [4/9]

M0_BASSERT ( sizeof((struct m0_dtm_oper_updates *) 0) ->  ou_nr = =4U)

◆ M0_BASSERT() [5/9]

M0_BASSERT ( offsetof(struct m0_dtm_oper_updates, ou_nr = =0U)

◆ M0_BASSERT() [6/9]

M0_BASSERT ( offsetof(struct m0_dtm_oper_updates, ou_update = =8U)

◆ M0_BASSERT() [7/9]

M0_BASSERT ( sizeof(struct m0_dtm_oper_descr = =16U)

◆ M0_BASSERT() [8/9]

M0_BASSERT ( sizeof((struct m0_dtm_oper_descr *) 0) ->  od_updates = =16U)

◆ M0_BASSERT() [9/9]

M0_BASSERT ( offsetof(struct m0_dtm_oper_descr, od_updates = =0U)

◆ m0_xc_dtm_operation_fini()

M0_INTERNAL void m0_xc_dtm_operation_fini ( void  )

Definition at line 123 of file operation_xc.c.

◆ m0_xc_dtm_operation_init()

M0_INTERNAL void m0_xc_dtm_operation_init ( void  )

Definition at line 117 of file operation_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_dtm_oper_descr_struct_init()

M0_INTERNAL void m0_xc_m0_dtm_oper_descr_struct_init ( void  )

Definition at line 97 of file operation_xc.c.

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

◆ m0_xc_m0_dtm_oper_updates_struct_init()

M0_INTERNAL void m0_xc_m0_dtm_oper_updates_struct_init ( void  )

Definition at line 62 of file operation_xc.c.

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

Variable Documentation

◆ _m0_dtm_oper_descr

struct _m0_dtm_oper_descr_s _m0_dtm_oper_descr
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_dtm_oper_descr",
.xct_sizeof = sizeof (struct m0_dtm_oper_descr),
.xct_nr = 1,
}
}

◆ _m0_dtm_oper_updates

struct _m0_dtm_oper_updates_s _m0_dtm_oper_updates
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_dtm_oper_updates",
.xct_sizeof = sizeof (struct m0_dtm_oper_updates),
.xct_nr = 2,
}
}

◆ m0_dtm_oper_descr_xc

struct m0_xcode_type * m0_dtm_oper_descr_xc = &_m0_dtm_oper_descr._type

Definition at line 11 of file operation_xc.c.

◆ m0_dtm_oper_updates_xc

struct m0_xcode_type * m0_dtm_oper_updates_xc = &_m0_dtm_oper_updates._type

Definition at line 10 of file operation_xc.c.