Searched refs:db_per_page (Results 1 – 1 of 1) sorted by relevance
136 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_pgdir() local143 pgdir->bitmap = bitmap_zalloc_node(db_per_page, GFP_KERNEL, node); in mlx5_alloc_db_pgdir()149 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir()165 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_alloc_db_from_pgdir() local169 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()170 if (i >= db_per_page) in mlx5_alloc_db_from_pgdir()218 u32 db_per_page = PAGE_SIZE / cache_line_size(); in mlx5_db_free() local224 if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) { in mlx5_db_free()