Searched refs:meters_map (Results 1 – 1 of 1) sorted by relevance
31 unsigned long meters_map[]; /* must be at the end of this struct */ member299 pos = find_first_zero_bit(meters_obj->meters_map, total); in __mlx5e_flow_meter_alloc()300 if (bitmap_weight(meters_obj->meters_map, total) == total - 1) { in __mlx5e_flow_meter_alloc()306 bitmap_set(meters_obj->meters_map, pos, 1); in __mlx5e_flow_meter_alloc()345 bitmap_clear(meters_obj->meters_map, pos, 1); in __mlx5e_flow_meter_free()346 n = bitmap_weight(meters_obj->meters_map, meters_obj->total_meters); in __mlx5e_flow_meter_free()