Motr  M0
Dtm0

Data Structures

struct  m0_dtm0_domain_cfg
 
struct  m0_dtm0_domain_create_cfg
 
struct  m0_dtm0_domain
 
struct  m0_dtx0
 
struct  m0_dtm0_log_cfg
 
struct  m0_dtm0_log_create_cfg
 
struct  m0_dtm0_log
 
struct  m0_dtm0_log_record
 
struct  m0_dtm0_msg_redo
 
struct  m0_dtm0_msg_eol
 
struct  m0_dtm0_msg_persistent
 
struct  m0_dtm0_msg
 
struct  m0_dtm0_net_cfg
 
struct  m0_dtm0_net
 
struct  m0_dtm0_pmach
 
struct  m0_dtm0_pmach_cfg
 
struct  m0_dtm0_pruner
 
struct  m0_dtm0_pruner_cfg
 
struct  m0_dtm0_remach
 
struct  m0_dtm0_remach_cfg
 
struct  m0_ut_dtm0_helper
 

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define DTM0_DOMAIN_LEVEL(level)
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0
 
#define SERVER_ENDPOINT_ADDR   "0@lo:12345:34:1"
 
#define SERVER_ENDPOINT   M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR
 
#define DTM0_UT_CONF_PROCESS   "<0x7200000000000001:5>"
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 
#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT
 

Enumerations

enum  m0_avi_dtm0_labels { M0_AVI_DTX0_SM_STATE = M0_AVI_DTM0_RANGE_START, M0_AVI_DTX0_SM_COUNTER, M0_AVI_DTX0_SM_COUNTER_END = M0_AVI_DTX0_SM_COUNTER + 0x100 }
 
enum  dtm0_domain_level {
  M0_DTM0_DOMAIN_LEVEL_INIT, M0_DTM0_DOMAIN_LEVEL_LOG_MKFS, M0_DTM0_DOMAIN_LEVEL_LOG_INIT, M0_DTM0_DOMAIN_LEVEL_REMACH_INIT,
  M0_DTM0_DOMAIN_LEVEL_PMACH_INIT, M0_DTM0_DOMAIN_LEVEL_SERVICE_INIT, M0_DTM0_DOMAIN_LEVEL_NET_INIT, M0_DTM0_DOMAIN_LEVEL_REMACH_START,
  M0_DTM0_DOMAIN_LEVEL_PMACH_START, M0_DTM0_DOMAIN_LEVEL_PRUNER_INIT, M0_DTM0_DOMAIN_LEVEL_READY
}
 
enum  m0_dtx0_state { M0_DTX0_STATE_INIT, M0_DTX0_STATE_EXECUTED, M0_DTX0_STATE_STABLE }
 
enum  m0_dtm0_msg_type { M0_DMT_REDO, M0_DMT_PERSISTENT, M0_DMT_EOL }
 
enum  { DTM0_UT_DRLINK_SIMPLE_POST_NR = 0x100 }
 
enum  { MAX_RPCS_IN_FLIGHT = 10 }
 

Functions

M0_INTERNAL int m0_dtm0_domain_cfg_default_dup (struct m0_dtm0_domain_cfg *dod_cfg)
 
M0_INTERNAL struct m0_dtm0_domain_cfgm0_dtm0_domain_cfg_dup (struct m0_dtm0_domain_cfg *dod_cfg)
 
M0_INTERNAL void m0_dtm0_domain_cfg_free (struct m0_dtm0_domain_cfg *dod_cfg)
 
 M0_BOB_DEFINE (static, &dtm0_domain_bob_type, m0_dtm0_domain)
 
static struct m0_dtm0_domaindtm0_module2domain (struct m0_module *module)
 
static int dtm0_domain_level_enter (struct m0_module *module)
 
static void dtm0_domain_level_leave (struct m0_module *module)
 
M0_INTERNAL int m0_dtm0_domain_init (struct m0_dtm0_domain *dod, struct m0_dtm0_domain_cfg *dod_cfg)
 
M0_INTERNAL void m0_dtm0_domain_fini (struct m0_dtm0_domain *dod)
 
M0_INTERNAL int m0_dtm0_domain_create (struct m0_dtm0_domain *dod, struct m0_dtm0_domain_create_cfg *dc_cfg)
 
