|
| M0_TL_DESCR_DEFINE (lrec, "DTM0 Log", static, struct m0_dtm0_log_rec, u.dlr_tlink, dlr_magic, M0_BE_DTM0_LOG_REC_MAGIX, M0_BE_DTM0_LOG_MAGIX) |
|
| M0_TL_DEFINE (lrec, static, struct m0_dtm0_log_rec) |
|
| M0_BE_LIST_DESCR_DEFINE (lrec, "DTM0 PLog", static, struct m0_dtm0_log_rec, u.dlr_link, dlr_magic, M0_BE_DTM0_LOG_REC_MAGIX, M0_BE_DTM0_LOG_MAGIX) |
|
| M0_BE_LIST_DEFINE (lrec, static, struct m0_dtm0_log_rec) |
|
static bool | m0_be_dtm0_log__invariant (const struct m0_be_dtm0_log *log) |
|
static bool | m0_dtm0_log_rec__invariant (const struct m0_dtm0_log_rec *rec) |
|
M0_INTERNAL int | m0_be_dtm0_log_alloc (struct m0_be_dtm0_log **out) |
|
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 void | m0_be_dtm0_log_fini (struct m0_be_dtm0_log *log) |
|
M0_INTERNAL void | m0_be_dtm0_log_free (struct m0_be_dtm0_log **in_log) |
|
static void | log_rec_partial_insert_credit (struct m0_dtm0_tx_desc *txd, struct m0_be_seg *seg, struct m0_be_tx_credit *accum) |
|
static void | log_rec_full_insert_credit (struct m0_dtm0_tx_desc *txd, struct m0_buf *payload, struct m0_be_seg *seg, struct m0_be_tx_credit *accum) |
|
static void | log_rec_del_credit (struct m0_be_seg *seg, struct m0_dtm0_log_rec *rec, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | log_destroy_credit (struct m0_be_seg *seg, struct m0_be_tx_credit *accum) |
|
static void | log_create_credit (struct m0_be_seg *seg, struct m0_be_tx_credit *accum) |
|
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) |
|
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_dtm0_log_destroy (struct m0_be_tx *tx, struct m0_be_dtm0_log **log) |
|
M0_INTERNAL struct m0_dtm0_log_rec * | m0_be_dtm0_log_find (struct m0_be_dtm0_log *log, const struct m0_dtm0_tid *id) |
|
static int | log_rec_init (struct m0_dtm0_log_rec **rec, struct m0_be_tx *tx, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload) |
|
static int | plog_rec_init (struct m0_dtm0_log_rec **out, struct m0_be_tx *tx, struct m0_be_seg *seg, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload) |
|
static void | log_rec_fini (struct m0_dtm0_log_rec **rec, struct m0_be_tx *tx) |
|
static void | plog_rec_fini (struct m0_dtm0_log_rec **dl_lrec, struct m0_be_dtm0_log *log, struct m0_be_tx *tx) |
|
static int | dtm0_log__insert (struct m0_be_dtm0_log *log, struct m0_be_tx *tx, struct m0_dtm0_tx_desc *txd, struct m0_buf *payload) |
|
static int | dtm0_log__set (struct m0_be_dtm0_log *log, struct m0_be_tx *tx, const struct m0_dtm0_tx_desc *txd, const struct m0_buf *payload, struct m0_dtm0_log_rec *rec) |
|
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 int | m0_be_dtm0_log_prune (struct m0_be_dtm0_log *log, struct m0_be_tx *tx, const struct m0_dtm0_tid *id) |
|
M0_INTERNAL void | m0_be_dtm0_log_clear (struct m0_be_dtm0_log *log) |
|
M0_INTERNAL int | m0_be_dtm0_volatile_log_insert (struct m0_be_dtm0_log *log, struct m0_dtm0_log_rec *rec) |
|
M0_INTERNAL void | m0_be_dtm0_volatile_log_update (struct m0_be_dtm0_log *log, struct m0_dtm0_log_rec *rec) |
|
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 *accum) |
|
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) |
|
M0_INTERNAL void | m0_be_dtm0_log_pmsg_post (struct m0_be_dtm0_log *log, struct m0_fop *fop) |
|