/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
nouveau_nvkm_subdev_instmem_nv50.c | 46 struct list_head lru; member in struct:nv50_instmem 65 struct list_head lru; member in struct:nv50_instobj 167 * succeed,or there's no more objects left on the LRU. 170 eobj = list_first_entry_or_null(&imem->lru, typeof(*eobj), lru); 176 list_del_init(&eobj->lru); 251 /* Add the now-unused mapping to the LRU instead of directly 254 if (likely(iobj->lru.next) && iobj->map) { 255 BUG_ON(!list_empty(&iobj->lru)); 256 list_add_tail(&iobj->lru, &imem->lru) [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
ttm_bo_api.h | 156 * Lru lists may keep one refcount, the delayed delete list, and kref != 0 165 * @lru: List head for the lru list. 167 * @swap: List head for swap LRU list. 221 struct list_head lru; member in struct:ttm_buffer_object 399 * Move this BO to the tail of all lru lists used to lookup and reserve an 411 * Bulk move BOs to the LRU tail, only valid to use when driver makes sure that 599 * the LRU list to evict any buffers left alive. 626 * Evicts all buffers on the lru list of the memory type.
|
ttm_bo_driver.h | 157 * @use_io_reserve_lru: Use an lru list to try to unreserve io_mem_regions 159 * @io_reserve_lru: Optional lru list for unreserving io mem regions. 163 * @lru: The lru list for this memory type. 203 struct list_head lru[TTM_MAX_BO_PRIORITY]; member in struct:ttm_mem_type_manager 403 * @bo: the buffer object deleted from lru 405 * notify driver that a BO was deleted from LRU. 429 * @lru_lock: Spinlock protecting the bo subsystem lru lists. 431 * @swap_lru: Lru list of buffer objects used for swapping. 471 * lru_lock: Spinlock that protects the buffer+device lru lists an [all...] |
/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_bo.c | 183 BUG_ON(!list_empty(&bo->lru)); 202 if (!list_empty(&bo->lru)) 209 list_add_tail(&bo->lru, &man->lru[bo->priority]); 235 if (!list_empty(&bo->lru)) { 236 list_del_init(&bo->lru); 293 list_bulk_move_tail(&man->lru[i], &pos->first->lru, 294 &pos->last->lru); 308 list_bulk_move_tail(&man->lru[i], &pos->first->lru 314 struct list_head *lru; local in function:ttm_bo_bulk_move_lru_tail [all...] |