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

Go to the source code of this file.

Data Structures

struct  _m0_ha_note_s
 
struct  _m0_ha_nvec_s
 
struct  _m0_ha_msg_nvec_array_s
 
struct  _m0_ha_msg_nvec_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_ha_note_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_nvec_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_msg_nvec_array_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_msg_nvec_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_ha_note)==24U)
 
 M0_BASSERT (sizeof((struct m0_ha_note *) 0) ->no_id==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_note, no_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_note, no_state)==16U)
 
 M0_BASSERT (sizeof(struct m0_ha_nvec)==16U)
 
 M0_BASSERT (sizeof((struct m0_ha_nvec *) 0) ->nv_nr==4U)
 
 M0_BASSERT (offsetof(struct m0_ha_nvec, nv_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_nvec, nv_note)==8U)
 
 M0_BASSERT (sizeof(struct m0_ha_msg_nvec_array)==24576U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_nvec_array *) 0) ->hmna_arr==24576U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec_array, hmna_arr)==0U)
 
 M0_BASSERT (sizeof(struct m0_ha_msg_nvec)==24608U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_nvec *) 0) ->hmnv_type==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec, hmnv_type)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec, hmnv_id_of_get)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec, hmnv_ignore_same_state)==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec, hmnv_nr)==24U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_nvec, hmnv_arr)==32U)
 
M0_INTERNAL void m0_xc_m0_ha_note_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_nvec_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_msg_nvec_array_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_msg_nvec_struct_init (void)
 
M0_INTERNAL void m0_xc_ha_note_init (void)
 
M0_INTERNAL void m0_xc_ha_note_fini (void)
 

Variables

struct m0_xcode_typem0_ha_note_xc = &_m0_ha_note._type
 
struct m0_xcode_typem0_ha_nvec_xc = &_m0_ha_nvec._type
 
struct m0_xcode_typem0_ha_msg_nvec_array_xc = &_m0_ha_msg_nvec_array._type
 
struct m0_xcode_typem0_ha_msg_nvec_xc = &_m0_ha_msg_nvec._type
 
static struct _m0_ha_note_s _m0_ha_note
 
static struct _m0_ha_nvec_s _m0_ha_nvec
 
static struct _m0_ha_msg_nvec_array_s _m0_ha_msg_nvec_array
 
static struct _m0_ha_msg_nvec_s _m0_ha_msg_nvec
 

Function Documentation

◆ M0_BASSERT() [1/22]

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

◆ M0_BASSERT() [2/22]

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

◆ M0_BASSERT() [3/22]

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

◆ M0_BASSERT() [4/22]

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

◆ M0_BASSERT() [5/22]

M0_BASSERT ( sizeof(struct m0_ha_note = =24U)

◆ M0_BASSERT() [6/22]

M0_BASSERT ( sizeof((struct m0_ha_note *) 0) ->  no_id = =16U)

◆ M0_BASSERT() [7/22]

M0_BASSERT ( offsetof(struct m0_ha_note, no_id = =0U)

◆ M0_BASSERT() [8/22]

M0_BASSERT ( offsetof(struct m0_ha_note, no_state = =16U)

◆ M0_BASSERT() [9/22]

M0_BASSERT ( sizeof(struct m0_ha_nvec = =16U)

◆ M0_BASSERT() [10/22]

M0_BASSERT ( sizeof((struct m0_ha_nvec *) 0) ->  nv_nr = =4U)

◆ M0_BASSERT() [11/22]

M0_BASSERT ( offsetof(struct m0_ha_nvec, nv_nr = =0U)

◆ M0_BASSERT() [12/22]

M0_BASSERT ( offsetof(struct m0_ha_nvec, nv_note = =8U)

◆ M0_BASSERT() [13/22]

M0_BASSERT ( sizeof(struct m0_ha_msg_nvec_array = =24576U)

◆ M0_BASSERT() [14/22]

M0_BASSERT ( sizeof((struct m0_ha_msg_nvec_array *) 0) ->  hmna_arr = =24576U)

◆ M0_BASSERT() [15/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec_array, hmna_arr = =0U)

◆ M0_BASSERT() [16/22]

M0_BASSERT ( sizeof(struct m0_ha_msg_nvec = =24608U)

◆ M0_BASSERT() [17/22]

M0_BASSERT ( sizeof((struct m0_ha_msg_nvec *) 0) ->  hmnv_type = =8U)

◆ M0_BASSERT() [18/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec, hmnv_type = =0U)

◆ M0_BASSERT() [19/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec, hmnv_id_of_get = =8U)

◆ M0_BASSERT() [20/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec, hmnv_ignore_same_state = =16U)

◆ M0_BASSERT() [21/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec, hmnv_nr = =24U)

◆ M0_BASSERT() [22/22]

M0_BASSERT ( offsetof(struct m0_ha_msg_nvec, hmnv_arr = =32U)

◆ m0_xc_ha_note_fini()

M0_INTERNAL void m0_xc_ha_note_fini ( void  )

Definition at line 296 of file note_xc.c.

◆ m0_xc_ha_note_init()

M0_INTERNAL void m0_xc_ha_note_init ( void  )

Definition at line 288 of file note_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_ha_msg_nvec_array_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_nvec_array_struct_init ( void  )

Definition at line 188 of file note_xc.c.

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

◆ m0_xc_m0_ha_msg_nvec_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_nvec_struct_init ( void  )

Definition at line 208 of file note_xc.c.

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

◆ m0_xc_m0_ha_note_struct_init()

M0_INTERNAL void m0_xc_m0_ha_note_struct_init ( void  )

Definition at line 118 of file note_xc.c.

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

◆ m0_xc_m0_ha_nvec_struct_init()

M0_INTERNAL void m0_xc_m0_ha_nvec_struct_init ( void  )

Definition at line 153 of file note_xc.c.

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

Variable Documentation

◆ _m0_ha_msg_nvec

struct _m0_ha_msg_nvec_s _m0_ha_msg_nvec
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_msg_nvec",
.xct_sizeof = sizeof (struct m0_ha_msg_nvec),
.xct_nr = 5,
}
}

◆ _m0_ha_msg_nvec_array

struct _m0_ha_msg_nvec_array_s _m0_ha_msg_nvec_array
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_ARRAY,
.xct_name = "m0_ha_msg_nvec_array",
.xct_sizeof = sizeof (struct m0_ha_msg_nvec_array),
.xct_nr = 1,
}
}

◆ _m0_ha_note

struct _m0_ha_note_s _m0_ha_note
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_note",
.xct_sizeof = sizeof (struct m0_ha_note),
.xct_nr = 2,
}
}

◆ _m0_ha_nvec

struct _m0_ha_nvec_s _m0_ha_nvec
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_ha_nvec",
.xct_sizeof = sizeof (struct m0_ha_nvec),
.xct_nr = 2,
}
}

◆ m0_ha_msg_nvec_array_xc

struct m0_xcode_type * m0_ha_msg_nvec_array_xc = &_m0_ha_msg_nvec_array._type

Definition at line 12 of file note_xc.c.

◆ m0_ha_msg_nvec_xc

struct m0_xcode_type * m0_ha_msg_nvec_xc = &_m0_ha_msg_nvec._type

Definition at line 13 of file note_xc.c.

◆ m0_ha_note_xc

struct m0_xcode_type * m0_ha_note_xc = &_m0_ha_note._type

Definition at line 10 of file note_xc.c.

◆ m0_ha_nvec_xc

struct m0_xcode_type * m0_ha_nvec_xc = &_m0_ha_nvec._type

Definition at line 11 of file note_xc.c.