Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
module.c File Reference
#include <linux/moduleloader.h>
#include <linux/elf.h>
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <asm/dma.h>
#include <asm/cacheflush.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "module %s: " fmt, mod->name
 

Functions

int module_frob_arch_sections (Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod)
 
int apply_relocate_add (Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod)
 
int module_finalize (const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod)
 
void module_arch_cleanup (struct module *mod)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "module %s: " fmt, mod->name

Definition at line 7 of file module.c.

Function Documentation

int apply_relocate_add ( Elf_Shdr sechdrs,
const char strtab,
unsigned int  symindex,
unsigned int  relsec,
struct module mod 
)

Definition at line 151 of file module.c.

void module_arch_cleanup ( struct module mod)

Definition at line 279 of file module.c.

int module_finalize ( const Elf_Ehdr hdr,
const Elf_Shdr sechdrs,
struct module mod 
)

Definition at line 234 of file module.c.

int module_frob_arch_sections ( Elf_Ehdr hdr,
Elf_Shdr sechdrs,
char secstrings,
struct module mod 
)

Definition at line 21 of file module.c.