M0_INTERNAL void m0_dtm0_domain_destroy (struct m0_dtm0_domain *dod)
 
M0_INTERNAL int m0_dtx0_init (struct m0_dtx0 *dtx0, struct m0_dtm0_domain *dod)
 
M0_INTERNAL void m0_dtx0_fini (struct m0_dtx0 *dtx0)
 
M0_INTERNAL int m0_dtx0_set (struct m0_dtx0 *dtx0, const struct m0_dtm0_tx_desc *txd, const struct m0_buf *buf)
 
M0_INTERNAL void m0_dtx0_timestamp_set (struct m0_dtx0 *dtx0)
 
M0_INTERNAL int m0_dtx0_participants_set (struct m0_dtx0 *dtx0, const struct m0_fid *rdtm_svcs, int rdtm_svcs_nr)
 
M0_INTERNAL int m0_dtx0_buf_set (struct m0_dtx0 *dtx0, const struct m0_buf *buf)
 
M0_INTERNAL void m0_dtx0_credit (struct m0_dtx0 *dtx0, struct m0_be_tx_credit *accum)
 
M0_INTERNAL int m0_dtx0_log_update (struct m0_dtx0 *dtx0, struct m0_be_tx *tx, struct m0_be_op *op, bool is_redo)
 
M0_INTERNAL void m0_dtx0_cancel (struct m0_dtx0 *dtx0)
 
M0_INTERNAL int m0_dtm0_log_init (struct m0_dtm0_log *dol, struct m0_dtm0_log_cfg *dol_cfg)
 
M0_INTERNAL void m0_dtm0_log_fini (struct m0_dtm0_log *dol)
 
M0_INTERNAL int m0_dtm0_log__create (struct m0_dtm0_log *dol, struct m0_dtm0_log_create_cfg *dlc_cfg)
 
M0_INTERNAL void m0_dtm0_log_destroy (struct m0_dtm0_log *dol)
 
M0_INTERNAL void m0_dtm0_log_update_credit (struct m0_dtm0_log *dol, struct m0_dtm0_log_record *rec, struct m0_be_tx_credit *accum)
 
M0_INTERNAL int m0_dtm0_log_update (struct m0_dtm0_log *dol, struct m0_be_tx *tx, struct m0_be_op *op, const struct m0_dtm0_log_record *rec, bool is_redo)
 
M0_INTERNAL int m0_dtm0_net_init (struct m0_dtm0_net *dnet, struct m0_dtm0_net_cfg *dnet_cfg)
 
M0_INTERNAL void m0_dtm0_net_fini (struct m0_dtm0_net *dnet)
 
M0_INTERNAL void m0_dtm0_net_send (struct m0_dtm0_net *dnet, struct m0_be_op *op, const struct m0_fid *target, const struct m0_dtm0_msg *msg)
 
M0_INTERNAL void m0_dtm0_net_recv (struct m0_dtm0_net *dnet, struct m0_be_op *op, struct m0_fid *source, struct m0_dtm0_msg *msg, enum m0_dtm0_msg_type type)
 
M0_INTERNAL int m0_dtm0_pmach_init (struct m0_dtm0_pmach *drm, struct m0_dtm0_pmach_cfg *drm_cfg)
 
M0_INTERNAL void m0_dtm0_pmach_fini (struct m0_dtm0_pmach *drm)
 
M0_INTERNAL void m0_dtm0_pmach_start (struct m0_dtm0_pmach *drm)
 
M0_INTERNAL void m0_dtm0_pmach_stop (struct m0_dtm0_pmach *drm)
 
M0_INTERNAL int m0_dtm0_pruner_init (struct m0_dtm0_pruner *dpn, struct m0_dtm0_pruner_cfg *dpn_cfg)
 
M0_INTERNAL void m0_dtm0_pruner_fini (struct m0_dtm0_pruner *dpn)
 
M0_INTERNAL void m0_dtm0_pruner_start (struct m0_dtm0_pruner *dpn)
 
M0_INTERNAL void m0_dtm0_pruner_stop (struct m0_dtm0_pruner *dpn)
 
M0_INTERNAL int m0_dtm0_remach_init (struct m0_dtm0_remach *drm, struct m0_dtm0_remach_cfg *drm_cfg)
 
M0_INTERNAL void m0_dtm0_remach_fini (struct m0_dtm0_remach *drm)
 
