Home
last modified time | relevance | path

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

/Linux-v5.4/net/core/
Dstream.c207 WARN_ON(sk->sk_wmem_queued); in sk_stream_kill_queues()
Dsock.c1827 newsk->sk_wmem_queued = 0; in sk_clone_lock()
2530 if (sk->sk_wmem_queued < wmem0) in __sk_mem_raise_allocated()
2544 sk_mem_pages(sk->sk_wmem_queued + in __sk_mem_raise_allocated()
2558 if (sk->sk_wmem_queued + size >= sk->sk_sndbuf) in __sk_mem_raise_allocated()
3215 mem[SK_MEMINFO_WMEM_QUEUED] = READ_ONCE(sk->sk_wmem_queued); in sk_get_meminfo()
/Linux-v5.4/include/net/
Dsock.h408 int sk_wmem_queued; member
881 return READ_ONCE(sk->sk_wmem_queued) >> 1; in sk_stream_min_wspace()
886 return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); in sk_stream_wspace()
891 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); in sk_wmem_queued_add()
1215 if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) in __sk_stream_memory_free()
2233 val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); in sk_stream_moderate_sndbuf()
Dtcp.h282 if (sk->sk_wmem_queued > SOCK_MIN_SNDBUF && in tcp_out_of_memory()
/Linux-v5.4/drivers/crypto/chelsio/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()
915 return (cdev->max_host_sndbuf - sk->sk_wmem_queued); in csk_mem_free()
1187 sk->sk_wmem_queued -= skb->truesize; in chtls_sendmsg()
1266 sk->sk_wmem_queued += copy; in chtls_sendpage()
Dchtls_cm.c146 sk->sk_wmem_queued -= skb->truesize; in chtls_purge_write_queue()
/Linux-v5.4/include/trace/events/
Dsock.h118 __entry->wmem_queued = READ_ONCE(sk->sk_wmem_queued);
/Linux-v5.4/net/sctp/
Dproc.c275 sk->sk_wmem_queued, in sctp_assocs_seq_show()
Ddiag.c176 mem[SK_MEMINFO_WMEM_QUEUED] = sk->sk_wmem_queued; in inet_sctp_diag_fill()
Dsocket.c141 sk->sk_wmem_queued += chunk->skb->truesize + sizeof(struct sctp_chunk); in sctp_set_owner_w()
8973 sk->sk_wmem_queued -= skb->truesize + sizeof(struct sctp_chunk); in sctp_wfree()
9130 return sk->sk_sndbuf > sk->sk_wmem_queued; in sctp_writeable()
/Linux-v5.4/net/sched/
Dem_meta.c449 dst->value = READ_ONCE(sk->sk_wmem_queued); in META_COLLECTOR()
/Linux-v5.4/net/kcm/
Dkcmsock.c704 sk->sk_wmem_queued -= sent; in kcm_write_msgs()
845 sk->sk_wmem_queued += size; in kcm_sendpage()
/Linux-v5.4/net/ipv4/
Dtcp_output.c1319 if (unlikely((sk->sk_wmem_queued >> 1) > limit && in tcp_fragment()
2897 min_t(u32, sk->sk_wmem_queued + (sk->sk_wmem_queued >> 2), in __tcp_retransmit_skb()
Dinet_diag.c196 .idiag_wmem = READ_ONCE(sk->sk_wmem_queued), in inet_sk_diag_fill()
Daf_inet.c155 WARN_ON(sk->sk_wmem_queued); in inet_sock_destruct()
/Linux-v5.4/drivers/block/drbd/
Ddrbd_worker.c635 int queued = sk->sk_wmem_queued; in make_resync_request()
Ddrbd_main.c1501 if (sk->sk_wmem_queued > sk->sk_sndbuf * 4 / 5) in drbd_update_congested()
/Linux-v5.4/net/iucv/
Daf_iucv.c420 WARN_ON(sk->sk_wmem_queued); in iucv_sock_destruct()