Motr  M0
io_fop_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "reqh/ut/io_fop.h"
#include "reqh/ut/io_fop_xc.h"
Include dependency graph for io_fop_xc.c:

Go to the source code of this file.

Data Structures

struct  _stob_io_fop_fid_s
 
struct  _m0_fi_value_s
 
struct  _m0_stob_io_write_s
 
struct  _m0_stob_io_write_rep_s
 
struct  _m0_stob_io_read_s
 
struct  _m0_stob_io_read_rep_s
 
struct  _m0_stob_io_create_s
 
struct  _m0_stob_io_create_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _stob_io_fop_fid_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fi_value_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_write_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_write_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_read_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_read_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_create_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stob_io_create_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct stob_io_fop_fid)==16U)
 
 M0_BASSERT (sizeof((struct stob_io_fop_fid *) 0) ->f_seq==8U)
 
 M0_BASSERT (offsetof(struct stob_io_fop_fid, f_seq)==0U)
 
 M0_BASSERT (offsetof(struct stob_io_fop_fid, f_oid)==8U)
 
 M0_BASSERT (sizeof(struct m0_fi_value)==16U)
 
 M0_BASSERT (sizeof((struct m0_fi_value *) 0) ->fi_count==4U)
 
 M0_BASSERT (offsetof(struct m0_fi_value, fi_count)==0U)
 
 M0_BASSERT (offsetof(struct m0_fi_value, fi_buf)==8U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_write)==32U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_write *) 0) ->fiw_object==16U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_write, fiw_object)==0U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_write, fiw_value)==16U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_write_rep)==8U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_write_rep *) 0) ->fiwr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_write_rep, fiwr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_write_rep, fiwr_count)==4U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_read)==16U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_read *) 0) ->fir_object==16U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_read, fir_object)==0U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_read_rep)==24U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_read_rep *) 0) ->firr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_read_rep, firr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_read_rep, firr_count)==4U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_read_rep, firr_value)==8U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_create)==16U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_create *) 0) ->fic_object==16U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_create, fic_object)==0U)
 
 M0_BASSERT (sizeof(struct m0_stob_io_create_rep)==4U)
 
 M0_BASSERT (sizeof((struct m0_stob_io_create_rep *) 0) ->ficr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_stob_io_create_rep, ficr_rc)==0U)
 
M0_INTERNAL void m0_xc_stob_io_fop_fid_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fi_value_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_write_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_write_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_read_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_read_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_create_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stob_io_create_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_reqh_ut_io_fop_init (void)
 
M0_INTERNAL void m0_xc_reqh_ut_io_fop_fini (void)
 

Variables

struct m0_xcode_typestob_io_fop_fid_xc = &_stob_io_fop_fid._type
 
struct m0_xcode_typem0_fi_value_xc = &_m0_fi_value._type
 
struct m0_xcode_typem0_stob_io_write_xc = &_m0_stob_io_write._type
 
struct m0_xcode_typem0_stob_io_write_rep_xc = &_m0_stob_io_write_rep._type
 
struct m0_xcode_typem0_stob_io_read_xc = &_m0_stob_io_read._type
 
struct m0_xcode_typem0_stob_io_read_rep_xc = &_m0_stob_io_read_rep._type
 
struct m0_xcode_typem0_stob_io_create_xc = &_m0_stob_io_create._type
 
struct m0_xcode_typem0_stob_io_create_rep_xc = &_m0_stob_io_create_rep._type
 
static struct _stob_io_fop_fid_s _stob_io_fop_fid
 
static struct _m0_fi_value_s _m0_fi_value
 
static struct _m0_stob_io_write_s _m0_stob_io_write
 
static struct _m0_stob_io_write_rep_s _m0_stob_io_write_rep
 
static struct _m0_stob_io_read_s _m0_stob_io_read
 
static struct _m0_stob_io_read_rep_s _m0_stob_io_read_rep
 
static struct _m0_stob_io_create_s _m0_stob_io_create
 
static struct _m0_stob_io_create_rep_s _m0_stob_io_create_rep
 

Function Documentation

◆ M0_BASSERT() [1/38]

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

◆ M0_BASSERT() [2/38]

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

◆ M0_BASSERT() [3/38]

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

◆ M0_BASSERT() [4/38]

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

◆ M0_BASSERT() [5/38]

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

◆ M0_BASSERT() [6/38]

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

◆ M0_BASSERT() [7/38]

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

◆ M0_BASSERT() [8/38]

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

◆ M0_BASSERT() [9/38]

