23 #ifndef __MOTR_BE_DTM0_LOG_H__ 24 #define __MOTR_BE_DTM0_LOG_H__
M0_INTERNAL bool m0_be_dtm0_plog_can_prune(struct m0_be_dtm0_log *log, const struct m0_dtm0_tid *id, struct m0_be_tx_credit *cred)
M0_INTERNAL void m0_be_dtm0_log_free(struct m0_be_dtm0_log **log)
struct m0_dtm0_dtx dlr_dtx
struct m0_dtm0_tx_desc dlr_txd
struct m0_be_seg * dl_seg
M0_INTERNAL void m0_be_dtm0_log_fini(struct m0_be_dtm0_log *log)
M0_INTERNAL void m0_be_dtm0_volatile_log_update(struct m0_be_dtm0_log *log, struct m0_dtm0_log_rec *rec)
struct m0_be_list_link dlr_link
M0_INTERNAL int m0_be_dtm0_plog_prune(struct m0_be_dtm0_log *log, struct m0_be_tx *tx, const struct m0_dtm0_tid *id)
struct m0_buf dlr_payload
M0_INTERNAL void m0_be_dtm0_log_clear(struct m0_be_dtm0_log *log)
struct m0_be_list * dl_persist
M0_INTERNAL int m0_be_dtm0_volatile_log_insert(struct m0_be_dtm0_log *log, struct m0_dtm0_log_rec *rec)
M0_INTERNAL int m0_be_dtm0_log_init(struct m0_be_dtm0_log *log, struct m0_be_seg *seg, struct m0_dtm0_clk_src *cs, bool is_plog)
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 int m0_be_dtm0_log_alloc(struct m0_be_dtm0_log **log)
M0_INTERNAL void m0_be_dtm0_log_pmsg_post(struct m0_be_dtm0_log *log, struct m0_fop *fop)
union m0_dtm0_log_rec::@30 u
union m0_be_dtm0_log::@31 u
M0_INTERNAL void m0_be_dtm0_log_destroy(struct m0_be_tx *tx, struct m0_be_dtm0_log **log)
M0_INTERNAL int m0_be_dtm0_log_prune(struct m0_be_dtm0_log *log, struct m0_be_tx *tx, const struct m0_dtm0_tid *id)
struct m0_tlink dlr_tlink
M0_INTERNAL int m0_be_dtm0_log_update(struct m0_be_dtm0_log *log, struct m0_be_tx *tx, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload)
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_fop * fop
struct m0_dtm0_clk_src * dl_cs
static struct m0_be_seg * seg
M0_INTERNAL struct m0_dtm0_log_rec * m0_be_dtm0_log_find(struct m0_be_dtm0_log *log, const struct m0_dtm0_tid *id)