Searched refs:SK_MEM_QUANTUM_SHIFT (Results 1 – 4 of 4) sorted by relevance
1475 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM) macro1485 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()
2843 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()
1468 __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()
289 int amount = sk_mem_pages(skb->truesize) << SK_MEM_QUANTUM_SHIFT; in __mptcp_move_skb()