Lines Matching refs:skb_queue
279 while ((skb = skb_dequeue(&session->skb_queue)) != NULL) { in j1939_session_destroy()
332 if (skb_queue_len(&session->skb_queue) < 2) in j1939_session_skb_drop_old()
337 spin_lock_irqsave(&session->skb_queue.lock, flags); in j1939_session_skb_drop_old()
338 do_skb = skb_peek(&session->skb_queue); in j1939_session_skb_drop_old()
342 __skb_unlink(do_skb, &session->skb_queue); in j1939_session_skb_drop_old()
345 spin_unlock_irqrestore(&session->skb_queue.lock, flags); in j1939_session_skb_drop_old()
349 spin_unlock_irqrestore(&session->skb_queue.lock, flags); in j1939_session_skb_drop_old()
368 skb_queue_tail(&session->skb_queue, skb); in j1939_session_skb_queue()
381 spin_lock_irqsave(&session->skb_queue.lock, flags); in j1939_session_skb_get_by_offset()
382 skb_queue_walk(&session->skb_queue, do_skb) { in j1939_session_skb_get_by_offset()
394 spin_unlock_irqrestore(&session->skb_queue.lock, flags); in j1939_session_skb_get_by_offset()
399 skb_queue_len(&session->skb_queue)); in j1939_session_skb_get_by_offset()
1504 skb_queue_head_init(&session->skb_queue); in j1939_session_new()
1505 skb_queue_tail(&session->skb_queue, skb); in j1939_session_new()