Motr  M0
link_fops_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "ha/link_fops.h"
#include "ha/link_fops_xc.h"
Include dependency graph for link_fops_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_ha_link_tags_s
 
struct  _m0_ha_link_msg_fop_s
 
struct  _m0_ha_link_msg_rep_fop_s
 
struct  _m0_ha_link_params_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_ha_link_tags_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_link_msg_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_link_msg_rep_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_link_params_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_ha_link_tags)==32U)
 
 M0_BASSERT (sizeof((struct m0_ha_link_tags *) 0) ->hlt_confirmed==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_tags, hlt_confirmed)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_tags, hlt_delivered)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_tags, hlt_next)==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_tags, hlt_assign)==24U)
 
 M0_BASSERT (sizeof(struct m0_ha_link_msg_fop)==24776U)
 
 M0_BASSERT (sizeof((struct m0_ha_link_msg_fop *) 0) ->lmf_msg_nr==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_msg_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_msg)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_id_local)==24704U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_id_remote)==24720U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_id_connection)==24736U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_out_next)==24752U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_in_delivered)==24760U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_fop, lmf_seq)==24768U)
 
 M0_BASSERT (sizeof(struct m0_ha_link_msg_rep_fop)==24U)
 
 M0_BASSERT (sizeof((struct m0_ha_link_msg_rep_fop *) 0) ->lmr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_rep_fop, lmr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_rep_fop, lmr_out_next)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_msg_rep_fop, lmr_in_delivered)==16U)
 
 M0_BASSERT (sizeof(struct m0_ha_link_params)==112U)
 
 M0_BASSERT (sizeof((struct m0_ha_link_params *) 0) ->hlp_id_local==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_params, hlp_id_local)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_params, hlp_id_remote)==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_params, hlp_id_connection)==32U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_params, hlp_tags_local)==48U)
 
 M0_BASSERT (offsetof(struct m0_ha_link_params, hlp_tags_remote)==80U)
 
M0_INTERNAL void m0_xc_m0_ha_link_tags_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_link_msg_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_link_msg_rep_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_link_params_struct_init (void)
 
M0_INTERNAL void m0_xc_ha_link_fops_init (void)
 
M0_INTERNAL void m0_xc_ha_link_fops_fini (void)
 

Variables

struct m0_xcode_typem0_ha_link_tags_xc = &_m0_ha_link_tags._type
 
struct m0_xcode_typem0_ha_link_msg_fop_xc = &_m0_ha_link_msg_fop._type
 
struct m0_xcode_typem0_ha_link_msg_rep_fop_xc = &_m0_ha_link_msg_rep_fop._type
 
struct m0_xcode_typem0_ha_link_params_xc = &_m0_ha_link_params._type
 
static struct _m0_ha_link_tags_s _m0_ha_link_tags
 
static struct _m0_ha_link_msg_fop_s _m0_ha_link_msg_fop
 
static struct _m0_ha_link_msg_rep_fop_s _m0_ha_link_msg_rep_fop
 
static struct _m0_ha_link_params_s _m0_ha_link_params
 

Function Documentation

◆ M0_BASSERT() [1/32]

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

◆ M0_BASSERT() [2/32]

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

◆ M0_BASSERT() [3/32]

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

◆ M0_BASSERT() [4/32]

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

◆ M0_BASSERT() [5/32]

