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

Go to the source code of this file.

Data Structures

struct  _m0_ha_entrypoint_rep_fop_s
 
struct  _m0_ha_entrypoint_req_fop_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_ha_entrypoint_rep_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_ha_entrypoint_req_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_ha_entrypoint_rep_fop)==248U)
 
 M0_BASSERT (sizeof((struct m0_ha_entrypoint_rep_fop *) 0) ->hbp_quorum==4U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_quorum)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_confd_fids)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_confd_eps)==24U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_active_rm_fid)==40U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_active_rm_ep)==56U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_control)==72U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_link_params)==80U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_link_do_reconnect)==192U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_disconnected_previously)==200U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_rep_fop, hbp_cookie_actual)==208U)
 
 M0_BASSERT (sizeof(struct m0_ha_entrypoint_req_fop)==208U)
 
 M0_BASSERT (sizeof((struct m0_ha_entrypoint_req_fop *) 0) ->erf_first_request==4U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_first_request)==0U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_generation)==8U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_process_fid)==16U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_link_params)==32U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_git_rev_id)==144U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_pid)==160U)
 
 M0_BASSERT (offsetof(struct m0_ha_entrypoint_req_fop, erf_cookie_expected)==168U)
 
M0_INTERNAL void m0_xc_m0_ha_entrypoint_rep_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_ha_entrypoint_req_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_ha_entrypoint_fops_init (void)
 
M0_INTERNAL void m0_xc_ha_entrypoint_fops_fini (void)
 

Variables

struct m0_xcode_typem0_ha_entrypoint_rep_fop_xc = &_m0_ha_entrypoint_rep_fop._type
 
struct m0_xcode_typem0_ha_entrypoint_req_fop_xc = &_m0_ha_entrypoint_req_fop._type
 
static struct _m0_ha_entrypoint_rep_fop_s _m0_ha_entrypoint_rep_fop
 
static struct _m0_ha_entrypoint_req_fop_s _m0_ha_entrypoint_req_fop
 

Function Documentation

◆ M0_BASSERT() [1/23]

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

◆ M0_BASSERT() [2/23]

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

◆ M0_BASSERT() [3/23]

M0_BASSERT ( sizeof(struct m0_ha_entrypoint_rep_fop = =248U)

◆ M0_BASSERT() [4/23]

M0_BASSERT ( sizeof((struct m0_ha_entrypoint_rep_fop *) 0) ->  hbp_quorum = =4U)

◆ M0_BASSERT() [5/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_quorum = =0U)

◆ M0_BASSERT() [6/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_confd_fids = =8U)

◆ M0_BASSERT() [7/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_confd_eps = =24U)

◆ M0_BASSERT() [8/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_active_rm_fid = =40U)

◆ M0_BASSERT() [9/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_active_rm_ep = =56U)

◆ M0_BASSERT() [10/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_control = =72U)

◆ M0_BASSERT() [11/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_link_params = =80U)

◆ M0_BASSERT() [12/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_link_do_reconnect = =192U)

◆ M0_BASSERT() [13/23]

◆ M0_BASSERT() [14/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_rep_fop, hbp_cookie_actual = =208U)

◆ M0_BASSERT() [15/23]

M0_BASSERT ( sizeof(struct m0_ha_entrypoint_req_fop = =208U)

◆ M0_BASSERT() [16/23]

M0_BASSERT ( sizeof((struct m0_ha_entrypoint_req_fop *) 0) ->  erf_first_request = =4U)

◆ M0_BASSERT() [17/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_first_request = =0U)

◆ M0_BASSERT() [18/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_generation = =8U)

◆ M0_BASSERT() [19/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_process_fid = =16U)

◆ M0_BASSERT() [20/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_link_params = =32U)

◆ M0_BASSERT() [21/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_git_rev_id = =144U)

◆ M0_BASSERT() [22/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_pid = =160U)

◆ M0_BASSERT() [23/23]

M0_BASSERT ( offsetof(struct m0_ha_entrypoint_req_fop, erf_cookie_expected = =168U)

◆ m0_xc_ha_entrypoint_fops_fini()

M0_INTERNAL void m0_xc_ha_entrypoint_fops_fini ( void  )

Definition at line 361 of file entrypoint_fops_xc.c.

◆ m0_xc_ha_entrypoint_fops_init()

M0_INTERNAL void m0_xc_ha_entrypoint_fops_init ( void  )

Definition at line 355 of file entrypoint_fops_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_ha_entrypoint_rep_fop_struct_init()

M0_INTERNAL void m0_xc_m0_ha_entrypoint_rep_fop_struct_init ( void  )

Definition at line 90 of file entrypoint_fops_xc.c.

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

◆ m0_xc_m0_ha_entrypoint_req_fop_struct_init()

M0_INTERNAL void m0_xc_m0_ha_entrypoint_req_fop_struct_init ( void  )

Definition at line 245 of file entrypoint_fops_xc.c.

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

Variable Documentation

◆ _m0_ha_entrypoint_rep_fop

struct _m0_ha_entrypoint_rep_fop_s _m0_ha_entrypoint_rep_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_entrypoint_rep_fop",
.xct_sizeof = sizeof (struct m0_ha_entrypoint_rep_fop),
.xct_nr = 10,
}
}

◆ _m0_ha_entrypoint_req_fop

struct _m0_ha_entrypoint_req_fop_s _m0_ha_entrypoint_req_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_ha_entrypoint_req_fop",
.xct_sizeof = sizeof (struct m0_ha_entrypoint_req_fop),
.xct_nr = 7,
}
}

◆ m0_ha_entrypoint_rep_fop_xc

struct m0_xcode_type * m0_ha_entrypoint_rep_fop_xc = &_m0_ha_entrypoint_rep_fop._type

Definition at line 10 of file entrypoint_fops_xc.c.

◆ m0_ha_entrypoint_req_fop_xc

struct m0_xcode_type * m0_ha_entrypoint_req_fop_xc = &_m0_ha_entrypoint_req_fop._type

Definition at line 11 of file entrypoint_fops_xc.c.