Lines Matching defs:slots
90 /* Minimum number of Rx slots (includes slot for GSO metadata). */
194 * Access macros for acquiring freeing slots in tx_skbs[].
347 * Enough requests is quantified as the sum of newly created slots and
348 * the unconsumed slots at the backend.
561 * Count how many ring slots are required to send this skb. Each frag
567 int slots;
569 slots = gnttab_count_grant(offset_in_page(skb->data),
580 slots += gnttab_count_grant(offset, size);
583 return slots;
717 int slots;
747 slots = xennet_count_skb_slots(skb);
748 if (unlikely(slots > MAX_XEN_SKB_FRAGS + 1)) {
749 net_dbg_ratelimited("xennet: skb rides the rocket: %d slots, %d bytes\n",
750 slots, skb->len);
780 (slots > 1 && !xennet_can_sg(dev)) ||
1032 int slots = 1;
1106 if (cons + slots == rp) {
1108 dev_warn(dev, "Need more slots\n");
1113 RING_COPY_RESPONSE(&queue->rx, cons + slots, &rx_local);
1115 skb = xennet_get_rx_skb(queue, cons + slots);
1116 ref = xennet_get_rx_ref(queue, cons + slots);
1117 slots++;
1120 if (unlikely(slots > max)) {
1122 dev_warn(dev, "Too many slots\n");
1127 xennet_set_rx_rsp_cons(queue, cons + slots);