Lines Matching defs:slots
88 /* Minimum number of Rx slots (includes slot for GSO metadata). */
192 * Access macros for acquiring freeing slots in tx_skbs[].
345 * Enough requests is quantified as the sum of newly created slots and
346 * the unconsumed slots at the backend.
559 * Count how many ring slots are required to send this skb. Each frag
565 int slots;
567 slots = gnttab_count_grant(offset_in_page(skb->data),
578 slots += gnttab_count_grant(offset, size);
581 return slots;
713 int slots;
743 slots = xennet_count_skb_slots(skb);
744 if (unlikely(slots > MAX_XEN_SKB_FRAGS + 1)) {
745 net_dbg_ratelimited("xennet: skb rides the rocket: %d slots, %d bytes\n",
746 slots, skb->len);
776 (slots > 1 && !xennet_can_sg(dev)) ||
1028 int slots = 1;
1102 if (cons + slots == rp) {
1104 dev_warn(dev, "Need more slots\n");
1109 RING_COPY_RESPONSE(&queue->rx, cons + slots, &rx_local);
1111 skb = xennet_get_rx_skb(queue, cons + slots);
1112 ref = xennet_get_rx_ref(queue, cons + slots);
1113 slots++;
1116 if (unlikely(slots > max)) {
1118 dev_warn(dev, "Too many slots\n");
1123 xennet_set_rx_rsp_cons(queue, cons + slots);