Motr  M0
seg_internal_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "be/seg_internal.h"
#include "be/seg_internal_xc.h"
Include dependency graph for seg_internal_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_be_seg_hdr_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_be_seg_hdr_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_be_seg_hdr)==15848U)
 
 M0_BASSERT (sizeof((struct m0_be_seg_hdr *) 0) ->bh_header==16U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_header)==0U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_id)==16U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_items_nr)==24U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_items)==32U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_be_version)==672U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_gen)==744U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_footer)==752U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_alloc)==768U)
 
 M0_BASSERT (offsetof(struct m0_be_seg_hdr, bh_dict)==15792U)
 
M0_INTERNAL void m0_xc_m0_be_seg_hdr_struct_init (void)
 
M0_INTERNAL void m0_xc_be_seg_internal_init (void)
 
M0_INTERNAL void m0_xc_be_seg_internal_fini (void)
 

Variables

struct m0_xcode_typem0_be_seg_hdr_xc = &_m0_be_seg_hdr._type
 
static struct _m0_be_seg_hdr_s _m0_be_seg_hdr
 

Function Documentation

◆ M0_BASSERT() [1/12]

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

◆ M0_BASSERT() [2/12]

M0_BASSERT ( sizeof(struct m0_be_seg_hdr = =15848U)

◆ M0_BASSERT() [3/12]

M0_BASSERT ( sizeof((struct m0_be_seg_hdr *) 0) ->  bh_header = =16U)

◆ M0_BASSERT() [4/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_header = =0U)

◆ M0_BASSERT() [5/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_id = =16U)

◆ M0_BASSERT() [6/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_items_nr = =24U)

◆ M0_BASSERT() [7/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_items = =32U)

◆ M0_BASSERT() [8/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_be_version = =672U)

◆ M0_BASSERT() [9/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_gen = =744U)

◆ M0_BASSERT() [10/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_footer = =752U)

◆ M0_BASSERT() [11/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_alloc = =768U)

◆ M0_BASSERT() [12/12]

M0_BASSERT ( offsetof(struct m0_be_seg_hdr, bh_dict = =15792U)

◆ m0_xc_be_seg_internal_fini()

M0_INTERNAL void m0_xc_be_seg_internal_fini ( void  )

Definition at line 231 of file seg_internal_xc.c.

◆ m0_xc_be_seg_internal_init()

M0_INTERNAL void m0_xc_be_seg_internal_init ( void  )

Definition at line 224 of file seg_internal_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_be_seg_hdr_struct_init()

M0_INTERNAL void m0_xc_m0_be_seg_hdr_struct_init ( void  )

Definition at line 78 of file seg_internal_xc.c.

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

Variable Documentation

◆ _m0_be_seg_hdr

struct _m0_be_seg_hdr_s _m0_be_seg_hdr
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_be_seg_hdr",
.xct_sizeof = sizeof (struct m0_be_seg_hdr),
.xct_nr = 9,
}
}

◆ m0_be_seg_hdr_xc

struct m0_xcode_type * m0_be_seg_hdr_xc = &_m0_be_seg_hdr._type

Definition at line 11 of file seg_internal_xc.c.