Lines Matching refs:zones
239 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range()
281 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range()
557 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP); in mlx4_create_zones()
559 if (NULL == qp_table->zones) in mlx4_create_zones()
578 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL, in mlx4_create_zones()
597 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS, in mlx4_create_zones()
707 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones()
729 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones()
737 if (qp_table->zones) { in mlx4_cleanup_qp_zones()
744 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones()
747 mlx4_zone_remove_one(qp_table->zones, qp_table->zones_uids[i]); in mlx4_cleanup_qp_zones()
753 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_cleanup_qp_zones()
756 qp_table->zones = NULL; in mlx4_cleanup_qp_zones()