|
M0_INTERNAL void | m0_be_alloc (struct m0_be_allocator *a, struct m0_be_tx *tx, struct m0_be_op *op, void **ptr, m0_bcount_t size) |
|
M0_INTERNAL void | m0_be_alloc_aligned (struct m0_be_allocator *a, struct m0_be_tx *tx, struct m0_be_op *op, void **ptr, m0_bcount_t size, unsigned shift, uint64_t zonemask) |
|
M0_INTERNAL void | m0_be_allocator_credit (struct m0_be_allocator *a, enum m0_be_allocator_op optype, m0_bcount_t size, unsigned shift, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | m0_be_free (struct m0_be_allocator *a, struct m0_be_tx *tx, struct m0_be_op *op, void *ptr) |
|
M0_INTERNAL void | m0_be_free_aligned (struct m0_be_allocator *a, struct m0_be_tx *tx, struct m0_be_op *op, void *ptr) |
|
M0_INTERNAL void | m0_be_op_init (struct m0_be_op *op) |
|
M0_INTERNAL void | m0_be_op_fini (struct m0_be_op *op) |
|
M0_INTERNAL void | m0_be_op_wait (struct m0_be_op *op) |
|
M0_INTERNAL void | m0_be_op_active (struct m0_be_op *op) |
|
M0_INTERNAL void | m0_be_op_done (struct m0_be_op *op) |
|
M0_INTERNAL bool | m0_be_op_is_done (struct m0_be_op *op) |
|
M0_INTERNAL struct m0_be_allocator * | m0_be_seg_allocator (struct m0_be_seg *seg) |
|
M0_INTERNAL void | m0_be_seg_init (struct m0_be_seg *seg, struct m0_stob *stob, struct m0_be_domain *dom, uint64_t seg_id) |
|
M0_INTERNAL void | m0_be_seg_fini (struct m0_be_seg *seg) |
|
M0_INTERNAL int | m0_be_seg_open (struct m0_be_seg *seg) |
|
M0_INTERNAL void | m0_be_seg_close (struct m0_be_seg *seg) |
|
M0_INTERNAL bool | m0_be_seg_contains (const struct m0_be_seg *seg, const void *addr) |
|
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) |
|
M0_INTERNAL void | m0_be_tx_fini (struct m0_be_tx *tx) |
|
M0_INTERNAL void | m0_be_tx_get (struct m0_be_tx *tx) |
|
M0_INTERNAL void | m0_be_tx_put (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 void | m0_be_tx_payload_prep (struct m0_be_tx *tx, m0_bcount_t size) |
|
M0_INTERNAL void | m0_be_tx_open (struct m0_be_tx *tx) |
|
M0_INTERNAL void | m0_be_tx_capture (struct m0_be_tx *tx, const struct m0_be_reg *reg) |
|
M0_INTERNAL void | m0_be_tx_close (struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_be_tx_open_sync (struct m0_be_tx *tx) |
|
M0_INTERNAL void | m0_be_tx_close_sync (struct m0_be_tx *tx) |
|
M0_INTERNAL enum m0_be_tx_state | m0_be_tx_state (const struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_be_tx_timedwait (struct m0_be_tx *tx, uint64_t states, m0_time_t deadline) |
|
M0_INTERNAL bool | m0_be_seg__invariant (const struct m0_be_seg *seg) |
|
void | m0_be_ut_backend_cfg_default (struct m0_be_domain_cfg *cfg) |
|
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) |
|
void | m0_be_ut_backend_init (struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_backend_fini (struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_seg_allocator_init (struct m0_be_ut_seg *ut_seg, struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_seg_allocator_fini (struct m0_be_ut_seg *ut_seg, struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_seg_init (struct m0_be_ut_seg *ut_seg, struct m0_be_ut_backend *ut_be, m0_bcount_t size) |
|
void | m0_be_ut_seg_fini (struct m0_be_ut_seg *ut_seg) |
|
void | m0_be_ut_seg_reload (struct m0_be_ut_seg *ut_seg) |
|
struct m0_sm_group * | m0_be_ut_backend_sm_group_lookup (struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_backend_thread_exit (struct m0_be_ut_backend *ut_be) |
|
void | m0_be_ut_tx_init (struct m0_be_tx *tx, struct m0_be_ut_backend *ut_be) |
|
M0_INTERNAL struct m0_be_seg * | m0_be_domain_seg0_get (struct m0_be_domain *dom) |
|
int | m0_be_tx_fol_add (struct m0_be_tx *tx, struct m0_fol_rec *rec) |
|
M0_INTERNAL void | m0_be_ut_alloc (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg, void **ptr, m0_bcount_t size) |
|
M0_INTERNAL void | m0_be_ut_free (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg, void *ptr) |
|
M0_INTERNAL void | m0_be_queue_put (struct m0_be_queue *bq, struct m0_be_op *op, const struct m0_buf *data) |
|
M0_INTERNAL void | m0_be_queue_lock (struct m0_be_queue *bq) |
|
M0_INTERNAL void | m0_be_queue_unlock (struct m0_be_queue *bq) |
|