Lines Matching refs:hold_queue
276 skb_queue_head_init(&policy->polq.hold_queue); in xfrm_policy_alloc()
318 skb_queue_purge(&policy->polq.hold_queue); in xfrm_policy_kill()
707 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
712 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
713 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
716 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
720 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
721 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
725 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
1789 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1790 skb = skb_peek(&pq->hold_queue); in xfrm_policy_queue_process()
1792 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1798 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1821 spin_lock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1823 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_queue_process()
1824 spin_unlock(&pq->hold_queue.lock); in xfrm_policy_queue_process()
1850 skb_queue_purge(&pq->hold_queue); in xfrm_policy_queue_process()
1867 if (pq->hold_queue.qlen > XFRM_MAX_QUEUE_LEN) { in xdst_queue_output()
1874 spin_lock_bh(&pq->hold_queue.lock); in xdst_queue_output()
1887 __skb_queue_tail(&pq->hold_queue, skb); in xdst_queue_output()
1891 spin_unlock_bh(&pq->hold_queue.lock); in xdst_queue_output()