Searched refs:nent_pow2 (Results 1 – 1 of 1) sorted by relevance
2528 int nent_pow2; in mlx4_init_counters_table() local2536 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2538 return mlx4_bitmap_init(&priv->counters_bitmap, nent_pow2, in mlx4_init_counters_table()2539 nent_pow2 - 1, 0, in mlx4_init_counters_table()2540 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()