Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
module.c File Reference
#include <linux/bitops.h>
#include <linux/elf.h>
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/moduleloader.h>
#include <linux/vmalloc.h>

Go to the source code of this file.

Enumerations

enum  aarch64_reloc_op { RELOC_OP_NONE, RELOC_OP_ABS, RELOC_OP_PREL, RELOC_OP_PAGE }
 
enum  aarch64_imm_type {
  INSN_IMM_MOVNZ, INSN_IMM_MOVK, INSN_IMM_ADR, INSN_IMM_26,
  INSN_IMM_19, INSN_IMM_16, INSN_IMM_14, INSN_IMM_12,
  INSN_IMM_9
}
 

Functions

voidmodule_alloc (unsigned long size)
 
int apply_relocate_add (Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me)
 

Enumeration Type Documentation

Enumerator:
INSN_IMM_MOVNZ 
INSN_IMM_MOVK 
INSN_IMM_ADR 
INSN_IMM_26 
INSN_IMM_19 
INSN_IMM_16 
INSN_IMM_14 
INSN_IMM_12 
INSN_IMM_9 

Definition at line 97 of file module.c.

Enumerator:
RELOC_OP_NONE 
RELOC_OP_ABS 
RELOC_OP_PREL 
RELOC_OP_PAGE 

Definition at line 36 of file module.c.

Function Documentation

int apply_relocate_add ( Elf64_Shdr sechdrs,
const char strtab,
unsigned int  symindex,
unsigned int  relsec,
struct module me 
)

Definition at line 254 of file module.c.

void* module_alloc ( unsigned long  size)

Definition at line 29 of file module.c.