Home
last modified time | relevance | path

Searched refs:sk_forward_alloc (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dsock.h414 int sk_forward_alloc; member
1508 delta = size - sk->sk_forward_alloc; in sk_wmem_schedule()
1519 delta = size - sk->sk_forward_alloc; in sk_rmem_schedule()
1528 if (sk->sk_forward_alloc >= SK_MEM_QUANTUM) in sk_mem_reclaim()
1529 __sk_mem_reclaim(sk, sk->sk_forward_alloc); in sk_mem_reclaim()
1536 if (sk->sk_forward_alloc > SK_MEM_QUANTUM) in sk_mem_reclaim_partial()
1537 __sk_mem_reclaim(sk, sk->sk_forward_alloc - 1); in sk_mem_reclaim_partial()
1544 sk->sk_forward_alloc -= size; in sk_mem_charge()
1551 sk->sk_forward_alloc += size; in sk_mem_uncharge()
1560 if (unlikely(sk->sk_forward_alloc >= 1 << 21)) in sk_mem_uncharge()
/kernel/linux/linux-5.10/net/core/
Dstream.c212 WARN_ON(sk->sk_forward_alloc); in sk_stream_kill_queues()
Dsock.c1920 newsk->sk_forward_alloc = 0; in sk_clone_lock()
2648 sk->sk_forward_alloc)) in __sk_mem_raise_allocated()
2690 sk->sk_forward_alloc += amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
2693 sk->sk_forward_alloc -= amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
2726 sk->sk_forward_alloc -= amount << SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
3315 mem[SK_MEMINFO_FWD_ALLOC] = sk->sk_forward_alloc; in sk_get_meminfo()
/kernel/linux/linux-5.10/net/ipv4/
Dudp.c1451 sk->sk_forward_alloc += size; in udp_rmem_release()
1452 amt = (sk->sk_forward_alloc - partial) & ~(SK_MEM_QUANTUM - 1); in udp_rmem_release()
1453 sk->sk_forward_alloc -= amt; in udp_rmem_release()
1547 if (size >= sk->sk_forward_alloc) { in __udp_enqueue_schedule_skb()
1556 sk->sk_forward_alloc += delta; in __udp_enqueue_schedule_skb()
1559 sk->sk_forward_alloc -= size; in __udp_enqueue_schedule_skb()
Dinet_connection_sock.c530 amt = sk_mem_pages(newsk->sk_forward_alloc + in inet_csk_accept()
Dinet_diag.c275 .idiag_fmem = sk->sk_forward_alloc, in inet_sk_diag_fill()
Daf_inet.c157 WARN_ON(sk->sk_forward_alloc); in inet_sock_destruct()
Dtcp_output.c3382 delta = size - sk->sk_forward_alloc; in sk_forced_mem_schedule()
3386 sk->sk_forward_alloc += amt * SK_MEM_QUANTUM; in sk_forced_mem_schedule()
Dtcp_input.c5871 if ((int)skb->truesize > sk->sk_forward_alloc) in tcp_rcv_established()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c281 if (ssk->sk_forward_alloc < amount) in __mptcp_move_skb()
284 ssk->sk_forward_alloc -= amount; in __mptcp_move_skb()
285 sk->sk_forward_alloc += amount; in __mptcp_move_skb()
1008 sk->sk_forward_alloc -= frag_truesize; in mptcp_sendmsg_frag()
/kernel/linux/linux-5.10/net/sctp/
Ddiag.c172 mem[SK_MEMINFO_FWD_ALLOC] = sk->sk_forward_alloc; in inet_sctp_diag_fill()
/kernel/linux/linux-5.10/net/sched/
Dem_meta.c460 dst->value = sk->sk_forward_alloc; in META_COLLECTOR()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c313 WARN_ON(sk->sk_forward_alloc); in iucv_sock_destruct()