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

Go to the source code of this file.

Data Structures

struct  _m0_fi_command_req_s
 
struct  _m0_fi_command_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_fi_command_req_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_fi_command_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_fi_command_req)==48U)
 
 M0_BASSERT (sizeof((struct m0_fi_command_req *) 0) ->fcr_func==16U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_req, fcr_func)==0U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_req, fcr_tag)==16U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_req, fcr_disp)==32U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_req, fcr_num1)==36U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_req, fcr_num2)==40U)
 
 M0_BASSERT (sizeof(struct m0_fi_command_rep)==4U)
 
 M0_BASSERT (sizeof((struct m0_fi_command_rep *) 0) ->fcp_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_fi_command_rep, fcp_rc)==0U)
 
M0_INTERNAL void m0_xc_m0_fi_command_req_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_fi_command_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_fis_fi_command_init (void)
 
M0_INTERNAL void m0_xc_fis_fi_command_fini (void)
 

Variables

struct m0_xcode_typem0_fi_command_req_xc = &_m0_fi_command_req._type
 
struct m0_xcode_typem0_fi_command_rep_xc = &_m0_fi_command_rep._type
 
static struct _m0_fi_command_req_s _m0_fi_command_req
 
static struct _m0_fi_command_rep_s _m0_fi_command_rep
 

Function Documentation

◆ M0_BASSERT() [1/12]

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

◆ M0_BASSERT() [2/12]

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

◆ M0_BASSERT() [3/12]

M0_BASSERT ( sizeof(struct m0_fi_command_req = =48U)

◆ M0_BASSERT() [4/12]

M0_BASSERT ( sizeof((struct m0_fi_command_req *) 0) ->  fcr_func = =16U)

◆ M0_BASSERT() [5/12]

M0_BASSERT ( offsetof(struct m0_fi_command_req, fcr_func = =0U)

◆ M0_BASSERT() [6/12]

M0_BASSERT ( offsetof(struct m0_fi_command_req, fcr_tag = =16U)

◆ M0_BASSERT() [7/12]

M0_BASSERT ( offsetof(struct m0_fi_command_req, fcr_disp = =32U)

◆ M0_BASSERT() [8/12]

M0_BASSERT ( offsetof(struct m0_fi_command_req, fcr_num1 = =36U)

◆ M0_BASSERT() [9/12]

M0_BASSERT ( offsetof(struct m0_fi_command_req, fcr_num2 = =40U)

◆ M0_BASSERT() [10/12]

M0_BASSERT ( sizeof(struct m0_fi_command_rep = =4U)

◆ M0_BASSERT() [11/12]

M0_BASSERT ( sizeof((struct m0_fi_command_rep *) 0) ->  fcp_rc = =4U)

◆ M0_BASSERT() [12/12]

M0_BASSERT ( offsetof(struct m0_fi_command_rep, fcp_rc = =0U)

◆ m0_xc_fis_fi_command_fini()

M0_INTERNAL void m0_xc_fis_fi_command_fini ( void  )

Definition at line 174 of file fi_command_xc.c.

◆ m0_xc_fis_fi_command_init()

M0_INTERNAL void m0_xc_fis_fi_command_init ( void  )

Definition at line 168 of file fi_command_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_fi_command_rep_struct_init()

M0_INTERNAL void m0_xc_m0_fi_command_rep_struct_init ( void  )

Definition at line 148 of file fi_command_xc.c.

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

◆ m0_xc_m0_fi_command_req_struct_init()

M0_INTERNAL void m0_xc_m0_fi_command_req_struct_init ( void  )

Definition at line 68 of file fi_command_xc.c.

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

Variable Documentation

◆ _m0_fi_command_rep

struct _m0_fi_command_rep_s _m0_fi_command_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fi_command_rep",
.xct_sizeof = sizeof (struct m0_fi_command_rep),
.xct_nr = 1,
}
}

◆ _m0_fi_command_req

struct _m0_fi_command_req_s _m0_fi_command_req
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_fi_command_req",
.xct_sizeof = sizeof (struct m0_fi_command_req),
.xct_nr = 5,
}
}

◆ m0_fi_command_rep_xc

struct m0_xcode_type * m0_fi_command_rep_xc = &_m0_fi_command_rep._type

Definition at line 11 of file fi_command_xc.c.

◆ m0_fi_command_req_xc

struct m0_xcode_type * m0_fi_command_req_xc = &_m0_fi_command_req._type

Definition at line 10 of file fi_command_xc.c.