Lines Matching refs:hold_queue
401 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
445 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
1415 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
1420 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1421 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
1424 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1428 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1429 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
1433 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
2756 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2757 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
2759 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2770 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2793 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2795 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
2796 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2827 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
2844 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
2851 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
2864 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
2868 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()