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

Go to the source code of this file.

Data Structures

struct  _m0_fdmi_flt_id_arr_s
 
struct  _m0_fop_fdmi_record_s
 
struct  _m0_fop_fdmi_record_reply_s
 
struct  _m0_fop_fdmi_rec_release_s
 
struct  _m0_fop_fdmi_rec_release_reply_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_fdmi_flt_id_arr_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_fdmi_record_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_fdmi_record_reply_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_fdmi_rec_release_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fop_fdmi_rec_release_reply_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_fdmi_flt_id_arr)==16U)
 
 M0_BASSERT (sizeof((struct m0_fdmi_flt_id_arr *) 0) ->fmf_count==4U)
 
 M0_BASSERT (offsetof(struct m0_fdmi_flt_id_arr, fmf_count)==0U)
 
 M0_BASSERT (offsetof(struct m0_fdmi_flt_id_arr, fmf_flt_id)==8U)
 
 M0_BASSERT (sizeof(struct m0_fop_fdmi_record)==56U)
 
 M0_BASSERT (sizeof((struct m0_fop_fdmi_record *) 0) ->fr_rec_id==16U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_record, fr_rec_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_record, fr_rec_type)==16U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_record, fr_payload)==24U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_record, fr_matched_flts)==40U)
 
 M0_BASSERT (sizeof(struct m0_fop_fdmi_record_reply)==4U)
 
 M0_BASSERT (sizeof((struct m0_fop_fdmi_record_reply *) 0) ->frn_frt==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_record_reply, frn_frt)==0U)
 
 M0_BASSERT (sizeof(struct m0_fop_fdmi_rec_release)==24U)
 
 M0_BASSERT (sizeof((struct m0_fop_fdmi_rec_release *) 0) ->frr_frid==16U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_rec_release, frr_frid)==0U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_rec_release, frr_frt)==16U)
 
 M0_BASSERT (sizeof(struct m0_fop_fdmi_rec_release_reply)==4U)
 
 M0_BASSERT (sizeof((struct m0_fop_fdmi_rec_release_reply *) 0) ->frrr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_fop_fdmi_rec_release_reply, frrr_rc)==0U)
 
M0_INTERNAL void m0_xc_m0_fdmi_flt_id_arr_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_fdmi_record_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_fdmi_record_reply_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_fdmi_rec_release_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fop_fdmi_rec_release_reply_struct_init (void)
 
M0_INTERNAL void m0_xc_fdmi_fops_init (void)
 
M0_INTERNAL void m0_xc_fdmi_fops_fini (void)
 

Variables

struct m0_xcode_typem0_fdmi_flt_id_arr_xc = &_m0_fdmi_flt_id_arr._type
 
struct m0_xcode_typem0_fop_fdmi_record_xc = &_m0_fop_fdmi_record._type
 
struct m0_xcode_typem0_fop_fdmi_record_reply_xc = &_m0_fop_fdmi_record_reply._type
 
struct m0_xcode_typem0_fop_fdmi_rec_release_xc = &_m0_fop_fdmi_rec_release._type
 
struct m0_xcode_typem0_fop_fdmi_rec_release_reply_xc = &_m0_fop_fdmi_rec_release_reply._type
 
static struct _m0_fdmi_flt_id_arr_s _m0_fdmi_flt_id_arr
 
static struct _m0_fop_fdmi_record_s _m0_fop_fdmi_record
 
static struct _m0_fop_fdmi_record_reply_s _m0_fop_fdmi_record_reply
 
static struct _m0_fop_fdmi_rec_release_s _m0_fop_fdmi_rec_release
 
static struct _m0_fop_fdmi_rec_release_reply_s _m0_fop_fdmi_rec_release_reply
 

Function Documentation

◆ M0_BASSERT() [1/25]

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

◆ M0_BASSERT() [2/25]

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

◆ M0_BASSERT() [3/25]

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

◆ M0_BASSERT() [4/25]

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

◆ M0_BASSERT() [5/25]

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

◆ M0_BASSERT() [6/25]

