22 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT 49 END = 0xbcbcbcbcbcbcb7bc
55 return t0->tr_nr ==
t1->tr_nr &&
57 t0->tr_body[
i] ==
t1->tr_body[
i] ||
293 for (
i = 0;
i < 4; ++
i)
314 for (
i = 0;
i < trace->
tr_nr;
i += 3) {
316 (0x2100000000000000 | (
total +
i / 3)));
390 for (;
i < trace->
tr_nr; ++
i) {
450 #undef M0_TRACE_SUBSYSTEM
static struct m0_addb2_mach * m
static void sensor_depth(void)
void m0_addb2_mach_fini(struct m0_addb2_mach *mach)
static void push0_pop(void)
static struct m0_addb2_mach * mach
static void pushN_popN(void)
static const struct m0_addb2_trace * busy[1000]
void mach_put(struct m0_addb2_mach *m)
void m0_addb2_trace_done(const struct m0_addb2_trace *ctrace)
static int sensor_submit(const struct m0_addb2_mach *mach, struct m0_addb2_trace *trace)
void m0_addb2_push(uint64_t id, int n, const uint64_t *value)
static const struct m0_addb2_mach_ops null_ops
void(* idle)(const struct m0_addb2_mach *mach)
static bool trace_eq(const struct m0_addb2_trace *t0, const struct m0_addb2_trace *t1)
static void push5_pop(void)
const uint64_t SENSOR_MARKER
void m0_addb2_mach_stop(struct m0_addb2_mach *mach)
static void add_var(void)
void m0_addb2_sensor_add(struct m0_addb2_sensor *s, uint64_t id, unsigned nr, int idx, const struct m0_addb2_sensor_ops *ops)
static void push_pop(void)
void m0_addb2_add(uint64_t id, int n, const uint64_t *value)
static int full_submit(const struct m0_addb2_mach *mach, struct m0_addb2_trace *trace)
struct m0_addb2_mach * mach_set(int(*s)(const struct m0_addb2_mach *, struct m0_addb2_trace *))
void m0_addb2_pop(uint64_t id)
static void init_fini(void)
#define m0_forall(var, nr,...)
static const struct m0_addb2_sensor_ops sensor_ops
static void stop_idle(void)
static int check_submit(const struct m0_addb2_mach *mach, struct m0_addb2_trace *trace)
static struct m0_addb2_trace * shouldbe
int fill_one(struct m0_addb2_mach *m)
static struct m0_addb2_source * s
void idle_idle(const struct m0_addb2_mach *mach)
struct m0_addb2_mach * m0_addb2_mach_init(const struct m0_addb2_mach_ops *ops, void *cookie)
struct m0_ut_suite addb2_base_ut