Lines Matching refs:hold_queue
398 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
440 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
1410 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
1415 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1416 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
1419 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1423 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1424 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
1428 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
2763 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2764 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
2766 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2772 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2795 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2797 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
2798 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2824 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
2841 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
2848 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
2861 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
2865 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()