Lines Matching refs:hold_queue
295 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
339 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
712 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
717 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
718 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
721 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
725 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
726 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
730 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1915 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1916 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
1918 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1924 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1947 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1949 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
1950 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1976 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
1993 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
2000 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
2013 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
2017 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()