Go to the source code of this file.
|
struct m0_reqh * | m0_ut__reqh_init (void) |
|
void | m0_ut__reqh_fini (void) |
|
static void | crud (struct m0_fom *fom, struct test_tree *tree, int k, int v) |
|
static void | insert (struct m0_fom *fom, struct test_tree *tree, int k, int v) |
|
static void | delete (struct m0_fom *fom, struct test_tree *tree, int k) |
|
static struct m0_co_context * | CO (struct m0_fom *fom) |
|
static struct m0_co_op * | OP (struct m0_fom *fom) |
|
static void | wait_for_coroutine_fom (void) |
|
static int | coroutine_fom_tick (struct m0_fom *fom, int *x, int *__unused) |
|
static void | test_run (void) |
|
void | m0_test_coroutine2 (void) |
|
◆ _S
Value: .sd_allowed = allowed \
}
int const char const void size_t int flags
◆ LR
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT |
◆ coroutine2_state
Enumerator |
---|
C2_INIT | |
C2_FINISH | |
C2_NR | |
Definition at line 38 of file coroutine2.c.
◆ CO()
◆ coroutine_fom_tick()
static int coroutine_fom_tick |
( |
struct m0_fom * |
fom, |
|
|
int * |
x, |
|
|
int * |
__unused |
|
) |
| |
|
static |
◆ crud()
static void crud |
( |
struct m0_fom * |
fom, |
|
|
struct test_tree * |
tree, |
|
|
int |
k, |
|
|
int |
v |
|
) |
| |
|
static |
◆ delete()
◆ insert()
static void insert |
( |
struct m0_fom * |
fom, |
|
|
struct test_tree * |
tree, |
|
|
int |
k, |
|
|
int |
v |
|
) |
| |
|
static |
◆ m0_test_coroutine2()
void m0_test_coroutine2 |
( |
void |
| ) |
|
◆ m0_ut__reqh_fini()
void m0_ut__reqh_fini |
( |
void |
| ) |
|
◆ m0_ut__reqh_init()
struct m0_reqh* m0_ut__reqh_init |
( |
void |
| ) |
|
◆ OP()
◆ test_run()
static void test_run |
( |
void |
| ) |
|
|
static |
◆ wait_for_coroutine_fom()
static void wait_for_coroutine_fom |
( |
void |
| ) |
|
|
static |
◆ coroutine2_conf
Initial value:= {
.scf_name = "coroutine2_states",
}
static struct m0_sm_state_descr coroutine2_states[C2_NR]
Definition at line 57 of file coroutine2.c.
◆ coroutine2_states
Initial value:= {
#define _S(name, flags, allowed)
}
#define _S(name, flags, allowed)
Definition at line 44 of file coroutine2.c.
◆ delete1
◆ delete2
◆ fom_context
◆ fom_lock
◆ fom_op
◆ fom_simple
◆ fom_tree
◆ insert1
◆ insert2
◆ ready