Lines Matching full:place
172 * @place: placement of the resource
178 const struct ttm_place *place, in ttm_resource_init() argument
185 res->mem_type = place->mem_type; in ttm_resource_init()
186 res->placement = place->flags; in ttm_resource_init()
193 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
227 const struct ttm_place *place, in ttm_resource_alloc() argument
231 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
234 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
265 * @place: The placement to test
268 * Test if @res intersects with @place and @size. Used for testing if evictions
271 * Returns true if the res placement intersects with @place and @size.
275 const struct ttm_place *place, in ttm_resource_intersects() argument
284 if (!place || !man->func->intersects) in ttm_resource_intersects()
287 return man->func->intersects(man, res, place, size); in ttm_resource_intersects()
295 * @place: The placement to test
298 * Test if @res compatible with @place and @size.
300 * Returns true if the res placement compatible with @place and @size.
304 const struct ttm_place *place, in ttm_resource_compatible() argument
309 if (!res || !place) in ttm_resource_compatible()
316 return man->func->compatible(man, res, place, size); in ttm_resource_compatible()