Home
last modified time | relevance | path

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

12

/Linux-v4.19/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.c79 if (atomic_read(&sk->sk_rmem_alloc)) in vcc_sock_destruct()
81 __func__, atomic_read(&sk->sk_rmem_alloc)); in vcc_sock_destruct()
160 atomic_set(&sk->sk_rmem_alloc, 0); in vcc_create()
558 pr_debug("%d -= %d\n", atomic_read(&sk->sk_rmem_alloc), in vcc_recvmsg()
/Linux-v4.19/include/trace/events/
Dsock.h83 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc);
115 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc);
/Linux-v4.19/include/linux/
Datmdev.h262 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()
268 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
/Linux-v4.19/net/ax25/
Dax25_std_timer.c65 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c127 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_ds_heartbeat_expiry()
Dax25_in.c266 if (atomic_read(&sk->sk_rmem_alloc) >= in ax25_rcv()
/Linux-v4.19/include/net/
Ddn_nsp.h198 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in dn_congested()
Dllc_c_ev.h221 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < in llc_conn_space()
Dsock.h385 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
899 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full()
2007 return atomic_read(&sk->sk_rmem_alloc); in sk_rmem_alloc_get()
2102 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in skb_set_owner_r()
/Linux-v4.19/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()
641 atomic_sub(len, &sk->sk_rmem_alloc); in rfcomm_sock_recvmsg()
643 if (atomic_read(&sk->sk_rmem_alloc) <= (sk->sk_rcvbuf >> 2)) in rfcomm_sock_recvmsg()
/Linux-v4.19/net/rose/
Drose_timer.c144 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
Drose_in.c184 if (atomic_read(&sk->sk_rmem_alloc) > in rose_state3_machine()
/Linux-v4.19/net/netlink/
Daf_netlink.c388 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in netlink_skb_set_owner_r()
410 WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in netlink_sock_destruct()
1224 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1238 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1385 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1389 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
1990 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2195 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
/Linux-v4.19/net/netrom/
Dnr_timer.c139 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/Linux-v4.19/net/caif/
Dcaif_socket.c132 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= in caif_queue_rcv_skb()
135 atomic_read(&cf_sk->sk.sk_rmem_alloc), in caif_queue_rcv_skb()
261 if (atomic_read(&sk->sk_rmem_alloc) <= sk_rcvbuf_lowwater(cf_sk)) { in caif_check_flow_release()
/Linux-v4.19/net/x25/
Dx25_subr.c375 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
Dx25_in.c287 if (atomic_read(&sk->sk_rmem_alloc) > in x25_state3_machine()
/Linux-v4.19/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-v4.19/net/ipv4/
Dudp.c1300 atomic_sub(size, &sk->sk_rmem_alloc); in udp_rmem_release()
1363 rmem = atomic_read(&sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1384 rmem = atomic_add_return(size, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1418 atomic_sub(skb->truesize, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1988 prefetch(&sk->sk_rmem_alloc); in udp_queue_rcv_skb()
Dtcp_input.c501 sk->sk_rcvbuf = min(atomic_read(&sk->sk_rmem_alloc), in tcp_clamp_window()
504 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
4364 atomic_add(delta, &sk->sk_rmem_alloc); in tcp_try_coalesce()
4462 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule()
5028 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue()
5062 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in tcp_prune_queue()
5067 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5078 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5086 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
/Linux-v4.19/net/core/
Dsock.c407 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) { in __sock_queue_rcv_skb()
1671 atomic_set(&newsk->sk_rmem_alloc, 0); in sk_clone_lock()
1890 atomic_sub(len, &sk->sk_rmem_alloc); in sock_rfree()
2420 if (atomic_read(&sk->sk_rmem_alloc) < sk_get_rmem0(sk, prot)) in __sk_mem_raise_allocated()
2442 atomic_read(&sk->sk_rmem_alloc) + in __sk_mem_raise_allocated()
/Linux-v4.19/include/net/sctp/
Dsctp.h420 atomic_add(event->rmem_len, &sk->sk_rmem_alloc); in sctp_skb_set_owner_r()
/Linux-v4.19/net/decnet/
Ddn_nsp_in.c593 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= in dn_queue_skb()

12