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

Go to the source code of this file.

Data Structures

struct  _m0_dtm_update_descr_s
 
struct  _m0_dtm_update_data_s
 
struct  _m0_dtm_history_id_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_dtm_update_descr_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_dtm_update_data_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_dtm_history_id_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_dtm_update_descr)==88U)
 
 M0_BASSERT (sizeof((struct m0_dtm_update_descr *) 0) ->udd_data==24U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_descr, udd_data)==0U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_descr, udd_id)==24U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_descr, udd_utype)==80U)
 
 M0_BASSERT (sizeof(struct m0_dtm_update_data)==24U)
 
 M0_BASSERT (sizeof((struct m0_dtm_update_data *) 0) ->da_ver==8U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_data, da_ver)==0U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_data, da_orig_ver)==8U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_data, da_label)==16U)
 
 M0_BASSERT (offsetof(struct m0_dtm_update_data, da_rule)==20U)
 
 M0_BASSERT (sizeof(struct m0_dtm_history_id)==56U)
 
 M0_BASSERT (sizeof((struct m0_dtm_history_id *) 0) ->hid_id==16U)
 
 M0_BASSERT (offsetof(struct m0_dtm_history_id, hid_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_dtm_history_id, hid_sender)==16U)
 
 M0_BASSERT (offsetof(struct m0_dtm_history_id, hid_receiver)==32U)
 
 M0_BASSERT (offsetof(struct m0_dtm_history_id, hid_htype)==48U)
 
M0_INTERNAL void m0_xc_m0_dtm_update_descr_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_dtm_update_data_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_dtm_history_id_struct_init (void)
 
M0_INTERNAL void m0_xc_dtm_update_init (void)
 
M0_INTERNAL void m0_xc_dtm_update_fini (void)
 

Variables

struct m0_xcode_typem0_dtm_update_descr_xc = &_m0_dtm_update_descr._type
 
struct m0_xcode_typem0_dtm_update_data_xc = &_m0_dtm_update_data._type
 
struct m0_xcode_typem0_dtm_history_id_xc = &_m0_dtm_history_id._type
 
static struct _m0_dtm_update_descr_s _m0_dtm_update_descr
 
static struct _m0_dtm_update_data_s _m0_dtm_update_data
 
static struct _m0_dtm_history_id_s _m0_dtm_history_id
 

Function Documentation

◆ M0_BASSERT() [1/20]

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

◆ M0_BASSERT() [2/20]

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

◆ M0_BASSERT() [3/20]

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

◆ M0_BASSERT() [4/20]

M0_BASSERT ( sizeof(struct m0_dtm_update_descr = =88U)

◆ M0_BASSERT() [5/20]

M0_BASSERT ( sizeof((struct m0_dtm_update_descr *) 0) ->  udd_data = =24U)

◆ M0_BASSERT() [6/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_descr, udd_data = =0U)

◆ M0_BASSERT() [7/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_descr, udd_id = =24U)

◆ M0_BASSERT() [8/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_descr, udd_utype = =80U)

◆ M0_BASSERT() [9/20]

M0_BASSERT ( sizeof(struct m0_dtm_update_data = =24U)

◆ M0_BASSERT() [10/20]

M0_BASSERT ( sizeof((struct m0_dtm_update_data *) 0) ->  da_ver = =8U)

◆ M0_BASSERT() [11/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_data, da_ver = =0U)

◆ M0_BASSERT() [12/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_data, da_orig_ver = =8U)

◆ M0_BASSERT() [13/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_data, da_label = =16U)

◆ M0_BASSERT() [14/20]

M0_BASSERT ( offsetof(struct m0_dtm_update_data, da_rule = =20U)

◆ M0_BASSERT() [15/20]

M0_BASSERT ( sizeof(struct m0_dtm_history_id = =56U)

◆ M0_BASSERT() [16/20]

M0_BASSERT ( sizeof((struct m0_dtm_history_id *) 0) ->  hid_id = =16U)

◆ M0_BASSERT() [17/20]

M0_BASSERT ( offsetof(struct m0_dtm_history_id, hid_id = =0U)

◆ M0_BASSERT() [18/20]

M0_BASSERT ( offsetof(struct m0_dtm_history_id, hid_sender = =16U)

◆ M0_BASSERT() [19/20]

M0_BASSERT ( offsetof(struct m0_dtm_history_id, hid_receiver = =32U)

◆ M0_BASSERT() [20/20]

M0_BASSERT ( offsetof(struct m0_dtm_history_id, hid_htype = =48U)

◆ m0_xc_dtm_update_fini()

M0_INTERNAL void m0_xc_dtm_update_fini ( void  )

Definition at line 286 of file update_xc.c.

◆ m0_xc_dtm_update_init()

M0_INTERNAL void m0_xc_dtm_update_init ( void  )

Definition at line 279 of file update_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_dtm_history_id_struct_init()

M0_INTERNAL void m0_xc_m0_dtm_history_id_struct_init ( void  )

Definition at line 214 of file update_xc.c.

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

◆ m0_xc_m0_dtm_update_data_struct_init()

M0_INTERNAL void m0_xc_m0_dtm_update_data_struct_init ( void  )

Definition at line 149 of file update_xc.c.

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

◆ m0_xc_m0_dtm_update_descr_struct_init()

M0_INTERNAL void m0_xc_m0_dtm_update_descr_struct_init ( void  )

Definition at line 99 of file update_xc.c.

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

Variable Documentation

◆ _m0_dtm_history_id

struct _m0_dtm_history_id_s _m0_dtm_history_id
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_dtm_history_id",
.xct_sizeof = sizeof (struct m0_dtm_history_id),
.xct_nr = 4,
}
}

◆ _m0_dtm_update_data

struct _m0_dtm_update_data_s _m0_dtm_update_data
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_dtm_update_data",
.xct_sizeof = sizeof (struct m0_dtm_update_data),
.xct_nr = 4,
}
}

◆ _m0_dtm_update_descr

struct _m0_dtm_update_descr_s _m0_dtm_update_descr
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_dtm_update_descr",
.xct_sizeof = sizeof (struct m0_dtm_update_descr),
.xct_nr = 3,
}
}

◆ m0_dtm_history_id_xc

struct m0_xcode_type * m0_dtm_history_id_xc = &_m0_dtm_history_id._type

Definition at line 12 of file update_xc.c.

◆ m0_dtm_update_data_xc

struct m0_xcode_type * m0_dtm_update_data_xc = &_m0_dtm_update_data._type

Definition at line 11 of file update_xc.c.

◆ m0_dtm_update_descr_xc

struct m0_xcode_type * m0_dtm_update_descr_xc = &_m0_dtm_update_descr._type

Definition at line 10 of file update_xc.c.