Lines Matching defs:intf
93 struct xenstore_domain_interface *intf = xen_store_interface;
95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE &&
108 struct xenstore_domain_interface *intf = xen_store_interface;
117 cons = intf->req_cons;
118 prod = intf->req_prod;
120 intf->req_cons = intf->req_prod = 0;
129 dst = get_output_chunk(cons, prod, intf->req, &avail);
142 intf->req_prod += avail;
145 if (prod <= intf->req_cons)
154 struct xenstore_domain_interface *intf = xen_store_interface;
155 return (intf->rsp_cons != intf->rsp_prod);
160 struct xenstore_domain_interface *intf = xen_store_interface;
169 cons = intf->rsp_cons;
170 prod = intf->rsp_prod;
175 intf->rsp_cons = intf->rsp_prod = 0;
179 src = get_input_chunk(cons, prod, intf->rsp, &avail);
195 intf->rsp_cons += avail;
198 if (intf->rsp_prod - cons >= XENSTORE_RING_SIZE)
440 struct xenstore_domain_interface *intf = xen_store_interface;
442 if (intf->req_prod != intf->req_cons)
444 intf->req_cons, intf->req_prod);
446 if (intf->rsp_prod != intf->rsp_cons) {
448 intf->rsp_cons, intf->rsp_prod);
451 intf->rsp_cons = intf->rsp_prod;