Motr
M0
|
Data Structures | |
struct | m0_dtm_catalogue |
struct | m0_dtm_domain |
struct | m0_dtm_domain_cohort |
struct | m0_dtm |
struct | m0_dtx |
struct | m0_dtm_dtx_party |
struct | m0_dtm_dtx |
struct | m0_dtm_dtx_srv |
struct | m0_dtm_factory |
struct | m0_dtm_factory_ops |
struct | m0_dtm_factory_type |
struct | m0_dtm_fol |
struct | m0_dtm_fol_remote |
struct | m0_dtm_history |
struct | m0_dtm_history_ops |
struct | m0_dtm_history_type |
struct | m0_dtm_history_type_ops |
struct | m0_dtm_controlh |
struct | m0_dtm_ltx |
struct | m0_dtm_hi |
struct | m0_dtm_hi_ops |
struct | m0_dtm_up |
struct | m0_dtm_op |
struct | m0_dtm_op_ops |
struct | m0_dtm_nu |
struct | m0_dtm_object |
struct | m0_dtm_oper |
struct | m0_dtm_oper_updates |
struct | m0_dtm_oper_descr |
struct | m0_dtm_remote |
struct | m0_dtm_remote_ops |
struct | m0_dtm_rpc_remote |
struct | m0_dtm_notice |
struct | m0_dtm_local_remote |
struct | m0_dtm_update_comm |
struct | m0_dtm_update |
struct | m0_dtm_update_ops |
struct | m0_dtm_update_type |
struct | m0_dtm_update_data |
struct | m0_dtm_history_id |
struct | m0_dtm_update_descr |
struct | ctx |
struct | m0_dtm0_ts |
struct | m0_dtm0_clk_src |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | up_for(o, up) |
#define | up_endfor |
#define | hi_for(h, up) |
#define | hi_endfor |
#define | oper_for(o, update) |
#define | oper_endfor |
#define | history_for(h, update) |
#define | history_endfor |
#define | UPDATE_UP(update) |
#define | UP_HISTORY(up) hi_history((up)->up_hi) |
#define | UPDATE_HISTORY(update) UP_HISTORY(&(update)->upd_up) |
#define | UPDATE_REM(update) (UPDATE_HISTORY(update)->h_rem) |
#define | HISTORY_DTM(history) (nu_dtm((history)->h_hi.hi_nu)) |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_DTM_UPDATE_DATA(label, rule, ver, orig_ver) |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
#define | M0_DTM0_TS_MIN (struct m0_dtm0_ts) { .dts_phys = 1 } |
#define | M0_DTM0_TS_MAX (struct m0_dtm0_ts) { .dts_phys = (UINT64_MAX - 1) } |
#define | M0_DTM0_TS_INIT (struct m0_dtm0_ts) { .dts_phys = UINT64_MAX } |
#define | M0_DTM0_TS_NONE (struct m0_dtm0_ts) { .dts_phys = 0 } |
#define | DTS0_P(_ts) ((_ts)->dts_phys) |
#define | DTS0_F "@%" PRIu64 |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0 |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0 |
Typedefs | |
typedef struct m0_dtm_history * | m0_dtm_catalogue_alloc_t(struct m0_dtm *, const struct m0_uint128 *, void *) |
typedef uint64_t | m0_dtm_ver_t |
Functions | |
M0_TL_DESCR_DEFINE (cat, "catalogue", M0_INTERNAL, struct m0_dtm_history, h_catlink, h_hi.hi_ups.t_magic, M0_DTM_HI_MAGIX, M0_DTM_CAT_MAGIX) | |
M0_TL_DEFINE (cat, M0_INTERNAL, struct m0_dtm_history) | |
M0_INTERNAL void | m0_dtm_catalogue_init (struct m0_dtm_catalogue *cat) |
M0_INTERNAL void | m0_dtm_catalogue_fini (struct m0_dtm_catalogue *cat) |
M0_INTERNAL int | m0_dtm_catalogue_create (struct m0_dtm_catalogue *cat) |
M0_INTERNAL int | m0_dtm_catalogue_delete (struct m0_dtm_catalogue *cat) |
M0_INTERNAL int | m0_dtm_catalogue_lookup (struct m0_dtm_catalogue *cat, const struct m0_uint128 *id, struct m0_dtm_history **out) |
M0_INTERNAL int | m0_dtm_catalogue_add (struct m0_dtm_catalogue *cat, struct m0_dtm_history *history) |
M0_INTERNAL int | m0_dtm_catalogue_del (struct m0_dtm_catalogue *cat, struct m0_dtm_history *history) |
M0_INTERNAL int | m0_dtm_catalogue_find (struct m0_dtm_catalogue *cat, struct m0_dtm *dtm, const struct m0_uint128 *id, m0_dtm_catalogue_alloc_t *alloc, void *datum, struct m0_dtm_history **out) |
M0_INTERNAL int | m0_dtm_domain_init (struct m0_dtm_domain *dom, uint32_t nr) |
M0_INTERNAL void | m0_dtm_domain_fini (struct m0_dtm_domain *dom) |
M0_INTERNAL void | m0_dtm_domain_add (struct m0_dtm_domain *dom, struct m0_dtm_domain_dest *dest) |
M0_INTERNAL void | m0_dtm_domain_open (struct m0_dtm_domain *dom) |
M0_INTERNAL void | m0_dtm_domain_close (struct m0_dtm_domain *dom) |
M0_INTERNAL void | m0_dtm_domain_connect (struct m0_dtm_domain *dom) |
M0_INTERNAL void | m0_dtm_domain_disconnect (struct m0_dtm_domain *dom) |
M0_INTERNAL void | m0_dtm_domain_cohort_init (struct m0_dtm_domain_cohort *coh) |
M0_INTERNAL void | m0_dtm_domain_cohort_fini (struct m0_dtm_domain_cohort *coh) |
M0_INTERNAL int | m0_dtm_domain_cohort_open (struct m0_dtm_domain_cohort *coh) |
M0_INTERNAL int | m0_dtm_domain_cohort_restart (struct m0_dtm_domain_cohort *coh) |
M0_INTERNAL void | m0_dtm_init (struct m0_dtm *dtm, struct m0_uint128 *id) |
M0_INTERNAL void | m0_dtm_fini (struct m0_dtm *dtm) |
M0_INTERNAL void | m0_dtx_init (struct m0_dtx *tx, struct m0_be_domain *be_domain, struct m0_sm_group *sm_group) |
M0_INTERNAL void | m0_dtx_prep (struct m0_dtx *tx, const struct m0_be_tx_credit *cred) |
M0_INTERNAL void | m0_dtx_open (struct m0_dtx *tx) |
M0_INTERNAL void | m0_dtx_opened (struct m0_dtx *tx) |
M0_INTERNAL int | m0_dtx_open_sync (struct m0_dtx *tx) |
M0_INTERNAL void | m0_dtx_done (struct m0_dtx *tx) |
M0_INTERNAL int | m0_dtx_done_sync (struct m0_dtx *tx) |
M0_INTERNAL void | m0_dtx_fini (struct m0_dtx *tx) |
M0_INTERNAL int | m0_dtm_global_init (void) |
M0_INTERNAL void | m0_dtm_global_fini (void) |
M0_INTERNAL struct m0_dtm * | nu_dtm (struct m0_dtm_nu *nu) |
M0_INTERNAL void | dtm_lock (struct m0_dtm *dtm) |
M0_INTERNAL void | dtm_unlock (struct m0_dtm *dtm) |
M0_INTERNAL int | m0_dtx_fol_add (struct m0_dtx *tx) |
M0_TL_DESCR_DECLARE (hi, M0_EXTERN) | |
M0_TL_DECLARE (hi, M0_EXTERN, struct m0_dtm_up) | |
M0_TL_DESCR_DECLARE (op, M0_EXTERN) | |
M0_TL_DECLARE (op, M0_EXTERN, struct m0_dtm_up) | |
M0_TL_DESCR_DECLARE (history, M0_EXTERN) | |
M0_TL_DECLARE (history, M0_EXTERN, struct m0_dtm_update) | |
M0_TL_DESCR_DECLARE (oper, M0_EXTERN) | |
M0_TL_DECLARE (oper, M0_EXTERN, struct m0_dtm_update) | |
M0_TL_DESCR_DECLARE (cat, M0_EXTERN) | |
M0_TL_DECLARE (cat, M0_EXTERN, struct m0_dtm_history) | |
M0_TL_DESCR_DECLARE (exc, M0_EXTERN) | |
M0_TL_DECLARE (exc, M0_EXTERN, struct m0_dtm_history) | |
M0_INTERNAL struct m0_dtm_history * | hi_history (struct m0_dtm_hi *hi) |
M0_INTERNAL struct m0_dtm_update * | up_update (struct m0_dtm_up *up) |
M0_INTERNAL m0_dtm_ver_t | up_ver (const struct m0_dtm_up *up) |
M0_INTERNAL bool | op_state (const struct m0_dtm_op *op, enum m0_dtm_state state) |
M0_INTERNAL void | advance_try (const struct m0_dtm_op *op) |
M0_INTERNAL void | up_prepared (struct m0_dtm_up *up) |
M0_INTERNAL void | history_close (struct m0_dtm_history *history) |
M0_INTERNAL void | nu_lock (struct m0_dtm_nu *nu) |
M0_INTERNAL void | nu_unlock (struct m0_dtm_nu *nu) |
M0_INTERNAL void | oper_lock (const struct m0_dtm_oper *oper) |
M0_INTERNAL void | oper_unlock (const struct m0_dtm_oper *oper) |
M0_INTERNAL void | history_lock (const struct m0_dtm_history *history) |
M0_INTERNAL void | history_unlock (const struct m0_dtm_history *history) |
M0_INTERNAL void | update_reint (struct m0_dtm_update *update) |
M0_INTERNAL struct m0_dtm_up * | hi_latest (struct m0_dtm_hi *hi) |
M0_INTERNAL struct m0_dtm_up * | hi_earliest (struct m0_dtm_hi *hi) |
M0_INTERNAL struct m0_dtm_up * | hi_find (struct m0_dtm_hi *hi, m0_dtm_ver_t ver) |
M0_INTERNAL struct m0_dtm_up * | history_latest (struct m0_dtm_history *history) |
M0_INTERNAL struct m0_dtm_up * | history_earliest (struct m0_dtm_history *history) |
M0_INTERNAL m0_dtm_ver_t | update_ver (const struct m0_dtm_update *update) |
M0_INTERNAL bool | up_is_earlier (struct m0_dtm_up *up0, struct m0_dtm_up *up1) |
M0_INTERNAL bool | update_is_earlier (struct m0_dtm_update *update0, struct m0_dtm_update *update1) |
M0_INTERNAL int | m0_dtm_remote_global_init (void) |
M0_INTERNAL void | m0_dtm_remote_global_fini (void) |
M0_INTERNAL void | oper_print (const struct m0_dtm_oper *oper) |
M0_INTERNAL void | update_print (const struct m0_dtm_update *update) |
M0_INTERNAL void | history_print (const struct m0_dtm_history *history) |
M0_INTERNAL void | history_print_header (const struct m0_dtm_history *history, char *buf) |
M0_INTERNAL void | update_print_internal (const struct m0_dtm_update *update, bool history) |
M0_INTERNAL bool | oper_update_unique (const struct m0_dtm_oper *oper, const struct m0_dtm_update *update) |
static struct m0_dtm_controlh * | dtx_get (struct m0_dtm_dtx *dtx, struct m0_dtm_remote *rem) |
static struct m0_dtm_history * | dtx_srv_alloc (struct m0_dtm *dtm, const struct m0_uint128 *id, void *datum) |
static struct m0_dtm_history * | pa_history (struct m0_dtm_dtx_party *pa) |
M0_INTERNAL int | m0_dtm_dtx_init (struct m0_dtm_dtx *dtx, const struct m0_uint128 *id, struct m0_dtm *dtm, uint32_t nr_max) |
M0_INTERNAL void | m0_dtm_dtx_fini (struct m0_dtm_dtx *dtx) |
M0_INTERNAL void | m0_dtm_dtx_add (struct m0_dtm_dtx *dtx, struct m0_dtm_oper *oper) |
M0_INTERNAL void | m0_dtm_dtx_close (struct m0_dtm_dtx *dtx) |
static void | dtx_noop (void *unused) |
static int | dtx_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | dtx_id (const struct m0_dtm_history *history) |
static void | dtx_fixed (struct m0_dtm_history *history) |
static int | dtx_srv_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | dtx_srv_id (const struct m0_dtm_history *history) |
M0_INTERNAL void | m0_dtm_fol_init (struct m0_dtm_fol *fol, struct m0_dtm *dtm) |
M0_INTERNAL void | m0_dtm_fol_fini (struct m0_dtm_fol *fol) |
M0_INTERNAL void | m0_dtm_fol_add (struct m0_dtm_fol *fol, struct m0_dtm_oper *oper) |
static const struct m0_uint128 * | fol_id (const struct m0_dtm_history *history) |
static struct m0_dtm_catalogue * | rem_fol_cat (struct m0_dtm *dtm) |
static void | fol_persistent (struct m0_dtm_history *history) |
static void | fol_fixed (struct m0_dtm_history *history) |
static int | fol_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
M0_INTERNAL void | m0_dtm_fol_remote_init (struct m0_dtm_fol_remote *frem, struct m0_dtm *dtm, struct m0_dtm_remote *remote) |
M0_INTERNAL void | m0_dtm_fol_remote_fini (struct m0_dtm_fol_remote *frem) |
M0_INTERNAL void | m0_dtm_fol_remote_add (struct m0_dtm_fol_remote *frem, struct m0_dtm_oper *oper) |
static const struct m0_uint128 * | fol_remote_id (const struct m0_dtm_history *history) |
static void | fol_remote_persistent (struct m0_dtm_history *history) |
static int | fol_remote_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
M0_INTERNAL void | m0_dtm_history_init (struct m0_dtm_history *history, struct m0_dtm *dtm) |
M0_INTERNAL void | m0_dtm_history_fini (struct m0_dtm_history *history) |
M0_INTERNAL bool | m0_dtm_history_invariant (const struct m0_dtm_history *history) |
M0_INTERNAL void | m0_dtm_history_persistent (struct m0_dtm_history *history, m0_dtm_ver_t upto) |
M0_INTERNAL void | m0_dtm_history_reset (struct m0_dtm_history *history, m0_dtm_ver_t since) |
M0_INTERNAL void | m0_dtm_history_undo (struct m0_dtm_history *history, m0_dtm_ver_t upto) |
M0_INTERNAL void | m0_dtm_history_close (struct m0_dtm_history *history) |
M0_INTERNAL void | m0_dtm_history_update_get (const struct m0_dtm_history *history, enum m0_dtm_up_rule rule, struct m0_dtm_update_data *data) |
M0_INTERNAL void | m0_dtm_history_type_register (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht) |
M0_INTERNAL void | m0_dtm_history_type_deregister (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht) |
M0_INTERNAL const struct m0_dtm_history_type * | m0_dtm_history_type_find (struct m0_dtm *dtm, uint8_t id) |
M0_INTERNAL void | m0_dtm_history_pack (const struct m0_dtm_history *history, struct m0_dtm_history_id *id) |
M0_INTERNAL int | m0_dtm_history_unpack (struct m0_dtm *dtm, const struct m0_dtm_history_id *id, struct m0_dtm_history **out) |
static void | control_update_add (struct m0_dtm_history *history, struct m0_dtm_oper *oper, struct m0_dtm_update *cupdate, enum m0_dtm_up_rule rule, const struct m0_dtm_update_ops *ops) |
M0_INTERNAL void | m0_dtm_history_add_nop (struct m0_dtm_history *history, struct m0_dtm_oper *oper, struct m0_dtm_update *cupdate) |
static void | clop_nop (struct m0_dtm_op *op) |
static void | clop_impossible (struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_history_add_close (struct m0_dtm_history *history, struct m0_dtm_oper *oper, struct m0_dtm_update *cupdate) |
M0_INTERNAL void | m0_dtm_controlh_init (struct m0_dtm_controlh *ch, struct m0_dtm *dtm) |
M0_INTERNAL void | m0_dtm_controlh_fini (struct m0_dtm_controlh *ch) |
M0_INTERNAL void | m0_dtm_controlh_close (struct m0_dtm_controlh *ch) |
M0_INTERNAL void | m0_dtm_controlh_add (struct m0_dtm_controlh *ch, struct m0_dtm_oper *oper) |
static int | ch_noop (struct m0_dtm_update *updt) |
M0_INTERNAL int | m0_dtm_controlh_update (struct m0_dtm_history *history, uint8_t id, struct m0_dtm_update *update) |
M0_INTERNAL void | m0_dtm_controlh_fuse_close (struct m0_dtm_update *update) |
M0_INTERNAL bool | m0_dtm_controlh_update_is_close (const struct m0_dtm_update *update) |
M0_TL_DESCR_DEFINE (exc, "excited histories", M0_INTERNAL, struct m0_dtm_history, h_exclink, h_hi.hi_ups.t_magic, M0_DTM_HI_MAGIX, M0_DTM_EXC_MAGIX) | |
M0_TL_DEFINE (exc, M0_INTERNAL, struct m0_dtm_history) | |
static void | ltx_persistent_hook (const struct m0_be_tx *tx) |
M0_INTERNAL void | m0_dtm_ltx_init (struct m0_dtm_ltx *ltx, struct m0_dtm *dtm, struct m0_be_domain *dom) |
M0_INTERNAL void | m0_dtm_ltx_open (struct m0_dtm_ltx *ltx) |
M0_INTERNAL void | m0_dtm_ltx_close (struct m0_dtm_ltx *ltx) |
M0_INTERNAL void | m0_dtm_ltx_fini (struct m0_dtm_ltx *ltx) |
M0_INTERNAL void | m0_dtm_ltx_add (struct m0_dtm_ltx *ltx, struct m0_dtm_oper *oper) |
static int | ltx_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | ltx_id (const struct m0_dtm_history *history) |
static void | ltx_noop (struct m0_dtm_history *history) |
static void | history_balance (struct m0_dtm_history *history) |
static void | history_excite (struct m0_dtm_history *history) |
static void | history_calm (struct m0_dtm_history *history) |
static void | undo_done (struct m0_dtm_update *update) |
static void | sibling_undo (struct m0_dtm_history *history, struct m0_dtm_op *op) |
static void | sibling_persistent (struct m0_dtm_history *history, struct m0_dtm_op *op) |
static void | sibling_reset (struct m0_dtm_history *history, struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_balance (struct m0_dtm *dtm) |
M0_INTERNAL void | m0_dtm_history_balance (struct m0_dtm_history *history) |
M0_INTERNAL void | m0_dtm_undo_done (struct m0_dtm_update *update) |
static void | dtm_excitement_start (struct m0_dtm *dtm) |
M0_TL_DESCR_DEFINE (hi, "nucleus hi updates", M0_INTERNAL, struct m0_dtm_up, up_hi_linkage, up_magix, M0_DTM_UP_MAGIX, M0_DTM_HI_MAGIX) | |
M0_TL_DEFINE (hi, M0_INTERNAL, struct m0_dtm_up) | |
M0_TL_DESCR_DEFINE (op, "nucleus operation updates", M0_INTERNAL, struct m0_dtm_up, up_op_linkage, up_magix, M0_DTM_UP_MAGIX, M0_DTM_OP_MAGIX) | |
M0_TL_DEFINE (op, M0_INTERNAL, struct m0_dtm_up) | |
M0_BOB_DEFINE (static, &hi_bob, m0_dtm_hi) | |
M0_BOB_DEFINE (static, &up_bob, m0_dtm_up) | |
M0_BOB_DEFINE (static, &op_bob, m0_dtm_op) | |
static void | advance_hi (struct m0_dtm_hi *hi) |
static void | advance_op (struct m0_dtm_op *op) |
static void | up_ready (struct m0_dtm_up *up) |
static void | up_insert (struct m0_dtm_up *up) |
static int | op_cmp (const struct m0_dtm_op *op) |
static void | up_del (struct m0_dtm_up *up) |
static int | up_cmp (const struct m0_dtm_up *up, m0_dtm_ver_t hver) |
static void | up_fini (struct m0_dtm_up *up) |
M0_INTERNAL void | m0_dtm_op_init (struct m0_dtm_op *op, struct m0_dtm_nu *nu) |
M0_INTERNAL void | m0_dtm_op_close (const struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_op_prepared (const struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_op_done (const struct m0_dtm_op *op) |
static void | op_del (struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_op_del (struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_op_fini (struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_hi_init (struct m0_dtm_hi *hi, struct m0_dtm_nu *nu) |
M0_INTERNAL void | m0_dtm_hi_fini (struct m0_dtm_hi *hi) |
M0_INTERNAL void | m0_dtm_up_init (struct m0_dtm_up *up, struct m0_dtm_hi *hi, struct m0_dtm_op *op, enum m0_dtm_up_rule rule, m0_dtm_ver_t ver, m0_dtm_ver_t orig_ver) |
M0_INTERNAL void | m0_dtm_nu_init (struct m0_dtm_nu *nu) |
M0_INTERNAL void | m0_dtm_nu_fini (struct m0_dtm_nu *nu) |
M0_INTERNAL struct m0_dtm_up * | m0_dtm_up_prior (struct m0_dtm_up *up) |
M0_INTERNAL struct m0_dtm_up * | m0_dtm_up_later (struct m0_dtm_up *up) |
static bool | op_is_locked (const struct m0_dtm_op *op) |
static bool | up_pair_invariant (const struct m0_dtm_up *up, const struct m0_dtm_up *next) |
M0_INTERNAL bool | m0_dtm_hi_invariant (const struct m0_dtm_hi *hi) |
M0_INTERNAL bool | m0_dtm_up_invariant (const struct m0_dtm_up *up) |
M0_INTERNAL bool | m0_dtm_op_invariant (const struct m0_dtm_op *op) |
M0_INTERNAL void | m0_dtm_nuclei_init (void) |
M0_INTERNAL void | m0_dtm_nuclei_fini (void) |
M0_INTERNAL void | up_print (const struct m0_dtm_up *up) |
M0_INTERNAL void | op_print (const struct m0_dtm_op *op) |
M0_INTERNAL void | hi_print (const struct m0_dtm_hi *hi) |
M0_INTERNAL void | m0_dtm_up_ver_set (struct m0_dtm_up *up, m0_dtm_ver_t ver, m0_dtm_ver_t orig_ver) |
M0_INTERNAL void | m0_dtm_object_init (struct m0_dtm_object *obj) |
M0_INTERNAL void | m0_dtm_object_fini (struct m0_dtm_object *obj) |
M0_INTERNAL void | m0_dtm_oper_init (struct m0_dtm_oper *oper, struct m0_dtm *dtm, struct m0_tl *uu) |
M0_INTERNAL void | m0_dtm_oper_fini (struct m0_dtm_oper *oper) |
M0_INTERNAL bool | m0_dtm_oper_invariant (const struct m0_dtm_oper *oper) |
M0_INTERNAL void | m0_dtm_oper_close (struct m0_dtm_oper *oper) |
M0_INTERNAL void | m0_dtm_oper_prepared (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem) |
M0_INTERNAL void | m0_dtm_oper_done (const struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem) |
M0_INTERNAL void | m0_dtm_oper_pack (struct m0_dtm_oper *oper, const struct m0_dtm_remote *rem, struct m0_dtm_oper_descr *ode) |
M0_INTERNAL int | m0_dtm_oper_build (struct m0_dtm_oper *oper, struct m0_tl *uu, const struct m0_dtm_oper_descr *ode) |
M0_INTERNAL void | m0_dtm_reply_pack (const struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *request, struct m0_dtm_oper_descr *reply) |
M0_INTERNAL void | m0_dtm_reply_unpack (struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *reply) |
M0_INTERNAL struct m0_dtm_update * | m0_dtm_oper_get (const struct m0_dtm_oper *oper, uint32_t label) |
struct m0_dtm_oper_updates | M0_XCA_DOMAIN (rpc) |
M0_INTERNAL void | m0_dtm_oper_unpack (struct m0_dtm_oper *oper, const struct m0_dtm_oper_descr *ode) |
static void | rem_rpc_notify (struct m0_dtm_remote *rem, const struct m0_dtm_history *history, m0_dtm_ver_t ver, enum rem_rpc_notification opcode) |
static int | rem_rpc_deliver (struct m0_rpc_machine *mach, struct m0_rpc_item *item) |
M0_INTERNAL void | m0_dtm_remote_add (struct m0_dtm_remote *rem, struct m0_dtm_oper *oper, struct m0_dtm_history *history, struct m0_dtm_update *update) |
M0_INTERNAL void | m0_dtm_remote_init (struct m0_dtm_remote *remote, struct m0_uint128 *id, struct m0_dtm *local) |
M0_INTERNAL void | m0_dtm_remote_fini (struct m0_dtm_remote *remote) |
M0_INTERNAL void | m0_dtm_rpc_remote_init (struct m0_dtm_rpc_remote *remote, struct m0_uint128 *id, struct m0_dtm *local, struct m0_rpc_conn *conn) |
M0_INTERNAL void | m0_dtm_rpc_remote_fini (struct m0_dtm_rpc_remote *remote) |
static void | rem_rpc_persistent (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_rpc_fixed (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_rpc_reset (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_rpc_undo (struct m0_dtm_remote *rem, struct m0_dtm_history *history, m0_dtm_ver_t upto) |
static void | rem_rpc_send (struct m0_dtm_remote *rem, struct m0_dtm_update *update) |
static void | rem_rpc_resend (struct m0_dtm_remote *rem, struct m0_dtm_update *update) |
static void | notice_pack (struct m0_dtm_notice *notice, const struct m0_dtm_history *history, m0_dtm_ver_t ver, enum rem_rpc_notification opcode) |
static void | notice_deliver (struct m0_dtm_notice *notice, struct m0_dtm *dtm) |
static M0_UNUSED void | rem_rpc_redo_replied (struct m0_rpc_item *item) |
M0_INTERNAL void | m0_dtm_local_remote_init (struct m0_dtm_local_remote *lre, struct m0_uint128 *id, struct m0_dtm *local, struct m0_reqh *reqh) |
M0_INTERNAL void | m0_dtm_local_remote_fini (struct m0_dtm_local_remote *lre) |
static void | rem_local_notify (struct m0_dtm_remote *rem, const struct m0_dtm_history *history, m0_dtm_ver_t ver, enum rem_rpc_notification opcode) |
static void | rem_local_persistent (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_local_fixed (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_local_reset (struct m0_dtm_remote *rem, struct m0_dtm_history *history) |
static void | rem_local_send (struct m0_dtm_remote *rem, struct m0_dtm_update *update) |
static void | rem_local_undo (struct m0_dtm_remote *rem, struct m0_dtm_history *history, m0_dtm_ver_t upto) |
M0_INTERNAL void | m0_dtm_update_init (struct m0_dtm_update *update, struct m0_dtm_history *history, struct m0_dtm_oper *oper, const struct m0_dtm_update_data *data) |
M0_INTERNAL bool | m0_dtm_update_invariant (const struct m0_dtm_update *update) |
M0_INTERNAL bool | m0_dtm_update_is_user (const struct m0_dtm_update *update) |
M0_INTERNAL void | m0_dtm_update_pack (const struct m0_dtm_update *update, struct m0_dtm_update_descr *updd) |
M0_INTERNAL void | m0_dtm_update_unpack (struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd) |
M0_INTERNAL int | m0_dtm_update_build (struct m0_dtm_update *update, struct m0_dtm_oper *oper, const struct m0_dtm_update_descr *updd) |
M0_INTERNAL bool | m0_dtm_update_matches_descr (const struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd) |
M0_INTERNAL bool | m0_dtm_descr_matches_update (const struct m0_dtm_update *update, const struct m0_dtm_update_descr *updd) |
M0_INTERNAL void | m0_dtm_update_list_init (struct m0_tl *list) |
M0_INTERNAL void | m0_dtm_update_list_fini (struct m0_tl *list) |
M0_INTERNAL void | m0_dtm_update_reint (struct m0_dtm_update *update) |
M0_INTERNAL void | m0_dtm_comm_set (struct m0_dtm_update *update, struct m0_fop *fop) |
M0_INTERNAL void | m0_dtm_update_link (struct m0_tl *list, struct m0_dtm_update *update, uint32_t nr) |
static void | dtm_update_replied (struct m0_rpc_item *item) |
M0_TL_DESCR_DEFINE (history, "dtm history updates", M0_INTERNAL, struct m0_dtm_update, upd_up.up_hi_linkage, upd_up.up_magix, M0_DTM_UP_MAGIX, M0_DTM_HI_MAGIX) | |
M0_TL_DEFINE (history, M0_INTERNAL, struct m0_dtm_update) | |
M0_TL_DESCR_DEFINE (oper, "dtm operation updates", M0_INTERNAL, struct m0_dtm_update, upd_up.up_op_linkage, upd_up.up_magix, M0_DTM_UP_MAGIX, M0_DTM_OP_MAGIX) | |
M0_TL_DEFINE (oper, M0_INTERNAL, struct m0_dtm_update) | |
static void | noop (struct m0_dtm_op *op) |
static void | never (struct m0_dtm_op *op) |
static int | undo_redo (struct m0_dtm_update *updt) |
static int | update_init (struct m0_dtm_history *history, uint8_t id, struct m0_dtm_update *update) |
static void | test_persistent (struct m0_dtm_history *history) |
static int | hfind (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | hid (const struct m0_dtm_history *history) |
static void | init0 (void) |
static void | fini0 (void) |
static void | init1 (void) |
static void | fini1 (void) |
static void | init2 (void) |
static void | fini2 (void) |
static void | init3 (void) |
static void | fini3 (void) |
static void | init4 (void) |
static void | fini4 (void) |
static void | init5 (void) |
static void | fini5 (void) |
static void | dtm_setup (void) |
static void | dtx_setup (void) |
static void | dtx_populate (void) |
static void | dtx_pack (void) |
static void | dtx_reply (void) |
static void | dtx_fix (void) |
static void | ready (struct m0_dtm_op *op) |
static void | miser (struct m0_dtm_op *op) |
static void | late (struct m0_dtm_op *op) |
static void | h_release (struct m0_dtm_hi *hi) |
static void | nu (void) |
static void | hi (void) |
static void | op (void) |
static void | ctx_init (void) |
static void | ctx_fini (void) |
static void | ctx_add (int hi, int op, enum m0_dtm_up_rule rule, m0_dtm_ver_t ver, m0_dtm_ver_t orig_ver) |
static void | __attribute__ ((unused)) |
static void | ctx_check (void) |
static void | fail (struct m0_dtm_op *op) |
static void | ctx_op_add (int i) |
static void | ctx_state (int i, enum m0_dtm_state state) |
static void | up_init (void) |
static void | op_add (void) |
static void | op_gap (void) |
static void | set_flag (struct m0_dtm_op *op) |
static void | op_late (void) |
static void | op_miser (void) |
static void | op_miser_delayed (void) |
static void | op_done (void) |
static int | src_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | src_id (const struct m0_dtm_history *history) |
static int | tgt_find (struct m0_dtm *dtm, const struct m0_dtm_history_type *ht, const struct m0_uint128 *id, struct m0_dtm_history **out) |
static const struct m0_uint128 * | tgt_id (const struct m0_dtm_history *history) |
static int | service_start (struct m0_reqh_service *service) |
static void | service_stop (struct m0_reqh_service *service) |
static void | service_fini (struct m0_reqh_service *service) |
static int | service_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
static void | test_fom_fini (struct m0_fom *fom) |
static void | op_ready (struct m0_dtm_op *op) |
static void | op_late (struct m0_dtm_op *op) |
static void | op_miser (struct m0_dtm_op *op) |
static int | test_fom_tick (struct m0_fom *fom) |
static size_t | test_fom_home_locality (const struct m0_fom *fom) |
static int | test_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) |
static void | rpc_fop_fom_init (void) |
static void | rpc_fop_fom_fini (void) |
static void | src_init (struct m0_dtm_remote *dtm, unsigned flags, int ctrl) |
static void | src_fini (void) |
static void | tgt_init (void) |
static void | tgt_fini (void) |
static void | oper_populate (int i, unsigned nr) |
static void | transmit_build (void) |
static void | transmit_test (void) |
static void | redo_test (void) |
M0_INTERNAL enum m0_dtm0_ts_ord | m0_dtm0_ts_cmp (const struct m0_dtm0_clk_src *cs, const struct m0_dtm0_ts *left, const struct m0_dtm0_ts *right) |
M0_INTERNAL void | m0_dtm0_clk_src_init (struct m0_dtm0_clk_src *cs, enum m0_dtm0_cs_types type) |
M0_INTERNAL void | m0_dtm0_clk_src_fini (struct m0_dtm0_clk_src *cs) |
M0_INTERNAL void | m0_dtm0_clk_src_now (struct m0_dtm0_clk_src *cs, struct m0_dtm0_ts *now) |
M0_INTERNAL bool | m0_dtm0_ts__invariant (const struct m0_dtm0_ts *ts) |
M0_INTERNAL bool | m0_dtm0_ts_is_none (const struct m0_dtm0_ts *ts) |
M0_INTERNAL void | m0_dtm0_dtx_domain_init (void) |
M0_INTERNAL void | m0_dtm0_dtx_domain_fini (void) |
static int | dtx_log_insert (struct m0_dtm0_dtx *dtx) |
static void | dtx_log_update (struct m0_dtm0_dtx *dtx) |
static void | dtx_init (struct m0_dtm0_dtx *dtx, struct m0_dtm0_service *svc, struct m0_sm_group *grp) |
static struct m0_dtm0_dtx * | dtx_alloc (struct m0_dtm0_service *svc, struct m0_sm_group *grp) |
static void | dtx_fini (struct m0_dtm0_dtx *dtx) |
static void | dtx_prepare (struct m0_dtm0_dtx *dtx) |
static int | dtx_open (struct m0_dtm0_dtx *dtx, uint32_t nr_pa) |
static void | dtx_fop_assign (struct m0_dtm0_dtx *dtx, uint32_t pa_idx, const struct m0_fop *pa_fop) |
static int | dtx_fid_assign (struct m0_dtm0_dtx *dtx, uint32_t pa_idx, const struct m0_fid *pa_sfid) |
static int | dtx_close (struct m0_dtm0_dtx *dtx) |
static void | dtx_done (struct m0_dtm0_dtx *dtx) |
static void | dtx_exec_all_ast_cb (struct m0_sm_group *grp, struct m0_sm_ast *ast) |
static void | dtx_persistent_ast_cb (struct m0_sm_group *grp, struct m0_sm_ast *ast) |
M0_INTERNAL void | m0_dtm0_dtx_pmsg_post (struct m0_dtm0_dtx *dtx, struct m0_fop *fop) |
static void | dtx_executed (struct m0_dtm0_dtx *dtx, uint32_t idx) |
M0_INTERNAL struct m0_dtx * | m0_dtx0_alloc (struct m0_dtm0_service *svc, struct m0_sm_group *grp) |
M0_INTERNAL void | m0_dtx0_prepare (struct m0_dtx *dtx) |
M0_INTERNAL int | m0_dtx0_open (struct m0_dtx *dtx, uint32_t nr) |
M0_INTERNAL int | m0_dtx0_fid_assign (struct m0_dtx *dtx, uint32_t pa_idx, const struct m0_fid *pa_sfid) |
M0_INTERNAL void | m0_dtx0_fop_assign (struct m0_dtx *dtx, uint32_t pa_idx, const struct m0_fop *pa_fop) |
M0_INTERNAL int | m0_dtx0_close (struct m0_dtx *dtx) |
M0_INTERNAL void | m0_dtx0_executed (struct m0_dtx *dtx, uint32_t pa_idx) |
M0_INTERNAL void | m0_dtx0_done (struct m0_dtx *dtx) |
M0_INTERNAL int | m0_dtx0_txd_copy (const struct m0_dtx *dtx, struct m0_dtm0_tx_desc *dst) |
M0_INTERNAL enum m0_dtm0_dtx_state | m0_dtx0_sm_state (const struct m0_dtx *dtx) |
M0_INTERNAL void | m0_dtm0_tx_desc_init_none (struct m0_dtm0_tx_desc *td) |
M0_INTERNAL bool | m0_dtm0_tx_desc_is_none (const struct m0_dtm0_tx_desc *td) |
M0_INTERNAL bool | m0_dtm0_tx_desc__invariant (const struct m0_dtm0_tx_desc *td) |
M0_INTERNAL bool | m0_dtm0_tid__invariant (const struct m0_dtm0_tid *tid) |
M0_INTERNAL int | m0_dtm0_tx_desc_copy (const struct m0_dtm0_tx_desc *src, struct m0_dtm0_tx_desc *dst) |
M0_INTERNAL int | m0_dtm0_tx_desc_init (struct m0_dtm0_tx_desc *td, uint32_t nr_pa) |
M0_INTERNAL void | m0_dtm0_tx_desc_fini (struct m0_dtm0_tx_desc *td) |
M0_INTERNAL int | m0_dtm0_tid_cmp (struct m0_dtm0_clk_src *cs, const struct m0_dtm0_tid *left, const struct m0_dtm0_tid *right) |
M0_INTERNAL void | m0_dtm0_tx_desc_apply (struct m0_dtm0_tx_desc *tgt, const struct m0_dtm0_tx_desc *upd) |
M0_INTERNAL bool | m0_dtm0_tx_desc_state_eq (const struct m0_dtm0_tx_desc *txd, enum m0_dtm0_tx_pa_state state) |
M0_INTERNAL void | m0_dtm0_tx_desc_print (const struct m0_dtm0_tx_desc *txd) |
#define hi_endfor |
Definition at line 64 of file dtm_internal.h.
#define hi_for | ( | h, | |
up | |||
) |
Definition at line 58 of file dtm_internal.h.
#define HISTORY_DTM | ( | history | ) | (nu_dtm((history)->h_hi.hi_nu)) |
Definition at line 106 of file dtm_internal.h.
#define history_endfor |
Definition at line 93 of file dtm_internal.h.
#define history_for | ( | h, | |
update | |||
) |
Definition at line 87 of file dtm_internal.h.
#define M0_DTM0_TS_INIT (struct m0_dtm0_ts) { .dts_phys = UINT64_MAX } |
#define M0_DTM0_TS_MAX (struct m0_dtm0_ts) { .dts_phys = (UINT64_MAX - 1) } |
#define M0_DTM0_TS_MIN (struct m0_dtm0_ts) { .dts_phys = 1 } |
#define M0_DTM0_TS_NONE (struct m0_dtm0_ts) { .dts_phys = 0 } |
#define M0_DTM_UPDATE_DATA | ( | label, | |
rule, | |||
ver, | |||
orig_ver | |||
) |
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
Definition at line 29 of file transmit.c.
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
Definition at line 30 of file catalogue.c.
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM |
Definition at line 30 of file operation.c.
#define oper_endfor |
Definition at line 83 of file dtm_internal.h.
#define oper_for | ( | o, | |
update | |||
) |
Definition at line 77 of file dtm_internal.h.
#define up_endfor |
Definition at line 54 of file dtm_internal.h.
#define up_for | ( | o, | |
up | |||
) |
Definition at line 48 of file dtm_internal.h.
#define UP_HISTORY | ( | up | ) | hi_history((up)->up_hi) |
Definition at line 103 of file dtm_internal.h.
#define UPDATE_HISTORY | ( | update | ) | UP_HISTORY(&(update)->upd_up) |
Definition at line 104 of file dtm_internal.h.
#define UPDATE_REM | ( | update | ) | (UPDATE_HISTORY(update)->h_rem) |
Definition at line 105 of file dtm_internal.h.
#define UPDATE_UP | ( | update | ) |
typedef struct m0_dtm_history* m0_dtm_catalogue_alloc_t(struct m0_dtm *, const struct m0_uint128 *, void *) |
Definition at line 61 of file catalogue.h.
typedef uint64_t m0_dtm_ver_t |
anonymous enum |
Enumerator | |
---|---|
M0_DTM_HISTORY_TYPE_NR | Maximal number of history types (m0_dtm_history_type). |
anonymous enum |
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
OPER_NR | |
UPDATE_NR | |
TGT_DELTA |
Definition at line 59 of file transmit.c.
anonymous enum |
Enumerator | |
---|---|
FOM_INIT | |
FOM_READY |
Definition at line 299 of file transmit.c.
enum m0_dtm0_cs_types |
enum m0_dtm0_ts_ord |
enum m0_dtm_hi_flags |
enum m0_dtm_history_flags |
enum m0_dtm_oper_flags |
Enumerator | |
---|---|
M0_DOF_CLOSED | |
M0_DOF_LAST | |
M0_DOF_SENT |
Definition at line 54 of file operation.h.
enum m0_dtm_state |
enum m0_dtm_up_rule |
enum m0_dtm_ver_cmp |
enum m0_dtx_state |
enum rem_rpc_notification |
|
static |
|
static |
|
static |
M0_INTERNAL void advance_try | ( | const struct m0_dtm_op * | op | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
M0_INTERNAL void dtm_lock | ( | struct m0_dtm * | dtm | ) |
|
static |
M0_INTERNAL void dtm_unlock | ( | struct m0_dtm * | dtm | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
M0_INTERNAL struct m0_dtm_up * hi_find | ( | struct m0_dtm_hi * | hi, |
m0_dtm_ver_t | ver | ||
) |
M0_INTERNAL struct m0_dtm_history * hi_history | ( | struct m0_dtm_hi * | hi | ) |
M0_INTERNAL void hi_print | ( | const struct m0_dtm_hi * | hi | ) |
|
static |
|
static |
|
static |
M0_INTERNAL void history_close | ( | struct m0_dtm_history * | history | ) |
M0_INTERNAL struct m0_dtm_up * history_earliest | ( | struct m0_dtm_history * | history | ) |
|
static |
M0_INTERNAL struct m0_dtm_up * history_latest | ( | struct m0_dtm_history * | history | ) |
M0_INTERNAL void history_lock | ( | const struct m0_dtm_history * | history | ) |
M0_INTERNAL void history_print | ( | const struct m0_dtm_history * | history | ) |
M0_INTERNAL void history_print_header | ( | const struct m0_dtm_history * | history, |
char * | buf | ||
) |
M0_INTERNAL void history_unlock | ( | const struct m0_dtm_history * | history | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
M0_BOB_DEFINE | ( | static | , |
& | hi_bob, | ||
m0_dtm_hi | |||
) |
M0_BOB_DEFINE | ( | static | , |
& | up_bob, | ||
m0_dtm_up | |||
) |
M0_BOB_DEFINE | ( | static | , |
& | op_bob, | ||
m0_dtm_op | |||
) |
M0_INTERNAL void m0_dtm0_clk_src_fini | ( | struct m0_dtm0_clk_src * | cs | ) |
M0_INTERNAL void m0_dtm0_clk_src_init | ( | struct m0_dtm0_clk_src * | cs, |
enum m0_dtm0_cs_types | type | ||
) |
M0_INTERNAL void m0_dtm0_clk_src_now | ( | struct m0_dtm0_clk_src * | cs, |
struct m0_dtm0_ts * | now | ||
) |
M0_INTERNAL void m0_dtm0_dtx_domain_fini | ( | void | ) |
M0_INTERNAL void m0_dtm0_dtx_domain_init | ( | void | ) |
M0_INTERNAL void m0_dtm0_dtx_pmsg_post | ( | struct m0_dtm0_dtx * | dtx, |
struct m0_fop * | fop | ||
) |
M0_INTERNAL bool m0_dtm0_tid__invariant | ( | const struct m0_dtm0_tid * | tid | ) |
M0_INTERNAL int m0_dtm0_tid_cmp | ( | struct m0_dtm0_clk_src * | cs, |
const struct m0_dtm0_tid * | left, | ||
const struct m0_dtm0_tid * | right | ||
) |
M0_INTERNAL bool m0_dtm0_ts__invariant | ( | const struct m0_dtm0_ts * | ts | ) |
M0_INTERNAL enum m0_dtm0_ts_ord m0_dtm0_ts_cmp | ( | const struct m0_dtm0_clk_src * | cs, |
const struct m0_dtm0_ts * | left, | ||
const struct m0_dtm0_ts * | right | ||
) |
M0_INTERNAL bool m0_dtm0_ts_is_none | ( | const struct m0_dtm0_ts * | ts | ) |
M0_INTERNAL bool m0_dtm0_tx_desc__invariant | ( | const struct m0_dtm0_tx_desc * | td | ) |
M0_INTERNAL void m0_dtm0_tx_desc_apply | ( | struct m0_dtm0_tx_desc * | tgt, |
const struct m0_dtm0_tx_desc * | upd | ||
) |
M0_INTERNAL int m0_dtm0_tx_desc_copy | ( | const struct m0_dtm0_tx_desc * | src, |
struct m0_dtm0_tx_desc * | dst | ||
) |
M0_INTERNAL void m0_dtm0_tx_desc_fini | ( | struct m0_dtm0_tx_desc * | td | ) |
M0_INTERNAL int m0_dtm0_tx_desc_init | ( | struct m0_dtm0_tx_desc * | td, |
uint32_t | nr_pa | ||
) |
M0_INTERNAL void m0_dtm0_tx_desc_init_none | ( | struct m0_dtm0_tx_desc * | td | ) |
M0_INTERNAL bool m0_dtm0_tx_desc_is_none | ( | const struct m0_dtm0_tx_desc * | td | ) |
M0_INTERNAL void m0_dtm0_tx_desc_print | ( | const struct m0_dtm0_tx_desc * | txd | ) |
M0_INTERNAL bool m0_dtm0_tx_desc_state_eq | ( | const struct m0_dtm0_tx_desc * | txd, |
enum m0_dtm0_tx_pa_state | state | ||
) |
M0_INTERNAL void m0_dtm_balance | ( | struct m0_dtm * | dtm | ) |
M0_INTERNAL int m0_dtm_catalogue_add | ( | struct m0_dtm_catalogue * | cat, |
struct m0_dtm_history * | history | ||
) |
M0_INTERNAL int m0_dtm_catalogue_create | ( | struct m0_dtm_catalogue * | cat | ) |
Definition at line 59 of file catalogue.c.
M0_INTERNAL int m0_dtm_catalogue_del | ( | struct m0_dtm_catalogue * | cat, |
struct m0_dtm_history * | history | ||
) |
M0_INTERNAL int m0_dtm_catalogue_delete | ( | struct m0_dtm_catalogue * | cat | ) |
Definition at line 64 of file catalogue.c.
M0_INTERNAL int m0_dtm_catalogue_find | ( | struct m0_dtm_catalogue * | cat, |
struct m0_dtm * | dtm, | ||
const struct m0_uint128 * | id, | ||
m0_dtm_catalogue_alloc_t * | alloc, | ||
void * | datum, | ||
struct m0_dtm_history ** | out | ||
) |
Definition at line 92 of file catalogue.c.
M0_INTERNAL void m0_dtm_catalogue_fini | ( | struct m0_dtm_catalogue * | cat | ) |
M0_INTERNAL void m0_dtm_catalogue_init | ( | struct m0_dtm_catalogue * | cat | ) |
M0_INTERNAL int m0_dtm_catalogue_lookup | ( | struct m0_dtm_catalogue * | cat, |
const struct m0_uint128 * | id, | ||
struct m0_dtm_history ** | out | ||
) |
Definition at line 69 of file catalogue.c.
M0_INTERNAL void m0_dtm_comm_set | ( | struct m0_dtm_update * | update, |
struct m0_fop * | fop | ||
) |
M0_INTERNAL void m0_dtm_controlh_add | ( | struct m0_dtm_controlh * | ch, |
struct m0_dtm_oper * | oper | ||
) |
M0_INTERNAL void m0_dtm_controlh_close | ( | struct m0_dtm_controlh * | ch | ) |
M0_INTERNAL void m0_dtm_controlh_fini | ( | struct m0_dtm_controlh * | ch | ) |
M0_INTERNAL void m0_dtm_controlh_fuse_close | ( | struct m0_dtm_update * | update | ) |
M0_INTERNAL void m0_dtm_controlh_init | ( | struct m0_dtm_controlh * | ch, |
struct m0_dtm * | dtm | ||
) |
M0_INTERNAL int m0_dtm_controlh_update | ( | struct m0_dtm_history * | history, |
uint8_t | id, | ||
struct m0_dtm_update * | update | ||
) |
M0_INTERNAL bool m0_dtm_controlh_update_is_close | ( | const struct m0_dtm_update * | update | ) |
M0_INTERNAL bool m0_dtm_descr_matches_update | ( | const struct m0_dtm_update * | update, |
const struct m0_dtm_update_descr * | updd | ||
) |
M0_INTERNAL void m0_dtm_domain_add | ( | struct m0_dtm_domain * | dom, |
struct m0_dtm_domain_dest * | dest | ||
) |
M0_INTERNAL void m0_dtm_domain_close | ( | struct m0_dtm_domain * | dom | ) |
M0_INTERNAL void m0_dtm_domain_cohort_fini | ( | struct m0_dtm_domain_cohort * | coh | ) |
M0_INTERNAL void m0_dtm_domain_cohort_init | ( | struct m0_dtm_domain_cohort * | coh | ) |
M0_INTERNAL int m0_dtm_domain_cohort_open | ( | struct m0_dtm_domain_cohort * | coh | ) |
M0_INTERNAL int m0_dtm_domain_cohort_restart | ( | struct m0_dtm_domain_cohort * | coh | ) |
M0_INTERNAL void m0_dtm_domain_connect | ( | struct m0_dtm_domain * | dom | ) |
M0_INTERNAL void m0_dtm_domain_disconnect | ( | struct m0_dtm_domain * | dom | ) |
M0_INTERNAL void m0_dtm_domain_fini | ( | struct m0_dtm_domain * | dom | ) |
M0_INTERNAL int m0_dtm_domain_init | ( | struct m0_dtm_domain * | dom, |
uint32_t | nr | ||
) |
M0_INTERNAL void m0_dtm_domain_open | ( | struct m0_dtm_domain * | dom | ) |
M0_INTERNAL void m0_dtm_dtx_add | ( | struct m0_dtm_dtx * | dtx, |
struct m0_dtm_oper * | oper | ||
) |
M0_INTERNAL void m0_dtm_dtx_close | ( | struct m0_dtm_dtx * | dtx | ) |
M0_INTERNAL void m0_dtm_dtx_fini | ( | struct m0_dtm_dtx * | dtx | ) |
M0_INTERNAL int m0_dtm_dtx_init | ( | struct m0_dtm_dtx * | dtx, |
const struct m0_uint128 * | id, | ||
struct m0_dtm * | dtm, | ||
uint32_t | nr_max | ||
) |
M0_INTERNAL void m0_dtm_fini | ( | struct m0_dtm * | dtm | ) |
M0_INTERNAL void m0_dtm_fol_add | ( | struct m0_dtm_fol * | fol, |
struct m0_dtm_oper * | oper | ||
) |
M0_INTERNAL void m0_dtm_fol_fini | ( | struct m0_dtm_fol * | fol | ) |
M0_INTERNAL void m0_dtm_fol_init | ( | struct m0_dtm_fol * | fol, |
struct m0_dtm * | dtm | ||
) |
M0_INTERNAL void m0_dtm_fol_remote_add | ( | struct m0_dtm_fol_remote * | frem, |
struct m0_dtm_oper * | oper | ||
) |
M0_INTERNAL void m0_dtm_fol_remote_fini | ( | struct m0_dtm_fol_remote * | frem | ) |
M0_INTERNAL void m0_dtm_fol_remote_init | ( | struct m0_dtm_fol_remote * | frem, |
struct m0_dtm * | dtm, | ||
struct m0_dtm_remote * | remote | ||
) |
M0_INTERNAL void m0_dtm_global_fini | ( | void | ) |
M0_INTERNAL int m0_dtm_global_init | ( | void | ) |
M0_INTERNAL void m0_dtm_hi_fini | ( | struct m0_dtm_hi * | hi | ) |
M0_INTERNAL bool m0_dtm_hi_invariant | ( | const struct m0_dtm_hi * | hi | ) |
M0_INTERNAL void m0_dtm_history_add_close | ( | struct m0_dtm_history * | history, |
struct m0_dtm_oper * | oper, | ||
struct m0_dtm_update * | cupdate | ||
) |
M0_INTERNAL void m0_dtm_history_add_nop | ( | struct m0_dtm_history * | history, |
struct m0_dtm_oper * | oper, | ||
struct m0_dtm_update * | cupdate | ||
) |
M0_INTERNAL void m0_dtm_history_balance | ( | struct m0_dtm_history * | history | ) |
M0_INTERNAL void m0_dtm_history_close | ( | struct m0_dtm_history * | history | ) |
M0_INTERNAL void m0_dtm_history_fini | ( | struct m0_dtm_history * | history | ) |
M0_INTERNAL void m0_dtm_history_init | ( | struct m0_dtm_history * | history, |
struct m0_dtm * | dtm | ||
) |
M0_INTERNAL bool m0_dtm_history_invariant | ( | const struct m0_dtm_history * | history | ) |
M0_INTERNAL void m0_dtm_history_pack | ( | const struct m0_dtm_history * | history, |
struct m0_dtm_history_id * | id | ||
) |
M0_INTERNAL void m0_dtm_history_persistent | ( | struct m0_dtm_history * | history, |
m0_dtm_ver_t | upto | ||
) |
M0_INTERNAL void m0_dtm_history_reset | ( | struct m0_dtm_history * | history, |
m0_dtm_ver_t | since | ||
) |
M0_INTERNAL void m0_dtm_history_type_deregister | ( | struct m0_dtm * | dtm, |
const struct m0_dtm_history_type * | ht | ||
) |
M0_INTERNAL const struct m0_dtm_history_type * m0_dtm_history_type_find | ( | struct m0_dtm * | dtm, |
uint8_t | id | ||
) |
M0_INTERNAL void m0_dtm_history_type_register | ( | struct m0_dtm * | dtm, |
const struct m0_dtm_history_type * | ht | ||
) |
M0_INTERNAL void m0_dtm_history_undo | ( | struct m0_dtm_history * | history, |
m0_dtm_ver_t | upto | ||
) |
M0_INTERNAL int m0_dtm_history_unpack | ( | struct m0_dtm * | dtm, |
const struct m0_dtm_history_id * | id, | ||
struct m0_dtm_history ** | out | ||
) |
M0_INTERNAL void m0_dtm_history_update_get | ( | const struct m0_dtm_history * | history, |
enum m0_dtm_up_rule | rule, | ||
struct m0_dtm_update_data * | data | ||
) |
M0_INTERNAL void m0_dtm_init | ( | struct m0_dtm * | dtm, |
struct m0_uint128 * | id | ||
) |
M0_INTERNAL void m0_dtm_local_remote_fini | ( | struct m0_dtm_local_remote * | lre | ) |
M0_INTERNAL void m0_dtm_local_remote_init | ( | struct m0_dtm_local_remote * | lre, |
struct m0_uint128 * | id, | ||
struct m0_dtm * | local, | ||
struct m0_reqh * | reqh | ||
) |
M0_INTERNAL void m0_dtm_ltx_add | ( | struct m0_dtm_ltx * | ltx, |
struct m0_dtm_oper * | oper | ||
) |
M0_INTERNAL void m0_dtm_ltx_close | ( | struct m0_dtm_ltx * | ltx | ) |
M0_INTERNAL void m0_dtm_ltx_fini | ( | struct m0_dtm_ltx * | ltx | ) |
M0_INTERNAL void m0_dtm_ltx_init | ( | struct m0_dtm_ltx * | ltx, |
struct m0_dtm * | dtm, | ||
struct m0_be_domain * | dom | ||
) |
M0_INTERNAL void m0_dtm_ltx_open | ( | struct m0_dtm_ltx * | ltx | ) |
M0_INTERNAL void m0_dtm_nu_fini | ( | struct m0_dtm_nu * | nu | ) |
M0_INTERNAL void m0_dtm_nu_init | ( | struct m0_dtm_nu * | nu | ) |
M0_INTERNAL void m0_dtm_nuclei_fini | ( | void | ) |
M0_INTERNAL void m0_dtm_nuclei_init | ( | void | ) |
M0_INTERNAL void m0_dtm_object_fini | ( | struct m0_dtm_object * | obj | ) |
M0_INTERNAL void m0_dtm_object_init | ( | struct m0_dtm_object * | obj | ) |
M0_INTERNAL void m0_dtm_op_close | ( | const struct m0_dtm_op * | op | ) |
M0_INTERNAL void m0_dtm_op_del | ( | struct m0_dtm_op * | op | ) |
M0_INTERNAL void m0_dtm_op_done | ( | const struct m0_dtm_op * | op | ) |
M0_INTERNAL void m0_dtm_op_fini | ( | struct m0_dtm_op * | op | ) |
M0_INTERNAL bool m0_dtm_op_invariant | ( | const struct m0_dtm_op * | op | ) |
M0_INTERNAL void m0_dtm_op_prepared | ( | const struct m0_dtm_op * | op | ) |
M0_INTERNAL int m0_dtm_oper_build | ( | struct m0_dtm_oper * | oper, |
struct m0_tl * | uu, | ||
const struct m0_dtm_oper_descr * | ode | ||
) |
Definition at line 183 of file operation.c.
M0_INTERNAL void m0_dtm_oper_close | ( | struct m0_dtm_oper * | oper | ) |
Definition at line 83 of file operation.c.
M0_INTERNAL void m0_dtm_oper_done | ( | const struct m0_dtm_oper * | oper, |
const struct m0_dtm_remote * | rem | ||
) |
Definition at line 144 of file operation.c.
M0_INTERNAL void m0_dtm_oper_fini | ( | struct m0_dtm_oper * | oper | ) |
Definition at line 58 of file operation.c.
M0_INTERNAL struct m0_dtm_update * m0_dtm_oper_get | ( | const struct m0_dtm_oper * | oper, |
uint32_t | label | ||
) |
Definition at line 259 of file operation.c.
M0_INTERNAL void m0_dtm_oper_init | ( | struct m0_dtm_oper * | oper, |
struct m0_dtm * | dtm, | ||
struct m0_tl * | uu | ||
) |
Definition at line 44 of file operation.c.
M0_INTERNAL bool m0_dtm_oper_invariant | ( | const struct m0_dtm_oper * | oper | ) |
Definition at line 69 of file operation.c.
M0_INTERNAL void m0_dtm_oper_pack | ( | struct m0_dtm_oper * | oper, |
const struct m0_dtm_remote * | rem, | ||
struct m0_dtm_oper_descr * | ode | ||
) |
Definition at line 161 of file operation.c.
M0_INTERNAL void m0_dtm_oper_prepared | ( | const struct m0_dtm_oper * | oper, |
const struct m0_dtm_remote * | rem | ||
) |
Definition at line 122 of file operation.c.
M0_INTERNAL void m0_dtm_oper_unpack | ( | struct m0_dtm_oper * | oper, |
const struct m0_dtm_oper_descr * | ode | ||
) |
M0_INTERNAL void m0_dtm_remote_add | ( | struct m0_dtm_remote * | rem, |
struct m0_dtm_oper * | oper, | ||
struct m0_dtm_history * | history, | ||
struct m0_dtm_update * | update | ||
) |
M0_INTERNAL void m0_dtm_remote_fini | ( | struct m0_dtm_remote * | remote | ) |
M0_INTERNAL void m0_dtm_remote_global_fini | ( | void | ) |
M0_INTERNAL int m0_dtm_remote_global_init | ( | void | ) |
M0_INTERNAL void m0_dtm_remote_init | ( | struct m0_dtm_remote * | remote, |
struct m0_uint128 * | id, | ||
struct m0_dtm * | local | ||
) |
M0_INTERNAL void m0_dtm_reply_pack | ( | const struct m0_dtm_oper * | oper, |
const struct m0_dtm_oper_descr * | request, | ||
struct m0_dtm_oper_descr * | reply | ||
) |
Definition at line 209 of file operation.c.
M0_INTERNAL void m0_dtm_reply_unpack | ( | struct m0_dtm_oper * | oper, |
const struct m0_dtm_oper_descr * | reply | ||
) |
Definition at line 236 of file operation.c.
M0_INTERNAL void m0_dtm_rpc_remote_fini | ( | struct m0_dtm_rpc_remote * | remote | ) |
M0_INTERNAL void m0_dtm_rpc_remote_init | ( | struct m0_dtm_rpc_remote * | remote, |
struct m0_uint128 * | id, | ||
struct m0_dtm * | local, | ||
struct m0_rpc_conn * | conn | ||
) |
M0_INTERNAL void m0_dtm_undo_done | ( | struct m0_dtm_update * | update | ) |
M0_INTERNAL void m0_dtm_up_init | ( | struct m0_dtm_up * | up, |
struct m0_dtm_hi * | hi, | ||
struct m0_dtm_op * | op, | ||
enum m0_dtm_up_rule | rule, | ||
m0_dtm_ver_t | ver, | ||
m0_dtm_ver_t | orig_ver | ||
) |
M0_INTERNAL bool m0_dtm_up_invariant | ( | const struct m0_dtm_up * | up | ) |
M0_INTERNAL void m0_dtm_up_ver_set | ( | struct m0_dtm_up * | up, |
m0_dtm_ver_t | ver, | ||
m0_dtm_ver_t | orig_ver | ||
) |
M0_INTERNAL int m0_dtm_update_build | ( | struct m0_dtm_update * | update, |
struct m0_dtm_oper * | oper, | ||
const struct m0_dtm_update_descr * | updd | ||
) |
M0_INTERNAL void m0_dtm_update_init | ( | struct m0_dtm_update * | update, |
struct m0_dtm_history * | history, | ||
struct m0_dtm_oper * | oper, | ||
const struct m0_dtm_update_data * | data | ||
) |
M0_INTERNAL bool m0_dtm_update_invariant | ( | const struct m0_dtm_update * | update | ) |
M0_INTERNAL bool m0_dtm_update_is_user | ( | const struct m0_dtm_update * | update | ) |
M0_INTERNAL void m0_dtm_update_link | ( | struct m0_tl * | list, |
struct m0_dtm_update * | update, | ||
uint32_t | nr | ||
) |
M0_INTERNAL void m0_dtm_update_list_fini | ( | struct m0_tl * | list | ) |
M0_INTERNAL void m0_dtm_update_list_init | ( | struct m0_tl * | list | ) |
M0_INTERNAL bool m0_dtm_update_matches_descr | ( | const struct m0_dtm_update * | update, |
const struct m0_dtm_update_descr * | updd | ||
) |
M0_INTERNAL void m0_dtm_update_pack | ( | const struct m0_dtm_update * | update, |
struct m0_dtm_update_descr * | updd | ||
) |
M0_INTERNAL void m0_dtm_update_reint | ( | struct m0_dtm_update * | update | ) |
M0_INTERNAL void m0_dtm_update_unpack | ( | struct m0_dtm_update * | update, |
const struct m0_dtm_update_descr * | updd | ||
) |
M0_INTERNAL struct m0_dtx* m0_dtx0_alloc | ( | struct m0_dtm0_service * | svc, |
struct m0_sm_group * | grp | ||
) |
M0_INTERNAL int m0_dtx0_close | ( | struct m0_dtx * | dtx | ) |
Forbids further modifications by user and shares DTX with DTM log. It shall be called when the user of DTM0 finished populating the information about the participants of the corresponding dtx. Once a dtx is closed, all the participants in the list will move to INPROGRESS state.
Definition at line 492 of file dtx.c.
M0_INTERNAL void m0_dtx0_done | ( | struct m0_dtx * | dtx | ) |
Marks a transaction as "no longer in-use". The user does not have exclusive ownership on a dtx after it has been closed (i.e., added to the log). This function ends this sharing, so that the log has exclusive ownership of the record. The user should not hold any pointers to this DTX after this call.
Definition at line 504 of file dtx.c.
M0_INTERNAL void m0_dtx0_executed | ( | struct m0_dtx * | dtx, |
uint32_t | pa_idx | ||
) |
M0_INTERNAL int m0_dtx0_open | ( | struct m0_dtx * | dtx, |
uint32_t | nr_pa | ||
) |
M0_INTERNAL void m0_dtx0_prepare | ( | struct m0_dtx * | dtx | ) |
M0_INTERNAL enum m0_dtm0_dtx_state m0_dtx0_sm_state | ( | const struct m0_dtx * | dtx | ) |
M0_INTERNAL int m0_dtx0_txd_copy | ( | const struct m0_dtx * | dtx, |
struct m0_dtm0_tx_desc * | dst | ||
) |
Puts a copy of dtx's transaction descriptor into "dst". User is responsible for m0_dtm0_tx_desc_fini() lasing of 'dst'. If dtx is NULL then dst will be filled with the empty tx_desc.
Definition at line 510 of file dtx.c.
M0_INTERNAL void m0_dtx_done | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL int m0_dtx_done_sync | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL void m0_dtx_fini | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL int m0_dtx_fol_add | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL void m0_dtx_init | ( | struct m0_dtx * | tx, |
struct m0_be_domain * | be_domain, | ||
struct m0_sm_group * | sm_group | ||
) |
M0_INTERNAL void m0_dtx_open | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL int m0_dtx_open_sync | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL void m0_dtx_opened | ( | struct m0_dtx * | tx | ) |
M0_INTERNAL void m0_dtx_prep | ( | struct m0_dtx * | tx, |
const struct m0_be_tx_credit * | cred | ||
) |
M0_TL_DECLARE | ( | history | , |
M0_EXTERN | , | ||
struct m0_dtm_update | |||
) |
M0_TL_DECLARE | ( | oper | , |
M0_EXTERN | , | ||
struct m0_dtm_update | |||
) |
M0_TL_DECLARE | ( | cat | , |
M0_EXTERN | , | ||
struct m0_dtm_history | |||
) |
M0_TL_DECLARE | ( | exc | , |
M0_EXTERN | , | ||
struct m0_dtm_history | |||
) |
M0_TL_DEFINE | ( | cat | , |
M0_INTERNAL | , | ||
struct m0_dtm_history | |||
) |
M0_TL_DEFINE | ( | history | , |
M0_INTERNAL | , | ||
struct m0_dtm_update | |||
) |
M0_TL_DEFINE | ( | oper | , |
M0_INTERNAL | , | ||
struct m0_dtm_update | |||
) |
M0_TL_DEFINE | ( | exc | , |
M0_INTERNAL | , | ||
struct m0_dtm_history | |||
) |
M0_TL_DESCR_DECLARE | ( | hi | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DECLARE | ( | op | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DECLARE | ( | history | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DECLARE | ( | oper | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DECLARE | ( | cat | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DECLARE | ( | exc | , |
M0_EXTERN | |||
) |
M0_TL_DESCR_DEFINE | ( | cat | , |
"catalogue" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_history | , | ||
h_catlink | , | ||
h_hi.hi_ups. | t_magic, | ||
M0_DTM_HI_MAGIX | , | ||
M0_DTM_CAT_MAGIX | |||
) |
M0_TL_DESCR_DEFINE | ( | hi | , |
"nucleus hi updates" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_up | , | ||
up_hi_linkage | , | ||
up_magix | , | ||
M0_DTM_UP_MAGIX | , | ||
M0_DTM_HI_MAGIX | |||
) |
M0_TL_DESCR_DEFINE | ( | op | , |
"nucleus operation updates" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_up | , | ||
up_op_linkage | , | ||
up_magix | , | ||
M0_DTM_UP_MAGIX | , | ||
M0_DTM_OP_MAGIX | |||
) |
M0_TL_DESCR_DEFINE | ( | history | , |
"dtm history updates" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_update | , | ||
upd_up. | up_hi_linkage, | ||
upd_up. | up_magix, | ||
M0_DTM_UP_MAGIX | , | ||
M0_DTM_HI_MAGIX | |||
) |
M0_TL_DESCR_DEFINE | ( | oper | , |
"dtm operation updates" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_update | , | ||
upd_up. | up_op_linkage, | ||
upd_up. | up_magix, | ||
M0_DTM_UP_MAGIX | , | ||
M0_DTM_OP_MAGIX | |||
) |
M0_TL_DESCR_DEFINE | ( | exc | , |
"excited histories" | , | ||
M0_INTERNAL | , | ||
struct m0_dtm_history | , | ||
h_exclink | , | ||
h_hi.hi_ups. | t_magic, | ||
M0_DTM_HI_MAGIX | , | ||
M0_DTM_EXC_MAGIX | |||
) |
struct m0_dtm_oper_updates M0_XCA_DOMAIN | ( | rpc | ) |
|
static |
|
static |
|
static |
M0_INTERNAL void nu_lock | ( | struct m0_dtm_nu * | nu | ) |
M0_INTERNAL void nu_unlock | ( | struct m0_dtm_nu * | nu | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 283 of file transmit.c.
|
static |
Definition at line 288 of file transmit.c.
|
static |
|
static |
M0_INTERNAL void op_print | ( | const struct m0_dtm_op * | op | ) |
|
static |
M0_INTERNAL bool op_state | ( | const struct m0_dtm_op * | op, |
enum m0_dtm_state | state | ||
) |
M0_INTERNAL void oper_lock | ( | const struct m0_dtm_oper * | oper | ) |
Definition at line 283 of file operation.c.
|
static |
Definition at line 563 of file transmit.c.
M0_INTERNAL void oper_print | ( | const struct m0_dtm_oper * | oper | ) |
M0_INTERNAL void oper_unlock | ( | const struct m0_dtm_oper * | oper | ) |
Definition at line 288 of file operation.c.
M0_INTERNAL bool oper_update_unique | ( | const struct m0_dtm_oper * | oper, |
const struct m0_dtm_update * | update | ||
) |
Definition at line 270 of file operation.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 436 of file transmit.c.
|
static |
Definition at line 402 of file transmit.c.
|
static |
Definition at line 242 of file transmit.c.
|
static |
|
static |
Definition at line 223 of file transmit.c.
|
static |
Definition at line 228 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 139 of file transmit.c.
|
static |
Definition at line 499 of file transmit.c.
|
static |
|
static |
Definition at line 449 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 179 of file transmit.c.
|
static |
Definition at line 548 of file transmit.c.
|
static |
|
static |
Definition at line 518 of file transmit.c.
|
static |
Definition at line 583 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
M0_INTERNAL void up_prepared | ( | struct m0_dtm_up * | up | ) |
M0_INTERNAL void up_print | ( | const struct m0_dtm_up * | up | ) |
|
static |
M0_INTERNAL struct m0_dtm_update * up_update | ( | struct m0_dtm_up * | up | ) |
M0_INTERNAL m0_dtm_ver_t up_ver | ( | const struct m0_dtm_up * | up | ) |
|
static |
M0_INTERNAL bool update_is_earlier | ( | struct m0_dtm_update * | update0, |
struct m0_dtm_update * | update1 | ||
) |
M0_INTERNAL void update_print | ( | const struct m0_dtm_update * | update | ) |
M0_INTERNAL void update_print_internal | ( | const struct m0_dtm_update * | update, |
bool | history | ||
) |
M0_INTERNAL void update_reint | ( | struct m0_dtm_update * | update | ) |
M0_INTERNAL m0_dtm_ver_t update_ver | ( | const struct m0_dtm_update * | update | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 76 of file transmit.c.
|
static |
Definition at line 77 of file transmit.c.
struct m0_ut_suite dtm_dtx_ut |
|
static |
Definition at line 65 of file transmit.c.
|
static |
Definition at line 66 of file transmit.c.
struct m0_ut_suite dtm_nucleus_ut |
|
static |
Definition at line 68 of file transmit.c.
|
static |
Definition at line 69 of file transmit.c.
struct m0_ut_suite dtm_transmit_ut |
Definition at line 731 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 304 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 78 of file transmit.c.
|
static |
Definition at line 79 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 80 of file transmit.c.
|
static |
Definition at line 81 of file transmit.c.
|
static |
Definition at line 100 of file transmit.c.
|
static |
Definition at line 71 of file transmit.c.
|
static |
Definition at line 326 of file transmit.c.
|
static |
|
static |
|
static |
M0_EXTERN const struct m0_dtm_history_type m0_dtm_dtx_htype |
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_dtx_htype |
M0_EXTERN const struct m0_dtm_history_type m0_dtm_dtx_srv_htype |
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_dtx_srv_htype |
M0_EXTERN const struct m0_dtm_history_type m0_dtm_fol_htype |
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_fol_htype |
M0_EXTERN const struct m0_dtm_history_type m0_dtm_fol_remote_htype |
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_fol_remote_htype |
M0_EXTERN const struct m0_dtm_history_type m0_dtm_ltx_htype |
M0_INTERNAL const struct m0_dtm_history_type m0_dtm_ltx_htype |
struct m0_sm_conf m0_dtx_sm_conf |
enum { ... } M0_XCA_DOMAIN |
enum rem_rpc_notification M0_XCA_DOMAIN |
struct m0_dtm_local_remote M0_XCA_DOMAIN |
enum m0_dtm0_ts_ord M0_XCA_DOMAIN |
|
static |
Definition at line 88 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 133 of file transmit.c.
|
static |
|
static |
|
static |
Definition at line 72 of file transmit.c.
|
static |
Definition at line 73 of file transmit.c.
Definition at line 85 of file transmit.c.
Definition at line 84 of file transmit.c.
|
static |
Definition at line 86 of file transmit.c.
|
static |
Definition at line 87 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 94 of file transmit.c.
|
static |
Definition at line 327 of file transmit.c.
|
static |
Definition at line 155 of file transmit.c.
|
static |
Definition at line 151 of file transmit.c.
|
static |
Definition at line 172 of file transmit.c.
|
static |
Definition at line 255 of file transmit.c.
const struct m0_sm_conf test_conf |
Definition at line 320 of file transmit.c.
|
static |
Definition at line 101 of file transmit.c.
|
static |
Definition at line 378 of file transmit.c.
|
static |
Definition at line 398 of file transmit.c.
|
static |
Definition at line 219 of file transmit.c.
|
static |
Definition at line 221 of file transmit.c.
|
static |
Definition at line 293 of file transmit.c.
|
static |
|
static |
Definition at line 116 of file transmit.c.
|
static |
Definition at line 236 of file transmit.c.
struct m0_reqh_service_type test_stype |
Definition at line 259 of file transmit.c.
|
static |
Definition at line 220 of file transmit.c.
|
static |
|
static |
Definition at line 111 of file transmit.c.
|
static |
Definition at line 70 of file transmit.c.
|
static |
Definition at line 195 of file transmit.c.
|
static |
Definition at line 191 of file transmit.c.
|
static |
Definition at line 212 of file transmit.c.
|
static |
Definition at line 270 of file transmit.c.
|
static |
Definition at line 82 of file transmit.c.
|
static |
|
static |
Definition at line 83 of file transmit.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 74 of file transmit.c.
|
static |
Definition at line 75 of file transmit.c.
|
static |
|
static |
Definition at line 67 of file transmit.c.