#include <linux/list.h>
#include <linux/stat.h>
#include <linux/compiler.h>
#include <linux/cache.h>
#include <linux/kmod.h>
#include <linux/elf.h>
#include <linux/stringify.h>
#include <linux/kobject.h>
#include <linux/moduleparam.h>
#include <linux/tracepoint.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <asm/module.h>
Go to the source code of this file.
|
#define | MODULE_SIG_STRING "~Module signature appended~\n" |
|
#define | MODULE_SUPPORTED_DEVICE(name) |
|
#define | MODULE_NAME_LEN MAX_PARAM_PREFIX_LEN |
|
#define | MODULE_GENERIC_TABLE(gtype, name) |
|
#define | MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) |
|
#define | MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias) |
|
#define | MODULE_LICENSE(_license) MODULE_INFO(license, _license) |
|
#define | MODULE_AUTHOR(_author) MODULE_INFO(author, _author) |
|
#define | MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) |
|
#define | MODULE_DEVICE_TABLE(type, name) MODULE_GENERIC_TABLE(type##_device,name) |
|
#define | MODULE_VERSION(_version) MODULE_INFO(version, _version) |
|
#define | MODULE_FIRMWARE(_firmware) MODULE_INFO(firmware, _firmware) |
|
#define | symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); }) |
|
#define | symbol_put(x) do { } while(0) |
|
#define | symbol_put_addr(x) do { } while(0) |
|
#define | module_name(mod) "kernel" |
|
#define | module_put_and_exit(code) do_exit(code) |
|
#define | symbol_request(x) try_then_request_module(symbol_get(x), "symbol:" #x) |
|
#define | __MODULE_STRING(x) __stringify(x) |
|
#define MODULE_AUTHOR |
( |
|
_author | ) |
MODULE_INFO(author, _author) |
#define MODULE_GENERIC_TABLE |
( |
|
gtype, |
|
|
|
name |
|
) |
| |
#define MODULE_LICENSE |
( |
|
_license | ) |
MODULE_INFO(license, _license) |
#define module_name |
( |
|
mod | ) |
"kernel" |
#define MODULE_SUPPORTED_DEVICE |
( |
|
name | ) |
|
#define symbol_put |
( |
|
x | ) |
do { } while(0) |
#define symbol_put_addr |
( |
|
x | ) |
do { } while(0) |