#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.
|
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) |
|
SYSCALL_DEFINE5 |
( |
mremap |
, |
|
|
unsigned |
long, |
|
|
addr |
, |
|
|
unsigned |
long, |
|
|
old_len |
, |
|
|
unsigned |
long, |
|
|
new_len |
, |
|
|
unsigned |
long, |
|
|
flags |
, |
|
|
unsigned |
long, |
|
|
new_addr |
|
|
) |
| |