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

Go to the source code of this file.

Data Structures

struct  _m0_cons_fop_fid_s
 
struct  _m0_cons_fop_buf_s
 
struct  _m0_cons_fop_test_s
 
struct  _m0_cons_fop_device_s
 
struct  _m0_cons_fop_reply_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_cons_fop_fid_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_cons_fop_buf_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_cons_fop_test_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_cons_fop_device_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_cons_fop_reply_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_cons_fop_fid)==16U)
 
 M0_BASSERT (sizeof((struct m0_cons_fop_fid *) 0) ->cons_seq==8U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_fid, cons_seq)==0U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_fid, cons_oid)==8U)
 
 M0_BASSERT (sizeof(struct m0_cons_fop_buf)==16U)
 
 M0_BASSERT (sizeof((struct m0_cons_fop_buf *) 0) ->cons_size==4U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_buf, cons_size)==0U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_buf, cons_buf)==8U)
 
 M0_BASSERT (sizeof(struct m0_cons_fop_test)==48U)
 
 M0_BASSERT (sizeof((struct m0_cons_fop_test *) 0) ->cons_test_type==1U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_test, cons_test_type)==0U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_test, cons_test_id)==8U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_test, cons_id)==16U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_test, cons_test_buf)==32U)
 
 M0_BASSERT (sizeof(struct m0_cons_fop_device)==48U)
 
 M0_BASSERT (sizeof((struct m0_cons_fop_device *) 0) ->cons_id==16U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_device, cons_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_device, cons_notify_type)==16U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_device, cons_dev_id)==24U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_device, cons_dev_name)==32U)
 
 M0_BASSERT (sizeof(struct m0_cons_fop_reply)==8U)
 
 M0_BASSERT (sizeof((struct m0_cons_fop_reply *) 0) ->cons_return==4U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_reply, cons_return)==0U)
 
 M0_BASSERT (offsetof(struct m0_cons_fop_reply, cons_notify_type)==4U)
 
M0_INTERNAL void m0_xc_m0_cons_fop_fid_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_cons_fop_buf_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_cons_fop_test_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_cons_fop_device_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_cons_fop_reply_struct_init (void)
 
M0_INTERNAL void m0_xc_console_console_fop_init (void)
 
M0_INTERNAL void m0_xc_console_console_fop_fini (void)
 

Variables

struct m0_xcode_typem0_cons_fop_fid_xc = &_m0_cons_fop_fid._type
 
struct m0_xcode_typem0_cons_fop_buf_xc = &_m0_cons_fop_buf._type
 
struct m0_xcode_typem0_cons_fop_test_xc = &_m0_cons_fop_test._type
 
struct m0_xcode_typem0_cons_fop_device_xc = &_m0_cons_fop_device._type
 
struct m0_xcode_typem0_cons_fop_reply_xc = &_m0_cons_fop_reply._type
 
static struct _m0_cons_fop_fid_s _m0_cons_fop_fid
 
static struct _m0_cons_fop_buf_s _m0_cons_fop_buf
 
static struct _m0_cons_fop_test_s _m0_cons_fop_test
 
static struct _m0_cons_fop_device_s _m0_cons_fop_device
 
static struct _m0_cons_fop_reply_s _m0_cons_fop_reply
 

Function Documentation

◆ M0_BASSERT() [1/29]

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

◆ M0_BASSERT() [2/29]

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

◆ M0_BASSERT() [3/29]

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

◆ M0_BASSERT() [4/29]

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

◆ M0_BASSERT() [5/29]

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

◆ M0_BASSERT() [6/29]

