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

Go to the source code of this file.

Data Structures

struct  _stob_ad_0type_rec_s
 
struct  _stob_ad_rec_frag_seg_s
 
struct  _stob_ad_rec_frag_s
 

Functions

 M0_BASSERT (offsetof(struct _stob_ad_0type_rec_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _stob_ad_rec_frag_seg_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _stob_ad_rec_frag_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct stob_ad_0type_rec)==40U)
 
 M0_BASSERT (sizeof((struct stob_ad_0type_rec *) 0) ->sa0_header==16U)
 
 M0_BASSERT (offsetof(struct stob_ad_0type_rec, sa0_header)==0U)
 
 M0_BASSERT (offsetof(struct stob_ad_0type_rec, sa0_ad_domain)==16U)
 
 M0_BASSERT (offsetof(struct stob_ad_0type_rec, sa0_footer)==24U)
 
 M0_BASSERT (sizeof(struct stob_ad_rec_frag_seg)==16U)
 
 M0_BASSERT (sizeof((struct stob_ad_rec_frag_seg *) 0) ->ps_segments==4U)
 
 M0_BASSERT (offsetof(struct stob_ad_rec_frag_seg, ps_segments)==0U)
 
 M0_BASSERT (offsetof(struct stob_ad_rec_frag_seg, ps_old_data)==8U)
 
 M0_BASSERT (sizeof(struct stob_ad_rec_frag)==64U)
 
 M0_BASSERT (sizeof((struct stob_ad_rec_frag *) 0) ->arp_dom_id==16U)
 
 M0_BASSERT (offsetof(struct stob_ad_rec_frag, arp_dom_id)==0U)
 
 M0_BASSERT (offsetof(struct stob_ad_rec_frag, arp_stob_id)==16U)
 
 M0_BASSERT (offsetof(struct stob_ad_rec_frag, arp_seg)==48U)
 
M0_INTERNAL void m0_xc_stob_ad_0type_rec_struct_init (void)
 
M0_INTERNAL void m0_xc_stob_ad_rec_frag_seg_struct_init (void)
 
M0_INTERNAL void m0_xc_stob_ad_rec_frag_struct_init (void)
 
M0_INTERNAL void m0_xc_stob_ad_private_init (void)
 
M0_INTERNAL void m0_xc_stob_ad_private_fini (void)
 

Variables

struct m0_xcode_typestob_ad_0type_rec_xc = &_stob_ad_0type_rec._type
 
struct m0_xcode_typestob_ad_rec_frag_seg_xc = &_stob_ad_rec_frag_seg._type
 
struct m0_xcode_typestob_ad_rec_frag_xc = &_stob_ad_rec_frag._type
 
static struct _stob_ad_0type_rec_s _stob_ad_0type_rec
 
static struct _stob_ad_rec_frag_seg_s _stob_ad_rec_frag_seg
 
static struct _stob_ad_rec_frag_s _stob_ad_rec_frag
 

Function Documentation

◆ M0_BASSERT() [1/17]

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

◆ M0_BASSERT() [2/17]

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

◆ M0_BASSERT() [3/17]

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

◆ M0_BASSERT() [4/17]

