Home
last modified time | relevance | path

Searched refs:MLX4_DB_PER_PAGE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c671 bitmap_fill(pgdir->order1, MLX4_DB_PER_PAGE / 2); in mlx4_alloc_db_pgdir()
691 i = find_first_bit(pgdir->bits[o], MLX4_DB_PER_PAGE >> o); in mlx4_alloc_db_from_pgdir()
692 if (i < MLX4_DB_PER_PAGE >> o) in mlx4_alloc_db_from_pgdir()
763 if (bitmap_full(db->u.pgdir->order1, MLX4_DB_PER_PAGE / 2)) { in mlx4_db_free()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h657 MLX4_DB_PER_PAGE = PAGE_SIZE / 4 enumerator
662 DECLARE_BITMAP(order0, MLX4_DB_PER_PAGE);
663 DECLARE_BITMAP(order1, MLX4_DB_PER_PAGE / 2);