Lines Matching refs:xen_store
114 static struct xenstore_domain_interface *xen_store; variable
370 wakeup(xen_store); in xs_intr()
465 cons = xen_store->req_cons; in xs_write_store()
466 prod = xen_store->req_prod; in xs_write_store()
480 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP, in xs_write_store()
492 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()
496 dst = xs_get_output_chunk(cons, prod, xen_store->req, &avail); in xs_write_store()
511 xen_store->req_prod += avail; in xs_write_store()
553 cons = xen_store->rsp_cons; in xs_read_store()
554 prod = xen_store->rsp_prod; in xs_read_store()
568 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP, in xs_read_store()
578 xen_store->rsp_cons = xen_store->rsp_prod = 0; in xs_read_store()
582 src = xs_get_input_chunk(cons, prod, xen_store->rsp, &avail); in xs_read_store()
602 xen_store->rsp_cons += avail; in xs_read_store()
1021 if (xen_store->rsp_prod != xen_store->rsp_cons) { in xs_init_comms()
1024 xen_store->rsp_cons, xen_store->rsp_prod); in xs_init_comms()
1025 xen_store->rsp_cons = xen_store->rsp_prod; in xs_init_comms()
1122 xen_store = malloc(PAGE_SIZE, M_XENSTORE, M_WAITOK | M_ZERO); in xs_attach()
1123 xs.gpfn = atop(pmap_kextract((vm_offset_t)xen_store)); in xs_attach()
1126 xen_store = pmap_mapdev_attr(ptoa(xs.gpfn), PAGE_SIZE, in xs_attach()
1245 SYSCTL_ULONG(_dev_xen, OID_AUTO, xsd_kva, CTLFLAG_RD, (u_long *) &xen_store, 0, "");