Searched refs:db_per_page (Results 1 – 1 of 1) sorted by relevance
183 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_pgdir() local190 pgdir->bitmap = bitmap_zalloc(db_per_page, GFP_KERNEL); in mlx5_alloc_db_pgdir()196 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir()212 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_from_pgdir() local216 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()217 if (i >= db_per_page) in mlx5_alloc_db_from_pgdir()271 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_db_free() local277 if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) { in mlx5_db_free()