Lines Matching refs:mod
95 stack->mod = NULL;
113 stack->mod = (struct module_func_block**)calloc((size_t)
115 if(!stack->mod) {
120 stack->mod[i] = module_factory(&module_conf);
121 if(!stack->mod[i]) {
236 i, stack->mod[i]->name);
237 fptr_ok(fptr_whitelist_mod_init(stack->mod[i]->init));
238 if(!(*stack->mod[i]->init)(env, i)) {
240 stack->mod[i]->name);
252 fptr_ok(fptr_whitelist_mod_deinit(stack->mod[i]->deinit));
253 (*stack->mod[i]->deinit)(env, i);
256 free(stack->mod);
257 stack->mod = NULL;
265 if(strcmp(stack->mod[i]->name, name) == 0)
277 mods.mod[m]->get_mem));
278 return (*env->mesh->mods.mod[m]->get_mem)(env, m);