summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/rctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/rctl.h')
-rw-r--r--usr/src/uts/common/sys/rctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/rctl.h b/usr/src/uts/common/sys/rctl.h
index 02bcef6f36..eb56fff9e5 100644
--- a/usr/src/uts/common/sys/rctl.h
+++ b/usr/src/uts/common/sys/rctl.h
@@ -319,6 +319,12 @@ int rctl_rlimit_set(rctl_hndl_t, struct proc *, struct rlimit64 *,
rctl_alloc_gp_t *, int, int, const struct cred *);
int rctl_rlimit_get(rctl_hndl_t, struct proc *, struct rlimit64 *);
+/* specific rctl utility functions */
+int rctl_incr_locked_mem(struct proc *, struct kproject *, rctl_qty_t,
+ int);
+void rctl_decr_locked_mem(struct proc *, struct kproject *, rctl_qty_t,
+ int);
+
#endif /* _KERNEL */
#ifdef __cplusplus