33 #include <linux/wait.h>
35 #include <linux/sched.h>
38 #include <asm/xen/hypervisor.h>
39 #include <xen/events.h>
43 static int xenbus_irq;
80 if ((prod - cons) < *len)
112 if (!check_indexes(cons, prod)) {
117 dst = get_output_chunk(cons, prod, intf->
req, &avail);
169 if (!check_indexes(cons, prod)) {
174 src = get_input_chunk(cons, prod, intf->
rsp, &avail);
191 pr_debug(
"Finished read of %i bytes (%i to go)\n", avail, len);
213 "(%08x:%08x): fixing up\n",
226 0,
"xenbus", &xb_waitq);