Searched refs:SK_MEM_QUANTUM_SHIFT (Results 1 – 4 of 4) sorted by relevance
1031 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()
1553 #define SK_MEM_QUANTUM_SHIFT ilog2(SK_MEM_QUANTUM) macro1563 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()
170 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()
1470 __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()