add support for configurable max allocated requests and local req cache
[archipelago] / xseg / peers / kernel / xsegbd.h
index dc0c7b1..416ecce 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/kernel.h>
 #include <linux/types.h>
+#include <linux/wait.h>
 #include <xseg/xseg.h>
 #include <xtypes/xq.h>
 
@@ -45,4 +46,7 @@ struct xsegbd_device {
        uint32_t targetlen;
 };
 
+void __xsegbd_get(struct xsegbd_device *xsegbd_dev);
+void __xsegbd_put(struct xsegbd_device *xsegbd_dev);
+struct xsegbd_device *__xsegbd_get_dev(unsigned long id);
 #endif