Home
last modified time | relevance | path

Searched refs:sk_wmem_alloc (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_netlink.c47 s->sk_wmem_alloc.refs.counter - 1, in dump_netlink()
Dbpf_iter_udp4.c63 inet->sk.sk_wmem_alloc.refs.counter - 1, in dump_udp4()
Dbpf_iter_udp6.c71 inet->sk.sk_wmem_alloc.refs.counter - 1, in dump_udp6()
/kernel/linux/linux-5.10/include/linux/
Datmdev.h246 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in atm_account_tx()
265 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
/kernel/linux/linux-5.10/net/atm/
Draw.c39 WARN_ON(refcount_sub_and_test(ATM_SKB(skb)->acct_truesize, &sk->sk_wmem_alloc)); in atm_pop_raw()
Dcommon.c84 if (refcount_read(&sk->sk_wmem_alloc)) in vcc_sock_destruct()
86 __func__, refcount_read(&sk->sk_wmem_alloc)); in vcc_sock_destruct()
105 refcount_read(&sk->sk_wmem_alloc)) <= sk->sk_sndbuf; in vcc_writable()
160 refcount_set(&sk->sk_wmem_alloc, 1); in vcc_create()
Dsignaling.c71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in sigd_send()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_offload.c162 refcount_add(delta, &skb->sk->sk_wmem_alloc); in tcp_gso_segment()
164 WARN_ON_ONCE(refcount_sub_and_test(-delta, &skb->sk->sk_wmem_alloc)); in tcp_gso_segment()
Dudp_offload.c356 refcount_add(delta, &sk->sk_wmem_alloc); in __udp_gso_segment()
358 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in __udp_gso_segment()
Dip_output.c1114 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip_append_data()
1239 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
1249 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
1458 refcount_add(len, &sk->sk_wmem_alloc); in ip_append_page()
Dtcp_output.c1146 WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc)); in tcp_wfree()
1155 if (refcount_read(&sk->sk_wmem_alloc) >= SKB_TRUESIZE(1) && this_cpu_ksoftirqd() == current) in tcp_wfree()
1322 refcount_add(skb->truesize, &sk->sk_wmem_alloc); in __tcp_transmit_skb()
2522 if (refcount_read(&sk->sk_wmem_alloc) > limit) { in tcp_small_queue_check()
2537 if (refcount_read(&sk->sk_wmem_alloc) > limit) in tcp_small_queue_check()
3154 if (refcount_read(&sk->sk_wmem_alloc) > in __tcp_retransmit_skb()
/kernel/linux/linux-5.10/net/core/
Dsock.c1762 refcount_set(&sk->sk_wmem_alloc, 1); in sk_alloc()
1787 refcount_read(&sk->sk_wmem_alloc) == 0); in __sk_destruct()
1850 if (refcount_dec_and_test(&sk->sk_wmem_alloc)) in sk_free()
1912 refcount_set(&newsk->sk_wmem_alloc, 1); in sk_clone_lock()
2055 WARN_ON(refcount_sub_and_test(len - 1, &sk->sk_wmem_alloc)); in sock_wfree()
2063 if (refcount_sub_and_test(len, &sk->sk_wmem_alloc)) in sock_wfree()
2075 if (refcount_sub_and_test(skb->truesize, &sk->sk_wmem_alloc)) in __sock_wfree()
2097 refcount_add(skb->truesize, &sk->sk_wmem_alloc); in skb_set_owner_w()
2196 refcount_read(&sk->sk_wmem_alloc) < READ_ONCE(sk->sk_sndbuf)) { in sock_wmalloc()
2301 if (refcount_read(&sk->sk_wmem_alloc) < READ_ONCE(sk->sk_sndbuf)) in sock_wait_for_wmem()
[all …]
Ddatagram.c651 refcount_add(truesize, &skb->sk->sk_wmem_alloc); in __zerocopy_sg_from_iter()
/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c218 WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc)); in complete_skb()
220 refcount_add(delta, &sk->sk_wmem_alloc); in complete_skb()
/kernel/linux/linux-5.10/net/rds/
Dtcp_send.c201 if ((refcount_read(&sk->sk_wmem_alloc) << 1) <= sk->sk_sndbuf && in rds_tcp_write_space()
/kernel/linux/linux-5.10/include/trace/events/
Dsock.h120 __entry->wmem_alloc = refcount_read(&sk->sk_wmem_alloc);
/kernel/linux/linux-5.10/net/kcm/
Dkcmproc.c152 refcount_read(&psock->sk->sk_wmem_alloc)); in kcm_format_psock()
/kernel/linux/linux-5.10/net/sctp/
Dproc.c286 refcount_read(&sk->sk_wmem_alloc), in sctp_assocs_seq_show()
Doutput.c401 refcount_add(skb->truesize, &head->sk->sk_wmem_alloc); in sctp_packet_gso_append()
/kernel/linux/linux-5.10/net/rxrpc/
Daf_rxrpc.c53 return refcount_read(&sk->sk_wmem_alloc) < (size_t) sk->sk_sndbuf; in rxrpc_writable()
837 WARN_ON(refcount_read(&sk->sk_wmem_alloc)); in rxrpc_sock_destructor()
/kernel/linux/linux-5.10/include/net/
Dsock.h439 refcount_t sk_wmem_alloc; member
2135 return refcount_read(&sk->sk_wmem_alloc) - 1; in sk_wmem_alloc_get()
2299 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2395 return refcount_read(&sk->sk_wmem_alloc) < (READ_ONCE(sk->sk_sndbuf) >> 1); in sock_writeable()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_output.c239 refcount_add(skb->truesize, &sk->sk_wmem_alloc); in _nip_udp_single_output()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_output.c1665 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip6_append_data()
1791 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()
1801 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()
/kernel/linux/linux-5.10/net/phonet/
Dsocket.c349 refcount_read(&sk->sk_wmem_alloc) < sk->sk_sndbuf && in pn_socket_poll()
/kernel/linux/linux-5.10/net/sched/
Dsch_atm.c515 &sk_atm(flow->vcc)->sk_wmem_alloc); in sch_atm_dequeue()

12