Lines Matching refs:hold_queue
402 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
447 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
1428 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
1433 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1434 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
1437 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1441 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1442 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
1446 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
2849 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2850 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
2852 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2863 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2886 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2888 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
2889 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
2920 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
2937 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
2944 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
2957 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
2961 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()