Searched refs:sk_backlog (Results 1 – 11 of 11) sorted by relevance
/linux/include/net/ |
H A D | sock.h | 401 } sk_backlog; member 402 #define sk_rmem_alloc sk_backlog.rmem_alloc 1070 if (!sk->sk_backlog.tail) in __sk_add_backlog() 1071 WRITE_ONCE(sk->sk_backlog.head, skb); in __sk_add_backlog() 1073 sk->sk_backlog.tail->next = skb; in __sk_add_backlog() 1075 WRITE_ONCE(sk->sk_backlog.tail, skb); in __sk_add_backlog() 1086 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full() 1107 sk->sk_backlog.len += skb->truesize; in sk_add_backlog() 1183 if (unlikely(READ_ONCE(sk->sk_backlog.tail))) { in sk_flush_backlog()
|
H A D | tcp.h | 1563 READ_ONCE(sk->sk_backlog.len) - in tcp_space()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_tracing_net.h | 122 #define sk_rmem_alloc sk_backlog.rmem_alloc
|
/linux/net/llc/ |
H A D | llc_proc.c | 198 !!sk->sk_backlog.tail, sock_owned_by_user_nocheck(sk)); in llc_seq_core_show()
|
H A D | af_llc.c | 814 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in llc_ui_recvmsg()
|
/linux/net/core/ |
H A D | sock.c | 2401 newsk->sk_backlog.head = newsk->sk_backlog.tail = NULL; in sk_clone_lock() 2402 newsk->sk_backlog.len = 0; in sk_clone_lock() 3076 while ((skb = sk->sk_backlog.head) != NULL) { in __release_sock() 3077 sk->sk_backlog.head = sk->sk_backlog.tail = NULL; in __release_sock() 3100 sk->sk_backlog.len = 0; in __release_sock() 3639 if (sk->sk_backlog.tail) in release_sock() 3867 mem[SK_MEMINFO_BACKLOG] = READ_ONCE(sk->sk_backlog.len); in sk_get_meminfo() 4335 CACHELINE_ASSERT_GROUP_MEMBER(struct sock, sock_write_rx, sk_backlog); in sock_struct_check()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_io.c | 1387 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in chtls_pt_recvmsg() 1420 if (READ_ONCE(sk->sk_backlog.tail)) { in chtls_pt_recvmsg() 1594 if (READ_ONCE(sk->sk_backlog.tail)) { in peekmsg() 1726 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in chtls_recvmsg() 1757 if (READ_ONCE(sk->sk_backlog.tail)) { in chtls_recvmsg()
|
/linux/net/tipc/ |
H A D | socket.c | 2449 if (!sk->sk_backlog.len) in tipc_sk_enqueue() 3903 unsigned int qsize = sk->sk_backlog.len + sk_rmem_alloc_get(sk); in tipc_sk_overlimit1() 3987 i += scnprintf(buf + i, sz - i, " | %d\n", READ_ONCE(sk->sk_backlog.len)); in tipc_sk_dump() 4001 i += tipc_skb_dump(sk->sk_backlog.head, false, buf + i); in tipc_sk_dump() 4002 if (sk->sk_backlog.tail != sk->sk_backlog.head) { in tipc_sk_dump() 4004 i += tipc_skb_dump(sk->sk_backlog.tail, false, in tipc_sk_dump()
|
/linux/net/sctp/ |
H A D | diag.c | 175 mem[SK_MEMINFO_BACKLOG] = READ_ONCE(sk->sk_backlog.len); in inet_sctp_diag_fill()
|
/linux/net/ipv4/ |
H A D | tcp_ipv4.c | 2046 tail = sk->sk_backlog.tail; 2103 sk->sk_backlog.len += delta;
|
H A D | tcp.c | 2655 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in tcp_recvmsg_locked()
|