M0_BASSERT ( sizeof(struct m0_fdmi_flt_id_arr = =16U)

◆ M0_BASSERT() [7/25]

M0_BASSERT ( sizeof((struct m0_fdmi_flt_id_arr *) 0) ->  fmf_count = =4U)

◆ M0_BASSERT() [8/25]

M0_BASSERT ( offsetof(struct m0_fdmi_flt_id_arr, fmf_count = =0U)

◆ M0_BASSERT() [9/25]

M0_BASSERT ( offsetof(struct m0_fdmi_flt_id_arr, fmf_flt_id = =8U)

◆ M0_BASSERT() [10/25]

M0_BASSERT ( sizeof(struct m0_fop_fdmi_record = =56U)

◆ M0_BASSERT() [11/25]

M0_BASSERT ( sizeof((struct m0_fop_fdmi_record *) 0) ->  fr_rec_id = =16U)

◆ M0_BASSERT() [12/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_record, fr_rec_id = =0U)

◆ M0_BASSERT() [13/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_record, fr_rec_type = =16U)

◆ M0_BASSERT() [14/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_record, fr_payload = =24U)

◆ M0_BASSERT() [15/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_record, fr_matched_flts = =40U)

◆ M0_BASSERT() [16/25]

M0_BASSERT ( sizeof(struct m0_fop_fdmi_record_reply = =4U)

◆ M0_BASSERT() [17/25]

M0_BASSERT ( sizeof((struct m0_fop_fdmi_record_reply *) 0) ->  frn_frt = =4U)

◆ M0_BASSERT() [18/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_record_reply, frn_frt = =0U)

◆ M0_BASSERT() [19/25]

M0_BASSERT ( sizeof(struct m0_fop_fdmi_rec_release = =24U)

◆ M0_BASSERT() [20/25]

M0_BASSERT ( sizeof((struct m0_fop_fdmi_rec_release *) 0) ->  frr_frid = =16U)

◆ M0_BASSERT() [21/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_rec_release, frr_frid = =0U)

◆ M0_BASSERT() [22/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_rec_release, frr_frt = =16U)

◆ M0_BASSERT() [23/25]

M0_BASSERT ( sizeof(struct m0_fop_fdmi_rec_release_reply = =4U)

◆ M0_BASSERT() [24/25]

M0_BASSERT ( sizeof((struct m0_fop_fdmi_rec_release_reply *) 0) ->  frrr_rc = =4U)

◆ M0_BASSERT() [25/25]

M0_BASSERT ( offsetof(struct m0_fop_fdmi_rec_release_reply, frrr_rc = =0U)

◆ m0_xc_fdmi_fops_fini()

M0_INTERNAL void m0_xc_fdmi_fops_fini ( void  )

Definition at line 323 of file fops_xc.c.

Here is the caller graph for this function:

◆ m0_xc_fdmi_fops_init()

M0_INTERNAL void m0_xc_fdmi_fops_init ( void  )

Definition at line 314 of file fops_xc.c.

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

◆ m0_xc_m0_fdmi_flt_id_arr_struct_init()

M0_INTERNAL void m0_xc_m0_fdmi_flt_id_arr_struct_init ( void  )

Definition at line 139 of file fops_xc.c.

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

◆ m0_xc_m0_fop_fdmi_rec_release_reply_struct_init()

M0_INTERNAL void m0_xc_m0_fop_fdmi_rec_release_reply_struct_init ( void  )

Definition at line 294 of file fops_xc.c.

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

◆ m0_xc_m0_fop_fdmi_rec_release_struct_init()

M0_INTERNAL void m0_xc_m0_fop_fdmi_rec_release_struct_init ( void  )

Definition at line 259 of file fops_xc.c.

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

◆ m0_xc_m0_fop_fdmi_record_reply_struct_init()

M0_INTERNAL void m0_xc_m0_fop_fdmi_record_reply_struct_init ( void  )

Definition at line 239 of file fops_xc.c.

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

◆ m0_xc_m0_fop_fdmi_record_struct_init()

M0_INTERNAL void m0_xc_m0_fop_fdmi_record_struct_init ( void  )

Definition at line 174 of file fops_xc.c.

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

Variable Documentation

◆ _m0_fdmi_flt_id_arr

struct _m0_fdmi_flt_id_arr_s _m0_fdmi_flt_id_arr
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_fdmi_flt_id_arr",
.xct_sizeof = sizeof (struct m0_fdmi_flt_id_arr),
.xct_nr = 2,
}
}

◆ _m0_fop_fdmi_rec_release

struct _m0_fop_fdmi_rec_release_s _m0_fop_fdmi_rec_release
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_fdmi_rec_release",
.xct_sizeof = sizeof (struct m0_fop_fdmi_rec_release),
.xct_nr = 2,
}
}

◆ _m0_fop_fdmi_rec_release_reply

struct _m0_fop_fdmi_rec_release_reply_s _m0_fop_fdmi_rec_release_reply
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_fdmi_rec_release_reply",
.xct_sizeof = sizeof (struct m0_fop_fdmi_rec_release_reply),
.xct_nr = 1,
}
}

◆ _m0_fop_fdmi_record

struct _m0_fop_fdmi_record_s _m0_fop_fdmi_record
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_fdmi_record",
.xct_sizeof = sizeof (struct m0_fop_fdmi_record),
.xct_nr = 4,
}
}

◆ _m0_fop_fdmi_record_reply

struct _m0_fop_fdmi_record_reply_s _m0_fop_fdmi_record_reply
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fop_fdmi_record_reply",
.xct_sizeof = sizeof (struct m0_fop_fdmi_record_reply),
.xct_nr = 1,
}
}

◆ m0_fdmi_flt_id_arr_xc

struct m0_xcode_type * m0_fdmi_flt_id_arr_xc = &_m0_fdmi_flt_id_arr._type

Definition at line 10 of file fops_xc.c.

◆ m0_fop_fdmi_rec_release_reply_xc

struct m0_xcode_type * m0_fop_fdmi_rec_release_reply_xc = &_m0_fop_fdmi_rec_release_reply._type

Definition at line 14 of file fops_xc.c.

◆ m0_fop_fdmi_rec_release_xc

struct m0_xcode_type * m0_fop_fdmi_rec_release_xc = &_m0_fop_fdmi_rec_release._type

Definition at line 13 of file fops_xc.c.

◆ m0_fop_fdmi_record_reply_xc

struct m0_xcode_type * m0_fop_fdmi_record_reply_xc = &_m0_fop_fdmi_record_reply._type

Definition at line 12 of file fops_xc.c.

◆ m0_fop_fdmi_record_xc

struct m0_xcode_type * m0_fop_fdmi_record_xc = &_m0_fop_fdmi_record._type

Definition at line 11 of file fops_xc.c.