56 switch (module->
m_cur + 1) {
61 m0_inst_lockers_init(inst);
80 m0_inst_lockers_fini(inst);
86 .
ml_name =
"M0_LEVEL_INST_PREPARE",
91 .ml_name =
"M0_LEVEL_INST_QUIESCE_SYSTEM",
96 .ml_name =
"M0_LEVEL_INST_ONCE",
101 .ml_name =
"M0_LEVEL_INST_SUBSYSTEMS",
106 .ml_name =
"M0_LEVEL_INST_READY"
static void level_inst_leave(struct m0_module *module)
M0_INTERNAL void m0_set(struct m0 *instance)
static const struct m0_modlev levels_inst[]
M0_INTERNAL void m0_fini_once(void)
struct m0 * tls_m0_instance
M0_INTERNAL void m0_instance_setup(struct m0 *instance)
M0_INTERNAL struct m0 * m0_get(void)
#define container_of(ptr, type, member)
M0_INTERNAL void m0_subsystems_fini(void)
M0_INTERNAL struct m0_thread_tls * m0_thread_tls(void)
M0_INTERNAL void m0_quiesce_fini(void)
#define M0_AMB(obj, ptr, field)
M0_INTERNAL void m0_module_setup(struct m0_module *module, const char *name, const struct m0_modlev *level, int level_nr, struct m0 *instance)
M0_INTERNAL int m0_quiesce_init(void)
static int level_inst_enter(struct m0_module *module)
M0_INTERNAL int m0_subsystems_init(void)
static struct m0 instance
M0_LOCKERS__DEFINE(M0_INTERNAL, m0_inst, m0, i_lockers)
M0_INTERNAL int m0_init_once(struct m0 *instance)
struct m0_tl i_param_sources
#define M0_IMPOSSIBLE(fmt,...)