Home
last modified time | relevance | path

Searched refs:SK_MEM_QUANTUM_SHIFT (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/core/
Dsock.c1031 sk->sk_forward_alloc += pages << SK_MEM_QUANTUM_SHIFT; in sock_reserve_memory()
1033 sk->sk_reserved_mem += pages << SK_MEM_QUANTUM_SHIFT; in sock_reserve_memory()
3008 sk->sk_forward_alloc += amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
3011 sk->sk_forward_alloc -= amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
3043 amount >>= SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
3044 sk->sk_forward_alloc -= amount << SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
/linux-5.19.10/include/net/
Dsock.h1553 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM) macro
1563 val <<= PAGE_SHIFT - SK_MEM_QUANTUM_SHIFT; in sk_prot_mem_limits()
1565 val >>= SK_MEM_QUANTUM_SHIFT - PAGE_SHIFT; in sk_prot_mem_limits()
1572 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages()
/linux-5.19.10/net/mptcp/
Dprotocol.c170 amount >>= SK_MEM_QUANTUM_SHIFT; in __mptcp_rmem_reclaim()
171 mptcp_sk(sk)->rmem_fwd_alloc -= amount << SK_MEM_QUANTUM_SHIFT; in __mptcp_rmem_reclaim()
331 amount = amt << SK_MEM_QUANTUM_SHIFT; in mptcp_rmem_schedule()
/linux-5.19.10/net/ipv4/
Dudp.c1470 __sk_mem_reduce_allocated(sk, amt >> SK_MEM_QUANTUM_SHIFT); in udp_rmem_release()
1563 delta = amt << SK_MEM_QUANTUM_SHIFT; in __udp_enqueue_schedule_skb()