Searched refs:db_per_page (Results 1 – 1 of 1) sorted by relevance
182 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_pgdir() local189 pgdir->bitmap = kcalloc(BITS_TO_LONGS(db_per_page), in mlx5_alloc_db_pgdir()198 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir()214 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_from_pgdir() local218 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()219 if (i >= db_per_page) in mlx5_alloc_db_from_pgdir()273 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_db_free() local279 if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) { in mlx5_db_free()