Lines Matching defs:rxq
1576 static bool cxgbit_rxq_len(struct cxgbit_sock *csk, struct sk_buff_head *rxq)
1578 spin_lock_bh(&csk->rxq.lock);
1579 if (skb_queue_len(&csk->rxq)) {
1580 skb_queue_splice_init(&csk->rxq, rxq);
1581 spin_unlock_bh(&csk->rxq.lock);
1584 spin_unlock_bh(&csk->rxq.lock);
1591 struct sk_buff_head rxq;
1593 skb_queue_head_init(&rxq);
1595 wait_event_interruptible(csk->waitq, cxgbit_rxq_len(csk, &rxq));
1600 while ((skb = __skb_dequeue(&rxq))) {
1607 __skb_queue_purge(&rxq);