Home
last modified time | relevance | path

Searched refs:sk_backlog (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_tracing_net.h36 #define sk_rmem_alloc sk_backlog.rmem_alloc
/kernel/linux/linux-5.10/include/net/
Dsock.h411 } sk_backlog; member
412 #define sk_rmem_alloc sk_backlog.rmem_alloc
997 if (!sk->sk_backlog.tail) in __sk_add_backlog()
998 WRITE_ONCE(sk->sk_backlog.head, skb); in __sk_add_backlog()
1000 sk->sk_backlog.tail->next = skb; in __sk_add_backlog()
1002 WRITE_ONCE(sk->sk_backlog.tail, skb); in __sk_add_backlog()
1013 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full()
1034 sk->sk_backlog.len += skb->truesize; in sk_add_backlog()
1131 if (unlikely(READ_ONCE(sk->sk_backlog.tail))) { in sk_flush_backlog()
Dtcp.h1418 READ_ONCE(sk->sk_backlog.len) - in tcp_space()
/kernel/linux/linux-5.10/net/llc/
Dllc_proc.c198 !!sk->sk_backlog.tail, !!sk->sk_lock.owned); in llc_seq_core_show()
Daf_llc.c810 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in llc_ui_recvmsg()
/kernel/linux/linux-5.10/net/core/
Dsock.c1906 newsk->sk_backlog.head = newsk->sk_backlog.tail = NULL; in sk_clone_lock()
1907 newsk->sk_backlog.len = 0; in sk_clone_lock()
2531 while ((skb = sk->sk_backlog.head) != NULL) { in __release_sock()
2532 sk->sk_backlog.head = sk->sk_backlog.tail = NULL; in __release_sock()
2555 sk->sk_backlog.len = 0; in __release_sock()
3081 if (sk->sk_backlog.tail) in release_sock()
3318 mem[SK_MEMINFO_BACKLOG] = READ_ONCE(sk->sk_backlog.len); in sk_get_meminfo()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c1473 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in chtls_pt_recvmsg()
1506 if (READ_ONCE(sk->sk_backlog.tail)) { in chtls_pt_recvmsg()
1673 if (READ_ONCE(sk->sk_backlog.tail)) { in peekmsg()
1801 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in chtls_recvmsg()
1832 if (READ_ONCE(sk->sk_backlog.tail)) { in chtls_recvmsg()
/kernel/linux/linux-5.10/net/tipc/
Dsocket.c2448 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()
3984 i += scnprintf(buf + i, sz - i, " | %d\n", READ_ONCE(sk->sk_backlog.len)); in tipc_sk_dump()
3998 i += tipc_skb_dump(sk->sk_backlog.head, false, buf + i); in tipc_sk_dump()
3999 if (sk->sk_backlog.tail != sk->sk_backlog.head) { in tipc_sk_dump()
4001 i += tipc_skb_dump(sk->sk_backlog.tail, false, in tipc_sk_dump()
/kernel/linux/linux-5.10/net/sctp/
Ddiag.c175 mem[SK_MEMINFO_BACKLOG] = READ_ONCE(sk->sk_backlog.len); in inet_sctp_diag_fill()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c1810 tail = sk->sk_backlog.tail; in tcp_add_backlog()
1869 sk->sk_backlog.len += delta; in tcp_add_backlog()
Dtcp.c2196 if (copied >= target && !READ_ONCE(sk->sk_backlog.tail)) in tcp_recvmsg()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c1712 if (copied >= target && !sk->sk_backlog.tail) in tcp_nip_recvmsg()