Lines Matching full:place
168 * @place: placement of the resource
174 const struct ttm_place *place, in ttm_resource_init() argument
181 res->mem_type = place->mem_type; in ttm_resource_init()
182 res->placement = place->flags; in ttm_resource_init()
189 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
223 const struct ttm_place *place, in ttm_resource_alloc() argument
227 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
230 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
261 * @place: The placement to test
264 * Test if @res intersects with @place and @size. Used for testing if evictions
267 * Returns true if the res placement intersects with @place and @size.
271 const struct ttm_place *place, in ttm_resource_intersects() argument
280 if (!place || !man->func->intersects) in ttm_resource_intersects()
283 return man->func->intersects(man, res, place, size); in ttm_resource_intersects()
291 * @place: The placement to test
294 * Test if @res compatible with @place and @size.
296 * Returns true if the res placement compatible with @place and @size.
300 const struct ttm_place *place, in ttm_resource_compatible() argument
305 if (!res || !place) in ttm_resource_compatible()
312 return man->func->compatible(man, res, place, size); in ttm_resource_compatible()