Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

i386/mm/fault.c File Reference

#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/interrupt.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/hardirq.h>

Include dependency graph for i386/mm/fault.c:

Go to the source code of this file.

Functions

void die (const char *, struct pt_regs *, long)
int __verify_write (const void *addr, unsigned long size)
asmlinkage void do_invalid_op (struct pt_regs *, unsigned long)
asmlinkage void do_page_fault (struct pt_regs *regs, unsigned long error_code)

Variables

unsigned long idt


Function Documentation

int __verify_write const void *  addr,
unsigned long  size
 

Definition at line 30 of file i386/mm/fault.c.

References check_stack(), current, fault, find_vma(), force_sig(), handle_mm_fault(), long, PAGE_MASK, PAGE_SHIFT, PAGE_SIZE, SCHED_YIELD, schedule(), SIGBUS, and start.

Here is the call graph for this function:

void die const char *  ,
struct pt_regs ,
long 
 

Definition at line 206 of file i386/kernel/traps.c.

asmlinkage void do_invalid_op struct pt_regs ,
unsigned  long
 

Referenced by do_page_fault().

asmlinkage void do_page_fault struct pt_regs regs,
unsigned long  error_code
 

Definition at line 111 of file i386/mm/fault.c.

References __asm__(), __va, bit, boot_cpu_data, current, die(), do_exit(), do_invalid_op(), down(), pt_regs::eflags, pt_regs::eip, pt_regs::esp, cpuinfo_x86::f00f_bug, fault, find_vma(), fixup, force_sig(), handle_mm_fault(), idt, in_interrupt, init_mm, KERN_ALERT, local_flush_tlb, mk_pte, nr, page, PAGE_KERNEL, PAGE_MASK, PAGE_OFFSET, PAGE_SHIFT, PAGE_SIZE, pg0, printk, SCHED_YIELD, schedule(), search_exception_table(), SIGBUS, SIGKILL, SIGSEGV, SIGTERM, TASK_SIZE, up, VM_MASK, cpuinfo_x86::wp_works_ok, and write.

Here is the call graph for this function:


Variable Documentation

unsigned long idt
 

Referenced by do_page_fault().