about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 487a70d..182568c 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -374,6 +374,7 @@ int mog_dev_mkusage(const struct mog_dev *, struct mog_svc *);
 size_t mog_dev_hash(const void *, size_t tablesize);
 bool mog_dev_cmp(const void *a, const void *b);
 void mog_dev_free(void *devptr);
+bool mog_dev_user_rescale_i(void *devp, void *svcp);
 
 /* valid_path.rl */
 int mog_valid_path(const char *buf, size_t len);
@@ -396,6 +397,7 @@ bool mog_svc_devstats_broadcast(void *svc, void *ignored);
 void mog_svc_devstats_subscribe(struct mog_mgmt *);
 void mog_svc_dev_shutdown(void);
 void mog_mkusage_all(void);
+void mog_svc_dev_user_rescale(struct mog_svc *, size_t ndev_new);
 
 /* cloexec_detect.c */
 extern bool mog_cloexec_atomic;
@@ -639,5 +641,6 @@ void mog_ioq_init(struct mog_ioq *, struct mog_svc *, size_t val);
 bool mog_ioq_ready(struct mog_ioq *, struct mog_fd *) MOG_CHECK;
 bool mog_ioq_contended(void) MOG_CHECK;
 void mog_ioq_next(struct mog_ioq *);
+void mog_ioq_adjust(struct mog_ioq *, unsigned value);
 void mog_ioq_destroy(struct mog_ioq *);
 bool mog_ioq_unblock(struct mog_fd *);