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

Go to the source code of this file.

Data Structures

struct  _m0_stob_id_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_stob_id_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_stob_id)==32U)
 
 M0_BASSERT (sizeof((struct m0_stob_id *) 0) ->si_domain_fid==16U)
 
 M0_BASSERT (offsetof(struct m0_stob_id, si_domain_fid)==0U)
 
 M0_BASSERT (offsetof(struct m0_stob_id, si_fid)==16U)
 
M0_INTERNAL void m0_xc_m0_stob_id_struct_init (void)
 
M0_INTERNAL void m0_xc_stob_stob_init (void)
 
M0_INTERNAL void m0_xc_stob_stob_fini (void)
 

Variables

struct m0_xcode_typem0_stob_id_xc = &_m0_stob_id._type
 
static struct _m0_stob_id_s _m0_stob_id
 

Function Documentation

◆ M0_BASSERT() [1/5]

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

◆ M0_BASSERT() [2/5]

M0_BASSERT ( sizeof(struct m0_stob_id = =32U)

◆ M0_BASSERT() [3/5]

M0_BASSERT ( sizeof((struct m0_stob_id *) 0) ->  si_domain_fid = =16U)

◆ M0_BASSERT() [4/5]

M0_BASSERT ( offsetof(struct m0_stob_id, si_domain_fid = =0U)

◆ M0_BASSERT() [5/5]

M0_BASSERT ( offsetof(struct m0_stob_id, si_fid = =16U)

◆ m0_xc_m0_stob_id_struct_init()

M0_INTERNAL void m0_xc_m0_stob_id_struct_init ( void  )

Definition at line 39 of file stob_xc.c.

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

◆ m0_xc_stob_stob_fini()

M0_INTERNAL void m0_xc_stob_stob_fini ( void  )

Definition at line 79 of file stob_xc.c.

Here is the caller graph for this function:

◆ m0_xc_stob_stob_init()

M0_INTERNAL void m0_xc_stob_stob_init ( void  )

Definition at line 74 of file stob_xc.c.

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

Variable Documentation

◆ _m0_stob_id

struct _m0_stob_id_s _m0_stob_id
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_id",
.xct_sizeof = sizeof (struct m0_stob_id),
.xct_nr = 2,
}
}

◆ m0_stob_id_xc

struct m0_xcode_type * m0_stob_id_xc = &_m0_stob_id._type

Definition at line 10 of file stob_xc.c.