Lines Matching refs:cons
16 #include <sys/cons.h>
23 #include <sys/cons.h>
61 XENCONS_RING_IDX cons, prod;
65 cons = intf->out_cons;
70 KASSERT((prod - cons) <= sizeof(intf->out),
73 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
92 XENCONS_RING_IDX cons, prod;
97 cons = intf->in_cons;
102 while (cons != prod) {
103 xencons_rx(intf->in + MASK_XENCONS_IDX(cons, intf->in), 1);
104 cons++;
108 intf->in_cons = cons;