Lines Matching defs:module
19 mod module;
27 /// Declares a kernel module.
32 /// The `params` field describe module parameters. Each entry has the form
65 /// module!{
69 /// description: "My very own kernel module!",
95 /// The following example shows how to declare a kernel module that needs
98 /// in the `modinfo` section of the kernel module. For example, a tool to
105 /// module!{
126 /// - `name`: ASCII string literal of the name of the kernel module (required).
127 /// - `authors`: array of ASCII string literals of the authors of the kernel module.
128 /// - `description`: string literal of the description of the kernel module.
129 /// - `license`: ASCII string literal of the license of the kernel module (required).
130 /// - `alias`: array of ASCII string literals of the alias names of the kernel module.
132 /// the kernel module.
134 pub fn module(input: TokenStream) -> TokenStream {
135 module::module(parse_macro_input!(input))
463 /// This macro should be used on modules. If `CONFIG_KUNIT` (in `.config`) is `n`, the target module