* better
[mascara-docs.git] / i386 / linux-2.3.21 / include / linux / swapctl.h
blobf9f2d2acbf91196807aa6ae2697334e2417f27ef
1 #ifndef _LINUX_SWAPCTL_H
2 #define _LINUX_SWAPCTL_H
4 #include <asm/page.h>
5 #include <linux/fs.h>
7 typedef struct buffer_mem_v1
9 unsigned int min_percent;
10 unsigned int borrow_percent;
11 unsigned int max_percent;
12 } buffer_mem_v1;
13 typedef buffer_mem_v1 buffer_mem_t;
14 extern buffer_mem_t buffer_mem;
15 extern buffer_mem_t page_cache;
17 typedef struct freepages_v1
19 unsigned int min;
20 unsigned int low;
21 unsigned int high;
22 } freepages_v1;
23 typedef freepages_v1 freepages_t;
24 extern freepages_t freepages;
26 typedef struct pager_daemon_v1
28 unsigned int tries_base;
29 unsigned int tries_min;
30 unsigned int swap_cluster;
31 } pager_daemon_v1;
32 typedef pager_daemon_v1 pager_daemon_t;
33 extern pager_daemon_t pager_daemon;
35 #endif /* _LINUX_SWAPCTL_H */