Home
last modified time | relevance | path

Searched refs:sk_wmem_queued (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/net/core/
Dstream.c211 WARN_ON_ONCE(sk->sk_wmem_queued); in sk_stream_kill_queues()
Dsock.c2257 newsk->sk_wmem_queued = 0; in sk_clone_lock()
3002 if (sk->sk_wmem_queued < wmem0) in __sk_mem_raise_allocated()
3016 sk_mem_pages(sk->sk_wmem_queued + in __sk_mem_raise_allocated()
3030 if (sk->sk_wmem_queued + size >= sk->sk_sndbuf) { in __sk_mem_raise_allocated()
3691 mem[SK_MEMINFO_WMEM_QUEUED] = READ_ONCE(sk->sk_wmem_queued); in sk_get_meminfo()
/linux-6.1.9/include/net/
Dsock.h445 int sk_wmem_queued; member
1037 return READ_ONCE(sk->sk_wmem_queued) >> 1; in sk_stream_min_wspace()
1042 return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); in sk_stream_wspace()
1047 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); in sk_wmem_queued_add()
1396 if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) in __sk_stream_memory_free()
1652 unused_mem = sk->sk_reserved_mem - sk->sk_wmem_queued - in sk_unused_reserved_mem()
2546 val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); in sk_stream_moderate_sndbuf()
Dtcp.h289 if (sk->sk_wmem_queued > SOCK_MIN_SNDBUF && in tcp_out_of_memory()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c709 sk->sk_wmem_queued -= total_size; in chtls_push_frames()
827 sk->sk_wmem_queued += skb->truesize; in skb_entail()
901 sk->sk_wmem_queued += copy; in chtls_skb_copy_to_page_nocache()
907 return (cdev->max_host_sndbuf - sk->sk_wmem_queued > 0); in csk_mem_free()
1217 sk->sk_wmem_queued -= skb->truesize; in chtls_sendmsg()
1297 sk->sk_wmem_queued += copy; in chtls_sendpage()
Dchtls_cm.c185 sk->sk_wmem_queued -= skb->truesize; in chtls_purge_write_queue()
/linux-6.1.9/include/trace/events/
Dmptcp.h54 __entry->ratio = div_u64((u64)ssk->sk_wmem_queued << 32, __entry->pace);
Dsock.h121 __entry->wmem_queued = READ_ONCE(sk->sk_wmem_queued);
/linux-6.1.9/net/sctp/
Dproc.c285 sk->sk_wmem_queued, in sctp_assocs_seq_show()
Ddiag.c173 mem[SK_MEMINFO_WMEM_QUEUED] = sk->sk_wmem_queued; in inet_sctp_diag_fill()
Dsocket.c142 sk->sk_wmem_queued += chunk->skb->truesize + sizeof(struct sctp_chunk); in sctp_set_owner_w()
9118 sk->sk_wmem_queued -= skb->truesize + sizeof(struct sctp_chunk); in sctp_wfree()
9273 return sk->sk_sndbuf > sk->sk_wmem_queued; in sctp_writeable()
/linux-6.1.9/net/sched/
Dem_meta.c452 dst->value = READ_ONCE(sk->sk_wmem_queued); in META_COLLECTOR()
/linux-6.1.9/net/kcm/
Dkcmsock.c708 sk->sk_wmem_queued -= sent; in kcm_write_msgs()
849 sk->sk_wmem_queued += size; in kcm_sendpage()
/linux-6.1.9/net/ipv4/
Dinet_diag.c274 .idiag_wmem = READ_ONCE(sk->sk_wmem_queued), in inet_sk_diag_fill()
Daf_inet.c153 WARN_ON_ONCE(sk->sk_wmem_queued); in inet_sock_destruct()
Dtcp_output.c1554 if (unlikely((sk->sk_wmem_queued >> 1) > limit && in tcp_fragment()
Dtcp.c968 left = sock_net(sk)->ipv4.sysctl_tcp_wmem[0] - sk->sk_wmem_queued; in tcp_wmem_schedule()
/linux-6.1.9/net/mptcp/
Dprotocol.c1460 linger_time = div_u64((u64)READ_ONCE(ssk->sk_wmem_queued) << 32, pace); in mptcp_subflow_get_send()
1488 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_worker.c631 int queued = sk->sk_wmem_queued; in make_resync_request()
Ddrbd_main.c1490 if (sk->sk_wmem_queued > sk->sk_sndbuf * 4 / 5) in drbd_update_congested()
/linux-6.1.9/net/iucv/
Daf_iucv.c288 WARN_ON(sk->sk_wmem_queued); in iucv_sock_destruct()