21 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0 39 M0_ENTRY(
"suffix: %s, data: %p, log0: %p", suffix,
data->b_addr, log0);
42 m0_reqh_lockers_set(
reqh,
key, log0);
64 static const char *logid =
"0001";
#define M0_BE_TX_CREDIT_PTR(ptr)
void m0_be_0type_add_credit(struct m0_be_domain *dom, const struct m0_be_0type *zt, const char *suffix, const struct m0_buf *data, struct m0_be_tx_credit *credit)
static struct m0_sm_group * grp
M0_INTERNAL void m0_be_tx_fini(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)
struct m0_be_0type m0_be_dtm0
static void dtm0_log_fini(struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL int m0_be_dtm0_log_create(struct m0_be_tx *tx, struct m0_be_seg *seg, struct m0_be_dtm0_log **out)
M0_INTERNAL void m0_be_tx_credit_add(struct m0_be_tx_credit *c0, const struct m0_be_tx_credit *c1)
static struct m0_stob_domain * dom
M0_INTERNAL void m0_be_dtm0_log_destroy(struct m0_be_tx *tx, struct m0_be_dtm0_log **log)
M0_INTERNAL int m0_be_tx_exclusive_open_sync(struct m0_be_tx *tx)
static int dtm0_log_init(struct m0_be_domain *dom, const char *suffix, const struct m0_buf *data)
int m0_be_0type_add(struct m0_be_0type *zt, struct m0_be_domain *dom, struct m0_be_tx *tx, const char *suffix, const struct m0_buf *data)
M0_INTERNAL void m0_be_tx_init(struct m0_be_tx *tx, uint64_t tid, struct m0_be_domain *dom, struct m0_sm_group *sm_group, m0_be_tx_cb_t persistent, m0_be_tx_cb_t discarded, void(*filler)(struct m0_be_tx *tx, void *payload), void *datum)
#define M0_BUF_INIT_PTR(p)
#define M0_ALLOC_PTR(ptr)
M0_INTERNAL void m0_be_dtm0_log_credit(enum m0_be_dtm0_log_credit_op op, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload, struct m0_be_seg *seg, struct m0_dtm0_log_rec *rec, struct m0_be_tx_credit *accum)
static struct m0_be_seg * seg
M0_INTERNAL int m0_dtm0_log_create(struct m0_sm_group *grp, struct m0_be_domain *bedom, struct m0_be_seg *seg)
M0_INTERNAL void m0_be_tx_close_sync(struct m0_be_tx *tx)