aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux-src/include/linux/swapctl.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-02-04 03:21:18 +0000
committerRoland McGrath <roland@gnu.org>2000-02-04 03:21:18 +0000
commit8880a73970b23f10c720011cb910c0e0e1e02975 (patch)
treed1ce76577a1ace5312fc0576a93d4d8db1e89323 /pfinet/linux-src/include/linux/swapctl.h
parent8399aa4ab7b849da57f4c59039f091526c9e2f98 (diff)
parent9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb (diff)
downloadhurd-8880a73970b23f10c720011cb910c0e0e1e02975.tar.gz
hurd-8880a73970b23f10c720011cb910c0e0e1e02975.tar.bz2
hurd-8880a73970b23f10c720011cb910c0e0e1e02975.zip
Merge from vendor branch Linux:
Import of Linux 2.2.12 subset (ipv4 stack and related)
Diffstat (limited to 'pfinet/linux-src/include/linux/swapctl.h')
-rw-r--r--pfinet/linux-src/include/linux/swapctl.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/pfinet/linux-src/include/linux/swapctl.h b/pfinet/linux-src/include/linux/swapctl.h
new file mode 100644
index 00000000..f9f2d2ac
--- /dev/null
+++ b/pfinet/linux-src/include/linux/swapctl.h
@@ -0,0 +1,35 @@
+#ifndef _LINUX_SWAPCTL_H
+#define _LINUX_SWAPCTL_H
+
+#include <asm/page.h>
+#include <linux/fs.h>
+
+typedef struct buffer_mem_v1
+{
+ unsigned int min_percent;
+ unsigned int borrow_percent;
+ unsigned int max_percent;
+} buffer_mem_v1;
+typedef buffer_mem_v1 buffer_mem_t;
+extern buffer_mem_t buffer_mem;
+extern buffer_mem_t page_cache;
+
+typedef struct freepages_v1
+{
+ unsigned int min;
+ unsigned int low;
+ unsigned int high;
+} freepages_v1;
+typedef freepages_v1 freepages_t;
+extern freepages_t freepages;
+
+typedef struct pager_daemon_v1
+{
+ unsigned int tries_base;
+ unsigned int tries_min;
+ unsigned int swap_cluster;
+} pager_daemon_v1;
+typedef pager_daemon_v1 pager_daemon_t;
+extern pager_daemon_t pager_daemon;
+
+#endif /* _LINUX_SWAPCTL_H */