Home | History | Annotate | Download | only in ttm

Lines Matching defs:place

91 static inline int ttm_mem_type_from_place(const struct ttm_place *place,
96 pos = ffs(place->flags & TTM_PL_MASK_MEM);
432 * This is the place to put in driver specific hooks to release
770 const struct ttm_place *place)
775 if (place->fpfn >= (bo->mem.start + bo->mem.size) ||
776 (place->lpfn && place->lpfn <= bo->mem.start))
853 const struct ttm_place *place,
876 if (place && !bdev->driver->eviction_valuable(bo,
877 place)) {
969 const struct ttm_place *place,
980 ret = (*man->func->get_node)(man, bo, place, mem);
985 ret = ttm_mem_evict_first(bdev, mem->mem_type, place, ctx,
1021 const struct ttm_place *place,
1026 if ((cur_flags & place->flags & TTM_PL_MASK_MEM) == 0)
1029 if ((place->flags & man->available_caching) == 0)
1032 cur_flags |= (place->flags & man->available_caching);
1041 * @place: where to search
1050 const struct ttm_place *place,
1060 ret = ttm_mem_type_from_place(place, &mem_type);
1068 if (!ttm_bo_mt_compatible(man, mem_type, place, &cur_flags))
1076 ttm_flag_masked(&cur_flags, place->flags, ~TTM_PL_MASK_MEMTYPE);
1112 const struct ttm_place *place = &placement->placement[i];
1115 ret = ttm_bo_mem_placement(bo, place, mem, ctx);
1127 ret = (*man->func->get_node)(man, bo, place, mem);
1146 const struct ttm_place *place = &placement->busy_placement[i];
1148 ret = ttm_bo_mem_placement(bo, place, mem, ctx);
1159 ret = ttm_bo_mem_force_space(bo, place, mem, ctx);