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

Go to the source code of this file.

Data Structures

struct  _m0_pool_spare_usage_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_pool_spare_usage_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_pool_spare_usage)==40U)
 
 M0_BASSERT (sizeof((struct m0_pool_spare_usage *) 0) ->psu_header==16U)
 
 M0_BASSERT (offsetof(struct m0_pool_spare_usage, psu_header)==0U)
 
 M0_BASSERT (offsetof(struct m0_pool_spare_usage, psu_device_index)==16U)
 
 M0_BASSERT (offsetof(struct m0_pool_spare_usage, psu_device_state)==20U)
 
 M0_BASSERT (offsetof(struct m0_pool_spare_usage, psu_footer)==24U)
 
M0_INTERNAL void m0_xc_m0_pool_spare_usage_struct_init (void)
 
M0_INTERNAL void m0_xc_pool_pool_init (void)
 
M0_INTERNAL void m0_xc_pool_pool_fini (void)
 

Variables

struct m0_xcode_typem0_pool_spare_usage_xc = &_m0_pool_spare_usage._type
 
static struct _m0_pool_spare_usage_s _m0_pool_spare_usage
 

Function Documentation

◆ M0_BASSERT() [1/7]

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

◆ M0_BASSERT() [2/7]

M0_BASSERT ( sizeof(struct m0_pool_spare_usage = =40U)

◆ M0_BASSERT() [3/7]

M0_BASSERT ( sizeof((struct m0_pool_spare_usage *) 0) ->  psu_header = =16U)

◆ M0_BASSERT() [4/7]

M0_BASSERT ( offsetof(struct m0_pool_spare_usage, psu_header = =0U)

◆ M0_BASSERT() [5/7]

M0_BASSERT ( offsetof(struct m0_pool_spare_usage, psu_device_index = =16U)

◆ M0_BASSERT() [6/7]

M0_BASSERT ( offsetof(struct m0_pool_spare_usage, psu_device_state)  = =20U)

◆ M0_BASSERT() [7/7]

M0_BASSERT ( offsetof(struct m0_pool_spare_usage, psu_footer = =24U)

◆ m0_xc_m0_pool_spare_usage_struct_init()

M0_INTERNAL void m0_xc_m0_pool_spare_usage_struct_init ( void  )

Definition at line 58 of file pool_xc.c.

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

◆ m0_xc_pool_pool_fini()

M0_INTERNAL void m0_xc_pool_pool_fini ( void  )

Definition at line 131 of file pool_xc.c.

◆ m0_xc_pool_pool_init()

M0_INTERNAL void m0_xc_pool_pool_init ( void  )

Definition at line 124 of file pool_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_pool_spare_usage

struct _m0_pool_spare_usage_s _m0_pool_spare_usage
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_pool_spare_usage",
.xct_sizeof = sizeof (struct m0_pool_spare_usage),
.xct_nr = 4,
}
}

◆ m0_pool_spare_usage_xc

struct m0_xcode_type * m0_pool_spare_usage_xc = &_m0_pool_spare_usage._type

Definition at line 11 of file pool_xc.c.