Lines Matching refs:slots
523 int slots; in xennet_count_skb_slots() local
525 slots = gnttab_count_grant(offset_in_page(skb->data), in xennet_count_skb_slots()
536 slots += gnttab_count_grant(offset, size); in xennet_count_skb_slots()
539 return slots; in xennet_count_skb_slots()
569 int slots; in xennet_start_xmit() local
595 slots = xennet_count_skb_slots(skb); in xennet_start_xmit()
596 if (unlikely(slots > MAX_XEN_SKB_FRAGS + 1)) { in xennet_start_xmit()
598 slots, skb->len); in xennet_start_xmit()
610 (slots > 1 && !xennet_can_sg(dev)) || in xennet_start_xmit()
774 int slots = 1; in xennet_get_responses() local
818 if (cons + slots == rp) { in xennet_get_responses()
825 rx = RING_GET_RESPONSE(&queue->rx, cons + slots); in xennet_get_responses()
826 skb = xennet_get_rx_skb(queue, cons + slots); in xennet_get_responses()
827 ref = xennet_get_rx_ref(queue, cons + slots); in xennet_get_responses()
828 slots++; in xennet_get_responses()
831 if (unlikely(slots > max)) { in xennet_get_responses()
838 queue->rx.rsp_cons = cons + slots; in xennet_get_responses()