Lines Matching refs:xen_store
117 static struct xenstore_domain_interface *xen_store;
350 * XenStore reads and writes block on "xen_store" for buffer
373 wakeup(xen_store);
468 cons = xen_store->req_cons;
469 prod = xen_store->req_prod;
483 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP,
495 xen_store->req_cons = xen_store->req_prod = 0;
499 dst = xs_get_output_chunk(cons, prod, xen_store->req, &avail);
514 xen_store->req_prod += avail;
556 cons = xen_store->rsp_cons;
557 prod = xen_store->rsp_prod;
571 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP,
581 xen_store->rsp_cons = xen_store->rsp_prod = 0;
585 src = xs_get_input_chunk(cons, prod, xen_store->rsp, &avail);
605 xen_store->rsp_cons += avail;
1027 if (xen_store->rsp_prod != xen_store->rsp_cons) {
1030 xen_store->rsp_cons, xen_store->rsp_prod);
1031 xen_store->rsp_cons = xen_store->rsp_prod;
1128 xen_store = malloc(PAGE_SIZE, M_XENSTORE, M_WAITOK | M_ZERO);
1129 xs.gpfn = atop(pmap_kextract((vm_offset_t)xen_store));
1132 xen_store = pmap_mapdev_attr(ptoa(xs.gpfn), PAGE_SIZE,
1252 SYSCTL_ULONG(_dev_xen, OID_AUTO, xsd_kva, CTLFLAG_RD, (u_long *) &xen_store, 0, "");