Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dsock.h1474 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM) macro
1484 val <<= PAGE_SHIFT - SK_MEM_QUANTUM_SHIFT; in sk_prot_mem_limits()
1486 val >>= SK_MEM_QUANTUM_SHIFT - PAGE_SHIFT; in sk_prot_mem_limits()
1493 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages()
/kernel/linux/linux-5.10/net/core/
Dsock.c2690 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()
2725 amount >>= SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
2726 sk->sk_forward_alloc -= amount << SK_MEM_QUANTUM_SHIFT; in __sk_mem_reclaim()
/kernel/linux/linux-5.10/net/ipv4/
Dudp.c1456 __sk_mem_reduce_allocated(sk, amt >> SK_MEM_QUANTUM_SHIFT); in udp_rmem_release()
1549 delta = amt << SK_MEM_QUANTUM_SHIFT; in __udp_enqueue_schedule_skb()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c279 int amount = sk_mem_pages(skb->truesize) << SK_MEM_QUANTUM_SHIFT; in __mptcp_move_skb()