Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/
Dsock.h1475 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM) macro
1485 val <<= PAGE_SHIFT - SK_MEM_QUANTUM_SHIFT; in sk_prot_mem_limits()
1487 val >>= SK_MEM_QUANTUM_SHIFT - PAGE_SHIFT; in sk_prot_mem_limits()
1494 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages()
/Linux-v5.15/net/core/
Dsock.c2843 sk->sk_forward_alloc += amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
2846 sk->sk_forward_alloc -= amt << SK_MEM_QUANTUM_SHIFT; in __sk_mem_schedule()
2878 amount >>= SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
2879 sk->sk_forward_alloc -= amount << SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
/Linux-v5.15/net/ipv4/
Dudp.c1468 __sk_mem_reduce_allocated(sk, amt >> SK_MEM_QUANTUM_SHIFT); in udp_rmem_release()
1561 delta = amt << SK_MEM_QUANTUM_SHIFT; in __udp_enqueue_schedule_skb()
/Linux-v5.15/net/mptcp/
Dprotocol.c289 int amount = sk_mem_pages(skb->truesize) << SK_MEM_QUANTUM_SHIFT; in __mptcp_move_skb()