1 #ifndef _LINUX_SWAPCTL_H
2 #define _LINUX_SWAPCTL_H
7 typedef struct buffer_mem_v1
9 unsigned int min_percent
;
10 unsigned int borrow_percent
;
11 unsigned int max_percent
;
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
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
;
32 typedef pager_daemon_v1 pager_daemon_t
;
33 extern pager_daemon_t pager_daemon
;
35 #endif /* _LINUX_SWAPCTL_H */