Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
extable.c File Reference
#include <linux/ftrace.h>
#include <linux/memory.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/init.h>
#include <asm/sections.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Functions

 DEFINE_MUTEX (text_mutex)
 
void __init sort_main_extable (void)
 
struct exception_table_entrysearch_exception_tables (unsigned long addr)
 
int core_kernel_text (unsigned long addr)
 
int core_kernel_data (unsigned long addr)
 
int __kernel_text_address (unsigned long addr)
 
int kernel_text_address (unsigned long addr)
 
int func_ptr_is_kernel_text (void *ptr)
 

Variables

struct exception_table_entry __start___ex_table []
 
struct exception_table_entry __stop___ex_table []
 
u32 __initdata main_extable_sort_needed = 1
 

Function Documentation

int __kernel_text_address ( unsigned long  addr)

Definition at line 99 of file extable.c.

int core_kernel_data ( unsigned long  addr)

core_kernel_data - tell if addr points to kernel data : address to test

Returns true if passed in is from the core kernel data section.

Note: On some archs it may return true for core RODATA, and false for others. But will always be true for core RW data.

Definition at line 91 of file extable.c.

int core_kernel_text ( unsigned long  addr)

Definition at line 69 of file extable.c.

DEFINE_MUTEX ( text_mutex  )
int func_ptr_is_kernel_text ( void ptr)

Definition at line 132 of file extable.c.

int kernel_text_address ( unsigned long  addr)

Definition at line 118 of file extable.c.

struct exception_table_entry* search_exception_tables ( unsigned long  addr)
read

Definition at line 51 of file extable.c.

void __init sort_main_extable ( void  )

Definition at line 42 of file extable.c.

Variable Documentation

struct exception_table_entry __start___ex_table[]
struct exception_table_entry __stop___ex_table[]
u32 __initdata main_extable_sort_needed = 1

Definition at line 39 of file extable.c.