M0_BASSERT ( sizeof(struct stob_io_fop_fid = =16U)

◆ M0_BASSERT() [10/38]

M0_BASSERT ( sizeof((struct stob_io_fop_fid *) 0) ->  f_seq = =8U)

◆ M0_BASSERT() [11/38]

M0_BASSERT ( offsetof(struct stob_io_fop_fid, f_seq)  = =0U)

◆ M0_BASSERT() [12/38]

M0_BASSERT ( offsetof(struct stob_io_fop_fid, f_oid)  = =8U)

◆ M0_BASSERT() [13/38]

M0_BASSERT ( sizeof(struct m0_fi_value = =16U)

◆ M0_BASSERT() [14/38]

M0_BASSERT ( sizeof((struct m0_fi_value *) 0) ->  fi_count = =4U)

◆ M0_BASSERT() [15/38]

M0_BASSERT ( offsetof(struct m0_fi_value, fi_count)  = =0U)

◆ M0_BASSERT() [16/38]

M0_BASSERT ( offsetof(struct m0_fi_value, fi_buf)  = =8U)

◆ M0_BASSERT() [17/38]

M0_BASSERT ( sizeof(struct m0_stob_io_write = =32U)

◆ M0_BASSERT() [18/38]

M0_BASSERT ( sizeof((struct m0_stob_io_write *) 0) ->  fiw_object = =16U)

◆ M0_BASSERT() [19/38]

M0_BASSERT ( offsetof(struct m0_stob_io_write, fiw_object)  = =0U)

◆ M0_BASSERT() [20/38]

M0_BASSERT ( offsetof(struct m0_stob_io_write, fiw_value)  = =16U)

◆ M0_BASSERT() [21/38]

M0_BASSERT ( sizeof(struct m0_stob_io_write_rep = =8U)

◆ M0_BASSERT() [22/38]

M0_BASSERT ( sizeof((struct m0_stob_io_write_rep *) 0) ->  fiwr_rc = =4U)

◆ M0_BASSERT() [23/38]

M0_BASSERT ( offsetof(struct m0_stob_io_write_rep, fiwr_rc)  = =0U)

◆ M0_BASSERT() [24/38]

M0_BASSERT ( offsetof(struct m0_stob_io_write_rep, fiwr_count)  = =4U)

◆ M0_BASSERT() [25/38]

M0_BASSERT ( sizeof(struct m0_stob_io_read = =16U)

◆ M0_BASSERT() [26/38]

M0_BASSERT ( sizeof((struct m0_stob_io_read *) 0) ->  fir_object = =16U)

◆ M0_BASSERT() [27/38]

M0_BASSERT ( offsetof(struct m0_stob_io_read, fir_object)  = =0U)

◆ M0_BASSERT() [28/38]

M0_BASSERT ( sizeof(struct m0_stob_io_read_rep = =24U)

◆ M0_BASSERT() [29/38]

M0_BASSERT ( sizeof((struct m0_stob_io_read_rep *) 0) ->  firr_rc = =4U)

◆ M0_BASSERT() [30/38]

M0_BASSERT ( offsetof(struct m0_stob_io_read_rep, firr_rc)  = =0U)

◆ M0_BASSERT() [31/38]

M0_BASSERT ( offsetof(struct m0_stob_io_read_rep, firr_count)  = =4U)

◆ M0_BASSERT() [32/38]

M0_BASSERT ( offsetof(struct m0_stob_io_read_rep, firr_value)  = =8U)

◆ M0_BASSERT() [33/38]

M0_BASSERT ( sizeof(struct m0_stob_io_create = =16U)

◆ M0_BASSERT() [34/38]

M0_BASSERT ( sizeof((struct m0_stob_io_create *) 0) ->  fic_object = =16U)

◆ M0_BASSERT() [35/38]

M0_BASSERT ( offsetof(struct m0_stob_io_create, fic_object)  = =0U)

◆ M0_BASSERT() [36/38]

M0_BASSERT ( sizeof(struct m0_stob_io_create_rep = =4U)

◆ M0_BASSERT() [37/38]

M0_BASSERT ( sizeof((struct m0_stob_io_create_rep *) 0) ->  ficr_rc = =4U)

◆ M0_BASSERT() [38/38]

M0_BASSERT ( offsetof(struct m0_stob_io_create_rep, ficr_rc)  = =0U)

◆ m0_xc_m0_fi_value_struct_init()

M0_INTERNAL void m0_xc_m0_fi_value_struct_init ( void  )

Definition at line 245 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_create_rep_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_create_rep_struct_init ( void  )

Definition at line 440 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_create_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_create_struct_init ( void  )

Definition at line 420 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_read_rep_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_read_rep_struct_init ( void  )

Definition at line 370 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_read_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_read_struct_init ( void  )

Definition at line 350 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_write_rep_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_write_rep_struct_init ( void  )

Definition at line 315 of file io_fop_xc.c.

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

◆ m0_xc_m0_stob_io_write_struct_init()

M0_INTERNAL void m0_xc_m0_stob_io_write_struct_init ( void  )

Definition at line 280 of file io_fop_xc.c.

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

◆ m0_xc_reqh_ut_io_fop_fini()

M0_INTERNAL void m0_xc_reqh_ut_io_fop_fini ( void  )

Definition at line 472 of file io_fop_xc.c.

Here is the caller graph for this function:

◆ m0_xc_reqh_ut_io_fop_init()

M0_INTERNAL void m0_xc_reqh_ut_io_fop_init ( void  )

Definition at line 460 of file io_fop_xc.c.

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

◆ m0_xc_stob_io_fop_fid_struct_init()

M0_INTERNAL void m0_xc_stob_io_fop_fid_struct_init ( void  )

Definition at line 210 of file io_fop_xc.c.

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

Variable Documentation

◆ _m0_fi_value

struct _m0_fi_value_s _m0_fi_value
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_fi_value",
.xct_sizeof = sizeof (struct m0_fi_value),
.xct_nr = 2,
.xct_flags = 0,
}
}

◆ _m0_stob_io_create

struct _m0_stob_io_create_s _m0_stob_io_create
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_create",
.xct_sizeof = sizeof (struct m0_stob_io_create),
.xct_nr = 1,
.xct_flags = 0,
}
}

◆ _m0_stob_io_create_rep

struct _m0_stob_io_create_rep_s _m0_stob_io_create_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_create_rep",
.xct_sizeof = sizeof (struct m0_stob_io_create_rep),
.xct_nr = 1,
.xct_flags = 0,
}
}

◆ _m0_stob_io_read

struct _m0_stob_io_read_s _m0_stob_io_read
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_read",
.xct_sizeof = sizeof (struct m0_stob_io_read),
.xct_nr = 1,
.xct_flags = 0,
}
}

