static struct m0_be_active_record_domain dummy
M0_INTERNAL int m0_be_ut_backend_init_cfg(struct m0_be_ut_backend *ut_be, const struct m0_be_domain_cfg *cfg, bool mkfs)
M0_INTERNAL bool m0_be_active_record_domain__invariant(struct m0_be_active_record_domain *dom)
M0_INTERNAL void m0_be_tx_fini(struct m0_be_tx *tx)
M0_INTERNAL void m0_be_active_record_domain_fini(struct m0_be_active_record_domain *dom)
M0_INTERNAL void m0_be_active_record_domain_init(struct m0_be_active_record_domain *dom, struct m0_be_seg *seg)
M0_INTERNAL struct m0_be_seg * m0_be_domain_seg0_get(struct m0_be_domain *dom)
static struct m0_be_ut_backend ut_be
M0_INTERNAL int m0_be_active_record_del(const char *subsys, struct m0_be_active_record *rec, struct m0_be_tx *tx)
M0_INTERNAL void m0_be_tx_prep(struct m0_be_tx *tx, const struct m0_be_tx_credit *credit)
M0_INTERNAL struct m0 * m0_get(void)
void m0_be_ut_actrec_test(void)
static struct m0_be_active_record_domain * dom_created
M0_INTERNAL void m0_be_active_record_credit(struct m0_be_active_record *rec, enum m0_be_active_record_op op, struct m0_be_tx_credit *accum)
struct m0_reqh * bec_reqh
M0_INTERNAL int m0_be_active_record_destroy(struct m0_be_active_record *rec, struct m0_be_tx *tx)
static void actrec_mkfs(void)
static struct m0_be_active_record_domain * dom
M0_INTERNAL int m0_be_active_record_add(const char *subsys, struct m0_be_active_record *rec, struct m0_be_tx *tx)
M0_INTERNAL void m0_be_tx_credit_mac(struct m0_be_tx_credit *c, const struct m0_be_tx_credit *c1, m0_bcount_t k)
static void ut_tx_open(struct m0_be_tx *tx, struct m0_be_tx_credit *credit)
M0_INTERNAL int m0_be_tx_exclusive_open_sync(struct m0_be_tx *tx)
static void actrec_fini(void)
#define M0_BUF_INITS(str)
M0_INTERNAL void m0_be_active_record_domain_credit(struct m0_be_active_record_domain *dom, enum m0_be_active_record_domain_op op, uint8_t subsys_nr, struct m0_be_tx_credit *accum)
struct m0_be_domain but_dom
static void actrec_case(void)
static void actrec_init(void)
struct m0_be_domain_cfg but_dom_cfg
M0_INTERNAL int m0_be_active_record_domain_destroy(struct m0_be_active_record_domain *dom, struct m0_be_tx *tx)
#define m0_be_active_record_domain_create(dom, tx, seg,...)
void m0_be_ut_tx_init(struct m0_be_tx *tx, struct m0_be_ut_backend *ut_be)
static struct m0_be_seg * seg0
void m0_be_ut_backend_fini(struct m0_be_ut_backend *ut_be)
struct m0_be_engine_cfg bc_engine
struct m0_be_seg * ard_seg
M0_INTERNAL void m0_be_tx_close_sync(struct m0_be_tx *tx)
M0_INTERNAL int m0_be_active_record_create(struct m0_be_active_record **rec, struct m0_be_tx *tx, struct m0_be_active_record_domain *ar_dom)
static void add(struct m0_addb2_mach *mach, uint64_t id, int n, const uint64_t *value)