Motr  M0
keepalive_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "motr/keepalive.h"
#include "motr/keepalive_xc.h"
Include dependency graph for keepalive_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_ha_msg_keepalive_req_s
 
struct  _m0_ha_msg_keepalive_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_ha_msg_keepalive_req_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_msg_keepalive_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_ha_msg_keepalive_req)==16U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_keepalive_req *) 0) ->kaq_id==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_keepalive_req, kaq_id)==0U)
 
 M0_BASSERT (sizeof(struct m0_ha_msg_keepalive_rep)==24U)
 
 M0_BASSERT (sizeof((struct m0_ha_msg_keepalive_rep *) 0) ->kap_id==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_keepalive_rep, kap_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_msg_keepalive_rep, kap_counter)==16U)
 
M0_INTERNAL void m0_xc_m0_ha_msg_keepalive_req_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_msg_keepalive_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_motr_keepalive_init (void)
 
M0_INTERNAL void m0_xc_motr_keepalive_fini (void)
 

Variables

struct m0_xcode_typem0_ha_msg_keepalive_req_xc = &_m0_ha_msg_keepalive_req._type
 
struct m0_xcode_typem0_ha_msg_keepalive_rep_xc = &_m0_ha_msg_keepalive_rep._type
 
static struct _m0_ha_msg_keepalive_req_s _m0_ha_msg_keepalive_req
 
static struct _m0_ha_msg_keepalive_rep_s _m0_ha_msg_keepalive_rep
 

Function Documentation

◆ M0_BASSERT() [1/9]

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

◆ M0_BASSERT() [2/9]

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

◆ M0_BASSERT() [3/9]

M0_BASSERT ( sizeof(struct m0_ha_msg_keepalive_req = =16U)

◆ M0_BASSERT() [4/9]

M0_BASSERT ( sizeof((struct m0_ha_msg_keepalive_req *) 0) ->  kaq_id = =16U)

◆ M0_BASSERT() [5/9]

M0_BASSERT ( offsetof(struct m0_ha_msg_keepalive_req, kaq_id = =0U)

◆ M0_BASSERT() [6/9]

M0_BASSERT ( sizeof(struct m0_ha_msg_keepalive_rep = =24U)

◆ M0_BASSERT() [7/9]

M0_BASSERT ( sizeof((struct m0_ha_msg_keepalive_rep *) 0) ->  kap_id = =16U)

◆ M0_BASSERT() [8/9]

M0_BASSERT ( offsetof(struct m0_ha_msg_keepalive_rep, kap_id = =0U)

◆ M0_BASSERT() [9/9]

M0_BASSERT ( offsetof(struct m0_ha_msg_keepalive_rep, kap_counter = =16U)

◆ m0_xc_m0_ha_msg_keepalive_rep_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_keepalive_rep_struct_init ( void  )

Definition at line 82 of file keepalive_xc.c.

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

◆ m0_xc_m0_ha_msg_keepalive_req_struct_init()

M0_INTERNAL void m0_xc_m0_ha_msg_keepalive_req_struct_init ( void  )

Definition at line 62 of file keepalive_xc.c.

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

◆ m0_xc_motr_keepalive_fini()

M0_INTERNAL void m0_xc_motr_keepalive_fini ( void  )

Definition at line 123 of file keepalive_xc.c.

◆ m0_xc_motr_keepalive_init()

M0_INTERNAL void m0_xc_motr_keepalive_init ( void  )

Definition at line 117 of file keepalive_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_ha_msg_keepalive_rep

struct _m0_ha_msg_keepalive_rep_s _m0_ha_msg_keepalive_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_msg_keepalive_rep",
.xct_sizeof = sizeof (struct m0_ha_msg_keepalive_rep),
.xct_nr = 2,
}
}

◆ _m0_ha_msg_keepalive_req

struct _m0_ha_msg_keepalive_req_s _m0_ha_msg_keepalive_req
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_msg_keepalive_req",
.xct_sizeof = sizeof (struct m0_ha_msg_keepalive_req),
.xct_nr = 1,
}
}

◆ m0_ha_msg_keepalive_rep_xc

struct m0_xcode_type * m0_ha_msg_keepalive_rep_xc = &_m0_ha_msg_keepalive_rep._type

Definition at line 11 of file keepalive_xc.c.

◆ m0_ha_msg_keepalive_req_xc

struct m0_xcode_type * m0_ha_msg_keepalive_req_xc = &_m0_ha_msg_keepalive_req._type

Definition at line 10 of file keepalive_xc.c.