Lines Matching refs:module

49  *	NOTE: Use NO_UNLOAD_STUBs if the module is NOT unloadable once it is
99 #define MODULE(module,namespace) \
101 module/**/_modname: \
102 .string "namespace/module"; \
103 SET_SIZE(module/**/_modname); \
105 .globl module/**/_modinfo; \
106 .type module/**/_modinfo, @object; \
107 module/**/_modinfo: \
108 .quad module/**/_modname; \
114 #define END_MODULE(module) \
118 SET_SIZE(module/**/_modinfo)
125 #define STUB_COMMON(module, fcnname, install_fcn, retfcn, weak) \
139 .quad module/**/_modinfo; /* 0x8 */ \
145 #define STUB_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
160 .quad module/**/_modinfo; /* 0x8 */ \
226 call mod_release_stub /* release hold on module */
241 #define MODULE(module,namespace) \
243 module/**/_modname: \
244 .string "namespace/module"; \
245 SET_SIZE(module/**/_modname); \
247 .globl module/**/_modinfo; \
248 .type module/**/_modinfo, @object; \
249 module/**/_modinfo: \
250 .long module/**/_modname; \
256 #define END_MODULE(module) \
260 SET_SIZE(module/**/_modinfo)
269 * indicate if a module is installed and initialized. This flag is used
276 #define STUB_COMMON(module, fcnname, install_fcn, retfcn, weak) \
290 .long module/**/_modinfo; \
296 #define STUB_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
311 .long module/**/_modinfo; /* 0x4 */ \
352 call mod_release_stub / release hold on module
363 #define STUB(module, fcnname, retfcn) \
364 STUB_COMMON(module, fcnname, mod_hold_stub, retfcn, 0)
369 #define WSTUB(module, fcnname, retfcn) \
370 STUB_COMMON(module, fcnname, retfcn, retfcn, MODS_WEAK)
373 * "non-unloadable stub", don't bother 'holding' module if it's already loaded
374 * since the module cannot be unloaded.
376 * User *MUST* guarantee the module is not unloadable (no _fini routine).
378 #define NO_UNLOAD_STUB(module, fcnname, retfcn) \
379 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD)
382 * "weak stub" for non-unloadable module, don't load on account of this call
384 #define NO_UNLOAD_WSTUB(module, fcnname, retfcn) \
385 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD|MODS_WEAK)
406 * Stubs for devfs. A non-unloadable module.
434 * Stubs for specfs. A non-unloadable module.
463 * Stubs for sockfs. A non-unloadable module.
626 * Stubs for kernel TLI module
645 * Stubs for kernel RPC module
672 * Stubs for procfs. A non-unloadable module.
851 * Stubs for console configuration module
997 * Stubs for kernel rpc security service module
1009 * Stubs for rpc RPCSEC_GSS security service module
1031 * Stubs for PCI configurator module (misc/pcicfg).
1056 * Stubs for checkpoint-resume module
1065 * Stubs for kernel probes (tnf module). Not unloadable.
1123 * Stubs for kernel cryptographic framework module (misc/kcf).
1236 * Stubs for sha1. A non-unloadable module.
1247 * The following stubs are used by the mac module.
1263 * The following stubs are used by the mac module.
1415 * Stub(s) for APIX module.