source: GPL/trunk/include/linux/vmalloc.h@ 598

Last change on this file since 598 was 598, checked in by David Azarewicz, 8 years ago

Merged/reintegrated v2 branch into trunk. Trunk is now v2

File size: 605 bytes
Line 
1#ifndef __LINUX_VMALLOC_H
2#define __LINUX_VMALLOC_H
3
4//#include <linux/sched.h>
5//#include <linux/mm.h>
6
7#include <asm/page.h>
8
9
10struct vm_struct {
11 unsigned long flags;
12 void * addr;
13 unsigned long size;
14 struct vm_struct * next;
15};
16
17struct vm_struct * get_vm_area(unsigned long size);
18void *vmalloc(unsigned long size);
19void vfree(void *ptr);
20long vread(char *buf, char *addr, unsigned long count);
21void vmfree_area_pages(unsigned long address, unsigned long size);
22int vmalloc_area_pages(unsigned long address, unsigned long size);
23
24extern struct vm_struct * vmlist;
25#endif
26
Note: See TracBrowser for help on using the repository browser.