◆ _m0_stob_io_read_rep

struct _m0_stob_io_read_rep_s _m0_stob_io_read_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_read_rep",
.xct_sizeof = sizeof (struct m0_stob_io_read_rep),
.xct_nr = 3,
.xct_flags = 0,
}
}

◆ _m0_stob_io_write

struct _m0_stob_io_write_s _m0_stob_io_write
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_write",
.xct_sizeof = sizeof (struct m0_stob_io_write),
.xct_nr = 2,
.xct_flags = 0,
}
}

◆ _m0_stob_io_write_rep

struct _m0_stob_io_write_rep_s _m0_stob_io_write_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stob_io_write_rep",
.xct_sizeof = sizeof (struct m0_stob_io_write_rep),
.xct_nr = 2,
.xct_flags = 0,
}
}

◆ _stob_io_fop_fid

struct _stob_io_fop_fid_s _stob_io_fop_fid
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "stob_io_fop_fid",
.xct_sizeof = sizeof (struct stob_io_fop_fid),
.xct_nr = 2,
.xct_flags = 0,
}
}

◆ m0_fi_value_xc

struct m0_xcode_type * m0_fi_value_xc = &_m0_fi_value._type

Definition at line 11 of file io_fop_xc.c.

◆ m0_stob_io_create_rep_xc

struct m0_xcode_type * m0_stob_io_create_rep_xc = &_m0_stob_io_create_rep._type

Definition at line 17 of file io_fop_xc.c.

◆ m0_stob_io_create_xc

struct m0_xcode_type * m0_stob_io_create_xc = &_m0_stob_io_create._type

Definition at line 16 of file io_fop_xc.c.

◆ m0_stob_io_read_rep_xc

struct m0_xcode_type * m0_stob_io_read_rep_xc = &_m0_stob_io_read_rep._type

Definition at line 15 of file io_fop_xc.c.

◆ m0_stob_io_read_xc

struct m0_xcode_type * m0_stob_io_read_xc = &_m0_stob_io_read._type

Definition at line 14 of file io_fop_xc.c.

◆ m0_stob_io_write_rep_xc

struct m0_xcode_type * m0_stob_io_write_rep_xc = &_m0_stob_io_write_rep._type

Definition at line 13 of file io_fop_xc.c.

◆ m0_stob_io_write_xc

struct m0_xcode_type * m0_stob_io_write_xc = &_m0_stob_io_write._type

Definition at line 12 of file io_fop_xc.c.

◆ stob_io_fop_fid_xc

struct m0_xcode_type * stob_io_fop_fid_xc = &_stob_io_fop_fid._type

Definition at line 10 of file io_fop_xc.c.