M0_INTERNAL void m0_dtm0_remach_start (struct m0_dtm0_remach *drm)
 
M0_INTERNAL void m0_dtm0_remach_stop (struct m0_dtm0_remach *drm)
 
void m0_dtm0_ut_domain_init_fini (void)
 
void m0_dtm0_ut_drlink_simple (void)
 
M0_INTERNAL void m0_ut_dtm0_helper_init (struct m0_ut_dtm0_helper *udh)
 
M0_INTERNAL void m0_ut_dtm0_helper_fini (struct m0_ut_dtm0_helper *udh)
 

Variables

static const struct m0_bob_type dtm0_domain_bob_type
 
static const struct m0_modlev levels_dtm0_domain []
 
struct m0_dtm0_log_cfg M0_XCA_DOMAIN
 
enum { ... }  M0_XCA_DOMAIN
 
char * ut_dtm0_helper_argv []
 
static const char * ut_dtm0_client_endpoint = "0@lo:12345:34:2"
 
const char * ut_dtm0_helper_log = "dtm0_ut_server.log"
 

Detailed Description

Macro Definition Documentation

◆ DTM0_DOMAIN_LEVEL

#define DTM0_DOMAIN_LEVEL (   level)
Value:
[level] = { \
.ml_name = #level, \
.ml_enter = &dtm0_domain_level_enter, \
.ml_leave = &dtm0_domain_level_leave, \
}
enum m0_trace_level level
Definition: trace.c:111
static void dtm0_domain_level_leave(struct m0_module *module)
Definition: domain.c:139
static int dtm0_domain_level_enter(struct m0_module *module)
Definition: domain.c:96

Definition at line 53 of file domain.c.

◆ DTM0_UT_CONF_PROCESS

#define DTM0_UT_CONF_PROCESS   "<0x7200000000000001:5>"

Definition at line 48 of file helper.c.

