Home
last modified time | relevance | path

Searched refs:sk_rmem_alloc (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v6.6/net/atm/
Datm_misc.c18 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge()
33 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) { in atm_alloc_charge()
38 &sk->sk_rmem_alloc); in atm_alloc_charge()
Dcommon.c80 if (atomic_read(&sk->sk_rmem_alloc)) in vcc_sock_destruct()
82 __func__, atomic_read(&sk->sk_rmem_alloc)); in vcc_sock_destruct()
161 atomic_set(&sk->sk_rmem_alloc, 0); in vcc_create()
559 pr_debug("%d -= %d\n", atomic_read(&sk->sk_rmem_alloc), in vcc_recvmsg()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dbpf_iter_netlink.c45 s->sk_rmem_alloc.counter, in dump_netlink()
Dbpf_iter_udp4.c55 rqueue = inet->sk.sk_rmem_alloc.counter - udp_sk->forward_deficit; in dump_udp4()
Dbpf_iter_udp6.c57 rqueue = inet->sk.sk_rmem_alloc.counter - udp_sk->forward_deficit; in dump_udp6()
Dbpf_tracing_net.h84 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
/Linux-v6.6/include/linux/
Datmdev.h254 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()
260 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
/Linux-v6.6/include/trace/events/
Dsock.h84 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc);
118 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc);
/Linux-v6.6/net/bluetooth/rfcomm/
Dsock.c56 atomic_add(skb->len, &sk->sk_rmem_alloc); in rfcomm_sk_data_ready()
60 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in rfcomm_sk_data_ready()
610 atomic_sub(len, &sk->sk_rmem_alloc); in rfcomm_sock_recvmsg()
612 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
/Linux-v6.6/net/ax25/
Dax25_std_timer.c62 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c124 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_ds_heartbeat_expiry()
Dax25_in.c263 if (atomic_read(&sk->sk_rmem_alloc) >= in ax25_rcv()
/Linux-v6.6/net/rose/
Drose_timer.c142 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
Drose_in.c182 if (atomic_read(&sk->sk_rmem_alloc) > in rose_state3_machine()
/Linux-v6.6/net/netrom/
Dnr_timer.c135 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/Linux-v6.6/net/netlink/
Daf_netlink.c390 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in netlink_skb_set_owner_r()
412 WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in netlink_sock_destruct()
1249 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1263 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1416 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1420 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
1991 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2219 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
/Linux-v6.6/net/caif/
Dcaif_socket.c127 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= in caif_queue_rcv_skb()
130 atomic_read(&cf_sk->sk.sk_rmem_alloc), in caif_queue_rcv_skb()
256 if (atomic_read(&sk->sk_rmem_alloc) <= sk_rcvbuf_lowwater(cf_sk)) { in caif_check_flow_release()
/Linux-v6.6/include/net/
Dllc_c_ev.h220 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < in llc_conn_space()
Dsock.h422 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
1086 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full()
1652 atomic_read(&sk->sk_rmem_alloc); in sk_unused_reserved_mem()
2323 return atomic_read(&sk->sk_rmem_alloc); in sk_rmem_alloc_get()
2421 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in skb_set_owner_r()
/Linux-v6.6/net/x25/
Dx25_subr.c376 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
Dx25_in.c291 if (atomic_read(&sk->sk_rmem_alloc) > in x25_state3_machine()
/Linux-v6.6/net/kcm/
Dkcmproc.c150 atomic_read(&psock->sk->sk_rmem_alloc), in kcm_format_psock()
Dkcmsock.c178 atomic_sub(len, &sk->sk_rmem_alloc); in kcm_rfree()
195 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in kcm_queue_rcv_skb()
206 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in kcm_queue_rcv_skb()
/Linux-v6.6/net/ipv4/
Dtcp_input.c609 min(atomic_read(&sk->sk_rmem_alloc), rmem2)); in tcp_clamp_window()
611 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
4707 atomic_add(delta, &sk->sk_rmem_alloc); in tcp_try_coalesce()
4803 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule()
5403 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue()
5437 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in tcp_prune_queue()
5442 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5452 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5460 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
/Linux-v6.6/net/core/
Dsock.c487 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) { in __sock_queue_rcv_skb()
2321 atomic_set(&newsk->sk_rmem_alloc, 0); in sk_clone_lock()
2576 atomic_sub(len, &sk->sk_rmem_alloc); in sock_rfree()
3072 if (atomic_read(&sk->sk_rmem_alloc) < sk_get_rmem0(sk, prot)) in __sk_mem_raise_allocated()
3094 atomic_read(&sk->sk_rmem_alloc) + in __sk_mem_raise_allocated()

12