#include <linux/config.h>#include <linux/slab.h>#include <linux/vmalloc.h>#include <linux/spinlock.h>#include <linux/highmem.h>#include <linux/smp_lock.h>#include <asm/uaccess.h>#include <asm/pgalloc.h>#include <asm/pgtable.h>Go to the source code of this file.
Functions | |
| void | vmfree_area_pages (unsigned long address, unsigned long size) |
| int | vmalloc_area_pages (unsigned long address, unsigned long size, int gfp_mask, pgprot_t prot) |
| struct vm_struct * | get_vm_area (unsigned long size, unsigned long flags) |
| void | vfree (void *addr) |
| void * | __vmalloc (unsigned long size, int gfp_mask, pgprot_t prot) |
| long | vread (char *buf, char *addr, unsigned long count) |
| long | vwrite (char *buf, char *addr, unsigned long count) |
Variables | |
| rwlock_t | vmlist_lock = RW_LOCK_UNLOCKED |
| struct vm_struct * | vmlist |
| void* __vmalloc | ( | unsigned long | size, | |
| int | gfp_mask, | |||
| pgprot_t | prot | |||
| ) |
Definition at line 280 of file vmsvmalloc.c.
References get_vm_area(), num_physpages, vfree(), and vmalloc_area_pages().
| struct vm_struct* get_vm_area | ( | unsigned long | size, | |
| unsigned long | flags | |||
| ) | [read] |
Definition at line 222 of file vmsvmalloc.c.
References kfree(), kmalloc(), vmlist, and vmlist_lock.
Referenced by __vmalloc().
| void vfree | ( | void * | addr | ) |
Definition at line 256 of file vmsvmalloc.c.
References kfree(), vmfree_area_pages(), vmlist, and vmlist_lock.
Referenced by __vmalloc(), cwps_forcex(), exe_dacefc(), exe_dlcefc(), and mmg_purgempl().
| int vmalloc_area_pages | ( | unsigned long | address, | |
| unsigned long | size, | |||
| int | gfp_mask, | |||
| pgprot_t | prot | |||
| ) | [inline] |
| void vmfree_area_pages | ( | unsigned long | address, | |
| unsigned long | size | |||
| ) |
| long vread | ( | char * | buf, | |
| char * | addr, | |||
| unsigned long | count | |||
| ) |
| long vwrite | ( | char * | buf, | |
| char * | addr, | |||
| unsigned long | count | |||
| ) |
| struct vm_struct* vmlist |
Definition at line 27 of file vmsvmalloc.c.
Referenced by get_vm_area(), vfree(), vread(), and vwrite().
| rwlock_t vmlist_lock = RW_LOCK_UNLOCKED |
Definition at line 26 of file vmsvmalloc.c.
Referenced by get_vm_area(), vfree(), vread(), and vwrite().
1.5.5