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

Go to the source code of this file.

Data Structures

struct  _m0_fop_poolmach_set_rep_s
 
struct  _m0_fop_poolmach_dev_info_s
 
struct  _m0_fop_poolmach_dev_s
 
struct  _m0_fop_poolmach_set_s
 
struct  _m0_fop_poolmach_query_rep_s
 
struct  _m0_fop_poolmach_dev_idx_s
 
struct  _m0_fop_poolmach_query_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_fop_poolmach_set_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_dev_info_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_dev_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_set_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_query_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_dev_idx_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_poolmach_query_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_set_rep)==4U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_set_rep *) 0) ->fps_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_set_rep, fps_rc)==0U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_dev_info)==16U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_dev_info *) 0) ->fpi_nr==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev_info, fpi_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev_info, fpi_dev)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_dev)==24U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_dev *) 0) ->fpd_state==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev, fpd_state)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev, fpd_fid)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_set)==24U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_set *) 0) ->fps_type==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_set, fps_type)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_set, fps_dev_info)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_query_rep)==24U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_query_rep *) 0) ->fqr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_query_rep, fqr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_query_rep, fqr_dev_info)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_dev_idx)==16U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_dev_idx *) 0) ->fpx_nr==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev_idx, fpx_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_dev_idx, fpx_fid)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_poolmach_query)==24U)
 
 M0_BASSERT (sizeof((struct m0_fop_poolmach_query *) 0) ->fpq_type==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_query, fpq_type)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_poolmach_query, fpq_dev_idx)==8U)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_set_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_info_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_set_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_query_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_idx_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_poolmach_query_struct_init (void)
 
M0_INTERNAL void m0_xc_pool_pool_fops_init (void)
 
M0_INTERNAL void m0_xc_pool_pool_fops_fini (void)
 

Variables

struct m0_xcode_typem0_fop_poolmach_set_rep_xc = &_m0_fop_poolmach_set_rep._type
 
struct m0_xcode_typem0_fop_poolmach_dev_info_xc = &_m0_fop_poolmach_dev_info._type
 
struct m0_xcode_typem0_fop_poolmach_dev_xc = &_m0_fop_poolmach_dev._type
 
struct m0_xcode_typem0_fop_poolmach_set_xc = &_m0_fop_poolmach_set._type
 
struct m0_xcode_typem0_fop_poolmach_query_rep_xc = &_m0_fop_poolmach_query_rep._type
 
struct m0_xcode_typem0_fop_poolmach_dev_idx_xc = &_m0_fop_poolmach_dev_idx._type
 
struct m0_xcode_typem0_fop_poolmach_query_xc = &_m0_fop_poolmach_query._type
 
static struct _m0_fop_poolmach_set_rep_s _m0_fop_poolmach_set_rep
 
static struct _m0_fop_poolmach_dev_info_s _m0_fop_poolmach_dev_info
 
static struct _m0_fop_poolmach_dev_s _m0_fop_poolmach_dev
 
static struct _m0_fop_poolmach_set_s _m0_fop_poolmach_set
 
static struct _m0_fop_poolmach_query_rep_s _m0_fop_poolmach_query_rep
 
static struct _m0_fop_poolmach_dev_idx_s _m0_fop_poolmach_dev_idx
 
static struct _m0_fop_poolmach_query_s _m0_fop_poolmach_query
 

Function Documentation

◆ M0_BASSERT() [1/34]

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

◆ M0_BASSERT() [2/34]

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

◆ M0_BASSERT() [3/34]

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

◆ M0_BASSERT() [4/34]

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

◆ M0_BASSERT() [5/34]

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

◆ M0_BASSERT() [6/34]

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

◆ M0_BASSERT() [7/34]

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

◆ M0_BASSERT() [8/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_set_rep = =4U)

◆ M0_BASSERT() [9/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_set_rep *) 0) ->  fps_rc = =4U)

◆ M0_BASSERT() [10/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_set_rep, fps_rc = =0U)

◆ M0_BASSERT() [11/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_dev_info = =16U)

◆ M0_BASSERT() [12/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_dev_info *) 0) ->  fpi_nr = =4U)

◆ M0_BASSERT() [13/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev_info, fpi_nr = =0U)

◆ M0_BASSERT() [14/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev_info, fpi_dev = =8U)

◆ M0_BASSERT() [15/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_dev = =24U)

◆ M0_BASSERT() [16/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_dev *) 0) ->  fpd_state = =4U)

◆ M0_BASSERT() [17/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev, fpd_state = =0U)

◆ M0_BASSERT() [18/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev, fpd_fid = =8U)

◆ M0_BASSERT() [19/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_set = =24U)

◆ M0_BASSERT() [20/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_set *) 0) ->  fps_type = =4U)

◆ M0_BASSERT() [21/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_set, fps_type = =0U)

◆ M0_BASSERT() [22/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_set, fps_dev_info = =8U)

◆ M0_BASSERT() [23/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_query_rep = =24U)

◆ M0_BASSERT() [24/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_query_rep *) 0) ->  fqr_rc = =4U)

◆ M0_BASSERT() [25/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_query_rep, fqr_rc = =0U)

◆ M0_BASSERT() [26/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_query_rep, fqr_dev_info = =8U)

