Motr  M0
device_fops_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "sss/device_fops.h"
#include "sss/device_fops_xc.h"
Include dependency graph for device_fops_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_sss_device_fop_s
 
struct  _m0_sss_device_fop_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_sss_device_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_sss_device_fop_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_sss_device_fop)==24U)
 
 M0_BASSERT (sizeof((struct m0_sss_device_fop *) 0) ->ssd_cmd==4U)
 
 M0_BASSERT (offsetof(struct m0_sss_device_fop, ssd_cmd)==0U)
 
 M0_BASSERT (offsetof(struct m0_sss_device_fop, ssd_fid)==8U)
 
 M0_BASSERT (sizeof(struct m0_sss_device_fop_rep)==8U)
 
 M0_BASSERT (sizeof((struct m0_sss_device_fop_rep *) 0) ->ssdp_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_sss_device_fop_rep, ssdp_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_sss_device_fop_rep, ssdp_ha_state)==4U)
 
M0_INTERNAL void m0_xc_m0_sss_device_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_sss_device_fop_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_sss_device_fops_init (void)
 
M0_INTERNAL void m0_xc_sss_device_fops_fini (void)
 

Variables

struct m0_xcode_typem0_sss_device_fop_xc = &_m0_sss_device_fop._type
 
struct m0_xcode_typem0_sss_device_fop_rep_xc = &_m0_sss_device_fop_rep._type
 
static struct _m0_sss_device_fop_s _m0_sss_device_fop
 
static struct _m0_sss_device_fop_rep_s _m0_sss_device_fop_rep
 

Function Documentation

◆ M0_BASSERT() [1/10]

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

◆ M0_BASSERT() [2/10]

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

◆ M0_BASSERT() [3/10]

M0_BASSERT ( sizeof(struct m0_sss_device_fop = =24U)

◆ M0_BASSERT() [4/10]

M0_BASSERT ( sizeof((struct m0_sss_device_fop *) 0) ->  ssd_cmd = =4U)

◆ M0_BASSERT() [5/10]

M0_BASSERT ( offsetof(struct m0_sss_device_fop, ssd_cmd = =0U)

◆ M0_BASSERT() [6/10]

M0_BASSERT ( offsetof(struct m0_sss_device_fop, ssd_fid = =8U)

◆ M0_BASSERT() [7/10]

M0_BASSERT ( sizeof(struct m0_sss_device_fop_rep = =8U)

◆ M0_BASSERT() [8/10]

M0_BASSERT ( sizeof((struct m0_sss_device_fop_rep *) 0) ->  ssdp_rc = =4U)

◆ M0_BASSERT() [9/10]

M0_BASSERT ( offsetof(struct m0_sss_device_fop_rep, ssdp_rc = =0U)

◆ M0_BASSERT() [10/10]

M0_BASSERT ( offsetof(struct m0_sss_device_fop_rep, ssdp_ha_state = =4U)

◆ m0_xc_m0_sss_device_fop_rep_struct_init()

M0_INTERNAL void m0_xc_m0_sss_device_fop_rep_struct_init ( void  )

Definition at line 99 of file device_fops_xc.c.

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

◆ m0_xc_m0_sss_device_fop_struct_init()

M0_INTERNAL void m0_xc_m0_sss_device_fop_struct_init ( void  )

Definition at line 64 of file device_fops_xc.c.

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

◆ m0_xc_sss_device_fops_fini()

M0_INTERNAL void m0_xc_sss_device_fops_fini ( void  )

Definition at line 140 of file device_fops_xc.c.

◆ m0_xc_sss_device_fops_init()

M0_INTERNAL void m0_xc_sss_device_fops_init ( void  )

Definition at line 134 of file device_fops_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_sss_device_fop

struct _m0_sss_device_fop_s _m0_sss_device_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_sss_device_fop",
.xct_sizeof = sizeof (struct m0_sss_device_fop),
.xct_nr = 2,
}
}

◆ _m0_sss_device_fop_rep

struct _m0_sss_device_fop_rep_s _m0_sss_device_fop_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_sss_device_fop_rep",
.xct_sizeof = sizeof (struct m0_sss_device_fop_rep),
.xct_nr = 2,
}
}

◆ m0_sss_device_fop_rep_xc

struct m0_xcode_type * m0_sss_device_fop_rep_xc = &_m0_sss_device_fop_rep._type

Definition at line 11 of file device_fops_xc.c.

◆ m0_sss_device_fop_xc

struct m0_xcode_type * m0_sss_device_fop_xc = &_m0_sss_device_fop._type

Definition at line 10 of file device_fops_xc.c.