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

Go to the source code of this file.

Data Structures

struct  _m0_bitstring_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_bitstring_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_bitstring)==4U)
 
 M0_BASSERT (sizeof((struct m0_bitstring *) 0) ->b_len==4U)
 
 M0_BASSERT (offsetof(struct m0_bitstring, b_len)==0U)
 
 M0_BASSERT (offsetof(struct m0_bitstring, b_data)==4U)
 
M0_INTERNAL void m0_xc_m0_bitstring_struct_init (void)
 
M0_INTERNAL void m0_xc_lib_bitstring_init (void)
 
M0_INTERNAL void m0_xc_lib_bitstring_fini (void)
 

Variables

struct m0_xcode_typem0_bitstring_xc = &_m0_bitstring._type
 
static struct _m0_bitstring_s _m0_bitstring
 

Function Documentation

◆ M0_BASSERT() [1/5]

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

◆ M0_BASSERT() [2/5]

M0_BASSERT ( sizeof(struct m0_bitstring = =4U)

◆ M0_BASSERT() [3/5]

M0_BASSERT ( sizeof((struct m0_bitstring *) 0) ->  b_len = =4U)

◆ M0_BASSERT() [4/5]

M0_BASSERT ( offsetof(struct m0_bitstring, b_len = =0U)

◆ M0_BASSERT() [5/5]

M0_BASSERT ( offsetof(struct m0_bitstring, b_data = =4U)

◆ m0_xc_lib_bitstring_fini()

M0_INTERNAL void m0_xc_lib_bitstring_fini ( void  )

Definition at line 93 of file bitstring_xc.c.

◆ m0_xc_lib_bitstring_init()

M0_INTERNAL void m0_xc_lib_bitstring_init ( void  )

Definition at line 86 of file bitstring_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_bitstring_struct_init()

M0_INTERNAL void m0_xc_m0_bitstring_struct_init ( void  )

Definition at line 50 of file bitstring_xc.c.

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

Variable Documentation

◆ _m0_bitstring

struct _m0_bitstring_s _m0_bitstring
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_bitstring",
.xct_sizeof = sizeof (struct m0_bitstring),
.xct_nr = 2,
}
}

◆ m0_bitstring_xc

struct m0_xcode_type * m0_bitstring_xc = &_m0_bitstring._type

Definition at line 11 of file bitstring_xc.c.