| /Linux-v5.4/net/atm/ |
| D | atm_misc.c | 18 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()
|
| D | common.c | 80 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/ |
| D | sock.h | 83 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc); 115 __entry->rmem_alloc = atomic_read(&sk->sk_rmem_alloc);
|
| /Linux-v5.4/include/linux/ |
| D | atmdev.h | 262 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/ |
| D | sock.c | 56 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/ |
| D | ax25_std_timer.c | 62 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_std_heartbeat_expiry()
|
| D | ax25_ds_timer.c | 124 if (atomic_read(&sk->sk_rmem_alloc) < in ax25_ds_heartbeat_expiry()
|
| D | ax25_in.c | 263 if (atomic_read(&sk->sk_rmem_alloc) >= in ax25_rcv()
|
| /Linux-v5.4/include/net/ |
| D | dn_nsp.h | 190 return atomic_read(&sk->sk_rmem_alloc) > (sk->sk_rcvbuf >> 1); in dn_congested()
|
| D | llc_c_ev.h | 221 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < in llc_conn_space()
|
| D | sock.h | 384 #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/ |
| D | rose_timer.c | 141 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in rose_heartbeat_expiry()
|
| D | rose_in.c | 181 if (atomic_read(&sk->sk_rmem_alloc) > in rose_state3_machine()
|
| /Linux-v5.4/net/netlink/ |
| D | af_netlink.c | 379 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/ |
| D | nr_timer.c | 136 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf / 2) && in nr_heartbeat_expiry()
|
| /Linux-v5.4/net/caif/ |
| D | caif_socket.c | 132 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/ |
| D | x25_subr.c | 370 if (atomic_read(&sk->sk_rmem_alloc) < (sk->sk_rcvbuf >> 1) && in x25_check_rbuf()
|
| D | x25_in.c | 291 if (atomic_read(&sk->sk_rmem_alloc) > in x25_state3_machine()
|
| /Linux-v5.4/net/kcm/ |
| D | kcmproc.c | 150 atomic_read(&psock->sk->sk_rmem_alloc), in kcm_format_psock()
|
| D | kcmsock.c | 175 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/ |
| D | skmsg.c | 703 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()
|
| D | sock.c | 456 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/ |
| D | udp.c | 1393 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()
|
| D | tcp_input.c | 488 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/ |
| D | sctp.h | 405 atomic_add(event->rmem_len, &sk->sk_rmem_alloc); in sctp_skb_set_owner_r()
|