|
static struct m0_dtm0_service * | to_dtm (struct m0_reqh_service *service) |
|
static int | dtm0_service_start (struct m0_reqh_service *service) |
|
static void | dtm0_service_stop (struct m0_reqh_service *service) |
|
static void | dtm0_service_prepare_to_stop (struct m0_reqh_service *service) |
|
static int | dtm0_service_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
|
static void | dtm0_service_fini (struct m0_reqh_service *service) |
|
| M0_TL_DESCR_DEFINE (dopr, "dtm0_process", static, struct dtm0_process, dop_link, dop_magic, M0_DTM0_PROC_MAGIC, M0_DTM0_PROC_HEAD_MAGIC) |
|
| M0_TL_DEFINE (dopr, static, struct dtm0_process) |
|
| M0_BOB_DEFINE (static, &dtm0_service_bob, m0_dtm0_service) |
|
M0_INTERNAL struct m0_dtm0_service * | m0_dtm0_fom2service (struct m0_fom *fom) |
|
static void | dtm0_service__init (struct m0_dtm0_service *s) |
|
static void | dtm0_service__fini (struct m0_dtm0_service *s) |
|
M0_INTERNAL int | m0_dtm_client_service_start (struct m0_reqh *reqh, struct m0_fid *cli_srv_fid, struct m0_reqh_service **out) |
|
M0_INTERNAL void | m0_dtm_client_service_stop (struct m0_reqh_service *svc) |
|
M0_INTERNAL struct dtm0_process * | dtm0_service_process__lookup (struct m0_reqh_service *reqh_dtm0_svc, const struct m0_fid *remote_dtm0) |
|
M0_INTERNAL int | m0_dtm0_service_process_connect (struct m0_reqh_service *s, struct m0_fid *remote_srv, const char *remote_ep, bool async) |
|
static int | dtm0_process_disconnect (struct dtm0_process *process) |
|
M0_INTERNAL int | m0_dtm0_service_process_disconnect (struct m0_reqh_service *s, struct m0_fid *remote_srv) |
|
M0_INTERNAL struct m0_rpc_session * | m0_dtm0_service_process_session_get (struct m0_reqh_service *s, const struct m0_fid *remote_srv) |
|
static int | dtm0_service__alloc (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype, const struct m0_reqh_service_ops *ops) |
|
static int | volatile_log_init (struct m0_dtm0_service *dtm0) |
|
static int | persistent_log_init (struct m0_dtm0_service *dtm0) |
|
static int | dtm_service__origin_fill (struct m0_reqh_service *service) |
|
M0_INTERNAL int | m0_dtm0_stype_init (void) |
|
M0_INTERNAL void | m0_dtm0_stype_fini (void) |
|
M0_INTERNAL bool | m0_dtm0_is_a_volatile_dtm (struct m0_reqh_service *service) |
|
M0_INTERNAL bool | m0_dtm0_is_a_persistent_dtm (struct m0_reqh_service *service) |
|
M0_INTERNAL struct m0_dtm0_service * | m0_dtm0_service_find (const struct m0_reqh *reqh) |
|
M0_INTERNAL bool | m0_dtm0_in_ut (void) |
|
M0_INTERNAL int | dtm0_process_init (struct dtm0_process *proc, struct m0_dtm0_service *dtms, const struct m0_fid *rem_svc_fid) |
|
M0_INTERNAL void | dtm0_process_fini (struct dtm0_process *proc) |
|
M0_INTERNAL void | dtm0_service_conns_term (struct m0_dtm0_service *service) |
|