25 #ifndef __MOTR_ADDB2_UT_COMMON_H__ 26 #define __MOTR_ADDB2_UT_COMMON_H__ 62 #define VAL(id, ...) { \ 64 .va_nr = ARRAY_SIZE(((const uint64_t[]) { __VA_ARGS__ })), \ 65 .va_data = ((const uint64_t[]) { __VA_ARGS__ } ) \ void mach_fini(struct m0_addb2_mach *m)
static struct m0_addb2_mach * m
struct m0_addb2_value ar_label[4]
static struct m0_addb2_mach * mach
int(* submit)(const struct m0_addb2_mach *mach, struct m0_addb2_trace *trace)
void mach_put(struct m0_addb2_mach *m)
void(* idle)(const struct m0_addb2_mach *mach)
const uint64_t SENSOR_MARKER
bool receq(const struct m0_addb2_record *r0, const struct small_record *r1)
struct m0_addb2_mach * mach_set(int(*s)(const struct m0_addb2_mach *, struct m0_addb2_trace *))
struct m0_addb2_value ar_val
const struct m0_addb2_sensor_ops sensor_ops
bool valeq(const struct m0_addb2_value *v0, const struct m0_addb2_value *v1)
int fill_one(struct m0_addb2_mach *m)
static struct m0_addb2_source * s