M0_BASSERT ( sizeof(struct m0_ha_link_tags = =32U)

◆ M0_BASSERT() [6/32]

M0_BASSERT ( sizeof((struct m0_ha_link_tags *) 0) ->  hlt_confirmed = =8U)

◆ M0_BASSERT() [7/32]

M0_BASSERT ( offsetof(struct m0_ha_link_tags, hlt_confirmed = =0U)

◆ M0_BASSERT() [8/32]

M0_BASSERT ( offsetof(struct m0_ha_link_tags, hlt_delivered = =8U)

◆ M0_BASSERT() [9/32]

M0_BASSERT ( offsetof(struct m0_ha_link_tags, hlt_next = =16U)

◆ M0_BASSERT() [10/32]

M0_BASSERT ( offsetof(struct m0_ha_link_tags, hlt_assign = =24U)

◆ M0_BASSERT() [11/32]

M0_BASSERT ( sizeof(struct m0_ha_link_msg_fop = =24776U)

◆ M0_BASSERT() [12/32]

M0_BASSERT ( sizeof((struct m0_ha_link_msg_fop *) 0) ->  lmf_msg_nr = =8U)

◆ M0_BASSERT() [13/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_msg_nr = =0U)

◆ M0_BASSERT() [14/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_msg = =8U)

◆ M0_BASSERT() [15/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_id_local = =24704U)

◆ M0_BASSERT() [16/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_id_remote = =24720U)

◆ M0_BASSERT() [17/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_id_connection = =24736U)

◆ M0_BASSERT() [18/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_out_next = =24752U)

◆ M0_BASSERT() [19/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_in_delivered = =24760U)

◆ M0_BASSERT() [20/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_fop, lmf_seq = =24768U)

◆ M0_BASSERT() [21/32]

M0_BASSERT ( sizeof(struct m0_ha_link_msg_rep_fop = =24U)

◆ M0_BASSERT() [22/32]

M0_BASSERT ( sizeof((struct m0_ha_link_msg_rep_fop *) 0) ->  lmr_rc = =4U)

◆ M0_BASSERT() [23/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_rep_fop, lmr_rc = =0U)

◆ M0_BASSERT() [24/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_rep_fop, lmr_out_next = =8U)

◆ M0_BASSERT() [25/32]

M0_BASSERT ( offsetof(struct m0_ha_link_msg_rep_fop, lmr_in_delivered = =16U)

◆ M0_BASSERT() [26/32]

M0_BASSERT ( sizeof(struct m0_ha_link_params = =112U)

◆ M0_BASSERT() [27/32]

M0_BASSERT ( sizeof((struct m0_ha_link_params *) 0) ->  hlp_id_local = =16U)

◆ M0_BASSERT() [28/32]

M0_BASSERT ( offsetof(struct m0_ha_link_params, hlp_id_local = =0U)

◆ M0_BASSERT() [29/32]

M0_BASSERT ( offsetof(struct m0_ha_link_params, hlp_id_remote = =16U)

◆ M0_BASSERT() [30/32]

M0_BASSERT ( offsetof(struct m0_ha_link_params, hlp_id_connection = =32U)

◆ M0_BASSERT() [31/32]

M0_BASSERT ( offsetof(struct m0_ha_link_params, hlp_tags_local = =48U)

◆ M0_BASSERT() [32/32]

M0_BASSERT ( offsetof(struct m0_ha_link_params, hlp_tags_remote = =80U)

◆ m0_xc_ha_link_fops_fini()

M0_INTERNAL void m0_xc_ha_link_fops_fini ( void  )

Definition at line 466 of file link_fops_xc.c.

◆ m0_xc_ha_link_fops_init()

M0_INTERNAL void m0_xc_ha_link_fops_init ( void  )

Definition at line 458 of file link_fops_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_ha_link_msg_fop_struct_init()

M0_INTERNAL void m0_xc_m0_ha_link_msg_fop_struct_init ( void  )

Definition at line 203 of file link_fops_xc.c.

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

◆ m0_xc_m0_ha_link_msg_rep_fop_struct_init()

M0_INTERNAL void m0_xc_m0_ha_link_msg_rep_fop_struct_init ( void  )

Definition at line 328 of file link_fops_xc.c.

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

◆ m0_xc_m0_ha_link_params_struct_init()

M0_INTERNAL void m0_xc_m0_ha_link_params_struct_init ( void  )

Definition at line 378 of file link_fops_xc.c.

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

◆ m0_xc_m0_ha_link_tags_struct_init()

M0_INTERNAL void m0_xc_m0_ha_link_tags_struct_init ( void  )

Definition at line 138 of file link_fops_xc.c.

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

Variable Documentation

◆ _m0_ha_link_msg_fop

struct _m0_ha_link_msg_fop_s _m0_ha_link_msg_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_link_msg_fop",
.xct_sizeof = sizeof (struct m0_ha_link_msg_fop),
.xct_nr = 8,
}
}

◆ _m0_ha_link_msg_rep_fop

struct _m0_ha_link_msg_rep_fop_s _m0_ha_link_msg_rep_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_link_msg_rep_fop",
.xct_sizeof = sizeof (struct m0_ha_link_msg_rep_fop),
.xct_nr = 3,
}
}

◆ _m0_ha_link_params

struct _m0_ha_link_params_s _m0_ha_link_params
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_link_params",
.xct_sizeof = sizeof (struct m0_ha_link_params),
.xct_nr = 5,
}
}

◆ _m0_ha_link_tags

struct _m0_ha_link_tags_s _m0_ha_link_tags
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_link_tags",
.xct_sizeof = sizeof (struct m0_ha_link_tags),
.xct_nr = 4,
}
}

◆ m0_ha_link_msg_fop_xc

struct m0_xcode_type * m0_ha_link_msg_fop_xc = &_m0_ha_link_msg_fop._type

Definition at line 11 of file link_fops_xc.c.

◆ m0_ha_link_msg_rep_fop_xc

struct m0_xcode_type * m0_ha_link_msg_rep_fop_xc = &_m0_ha_link_msg_rep_fop._type

Definition at line 12 of file link_fops_xc.c.

◆ m0_ha_link_params_xc

struct m0_xcode_type * m0_ha_link_params_xc = &_m0_ha_link_params._type

Definition at line 13 of file link_fops_xc.c.

◆ m0_ha_link_tags_xc

struct m0_xcode_type * m0_ha_link_tags_xc = &_m0_ha_link_tags._type

Definition at line 10 of file link_fops_xc.c.