Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mremap.c File Reference
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/shm.h>
#include <linux/ksm.h>
#include <linux/mman.h>
#include <linux/swap.h>
#include <linux/capability.h>
#include <linux/fs.h>
#include <linux/highmem.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/mmu_notifier.h>
#include <asm/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define LATENCY_LIMIT   (64 * PAGE_SIZE)
 

Functions

unsigned long move_page_tables (struct vm_area_struct *vma, unsigned long old_addr, struct vm_area_struct *new_vma, unsigned long new_addr, unsigned long len, bool need_rmap_locks)
 
 SYSCALL_DEFINE5 (mremap, unsigned long, addr, unsigned long, old_len, unsigned long, new_len, unsigned long, flags, unsigned long, new_addr)
 

Macro Definition Documentation

#define LATENCY_LIMIT   (64 * PAGE_SIZE)

Definition at line 142 of file mremap.c.

Function Documentation

unsigned long move_page_tables ( struct vm_area_struct vma,
unsigned long  old_addr,
struct vm_area_struct new_vma,
unsigned long  new_addr,
unsigned long  len,
bool  need_rmap_locks 
)

Definition at line 144 of file mremap.c.

SYSCALL_DEFINE5 ( mremap  ,
unsigned  long,
addr  ,
unsigned  long,
old_len  ,
unsigned  long,
new_len  ,
unsigned  long,
flags  ,
unsigned  long,
new_addr   
)

Definition at line 451 of file mremap.c.