◆ M0_TRACE_SUBSYSTEM [1/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file pruner.c.

◆ M0_TRACE_SUBSYSTEM [2/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file pmach.c.

◆ M0_TRACE_SUBSYSTEM [3/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file net.c.

◆ M0_TRACE_SUBSYSTEM [4/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file log.c.

◆ M0_TRACE_SUBSYSTEM [5/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file pmach.c.

◆ M0_TRACE_SUBSYSTEM [6/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file domain.c.

◆ M0_TRACE_SUBSYSTEM [7/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file dtx0.c.

◆ M0_TRACE_SUBSYSTEM [8/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file helper.c.

◆ M0_TRACE_SUBSYSTEM [9/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file dtx0.c.

◆ M0_TRACE_SUBSYSTEM [10/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file drlink.c.

◆ M0_TRACE_SUBSYSTEM [11/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file remach.c.

◆ M0_TRACE_SUBSYSTEM [12/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file domain.c.

◆ M0_TRACE_SUBSYSTEM [13/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file cfg_default.c.

◆ M0_TRACE_SUBSYSTEM [14/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file net.c.

◆ M0_TRACE_SUBSYSTEM [15/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_DTM0

Definition at line 28 of file log.c.

◆ M0_TRACE_SUBSYSTEM [16/16]

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_UT

Definition at line 28 of file remach.c.

◆ SERVER_ENDPOINT

#define SERVER_ENDPOINT   M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR

Definition at line 47 of file helper.c.

◆ SERVER_ENDPOINT_ADDR

#define SERVER_ENDPOINT_ADDR   "0@lo:12345:34:1"

Definition at line 46 of file helper.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DTM0_UT_DRLINK_SIMPLE_POST_NR 

Definition at line 43 of file drlink.c.

◆ anonymous enum

anonymous enum
Enumerator
MAX_RPCS_IN_FLIGHT 

Definition at line 42 of file helper.c.

◆ dtm0_domain_level

Enumerator
M0_DTM0_DOMAIN_LEVEL_INIT 
M0_DTM0_DOMAIN_LEVEL_LOG_MKFS 
M0_DTM0_DOMAIN_LEVEL_LOG_INIT 
M0_DTM0_DOMAIN_LEVEL_REMACH_INIT 
M0_DTM0_DOMAIN_LEVEL_PMACH_INIT 
M0_DTM0_DOMAIN_LEVEL_SERVICE_INIT 
M0_DTM0_DOMAIN_LEVEL_NET_INIT 
M0_DTM0_DOMAIN_LEVEL_REMACH_START 
M0_DTM0_DOMAIN_LEVEL_PMACH_START 
M0_DTM0_DOMAIN_LEVEL_PRUNER_INIT 
M0_DTM0_DOMAIN_LEVEL_READY 

Definition at line 59 of file domain.c.

◆ m0_avi_dtm0_labels

Enumerator
M0_AVI_DTX0_SM_STATE 
M0_AVI_DTX0_SM_COUNTER 
M0_AVI_DTX0_SM_COUNTER_END 

Definition at line 36 of file addb2.h.

◆ m0_dtm0_msg_type

Enumerator
M0_DMT_REDO 
M0_DMT_PERSISTENT 
M0_DMT_EOL 

Definition at line 64 of file net.h.

◆ m0_dtx0_state

Enumerator
M0_DTX0_STATE_INIT 
M0_DTX0_STATE_EXECUTED 
M0_DTX0_STATE_STABLE 

Definition at line 99 of file dtx0.h.

Function Documentation

◆ dtm0_domain_level_enter()

static int dtm0_domain_level_enter ( struct m0_module module)
static

Definition at line 96 of file domain.c.

Here is the call graph for this function:

◆ dtm0_domain_level_leave()

static void dtm0_domain_level_leave ( struct m0_module module)
static

Definition at line 139 of file domain.c.

Here is the call graph for this function:

◆ dtm0_module2domain()

static struct m0_dtm0_domain* dtm0_module2domain ( struct m0_module module)
static

Definition at line 44 of file domain.c.

Here is the caller graph for this function:

◆ M0_BOB_DEFINE()

M0_BOB_DEFINE ( static  ,
dtm0_domain_bob_type,
m0_dtm0_domain   
)

◆ m0_dtm0_domain_cfg_default_dup()

M0_INTERNAL int m0_dtm0_domain_cfg_default_dup ( struct m0_dtm0_domain_cfg dod_cfg)

Definition at line 37 of file cfg_default.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_domain_cfg_dup()

M0_INTERNAL struct m0_dtm0_domain_cfg * m0_dtm0_domain_cfg_dup ( struct m0_dtm0_domain_cfg dod_cfg)

Definition at line 55 of file cfg_default.c.

◆ m0_dtm0_domain_cfg_free()

M0_INTERNAL void m0_dtm0_domain_cfg_free ( struct m0_dtm0_domain_cfg dod_cfg)

Definition at line 60 of file cfg_default.c.

Here is the caller graph for this function:

◆ m0_dtm0_domain_create()

M0_INTERNAL int m0_dtm0_domain_create ( struct m0_dtm0_domain dod,
struct m0_dtm0_domain_create_cfg dc_cfg 
)

Definition at line 209 of file domain.c.

◆ m0_dtm0_domain_destroy()

M0_INTERNAL void m0_dtm0_domain_destroy ( struct m0_dtm0_domain dod)

Definition at line 215 of file domain.c.

◆ m0_dtm0_domain_fini()

M0_INTERNAL void m0_dtm0_domain_fini ( struct m0_dtm0_domain dod)

Definition at line 203 of file domain.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_domain_init()

M0_INTERNAL int m0_dtm0_domain_init ( struct m0_dtm0_domain dod,
struct m0_dtm0_domain_cfg dod_cfg 
)

Definition at line 183 of file domain.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_dtm0_log__create()

M0_INTERNAL int m0_dtm0_log__create ( struct m0_dtm0_log dol,
struct m0_dtm0_log_create_cfg dlc_cfg 
)

Definition at line 43 of file log.c.

◆ m0_dtm0_log_destroy()

M0_INTERNAL void m0_dtm0_log_destroy ( struct m0_dtm0_log dol)

Definition at line 49 of file log.c.

◆ m0_dtm0_log_fini()

M0_INTERNAL void m0_dtm0_log_fini ( struct m0_dtm0_log dol)

Definition at line 39 of file log.c.

Here is the caller graph for this function:

◆ m0_dtm0_log_init()

M0_INTERNAL int m0_dtm0_log_init ( struct m0_dtm0_log dol,
struct m0_dtm0_log_cfg dol_cfg 
)

Definition at line 33 of file log.c.

Here is the caller graph for this function:

◆ m0_dtm0_log_update()

M0_INTERNAL int m0_dtm0_log_update ( struct m0_dtm0_log dol,
struct m0_be_tx tx,
struct m0_be_op op,
const struct m0_dtm0_log_record rec,
bool  is_redo 
)

◆ m0_dtm0_log_update_credit()

M0_INTERNAL void m0_dtm0_log_update_credit ( struct m0_dtm0_log dol,
struct m0_dtm0_log_record rec,
struct m0_be_tx_credit accum 
)

◆ m0_dtm0_net_fini()

M0_INTERNAL void m0_dtm0_net_fini ( struct m0_dtm0_net dnet)

Definition at line 39 of file net.c.

Here is the caller graph for this function:

◆ m0_dtm0_net_init()

M0_INTERNAL int m0_dtm0_net_init ( struct m0_dtm0_net dnet,
struct m0_dtm0_net_cfg dnet_cfg 
)

Definition at line 33 of file net.c.

Here is the caller graph for this function:

◆ m0_dtm0_net_recv()

M0_INTERNAL void m0_dtm0_net_recv ( struct m0_dtm0_net dnet,
struct m0_be_op op,
struct m0_fid source,
struct m0_dtm0_msg msg,
enum m0_dtm0_msg_type  type 
)

◆ m0_dtm0_net_send()

M0_INTERNAL void m0_dtm0_net_send ( struct m0_dtm0_net dnet,
struct m0_be_op op,
const struct m0_fid target,
const struct m0_dtm0_msg msg 
)

◆ m0_dtm0_pmach_fini()

M0_INTERNAL void m0_dtm0_pmach_fini ( struct m0_dtm0_pmach drm)

Definition at line 40 of file pmach.c.

Here is the caller graph for this function:

◆ m0_dtm0_pmach_init()

M0_INTERNAL int m0_dtm0_pmach_init ( struct m0_dtm0_pmach drm,
struct m0_dtm0_pmach_cfg drm_cfg 
)

Definition at line 34 of file pmach.c.

Here is the caller graph for this function:

◆ m0_dtm0_pmach_start()

M0_INTERNAL void m0_dtm0_pmach_start ( struct m0_dtm0_pmach drm)

Definition at line 44 of file pmach.c.

Here is the caller graph for this function:

◆ m0_dtm0_pmach_stop()

M0_INTERNAL void m0_dtm0_pmach_stop ( struct m0_dtm0_pmach drm)

Definition at line 48 of file pmach.c.

Here is the caller graph for this function:

◆ m0_dtm0_pruner_fini()

M0_INTERNAL void m0_dtm0_pruner_fini ( struct m0_dtm0_pruner dpn)

Definition at line 39 of file pruner.c.

Here is the caller graph for this function:

◆ m0_dtm0_pruner_init()

M0_INTERNAL int m0_dtm0_pruner_init ( struct m0_dtm0_pruner dpn,
struct m0_dtm0_pruner_cfg dpn_cfg 
)

Definition at line 33 of file pruner.c.

Here is the caller graph for this function:

◆ m0_dtm0_pruner_start()

M0_INTERNAL void m0_dtm0_pruner_start ( struct m0_dtm0_pruner dpn)

Definition at line 43 of file pruner.c.

◆ m0_dtm0_pruner_stop()

M0_INTERNAL void m0_dtm0_pruner_stop ( struct m0_dtm0_pruner dpn)

Definition at line 47 of file pruner.c.

◆ m0_dtm0_remach_fini()

M0_INTERNAL void m0_dtm0_remach_fini ( struct m0_dtm0_remach drm)

Definition at line 39 of file remach.c.

Here is the caller graph for this function:

◆ m0_dtm0_remach_init()

M0_INTERNAL int m0_dtm0_remach_init ( struct m0_dtm0_remach drm,
struct m0_dtm0_remach_cfg drm_cfg 
)

Definition at line 33 of file remach.c.

Here is the caller graph for this function:

◆ m0_dtm0_remach_start()

M0_INTERNAL void m0_dtm0_remach_start ( struct m0_dtm0_remach drm)

Definition at line 43 of file remach.c.

Here is the caller graph for this function:

◆ m0_dtm0_remach_stop()

M0_INTERNAL void m0_dtm0_remach_stop ( struct m0_dtm0_remach drm)

Definition at line 47 of file remach.c.

Here is the caller graph for this function:

◆ m0_dtm0_ut_domain_init_fini()

void m0_dtm0_ut_domain_init_fini ( void  )

Definition at line 37 of file domain.c.

Here is the call graph for this function:

◆ m0_dtm0_ut_drlink_simple()

void m0_dtm0_ut_drlink_simple ( void  )

Definition at line 47 of file drlink.c.

Here is the call graph for this function:

◆ m0_dtx0_buf_set()

M0_INTERNAL int m0_dtx0_buf_set ( struct m0_dtx0 dtx0,
const struct m0_buf buf 
)

◆ m0_dtx0_cancel()

M0_INTERNAL void m0_dtx0_cancel ( struct m0_dtx0 dtx0)

◆ m0_dtx0_credit()

M0_INTERNAL void m0_dtx0_credit ( struct m0_dtx0 dtx0,
struct m0_be_tx_credit accum 
)

◆ m0_dtx0_fini()

M0_INTERNAL void m0_dtx0_fini ( struct m0_dtx0 dtx0)

Definition at line 39 of file dtx0.c.

◆ m0_dtx0_init()

M0_INTERNAL int m0_dtx0_init ( struct m0_dtx0 dtx0,
struct m0_dtm0_domain dod 
)

Definition at line 33 of file dtx0.c.

◆ m0_dtx0_log_update()

M0_INTERNAL int m0_dtx0_log_update ( struct m0_dtx0 dtx0,
struct m0_be_tx tx,
struct m0_be_op op,
bool  is_redo 
)

◆ m0_dtx0_participants_set()

M0_INTERNAL int m0_dtx0_participants_set ( struct m0_dtx0 dtx0,
const struct m0_fid rdtm_svcs,
int  rdtm_svcs_nr 
)

◆ m0_dtx0_set()

M0_INTERNAL int m0_dtx0_set ( struct m0_dtx0 dtx0,
const struct m0_dtm0_tx_desc txd,
const struct m0_buf buf 
)

◆ m0_dtx0_timestamp_set()

M0_INTERNAL void m0_dtx0_timestamp_set ( struct m0_dtx0 dtx0)

◆ m0_ut_dtm0_helper_fini()

M0_INTERNAL void m0_ut_dtm0_helper_fini ( struct m0_ut_dtm0_helper udh)

Definition at line 114 of file helper.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_ut_dtm0_helper_init()

M0_INTERNAL void m0_ut_dtm0_helper_init ( struct m0_ut_dtm0_helper udh)

Definition at line 64 of file helper.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dtm0_domain_bob_type

const struct m0_bob_type dtm0_domain_bob_type
static
Initial value:
= {
.bt_name = "m0_dtm0_domain",
.bt_magix_offset = M0_MAGIX_OFFSET(struct m0_dtm0_domain, dod_magix),
.bt_magix = M0_DTM0_DOMAIN_MAGIC,
}
#define M0_MAGIX_OFFSET(type, field)
Definition: misc.h:356

Definition at line 37 of file domain.c.

◆ levels_dtm0_domain

◆ M0_XCA_DOMAIN [1/2]

enum { ... } M0_XCA_DOMAIN

◆ M0_XCA_DOMAIN [2/2]

struct m0_dtm0_log_cfg M0_XCA_DOMAIN

◆ ut_dtm0_client_endpoint

const char* ut_dtm0_client_endpoint = "0@lo:12345:34:2"
static

Definition at line 60 of file helper.c.

◆ ut_dtm0_helper_argv

char* ut_dtm0_helper_argv[]
Initial value:
= {
"m0d", "-T", "linux",
"-D", "dtm0_sdb", "-S", "dtm0_stob",
"-A", "linuxstob:dtm0_addb_stob",
"-w", "10",
"-c", M0_SRC_PATH("dtm0/conf.xc")
}
#define M0_SRC_PATH(name)
Definition: misc.h:48
#define SERVER_ENDPOINT
Definition: helper.c:47
#define DTM0_UT_CONF_PROCESS
Definition: helper.c:48
#define SERVER_ENDPOINT_ADDR
Definition: helper.c:46

Definition at line 50 of file helper.c.

◆ ut_dtm0_helper_log

const char* ut_dtm0_helper_log = "dtm0_ut_server.log"

Definition at line 61 of file helper.c.