Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/include/net/
Ddn_nsp.h190 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.h384 #define sk_rmem_alloc sk_backlog.rmem_alloc macro
918 unsigned int qsize = sk->sk_backlog.len + atomic_read(&sk->sk_rmem_alloc); in sk_rcvqueues_full()
2046 return atomic_read(&sk->sk_rmem_alloc); in sk_rmem_alloc_get()
2141 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in skb_set_owner_r()
/Linux-v5.4/net/rose/
Drose_timer.c141 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
Drose_in.c181 if (atomic_read(&sk->sk_rmem_alloc) > in rose_state3_machine()
/Linux-v5.4/net/netlink/
Daf_netlink.c379 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in netlink_skb_set_owner_r()
401 WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in netlink_sock_destruct()
1209 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1223 if ((atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in netlink_attachskb()
1378 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in netlink_broadcast_deliver()
1382 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in netlink_broadcast_deliver()
1999 atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf / 2) { in netlink_recvmsg()
2205 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in netlink_dump()
/Linux-v5.4/net/netrom/
Dnr_timer.c136 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
/Linux-v5.4/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-v5.4/net/x25/
Dx25_subr.c370 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-v5.4/net/kcm/
Dkcmproc.c150 atomic_read(&psock->sk->sk_rmem_alloc), in kcm_format_psock()
Dkcmsock.c175 atomic_sub(len, &sk->sk_rmem_alloc); in kcm_rfree()
192 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in kcm_queue_rcv_skb()
203 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in kcm_queue_rcv_skb()
/Linux-v5.4/net/core/
Dskmsg.c703 if (atomic_read(&sk_other->sk_rmem_alloc) <= in sk_psock_verdict_apply()
724 atomic_read(&sk_other->sk_rmem_alloc) <= in sk_psock_verdict_apply()
Dsock.c456 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) { in __sock_queue_rcv_skb()
1817 atomic_set(&newsk->sk_rmem_alloc, 0); in sk_clone_lock()
2050 atomic_sub(len, &sk->sk_rmem_alloc); in sock_rfree()
2523 if (atomic_read(&sk->sk_rmem_alloc) < sk_get_rmem0(sk, prot)) in __sk_mem_raise_allocated()
2545 atomic_read(&sk->sk_rmem_alloc) + in __sk_mem_raise_allocated()
/Linux-v5.4/net/ipv4/
Dudp.c1393 atomic_sub(size, &sk->sk_rmem_alloc); in udp_rmem_release()
1456 rmem = atomic_read(&sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1477 rmem = atomic_add_return(size, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
1511 atomic_sub(skb->truesize, &sk->sk_rmem_alloc); in __udp_enqueue_schedule_skb()
2074 prefetch(&sk->sk_rmem_alloc); in udp_queue_rcv_one_skb()
Dtcp_input.c488 min(atomic_read(&sk->sk_rmem_alloc), in tcp_clamp_window()
491 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) in tcp_clamp_window()
4431 atomic_add(delta, &sk->sk_rmem_alloc); in tcp_try_coalesce()
4526 if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf || in tcp_try_rmem_schedule()
5087 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && in tcp_prune_ofo_queue()
5119 if (atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf) in tcp_prune_queue()
5124 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5135 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
5143 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) in tcp_prune_queue()
/Linux-v5.4/include/net/sctp/
Dsctp.h405 atomic_add(event->rmem_len, &sk->sk_rmem_alloc); in sctp_skb_set_owner_r()

12