#include <linux/config.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/shm.h>
#include <linux/mman.h>
#include <linux/swap.h>
#include <asm/uaccess.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <ipldef.h>
#include <phddef.h>
#include <rdedef.h>
#include <misc_routines.h>
Go to the source code of this file.
Functions | |
int | vm_enough_memory (long pages) |
unsigned long | do_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr) |
asmlinkage unsigned long | sys_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr) |
unsigned long do_mremap | ( | unsigned long | addr, | |
unsigned long | old_len, | |||
unsigned long | new_len, | |||
unsigned long | flags, | |||
unsigned long | new_addr | |||
) |
Definition at line 244 of file vmsmremap.c.
References do_munmap(), find_vma(), get_unmapped_area(), make_pages_present(), _rde::rde_l_flags, _rde::rde_pq_start_va, _rde::rde_ps_va_list_flink, _rde::rde_q_region_size, and vm_enough_memory().
Referenced by sys_mremap().
asmlinkage unsigned long sys_mremap | ( | unsigned long | addr, | |
unsigned long | old_len, | |||
unsigned long | new_len, | |||
unsigned long | flags, | |||
unsigned long | new_addr | |||
) |
int vm_enough_memory | ( | long | pages | ) |
Definition at line 72 of file vmsmmap.c.
References swapper_space, and sysctl_overcommit_memory.
Referenced by do_brk(), do_mmap_pgoff(), do_mremap(), module_init(), and sys_brk().