28 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0 53 #define DTM0_DOMAIN_LEVEL(level) [level] = { \ 55 .ml_enter = &dtm0_domain_level_enter, \ 56 .ml_leave = &dtm0_domain_level_leave, \ 94 #undef DTM0_DOMAIN_LEVEL 102 M0_ENTRY(
"dod=%p level=%d level_name=%s",
144 M0_ENTRY(
"dod=%p level=%d level_name=%s",
196 m0_dtm0_domain_bob_init(dod);
206 m0_dtm0_domain_bob_fini(dod);
219 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL int m0_dtm0_pmach_init(struct m0_dtm0_pmach *drm, struct m0_dtm0_pmach_cfg *drm_cfg)
struct m0_dtm0_log dod_log
static const struct m0_modlev levels_dtm0_domain[]
M0_INTERNAL int m0_dtm0_remach_init(struct m0_dtm0_remach *drm, struct m0_dtm0_remach_cfg *drm_cfg)
struct m0_module dod_module
M0_INTERNAL void m0_dtm0_remach_fini(struct m0_dtm0_remach *drm)
struct m0_dtm0_domain_cfg dod_cfg
M0_INTERNAL void m0_dtm0_log_fini(struct m0_dtm0_log *dol)
enum m0_trace_level level
static void dtm0_domain_level_leave(struct m0_module *module)
static int dtm0_domain_level_enter(struct m0_module *module)
M0_INTERNAL int m0_dtm0_domain_create(struct m0_dtm0_domain *dod, struct m0_dtm0_domain_create_cfg *dc_cfg)
M0_INTERNAL int m0_dtm0_domain_init(struct m0_dtm0_domain *dod, struct m0_dtm0_domain_cfg *dod_cfg)
M0_INTERNAL void m0_dtm0_pruner_fini(struct m0_dtm0_pruner *dpn)
struct m0_dtm0_net dod_net
M0_INTERNAL struct m0 * m0_get(void)
M0_INTERNAL int m0_dtm0_net_init(struct m0_dtm0_net *dnet, struct m0_dtm0_net_cfg *dnet_cfg)
M0_INTERNAL void m0_dtm0_pmach_start(struct m0_dtm0_pmach *drm)
struct m0_dtm0_pruner dod_pruner
M0_INTERNAL void m0_dtm0_domain_destroy(struct m0_dtm0_domain *dod)
#define bob_of(ptr, type, field, bt)
M0_INTERNAL void m0_module_setup(struct m0_module *module, const char *name, const struct m0_modlev *level, int level_nr, struct m0 *instance)
#define DTM0_DOMAIN_LEVEL(level)
M0_INTERNAL int m0_dtm0_pruner_init(struct m0_dtm0_pruner *dpn, struct m0_dtm0_pruner_cfg *dpn_cfg)
M0_BOB_DEFINE(static, &dtm0_domain_bob_type, m0_dtm0_domain)
M0_INTERNAL int m0_dtm0_log_init(struct m0_dtm0_log *dol, struct m0_dtm0_log_cfg *dol_cfg)
struct m0_dtm0_net_cfg dodc_net
M0_INTERNAL void m0_dtm0_net_fini(struct m0_dtm0_net *dnet)
static struct m0_dtm0_domain * dtm0_module2domain(struct m0_module *module)
struct m0_dtm0_log_cfg dodc_log
M0_INTERNAL void m0_dtm0_remach_start(struct m0_dtm0_remach *drm)
#define M0_MAGIX_OFFSET(type, field)
M0_INTERNAL void m0_dtm0_pmach_stop(struct m0_dtm0_pmach *drm)
struct m0_dtm0_remach_cfg dodc_remach
static const struct m0_bob_type dtm0_domain_bob_type
struct m0_dtm0_pmach dod_pmach
struct m0_dtm0_pruner_cfg dodc_pruner
struct m0_dtm0_remach dod_remach
M0_INTERNAL void m0_dtm0_remach_stop(struct m0_dtm0_remach *drm)
M0_INTERNAL void m0_dtm0_domain_fini(struct m0_dtm0_domain *dod)
M0_INTERNAL void m0_dtm0_pmach_fini(struct m0_dtm0_pmach *drm)
struct m0_dtm0_pmach_cfg dodc_pmach
M0_INTERNAL void m0_module_fini(struct m0_module *module, int level)
M0_INTERNAL int m0_module_init(struct m0_module *module, int level)
#define M0_IMPOSSIBLE(fmt,...)