|
Motr
M0
|
#include "ut/ut.h"#include "lib/finject.h"#include "lib/thread.h"#include "addb2/addb2.h"#include "addb2/ut/common.h"
Go to the source code of this file.
Macros | |
| #define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT |
Functions | |
| static int | test_submit (struct m0_addb2_mach *mach, struct m0_addb2_trace_obj *obj) |
| static void | test_idle (struct m0_addb2_mach *mach) |
| static struct m0_addb2_mach * | getmach (void) |
| struct m0_addb2_mach * | mach_set (int(*s)(const struct m0_addb2_mach *, struct m0_addb2_trace *)) |
| void | mach_fini (struct m0_addb2_mach *m) |
| void | mach_put (struct m0_addb2_mach *m) |
| static void | snapshot (struct m0_addb2_sensor *s, uint64_t *area) |
| static void | sensor_fini (struct m0_addb2_sensor *s) |
| int | fill_one (struct m0_addb2_mach *m) |
| bool | valeq (const struct m0_addb2_value *v0, const struct m0_addb2_value *v1) |
| bool | receq (const struct m0_addb2_record *r0, const struct small_record *r1) |
Variables | |
| int | submitted = 0 |
| int(* | submit )(const struct m0_addb2_mach *mach, struct m0_addb2_trace *trace) |
| void(* | idle )(const struct m0_addb2_mach *mach) |
| static const struct m0_addb2_mach_ops | test_mach_ops |
| struct m0_addb2_mach *(* | m0_addb2__mach )(void) |
| static struct m0_thread * | main_thread |
| static struct m0_addb2_mach * | __mach |
| const uint64_t | SENSOR_MARKER = 0x5555555555555555 |
| uint64_t | seq = 0 |
| bool | sensor_finalised |
| const struct m0_addb2_sensor_ops | sensor_ops |
|
static |
| void mach_put | ( | struct m0_addb2_mach * | m | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |