Searched refs:resource_idx (Results 1 – 2 of 2) sorted by relevance
24 int resource_idx) in hws_pool_resource_free() argument26 hws_pool_free_one_resource(pool->resource[resource_idx]); in hws_pool_resource_free()27 pool->resource[resource_idx] = NULL; in hws_pool_resource_free()30 hws_pool_free_one_resource(pool->mirror_resource[resource_idx]); in hws_pool_resource_free()31 pool->mirror_resource[resource_idx] = NULL; in hws_pool_resource_free()132 buddy = pool->db.buddy_manager->buddies[chunk->resource_idx]; in hws_pool_buddy_db_put_chunk()134 mlx5hws_err(pool->ctx, "No such buddy (%d)\n", chunk->resource_idx); in hws_pool_buddy_db_put_chunk()231 &chunk->resource_idx, in hws_pool_buddy_db_get_chunk()414 &chunk->resource_idx, in hws_pool_general_element_db_get_chunk()426 if (unlikely(!pool->resource[chunk->resource_idx])) in hws_pool_general_element_db_put_chunk()[all …]
17 u32 resource_idx; member142 return pool->resource[chunk->resource_idx]->base_id; in mlx5hws_pool_chunk_get_base_id()149 return pool->mirror_resource[chunk->resource_idx]->base_id; in mlx5hws_pool_chunk_get_base_mirror_id()