Lines Matching defs:module

89 #define	MODULE(module,namespace)	\
91 module/**/_modname: \
92 .ascii "namespace/module"; \
95 .global module/**/_modinfo; \
96 .type module/**/_modinfo, #object; \
97 .size module/**/_modinfo, 16; \
98 module/**/_modinfo: \
100 .word module/**/_modname; \
104 #define END_MODULE(module) \
108 #define STUB(module, fcnname, retfcn) \
109 STUB_COMMON(module, fcnname, mod_hold_stub, retfcn, 0)
114 #define WSTUB(module, fcnname, retfcn) \
115 STUB_COMMON(module, fcnname, retfcn, retfcn, MODS_WEAK)
118 * "non-unloadable stub", don't bother 'holding' module if it's already loaded
119 * since the module cannot be unloaded.
121 * User *MUST* guarantee the module is not unloadable (no _fini routine).
123 #define NO_UNLOAD_STUB(module, fcnname, retfcn) \
124 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD)
132 #define SCALL_NU_STUB(module, fcnname, retfcn) \
133 SCALL_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD)
134 /* "weak stub" for non-unloadable module, don't load on account of this call */
135 #define NO_UNLOAD_WSTUB(module, fcnname, retfcn) \
136 STUB_UNLOADABLE(module, fcnname, retfcn, retfcn, MODS_NOUNLOAD|MODS_WEAK)
138 #define STUB_DATA(module, fcnname, install_fcn, retfcn, weak) \
145 .word module/**/_modinfo; /* c */ \
154 * indicate if a module is installed and initialized. This flag is used
161 #define STUB_COMMON(module, fcnname, install_fcn, retfcn, weak) \
182 STUB_DATA(module, fcnname, install_fcn, retfcn, weak)
184 #define STUB_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
193 be,a 2f; /* no, load module */ \
205 STUB_DATA(module, fcnname, install_fcn, retfcn, weak)
207 #define SCALL_UNLOADABLE(module, fcnname, install_fcn, retfcn, weak) \
213 be,a %xcc, 1f; /* no, load module */ \
224 STUB_DATA(module, fcnname, install_fcn, retfcn, weak)
249 call mod_hold_stub /* Hold the module */
270 call mod_release_stub /* release hold on module */
295 * Stubs for devfs. A non-unloadable module.
325 * Stubs for specfs. A non-unloadable module.
354 * Stubs for sockfs. A non-unloadable module.
514 * Stubs for kernel TLI module
533 * Stubs for kernel RPC module
560 * Stubs for procfs. A non-unloadable module.
763 * Stubs for console configuration module
775 * Stubs for zs (uart) module
917 * Stubs for kernel rpc security service module
929 * Stubs for rpc RPCSEC_GSS security service module
957 * Stubs for checkpoint-resume module
966 * Stubs for VIS module
978 * Stubs for kernel probes (tnf module). Not unloadable.
1028 * Stubs for PCI configurator module (misc/pcicfg).
1047 * Stubs for kernel cryptographic framework module (misc/kcf).
1161 * Stubs for sha1. A non-unloadable module.
1172 * The following stubs are used by the mac module.
1188 * The following stubs are used by the mac module.