Motr
M0
|
Data Structures | |
struct | m0_ha_dispatcher_cfg |
struct | m0_ha_dispatcher |
struct | m0_ha_handler |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_HA |
Functions | |
M0_TL_DESCR_DEFINE (ha_dispatcher_handlers, "m0_ha_dispatcher::hds_handlers", static, struct m0_ha_handler, hh_link, hh_magic, 21, 22) | |
M0_TL_DEFINE (ha_dispatcher_handlers, static, struct m0_ha_handler) | |
static int | ha_dispatcher_level_enter (struct m0_module *module) |
static void | ha_dispatcher_level_leave (struct m0_module *module) |
M0_INTERNAL int | m0_ha_dispatcher_init (struct m0_ha_dispatcher *hd, struct m0_ha_dispatcher_cfg *hd_cfg) |
M0_INTERNAL void | m0_ha_dispatcher_fini (struct m0_ha_dispatcher *hd) |
M0_INTERNAL void | m0_ha_dispatcher_attach (struct m0_ha_dispatcher *hd, struct m0_ha_handler *hh) |
M0_INTERNAL void | m0_ha_dispatcher_detach (struct m0_ha_dispatcher *hd, struct m0_ha_handler *hh) |
M0_INTERNAL void | m0_ha_dispatcher_handle (struct m0_ha_dispatcher *hd, struct m0_ha *ha, struct m0_ha_link *hl, struct m0_ha_msg *msg, uint64_t tag) |
Variables | |
enum ha_dispatcher_level | M0_XCA_DOMAIN |
static const struct m0_modlev | ha_dispatcher_levels [] |
TODO put magics
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_HA |
Definition at line 32 of file dispatcher.c.
enum ha_dispatcher_level |
Definition at line 49 of file dispatcher.c.
|
static |
|
static |
M0_INTERNAL void m0_ha_dispatcher_attach | ( | struct m0_ha_dispatcher * | hd, |
struct m0_ha_handler * | hh | ||
) |
M0_INTERNAL void m0_ha_dispatcher_detach | ( | struct m0_ha_dispatcher * | hd, |
struct m0_ha_handler * | hh | ||
) |
M0_INTERNAL void m0_ha_dispatcher_fini | ( | struct m0_ha_dispatcher * | hd | ) |
Definition at line 212 of file dispatcher.c.
M0_INTERNAL void m0_ha_dispatcher_handle | ( | struct m0_ha_dispatcher * | hd, |
struct m0_ha * | ha, | ||
struct m0_ha_link * | hl, | ||
struct m0_ha_msg * | msg, | ||
uint64_t | tag | ||
) |
Definition at line 231 of file dispatcher.c.
M0_INTERNAL int m0_ha_dispatcher_init | ( | struct m0_ha_dispatcher * | hd, |
struct m0_ha_dispatcher_cfg * | hd_cfg | ||
) |
Definition at line 192 of file dispatcher.c.
M0_TL_DEFINE | ( | ha_dispatcher_handlers | , |
static | , | ||
struct m0_ha_handler | |||
) |
M0_TL_DESCR_DEFINE | ( | ha_dispatcher_handlers | , |
"m0_ha_dispatcher::hds_handlers" | , | ||
static | , | ||
struct m0_ha_handler | , | ||
hh_link | , | ||
hh_magic | , | ||
21 | , | ||
22 | |||
) |
|
static |
Definition at line 151 of file dispatcher.c.
enum ha_dispatcher_level M0_XCA_DOMAIN |