Lines Matching refs:hold_queue
407 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
451 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
1431 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
1436 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1437 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
1440 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1444 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1445 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
1449 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
2775 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2776 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
2778 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2789 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2812 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2814 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
2815 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2846 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
2863 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
2870 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
2883 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
2887 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()