Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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.h75 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
617 atomic_sub(len, &sk->sk_rmem_alloc); in rfcomm_sock_recvmsg()
619 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
/linux-6.1.9/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-6.1.9/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-6.1.9/net/netrom/ !
Dnr_timer.c135 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/linux-6.1.9/net/netlink/ !
Daf_netlink.c392 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in netlink_skb_set_owner_r()
414 WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in netlink_sock_destruct()
1235 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1249 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1404 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1408 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
2011 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2239 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
/linux-6.1.9/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-6.1.9/include/net/ !
Dllc_c_ev.h221 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < in llc_conn_space()
Dsock.h418 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
1074 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full()
1653 atomic_read(&sk->sk_rmem_alloc); in sk_unused_reserved_mem()
2320 return atomic_read(&sk->sk_rmem_alloc); in sk_rmem_alloc_get()
2418 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in skb_set_owner_r()
/linux-6.1.9/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-6.1.9/net/kcm/ !
Dkcmproc.c150 atomic_read(&psock->sk->sk_rmem_alloc), in kcm_format_psock()
Dkcmsock.c177 atomic_sub(len, &sk->sk_rmem_alloc); in kcm_rfree()
194 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in kcm_queue_rcv_skb()
205 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in kcm_queue_rcv_skb()
/linux-6.1.9/net/ipv4/ !
Dudp.c1474 atomic_sub(size, &sk->sk_rmem_alloc); in udp_rmem_release()
1537 rmem = atomic_read(&sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1558 rmem = atomic_add_return(size, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1592 atomic_sub(skb->truesize, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
2203 prefetch(&sk->sk_rmem_alloc); in udp_queue_rcv_one_skb()
Dtcp_input.c587 min(atomic_read(&sk->sk_rmem_alloc), rmem2)); in tcp_clamp_window()
589 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
4677 atomic_add(delta, &sk->sk_rmem_alloc); in tcp_try_coalesce()
4773 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule()
5358 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue()
5390 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in tcp_prune_queue()
5395 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5405 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5413 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()

12