summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/vm/obj.h1
-rw-r--r--sys/include/vm/vm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/vm/obj.h b/sys/include/vm/obj.h
index ef07a1e..e4258ac 100644
--- a/sys/include/vm/obj.h
+++ b/sys/include/vm/obj.h
@@ -54,6 +54,7 @@ struct vm_object {
} \
} while (0);
+size_t vm_obj_count(void);
int vm_obj_init(struct vm_object **res, struct vnode *vnode);
int vm_obj_destroy(struct vm_object *obj);
diff --git a/sys/include/vm/vm.h b/sys/include/vm/vm.h
index f6fba66..1c23b8a 100644
--- a/sys/include/vm/vm.h
+++ b/sys/include/vm/vm.h
@@ -55,6 +55,7 @@ struct vm_range {
struct vm_memstat {
struct physmem_stat pmem_stat;
+ size_t vmobj_cnt;
};
/*