Go to the source code of this file.
◆ tw_fom_phase
◆ tw_test
Enumerator |
---|
TW_TEST_IMMED_SUCCESS | |
TW_TEST_DELAYED_SUCCESS | |
TW_TEST_IMMED_TIMEOUT | |
TW_TEST_DELAYED_TIMEOUT | |
TW_TEST_IMMED_UNREACHABLE | |
TW_TEST_DELAYED_UNREACHABLE | |
Definition at line 33 of file fom_timedwait_ut.c.
◆ delayed_success()
static void delayed_success |
( |
void |
| ) |
|
|
static |
◆ delayed_timeout()
static void delayed_timeout |
( |
void |
| ) |
|
|
static |
◆ delayed_unreachable()
static void delayed_unreachable |
( |
void |
| ) |
|
|
static |
◆ fom_reschedule()
static void fom_reschedule |
( |
struct tw_fom * |
fom | ) |
|
|
static |
◆ immediate_success()
static void immediate_success |
( |
void |
| ) |
|
|
static |
◆ immediate_timeout()
static void immediate_timeout |
( |
void |
| ) |
|
|
static |
◆ immediate_unreachable()
static void immediate_unreachable |
( |
void |
| ) |
|
|
static |
◆ reqh_fini()
static void reqh_fini |
( |
void |
| ) |
|
|
static |
◆ reqh_init()
static void reqh_init |
( |
void |
| ) |
|
|
static |
◆ reqh_start()
static void reqh_start |
( |
void |
| ) |
|
|
static |
◆ reqh_stop()
static void reqh_stop |
( |
void |
| ) |
|
|
static |
◆ tw_fini()
static void tw_fini |
( |
struct m0_fom * |
fom0 | ) |
|
|
static |
◆ tw_fom_create()
◆ tw_fom_destroy()
static void tw_fom_destroy |
( |
struct tw_fom * |
fom | ) |
|
|
static |
◆ tw_fom_fini()
static void tw_fom_fini |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ tw_fom_home_locality()
static size_t tw_fom_home_locality |
( |
const struct m0_fom * |
fom | ) |
|
|
static |
◆ tw_fom_start()
static void tw_fom_start |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ tw_fom_tick()
static int tw_fom_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ tw_fom_timeout_signal()
static void tw_fom_timeout_signal |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ tw_init()
◆ tw_test_suite_init()
int tw_test_suite_init |
( |
void |
| ) |
|
◆ twsvc_fini()
◆ twsvc_start()
◆ twsvc_stop()
◆ twsvc_type_allocate()
◆ wakeup()
◆ fom_timedwait_ut
Initial value:= {
.ts_name = "fom-timedwait-ut",
.ts_tests = {
}
}
static void delayed_unreachable(void)
static void delayed_success(void)
static void immediate_success(void)
static void delayed_timeout(void)
int tw_test_suite_init(void)
static void immediate_timeout(void)
static void immediate_unreachable(void)
Definition at line 444 of file fom_timedwait_ut.c.
◆ tw_fom_ops
Initial value:= {
}
static int tw_fom_tick(struct m0_fom *fom)
static size_t tw_fom_home_locality(const struct m0_fom *fom)
static void tw_fom_fini(struct m0_fom *fom)
Definition at line 94 of file fom_timedwait_ut.c.
◆ tw_fom_phases
Initial value:= {
.sd_name = "init",
},
.sd_name = "phase1",
},
.sd_name = "phase2",
},
.sd_name = "finish",
}
}
Definition at line 59 of file fom_timedwait_ut.c.
◆ tw_fom_type_ops
◆ tw_fomt
◆ tw_sm_conf
Initial value:= {
.scf_name = "tw_fom",
}
static struct m0_sm_state_descr tw_fom_phases[]
Definition at line 79 of file fom_timedwait_ut.c.
◆ twreqh
◆ twsvc
◆ twsvc_ops
Initial value:= {
}
static void twsvc_fini(struct m0_reqh_service *svc)
int m0_reqh_service_async_start_simple(struct m0_reqh_service_start_async_ctx *asc)
static int twsvc_start(struct m0_reqh_service *svc)
static void twsvc_stop(struct m0_reqh_service *svc)
Definition at line 112 of file fom_timedwait_ut.c.
◆ twsvc_type_ops
Initial value:= {
}
static int twsvc_type_allocate(struct m0_reqh_service **svc, const struct m0_reqh_service_type *stype)
Definition at line 143 of file fom_timedwait_ut.c.
◆ ut_tw_service_type
Initial value:= {
.rst_name = "tw_ut",
.rst_typecode = M0_CST_DS1
}
static const struct m0_reqh_service_type_ops twsvc_type_ops
Definition at line 147 of file fom_timedwait_ut.c.