summaryrefslogtreecommitdiff
path: root/sys/include/vm/obj.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-23 01:55:41 -0400
committerIan Moffett <ian@osmora.org>2024-05-23 03:18:41 -0400
commit05eb9f648569d708e167272e04437466a2f0b594 (patch)
tree7649e305ff71dce593b7426fee0b676994aa080a /sys/include/vm/obj.h
parente0b34937b1bd674c05d609331501f81740fbb87f (diff)
kernel: vm: Keep track of vmobj count
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/obj.h')
-rw-r--r--sys/include/vm/obj.h1
1 files changed, 1 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);