Lines Matching refs:zones
244 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range()
287 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range()
562 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP); in mlx4_create_zones()
564 if (NULL == qp_table->zones) in mlx4_create_zones()
583 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL, in mlx4_create_zones()
602 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS, in mlx4_create_zones()
713 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones()
735 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones()
743 if (qp_table->zones) { in mlx4_cleanup_qp_zones()
750 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones()
753 mlx4_zone_remove_one(qp_table->zones, qp_table->zones_uids[i]); in mlx4_cleanup_qp_zones()
759 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_cleanup_qp_zones()
762 qp_table->zones = NULL; in mlx4_cleanup_qp_zones()