summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r--sys/vm/vm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h
index 1629146..57f2163 100644
--- a/sys/vm/vm.h
+++ b/sys/vm/vm.h
@@ -133,5 +133,12 @@ struct kva_md_info {
extern struct kva_md_info kmi;
extern void vm_ksubmap_init(struct kva_md_info *);
+struct uidinfo;
+int swap_reserve(vm_ooffset_t incr);
+int swap_reserve_by_uid(vm_ooffset_t incr, struct uidinfo *uip);
+void swap_reserve_force(vm_ooffset_t incr);
+void swap_release(vm_ooffset_t decr);
+void swap_release_by_uid(vm_ooffset_t decr, struct uidinfo *uip);
+
#endif /* VM_H */
OpenPOWER on IntegriCloud