Lines Matching defs:module
44 #include <sys/module.h>
47 static MALLOC_DEFINE(M_MODULE, "module", "module data structures");
49 struct module {
50 TAILQ_ENTRY(module) link; /* chain together all modules */
51 TAILQ_ENTRY(module) flink; /* all modules in a file */
52 struct linker_file *file; /* file which contains this module */
55 char *name; /* module name */
58 modspecific_t data; /* module specific data */
63 static TAILQ_HEAD(modulelist, module) modules;
86 sx_init(&modules_sx, "module subsystem sx lock");
92 SYSINIT(module, SI_SUB_KLD, SI_ORDER_FIRST, module_init, 0);
120 panic("module_register_init: module named %s not found\n",
136 * Once a module is successfully loaded, move
137 * it to the head of the module list for this
166 newmod = malloc(sizeof(struct module) + namelen, M_MODULE, M_WAITOK);
412 * >v1 stat includes module data.
510 * >v1 stat includes module data.