◆ M0_BASSERT() [27/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_dev_idx = =16U)

◆ M0_BASSERT() [28/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_dev_idx *) 0) ->  fpx_nr = =4U)

◆ M0_BASSERT() [29/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev_idx, fpx_nr = =0U)

◆ M0_BASSERT() [30/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_dev_idx, fpx_fid = =8U)

◆ M0_BASSERT() [31/34]

M0_BASSERT ( sizeof(struct m0_fop_poolmach_query = =24U)

◆ M0_BASSERT() [32/34]

M0_BASSERT ( sizeof((struct m0_fop_poolmach_query *) 0) ->  fpq_type = =4U)

◆ M0_BASSERT() [33/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_query, fpq_type = =0U)

◆ M0_BASSERT() [34/34]

M0_BASSERT ( offsetof(struct m0_fop_poolmach_query, fpq_dev_idx = =8U)

◆ m0_xc_m0_fop_poolmach_dev_idx_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_idx_struct_init ( void  )

Definition at line 347 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_dev_info_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_info_struct_init ( void  )

Definition at line 207 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_dev_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_dev_struct_init ( void  )

Definition at line 242 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_query_rep_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_query_rep_struct_init ( void  )

Definition at line 312 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_query_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_query_struct_init ( void  )

Definition at line 382 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_set_rep_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_set_rep_struct_init ( void  )

Definition at line 187 of file pool_fops_xc.c.

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

◆ m0_xc_m0_fop_poolmach_set_struct_init()

M0_INTERNAL void m0_xc_m0_fop_poolmach_set_struct_init ( void  )

Definition at line 277 of file pool_fops_xc.c.

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

◆ m0_xc_pool_pool_fops_fini()

M0_INTERNAL void m0_xc_pool_pool_fops_fini ( void  )

Definition at line 428 of file pool_fops_xc.c.

◆ m0_xc_pool_pool_fops_init()

M0_INTERNAL void m0_xc_pool_pool_fops_init ( void  )

Definition at line 417 of file pool_fops_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_fop_poolmach_dev

struct _m0_fop_poolmach_dev_s _m0_fop_poolmach_dev
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_poolmach_dev",
.xct_sizeof = sizeof (struct m0_fop_poolmach_dev),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_dev_idx

struct _m0_fop_poolmach_dev_idx_s _m0_fop_poolmach_dev_idx
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_fop_poolmach_dev_idx",
.xct_sizeof = sizeof (struct m0_fop_poolmach_dev_idx),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_dev_info

struct _m0_fop_poolmach_dev_info_s _m0_fop_poolmach_dev_info
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_fop_poolmach_dev_info",
.xct_sizeof = sizeof (struct m0_fop_poolmach_dev_info),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_query

struct _m0_fop_poolmach_query_s _m0_fop_poolmach_query
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_poolmach_query",
.xct_sizeof = sizeof (struct m0_fop_poolmach_query),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_query_rep

struct _m0_fop_poolmach_query_rep_s _m0_fop_poolmach_query_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_poolmach_query_rep",
.xct_sizeof = sizeof (struct m0_fop_poolmach_query_rep),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_set

struct _m0_fop_poolmach_set_s _m0_fop_poolmach_set
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_poolmach_set",
.xct_sizeof = sizeof (struct m0_fop_poolmach_set),
.xct_nr = 2,
}
}

◆ _m0_fop_poolmach_set_rep

struct _m0_fop_poolmach_set_rep_s _m0_fop_poolmach_set_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_poolmach_set_rep",
.xct_sizeof = sizeof (struct m0_fop_poolmach_set_rep),
.xct_nr = 1,
}
}

◆ m0_fop_poolmach_dev_idx_xc

struct m0_xcode_type * m0_fop_poolmach_dev_idx_xc = &_m0_fop_poolmach_dev_idx._type

Definition at line 15 of file pool_fops_xc.c.

◆ m0_fop_poolmach_dev_info_xc

struct m0_xcode_type * m0_fop_poolmach_dev_info_xc = &_m0_fop_poolmach_dev_info._type

Definition at line 11 of file pool_fops_xc.c.

◆ m0_fop_poolmach_dev_xc

struct m0_xcode_type * m0_fop_poolmach_dev_xc = &_m0_fop_poolmach_dev._type

Definition at line 12 of file pool_fops_xc.c.

◆ m0_fop_poolmach_query_rep_xc

struct m0_xcode_type * m0_fop_poolmach_query_rep_xc = &_m0_fop_poolmach_query_rep._type

Definition at line 14 of file pool_fops_xc.c.

◆ m0_fop_poolmach_query_xc

struct m0_xcode_type * m0_fop_poolmach_query_xc = &_m0_fop_poolmach_query._type

Definition at line 16 of file pool_fops_xc.c.

◆ m0_fop_poolmach_set_rep_xc

struct m0_xcode_type * m0_fop_poolmach_set_rep_xc = &_m0_fop_poolmach_set_rep._type

Definition at line 10 of file pool_fops_xc.c.

◆ m0_fop_poolmach_set_xc

struct m0_xcode_type * m0_fop_poolmach_set_xc = &_m0_fop_poolmach_set._type

Definition at line 13 of file pool_fops_xc.c.