22 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF 26 #include "conf/onwire_xc.h" 32 #include "conf/flip_fop_xc.h" 34 #include "conf/load_fop_xc.h" 76 .
name =
"Configuration fetch request",
78 .
xt = m0_conf_fetch_xc,
86 .
name =
"Configuration fetch response",
88 .
xt = m0_conf_fetch_resp_xc,
95 .
name =
"Configuration update request",
97 .
xt = m0_conf_update_xc,
105 .
name =
"Configuration update response",
107 .
xt = m0_conf_update_resp_xc,
114 m0_xc_conf_load_fop_init();
122 .
name =
"Conf Load configure request",
124 .
xt = m0_fop_conf_load_xc,
133 .
name =
"Conf Load configure reply",
135 .
xt = m0_fop_conf_load_rep_xc,
141 m0_xc_conf_flip_fop_init();
149 .
name =
"Conf Flip configure request",
151 .
xt = m0_fop_conf_flip_xc,
160 .
name =
"Conf Flip configure reply",
162 .
xt = m0_fop_conf_flip_rep_xc,
182 m0_xc_conf_load_fop_fini();
198 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL int m0_confx_types_init(void)
static const struct m0_fom_type_ops confd_fom_ops
const struct m0_fom_type_ops conf_flip_fom_type_ops
#define M0_FOP_TYPE_INIT(ft,...)
struct m0_fop_type m0_fop_conf_flip_rep_fopt
struct m0_sm_conf conf_load_conf
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
void m0_fop_type_fini(struct m0_fop_type *fopt)
M0_INTERNAL void m0_sm_conf_extend(const struct m0_sm_state_descr *base, struct m0_sm_state_descr *sub, uint32_t nr)
struct m0_sm_state_descr conf_load_phases[]
static struct m0_xcode_type ** xt[]
struct m0_sm_conf conf_flip_conf
const struct m0_sm_conf m0_generic_conf
struct m0_fop_type m0_conf_update_resp_fopt
struct m0_reqh_service_type m0_confd_stype
struct m0_fop_type m0_fop_conf_load_fopt
struct m0_fop_type m0_fop_conf_load_rep_fopt
struct m0_fop_type m0_conf_update_fopt
struct m0_sm_state_descr conf_flip_phases[]
M0_INTERNAL void m0_conf_fops_fini(void)
M0_INTERNAL int m0_confd_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
M0_INTERNAL int m0_conf_fops_init(void)
struct m0_sm_state_descr * scf_state
const struct m0_fom_type_ops conf_load_fom_type_ops
struct m0_fop_type m0_fop_conf_flip_fopt
struct m0_fop_type m0_conf_fetch_resp_fopt
M0_INTERNAL void m0_confx_types_fini(void)
struct m0_fop_type m0_conf_fetch_fopt