Lines Matching +full:container +full:- +full:rules
31 #include <linux/iosys-map.h>
32 #include <linux/dma-fence.h>
55 * define TTM_NUM_MOVE_FENCES - How many entities can be used for evictions
64 * enum ttm_lru_item_type - enumerate ttm_lru_item subclasses
74 * struct ttm_lru_item - The TTM lru list node base class
84 * ttm_lru_item_init() - initialize a struct ttm_lru_item
91 item->type = type; in ttm_lru_item_init()
92 INIT_LIST_HEAD(&item->link); in ttm_lru_item_init()
97 return item->type == TTM_LRU_RESOURCE; in ttm_lru_item_is_res()
114 * If the manager can't fulfill the request -ENOSPC should be returned.
178 * type manager to aid debugging of out-of-memory conditions.
209 /* This is very similar to a dma_resv object, but locking rules make
216 * Protected by the bdev->lru_lock.
222 * bdev->lru_lock.
280 * ttm_lru_item_to_res() - Downcast a struct ttm_lru_item to a struct ttm_resource
310 * Container for the current bulk move state. Should be used with
353 * struct ttm_kmap_iter_iomap - Specialization for a struct io_mapping +
359 * sg_dma_address(st->sgl) - @start == 0 for @iomap start.
380 * struct ttm_kmap_iter_linear_io - Iterator specialization for linear io
406 WARN_ON(!list_empty(&man->lru[i])); in ttm_resource_manager_set_used()
407 man->use_type = used; in ttm_resource_manager_set_used()
421 return man->use_type; in ttm_resource_manager_used()
437 dma_fence_put(man->eviction_fences[i]); in ttm_resource_manager_cleanup()
438 man->eviction_fences[i] = NULL; in ttm_resource_manager_cleanup()
494 * ttm_resource_manager_for_each_res - iterate over all resources