M0_BASSERT ( sizeof(struct m0_cons_fop_fid = =16U)

◆ M0_BASSERT() [7/29]

M0_BASSERT ( sizeof((struct m0_cons_fop_fid *) 0) ->  cons_seq = =8U)

◆ M0_BASSERT() [8/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_fid, cons_seq = =0U)

◆ M0_BASSERT() [9/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_fid, cons_oid = =8U)

◆ M0_BASSERT() [10/29]

M0_BASSERT ( sizeof(struct m0_cons_fop_buf = =16U)

◆ M0_BASSERT() [11/29]

M0_BASSERT ( sizeof((struct m0_cons_fop_buf *) 0) ->  cons_size = =4U)

◆ M0_BASSERT() [12/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_buf, cons_size = =0U)

◆ M0_BASSERT() [13/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_buf, cons_buf = =8U)

◆ M0_BASSERT() [14/29]

M0_BASSERT ( sizeof(struct m0_cons_fop_test = =48U)

◆ M0_BASSERT() [15/29]

M0_BASSERT ( sizeof((struct m0_cons_fop_test *) 0) ->  cons_test_type = =1U)

◆ M0_BASSERT() [16/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_test, cons_test_type = =0U)

◆ M0_BASSERT() [17/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_test, cons_test_id = =8U)

◆ M0_BASSERT() [18/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_test, cons_id = =16U)

◆ M0_BASSERT() [19/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_test, cons_test_buf = =32U)

◆ M0_BASSERT() [20/29]

M0_BASSERT ( sizeof(struct m0_cons_fop_device = =48U)

◆ M0_BASSERT() [21/29]

M0_BASSERT ( sizeof((struct m0_cons_fop_device *) 0) ->  cons_id = =16U)

◆ M0_BASSERT() [22/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_device, cons_id = =0U)

◆ M0_BASSERT() [23/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_device, cons_notify_type = =16U)

◆ M0_BASSERT() [24/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_device, cons_dev_id = =24U)

◆ M0_BASSERT() [25/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_device, cons_dev_name = =32U)

◆ M0_BASSERT() [26/29]

M0_BASSERT ( sizeof(struct m0_cons_fop_reply = =8U)

◆ M0_BASSERT() [27/29]

M0_BASSERT ( sizeof((struct m0_cons_fop_reply *) 0) ->  cons_return = =4U)

◆ M0_BASSERT() [28/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_reply, cons_return = =0U)

◆ M0_BASSERT() [29/29]

M0_BASSERT ( offsetof(struct m0_cons_fop_reply, cons_notify_type = =4U)

◆ m0_xc_console_console_fop_fini()

M0_INTERNAL void m0_xc_console_console_fop_fini ( void  )

Definition at line 391 of file console_fop_xc.c.

◆ m0_xc_console_console_fop_init()

M0_INTERNAL void m0_xc_console_console_fop_init ( void  )

Definition at line 382 of file console_fop_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_cons_fop_buf_struct_init()

M0_INTERNAL void m0_xc_m0_cons_fop_buf_struct_init ( void  )

Definition at line 182 of file console_fop_xc.c.

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

◆ m0_xc_m0_cons_fop_device_struct_init()

M0_INTERNAL void m0_xc_m0_cons_fop_device_struct_init ( void  )

Definition at line 282 of file console_fop_xc.c.

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

◆ m0_xc_m0_cons_fop_fid_struct_init()

M0_INTERNAL void m0_xc_m0_cons_fop_fid_struct_init ( void  )

Definition at line 147 of file console_fop_xc.c.

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

◆ m0_xc_m0_cons_fop_reply_struct_init()

M0_INTERNAL void m0_xc_m0_cons_fop_reply_struct_init ( void  )

Definition at line 347 of file console_fop_xc.c.

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

◆ m0_xc_m0_cons_fop_test_struct_init()

M0_INTERNAL void m0_xc_m0_cons_fop_test_struct_init ( void  )

Definition at line 217 of file console_fop_xc.c.

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

Variable Documentation

◆ _m0_cons_fop_buf

struct _m0_cons_fop_buf_s _m0_cons_fop_buf
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_cons_fop_buf",
.xct_sizeof = sizeof (struct m0_cons_fop_buf),
.xct_nr = 2,
}
}

◆ _m0_cons_fop_device

struct _m0_cons_fop_device_s _m0_cons_fop_device
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cons_fop_device",
.xct_sizeof = sizeof (struct m0_cons_fop_device),
.xct_nr = 4,
}
}

◆ _m0_cons_fop_fid

struct _m0_cons_fop_fid_s _m0_cons_fop_fid
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cons_fop_fid",
.xct_sizeof = sizeof (struct m0_cons_fop_fid),
.xct_nr = 2,
}
}

◆ _m0_cons_fop_reply

struct _m0_cons_fop_reply_s _m0_cons_fop_reply
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cons_fop_reply",
.xct_sizeof = sizeof (struct m0_cons_fop_reply),
.xct_nr = 2,
}
}

◆ _m0_cons_fop_test

struct _m0_cons_fop_test_s _m0_cons_fop_test
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_cons_fop_test",
.xct_sizeof = sizeof (struct m0_cons_fop_test),
.xct_nr = 4,
}
}

◆ m0_cons_fop_buf_xc

struct m0_xcode_type * m0_cons_fop_buf_xc = &_m0_cons_fop_buf._type

Definition at line 11 of file console_fop_xc.c.

◆ m0_cons_fop_device_xc

struct m0_xcode_type * m0_cons_fop_device_xc = &_m0_cons_fop_device._type

Definition at line 13 of file console_fop_xc.c.

◆ m0_cons_fop_fid_xc

struct m0_xcode_type * m0_cons_fop_fid_xc = &_m0_cons_fop_fid._type

Definition at line 10 of file console_fop_xc.c.

◆ m0_cons_fop_reply_xc

struct m0_xcode_type * m0_cons_fop_reply_xc = &_m0_cons_fop_reply._type

Definition at line 14 of file console_fop_xc.c.

◆ m0_cons_fop_test_xc

struct m0_xcode_type * m0_cons_fop_test_xc = &_m0_cons_fop_test._type

Definition at line 12 of file console_fop_xc.c.