Searched refs:sk_wmem_queued (Results 1 – 20 of 20) sorted by relevance
213 WARN_ON_ONCE(sk->sk_wmem_queued); in sk_stream_kill_queues()
2464 newsk->sk_wmem_queued = 0; in sk_clone_lock()3279 if (sk->sk_wmem_queued < wmem0) in __sk_mem_raise_allocated()3302 sk_mem_pages(sk->sk_wmem_queued + in __sk_mem_raise_allocated()3316 if (sk->sk_wmem_queued + size >= sk->sk_sndbuf) { in __sk_mem_raise_allocated()3942 mem[SK_MEMINFO_WMEM_QUEUED] = READ_ONCE(sk->sk_wmem_queued); in sk_get_meminfo()4436 CACHELINE_ASSERT_GROUP_MEMBER(struct sock, sock_write_tx, sk_wmem_queued); in sock_struct_check()
458 int sk_wmem_queued; member1054 return READ_ONCE(sk->sk_wmem_queued) >> 1; in sk_stream_min_wspace()1059 return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); in sk_stream_wspace()1064 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); in sk_wmem_queued_add()1359 if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) in __sk_stream_memory_free()1552 unused_mem = sk->sk_reserved_mem - sk->sk_wmem_queued - in sk_unused_reserved_mem()2525 val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); in sk_stream_moderate_sndbuf()
54 __entry->ratio = div_u64((u64)ssk->sk_wmem_queued << 32, __entry->pace);
122 __entry->wmem_queued = READ_ONCE(sk->sk_wmem_queued);
709 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()1230 sk->sk_wmem_queued -= skb->truesize; in chtls_sendmsg()
185 sk->sk_wmem_queued -= skb->truesize; in chtls_purge_write_queue()
285 READ_ONCE(sk->sk_wmem_queued), in sctp_assocs_seq_show()
173 mem[SK_MEMINFO_WMEM_QUEUED] = sk->sk_wmem_queued; in inet_sctp_diag_fill()
9329 return READ_ONCE(sk->sk_sndbuf) > READ_ONCE(sk->sk_wmem_queued); in sctp_writeable()
452 dst->value = READ_ONCE(sk->sk_wmem_queued); in META_COLLECTOR()
1360 linger_time = div_u64((u64)READ_ONCE(ssk->sk_wmem_queued) << 32, pace); in mptcp_subflow_get_send()1388 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()1700 if (sk->sk_wmem_queued >= READ_ONCE(sk->sk_sndbuf)) in mptcp_send_limit()
284 .idiag_wmem = READ_ONCE(sk->sk_wmem_queued), in inet_sk_diag_fill()
155 WARN_ON_ONCE(sk->sk_wmem_queued); in inet_sock_destruct()
999 left = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_wmem[0]) - sk->sk_wmem_queued; in tcp_wmem_schedule()3053 if (sk->sk_wmem_queued > SOCK_MIN_SNDBUF && in tcp_out_of_memory()
1633 if (unlikely((sk->sk_wmem_queued >> 1) > limit && in tcp_fragment()
691 sk->sk_wmem_queued -= txm->sent; in kcm_write_msgs()
289 WARN_ON(sk->sk_wmem_queued); in iucv_sock_destruct()
633 int queued = sk->sk_wmem_queued; in make_resync_request()
1483 if (sk->sk_wmem_queued > sk->sk_sndbuf * 4 / 5) in drbd_update_congested()