Lines Matching defs:rxq
1594 static bool cxgbit_rxq_len(struct cxgbit_sock *csk, struct sk_buff_head *rxq)
1596 spin_lock_bh(&csk->rxq.lock);
1597 if (skb_queue_len(&csk->rxq)) {
1598 skb_queue_splice_init(&csk->rxq, rxq);
1599 spin_unlock_bh(&csk->rxq.lock);
1602 spin_unlock_bh(&csk->rxq.lock);
1609 struct sk_buff_head rxq;
1611 skb_queue_head_init(&rxq);
1613 wait_event_interruptible(csk->waitq, cxgbit_rxq_len(csk, &rxq));
1618 while ((skb = __skb_dequeue(&rxq))) {
1625 __skb_queue_purge(&rxq);