Searched refs:page_offset_mask (Results 1 – 2 of 2) sorted by relevance
65 const u64 page_offset_mask = (1UL << page_offset_bits) - 1; in __mlx5_umem_find_best_quantized_pgoff() local81 while (page_offset & ~(u64)(page_offset_mask * (page_size / scale))) { in __mlx5_umem_find_best_quantized_pgoff()95 if (WARN_ON(*page_offset_quantized > page_offset_mask)) in __mlx5_umem_find_best_quantized_pgoff()
505 u64 page_offset_mask; in hl_mmu_pa_page_with_offset() local517 page_offset_mask = (BIT_ULL(bit) - 1); in hl_mmu_pa_page_with_offset()518 phys_addr_mask = ~page_offset_mask; in hl_mmu_pa_page_with_offset()520 (virt_addr & page_offset_mask); in hl_mmu_pa_page_with_offset()