Searched refs:nent_pow2 (Results 1 – 1 of 1) sorted by relevance
2507 int nent_pow2; in mlx4_init_counters_table() local2515 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2517 return mlx4_bitmap_init(&priv->counters_bitmap, nent_pow2, in mlx4_init_counters_table()2518 nent_pow2 - 1, 0, in mlx4_init_counters_table()2519 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()