Go to the source code of this file.
|
struct m0_ut_cm * | cm2utcm (struct m0_cm *cm) |
|
static int | cm_ut_service_start (struct m0_reqh_service *service) |
|
static void | cm_ut_service_stop (struct m0_reqh_service *service) |
|
static void | cm_ut_service_fini (struct m0_reqh_service *service) |
|
static void | cm_cp_ut_free (struct m0_cm_cp *cp) |
|
static bool | cm_cp_ut_invariant (const struct m0_cm_cp *cp) |
|
static struct m0_cm_cp * | cm_ut_cp_alloc (struct m0_cm *cm) |
|
static int | cm_ut_setup (struct m0_cm *cm) |
|
static int | cm_ut_prepare (struct m0_cm *cm) |
|
static int | cm_ut_start (struct m0_cm *cm) |
|
static void | cm_ut_stop (struct m0_cm *cm) |
|
static int | cm_ut_data_next (struct m0_cm *cm, struct m0_cm_cp *cp) |
|
static void | cm_ag_ut_fini (struct m0_cm_aggr_group *ag) |
|
static uint64_t | cm_ag_ut_local_cp_nr (const struct m0_cm_aggr_group *ag) |
|
static int | cm_ut_ag_alloc (struct m0_cm *cm, const struct m0_cm_ag_id *id, bool has_incoming, struct m0_cm_aggr_group **out) |
|
static int | cm_ut_ag_next (struct m0_cm *cm, const struct m0_cm_ag_id *id_curr, struct m0_cm_ag_id *id_next) |
|
static void | cm_ut_ha_msg (struct m0_cm *cm, struct m0_ha_msg *msg, int rc) |
|
static void | cm_ut_fini (struct m0_cm *cm) |
|
static int | cm_ut_service_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
|
| M0_CM_TYPE_DECLARE (cm_ut, M0_CM_UT_OPCODE, &cm_ut_service_type_ops, "cm_ut", 0) |
|
void | cm_ut_service_alloc_init (struct m0_reqh *reqh) |
|
void | cm_ut_service_cleanup () |
|
◆ cm2utcm()
◆ cm_ag_ut_fini()
◆ cm_ag_ut_local_cp_nr()
◆ cm_cp_ut_free()
static void cm_cp_ut_free |
( |
struct m0_cm_cp * |
cp | ) |
|
|
static |
◆ cm_cp_ut_invariant()
static bool cm_cp_ut_invariant |
( |
const struct m0_cm_cp * |
cp | ) |
|
|
static |
◆ cm_ut_ag_alloc()
◆ cm_ut_ag_next()
◆ cm_ut_cp_alloc()
◆ cm_ut_data_next()
static int cm_ut_data_next |
( |
struct m0_cm * |
cm, |
|
|
struct m0_cm_cp * |
cp |
|
) |
| |
|
static |
◆ cm_ut_fini()
static void cm_ut_fini |
( |
struct m0_cm * |
cm | ) |
|
|
static |
◆ cm_ut_ha_msg()
static void cm_ut_ha_msg |
( |
struct m0_cm * |
cm, |
|
|
struct m0_ha_msg * |
msg, |
|
|
int |
rc |
|
) |
| |
|
static |
◆ cm_ut_prepare()
static int cm_ut_prepare |
( |
struct m0_cm * |
cm | ) |
|
|
static |
◆ cm_ut_service_alloc_init()
void cm_ut_service_alloc_init |
( |
struct m0_reqh * |
reqh | ) |
|
◆ cm_ut_service_allocate()
◆ cm_ut_service_cleanup()
void cm_ut_service_cleanup |
( |
| ) |
|
◆ cm_ut_service_fini()
◆ cm_ut_service_start()
◆ cm_ut_service_stop()
◆ cm_ut_setup()
static int cm_ut_setup |
( |
struct m0_cm * |
cm | ) |
|
|
static |
◆ cm_ut_start()
static int cm_ut_start |
( |
struct m0_cm * |
cm | ) |
|
|
static |
◆ cm_ut_stop()
static void cm_ut_stop |
( |
struct m0_cm * |
cm | ) |
|
|
static |
◆ M0_CM_TYPE_DECLARE()
◆ ag_id_cnt
◆ ag_ids
◆ aggr_grps
◆ cm_ag_ut_ops
Initial value:= {
}
static void cm_ag_ut_fini(struct m0_cm_aggr_group *ag)
static uint64_t cm_ag_ut_local_cp_nr(const struct m0_cm_aggr_group *ag)
Definition at line 134 of file common_service.c.
◆ cm_cp_ut_ops
Initial value:= {
}
static bool cm_cp_ut_invariant(const struct m0_cm_cp *cp)
static void cm_cp_ut_free(struct m0_cm_cp *cp)
Definition at line 90 of file common_service.c.
◆ cm_ut
◆ cm_ut_cp
◆ cm_ut_ops
Initial value:= {
}
static void cm_ut_stop(struct m0_cm *cm)
static void cm_ut_ha_msg(struct m0_cm *cm, struct m0_ha_msg *msg, int rc)
static int cm_ut_prepare(struct m0_cm *cm)
static int cm_ut_ag_alloc(struct m0_cm *cm, const struct m0_cm_ag_id *id, bool has_incoming, struct m0_cm_aggr_group **out)
static int cm_ut_data_next(struct m0_cm *cm, struct m0_cm_cp *cp)
static void cm_ut_fini(struct m0_cm *cm)
static int cm_ut_ag_next(struct m0_cm *cm, const struct m0_cm_ag_id *id_curr, struct m0_cm_ag_id *id_next)
static int cm_ut_setup(struct m0_cm *cm)
static struct m0_cm_cp * cm_ut_cp_alloc(struct m0_cm *cm)
static int cm_ut_start(struct m0_cm *cm)
Definition at line 191 of file common_service.c.
◆ cm_ut_service
◆ cm_ut_service_ops
Initial value:= {
}
static void cm_ut_service_fini(struct m0_reqh_service *service)
static int cm_ut_service_start(struct m0_reqh_service *service)
static void cm_ut_service_stop(struct m0_reqh_service *service)
Definition at line 75 of file common_service.c.
◆ cm_ut_service_type_ops
Initial value:= {
}
static int cm_ut_service_allocate(struct m0_reqh_service **service, const struct m0_reqh_service_type *stype)
Definition at line 222 of file common_service.c.
◆ cmut_rmach_ctx
◆ lf
◆ lfname
const char lfname[] = "cm_ut.errlog" |
◆ motr
struct m0_motr motr = { .cc_pool_width = 10 } |
◆ rctx
◆ test_ready_fop
◆ ut_cm_id