M0_BASSERT ( sizeof(struct stob_ad_0type_rec = =40U)

◆ M0_BASSERT() [5/17]

M0_BASSERT ( sizeof((struct stob_ad_0type_rec *) 0) ->  sa0_header = =16U)

◆ M0_BASSERT() [6/17]

M0_BASSERT ( offsetof(struct stob_ad_0type_rec, sa0_header = =0U)

◆ M0_BASSERT() [7/17]

M0_BASSERT ( offsetof(struct stob_ad_0type_rec, sa0_ad_domain = =16U)

◆ M0_BASSERT() [8/17]

M0_BASSERT ( offsetof(struct stob_ad_0type_rec, sa0_footer = =24U)

◆ M0_BASSERT() [9/17]

M0_BASSERT ( sizeof(struct stob_ad_rec_frag_seg = =16U)

◆ M0_BASSERT() [10/17]

M0_BASSERT ( sizeof((struct stob_ad_rec_frag_seg *) 0) ->  ps_segments = =4U)

◆ M0_BASSERT() [11/17]

M0_BASSERT ( offsetof(struct stob_ad_rec_frag_seg, ps_segments = =0U)

◆ M0_BASSERT() [12/17]

M0_BASSERT ( offsetof(struct stob_ad_rec_frag_seg, ps_old_data = =8U)

◆ M0_BASSERT() [13/17]

M0_BASSERT ( sizeof(struct stob_ad_rec_frag = =64U)

◆ M0_BASSERT() [14/17]

M0_BASSERT ( sizeof((struct stob_ad_rec_frag *) 0) ->  arp_dom_id = =16U)

◆ M0_BASSERT() [15/17]

M0_BASSERT ( offsetof(struct stob_ad_rec_frag, arp_dom_id = =0U)

◆ M0_BASSERT() [16/17]

M0_BASSERT ( offsetof(struct stob_ad_rec_frag, arp_stob_id = =16U)

◆ M0_BASSERT() [17/17]

M0_BASSERT ( offsetof(struct stob_ad_rec_frag, arp_seg = =48U)

◆ m0_xc_stob_ad_0type_rec_struct_init()

M0_INTERNAL void m0_xc_stob_ad_0type_rec_struct_init ( void  )

Definition at line 128 of file ad_private_xc.c.

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

◆ m0_xc_stob_ad_private_fini()

M0_INTERNAL void m0_xc_stob_ad_private_fini ( void  )

Definition at line 291 of file ad_private_xc.c.

◆ m0_xc_stob_ad_private_init()

M0_INTERNAL void m0_xc_stob_ad_private_init ( void  )

Definition at line 278 of file ad_private_xc.c.

Here is the call graph for this function:

◆ m0_xc_stob_ad_rec_frag_seg_struct_init()

M0_INTERNAL void m0_xc_stob_ad_rec_frag_seg_struct_init ( void  )

Definition at line 180 of file ad_private_xc.c.

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

◆ m0_xc_stob_ad_rec_frag_struct_init()

M0_INTERNAL void m0_xc_stob_ad_rec_frag_struct_init ( void  )

Definition at line 222 of file ad_private_xc.c.

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

Variable Documentation

◆ _stob_ad_0type_rec

struct _stob_ad_0type_rec_s _stob_ad_0type_rec
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "stob_ad_0type_rec",
.xct_sizeof = sizeof (struct stob_ad_0type_rec),
.xct_nr = 3,
}
}

◆ _stob_ad_rec_frag

struct _stob_ad_rec_frag_s _stob_ad_rec_frag
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "stob_ad_rec_frag",
.xct_sizeof = sizeof (struct stob_ad_rec_frag),
.xct_nr = 3,
}
}

◆ _stob_ad_rec_frag_seg

struct _stob_ad_rec_frag_seg_s _stob_ad_rec_frag_seg
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "stob_ad_rec_frag_seg",
.xct_sizeof = sizeof (struct stob_ad_rec_frag_seg),
.xct_nr = 2,
}
}

◆ stob_ad_0type_rec_xc

struct m0_xcode_type * stob_ad_0type_rec_xc = &_stob_ad_0type_rec._type

Definition at line 11 of file ad_private_xc.c.

◆ stob_ad_rec_frag_seg_xc

struct m0_xcode_type * stob_ad_rec_frag_seg_xc = &_stob_ad_rec_frag_seg._type

Definition at line 14 of file ad_private_xc.c.

◆ stob_ad_rec_frag_xc

struct m0_xcode_type * stob_ad_rec_frag_xc = &_stob_ad_rec_frag._type

Definition at line 17 of file ad_private_xc.c.