Home
last modified time | relevance | path

Searched refs:sk_queue (Results 1 – 3 of 3) sorted by relevance

/net/core/
Ddatagram.c288 struct sk_buff_head *sk_queue, in __skb_recv_datagram() argument
297 skb = __skb_try_recv_datagram(sk, sk_queue, flags, off, err, in __skb_recv_datagram()
305 !__skb_wait_for_more_packets(sk, sk_queue, err, in __skb_recv_datagram()
350 int __sk_queue_drop_skb(struct sock *sk, struct sk_buff_head *sk_queue, in __sk_queue_drop_skb() argument
359 spin_lock_bh(&sk_queue->lock); in __sk_queue_drop_skb()
361 __skb_unlink(skb, sk_queue); in __sk_queue_drop_skb()
367 spin_unlock_bh(&sk_queue->lock); in __sk_queue_drop_skb()
/net/ipv4/
Dudp.c1455 struct sk_buff_head *sk_queue; in udp_rmem_release() local
1472 sk_queue = &sk->sk_receive_queue; in udp_rmem_release()
1474 spin_lock(&sk_queue->lock); in udp_rmem_release()
1487 skb_queue_splice_tail_init(sk_queue, &up->reader_queue); in udp_rmem_release()
1490 spin_unlock(&sk_queue->lock); in udp_rmem_release()
1695 struct sk_buff_head *sk_queue = &sk->sk_receive_queue; in first_packet_length() local
1702 if (!skb && !skb_queue_empty_lockless(sk_queue)) { in first_packet_length()
1703 spin_lock(&sk_queue->lock); in first_packet_length()
1704 skb_queue_splice_tail_init(sk_queue, rcvq); in first_packet_length()
1705 spin_unlock(&sk_queue->lock); in first_packet_length()
[all …]
/net/ax25/
Daf_ax25.c1658 struct sk_buff_head *sk_queue; in ax25_recvmsg() local
1675 sk_queue = &sk->sk_receive_queue; in ax25_recvmsg()
1676 skb = __skb_try_recv_datagram(sk, sk_queue, flags, &off, &err, &last); in ax25_recvmsg()
1683 while (timeo && !__skb_wait_for_more_packets(sk, sk_queue, &err, in ax25_recvmsg()
1685 skb = __skb_try_recv_datagram(sk, sk_queue, flags, &off, in ax25_recvmsg()