Lines Matching defs:module

50  *	NOTE: Use NO_UNLOAD_STUBs if the module is NOT unloadable once it is
100 #define MODULE(module,namespace) \
102 module/**/_modname: \
103 .string "namespace/module"; \
104 SET_SIZE(module/**/_modname); \
106 .globl module/**/_modinfo; \
107 .type module/**/_modinfo, @object; \
108 module/**/_modinfo: \
109 .quad module/**/_modname; \
115 #define END_MODULE(module) \
119 SET_SIZE(module/**/_modinfo)
126 #define STUB_COMMON(module, fcnname, install_fcn, retfcn, weak) \
140 .quad module/**/_modinfo; /* 0x8 */ \
146 #define STUB_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
161 .quad module/**/_modinfo; /* 0x8 */ \
227 call mod_release_stub /* release hold on module */
242 #define MODULE(module,namespace) \
244 module/**/_modname: \
245 .string "namespace/module"; \
246 SET_SIZE(module/**/_modname); \
248 .globl module/**/_modinfo; \
249 .type module/**/_modinfo, @object; \
250 module/**/_modinfo: \
251 .long module/**/_modname; \
257 #define END_MODULE(module) \
261 SET_SIZE(module/**/_modinfo)
270 * indicate if a module is installed and initialized. This flag is used
277 #define STUB_COMMON(module, fcnname, install_fcn, retfcn, weak) \
291 .long module/**/_modinfo; \
297 #define STUB_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
312 .long module/**/_modinfo; /* 0x4 */ \
353 call mod_release_stub / release hold on module
364 #define STUB(module, fcnname, retfcn) \
365 STUB_COMMON(module, fcnname, mod_hold_stub, retfcn, 0)
370 #define WSTUB(module, fcnname, retfcn) \
371 STUB_COMMON(module, fcnname, retfcn, retfcn, MODS_WEAK)
374 * "non-unloadable stub", don't bother 'holding' module if it's already loaded
375 * since the module cannot be unloaded.
377 * User *MUST* guarantee the module is not unloadable (no _fini routine).
379 #define NO_UNLOAD_STUB(module, fcnname, retfcn) \
380 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD)
383 * "weak stub" for non-unloadable module, don't load on account of this call
385 #define NO_UNLOAD_WSTUB(module, fcnname, retfcn) \
386 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD|MODS_WEAK)
407 * Stubs for devfs. A non-unloadable module.
435 * Stubs for specfs. A non-unloadable module.
464 * Stubs for sockfs. A non-unloadable module.
625 * Stubs for kernel TLI module
644 * Stubs for kernel RPC module
671 * Stubs for procfs. A non-unloadable module.
852 * Stubs for console configuration module
998 * Stubs for kernel rpc security service module
1010 * Stubs for rpc RPCSEC_GSS security service module
1032 * Stubs for PCI configurator module (misc/pcicfg).
1057 * Stubs for checkpoint-resume module
1066 * Stubs for kernel probes (tnf module). Not unloadable.
1124 * Stubs for kernel cryptographic framework module (misc/kcf).
1238 * Stubs for sha1. A non-unloadable module.
1249 * The following stubs are used by the mac module.
1265 * The following stubs are used by the mac module.
1417 * Stub(s) for APIX module.