Displaying 1 result from an estimated 1 matches for "iomgr_allow_request_fn".
Did you mean:
iomgr_alloc_request_fn
2007 Jul 30
0
[PATCH][1/4][IOMGR] I/O request Manager body
....h>
+#include <linux/stddef.h>
+#include <xen/iomgr.h>
+#include <asm/atomic.h>
+
+/* Current manager. */
+struct iomgr *mgr;
+
+/*
+ * Default Manager.
+ * Non Management for I/O request.
+ */
+static struct iomgr nomgr = {
+ .ops = {
+ .iomgr_waiting_request_fn = NULL,
+ .iomgr_allow_request_fn = NULL,
+ .iomgr_alloc_request_fn = NULL,
+ .iomgr_oo_abort_request_fn = NULL,
+ .iomgr_free_request_fn = NULL,
+ .iomgr_dev_start_fn = NULL,
+ .iomgr_dev_stop_fn = NULL,
+ },
+ .iomgr_name = "none",
+};
+
+/*
+ * Counter for pending request.
+ */
+atomic_t pending_req = ATOMIC_INIT...