/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
H A D | 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 170 eobj = list_first_entry_or_null(&imem->lru, typeof(*eobj), lru); 176 list_del_init(&eobj->lru); 254 if (likely(iobj->lru.next) && iobj->map) { 255 BUG_ON(!list_empty(&iobj->lru)); 256 list_add_tail(&iobj->lru, &imem->lru); 295 if (likely(iobj->lru [all...] |
/netbsd-current/sys/coda/ |
H A D | coda_namecache.c | 103 struct coda_lru coda_nc_lru; /* head of lru chain */ 151 TAILQ_INSERT_HEAD(&coda_nc_lru.head, &coda_nc_heap[i], lru); 245 /* Grab the next element in the lru chain */ 247 TAILQ_REMOVE(&coda_nc_lru.head, cncp, lru); 275 /* Insert into the lru and hash chains. */ 276 TAILQ_INSERT_TAIL(&coda_nc_lru.head, cncp, lru); 319 TAILQ_REMOVE(&coda_nc_lru.head, cncp, lru); 320 TAILQ_INSERT_TAIL(&coda_nc_lru.head, cncp, lru); 340 * place it at the head of the lru list. 364 TAILQ_REMOVE(&coda_nc_lru.head, cncp, lru); [all...] |
H A D | coda_namecache.h | 91 TAILQ_ENTRY(coda_cache) lru; /* LRU list */ member in struct:coda_cache
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | 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[ 314 struct list_head *lru; local [all...] |
H A D | ttm_page_alloc.c | 32 * - Use page->lru to keep a free list 315 list_for_each_entry_reverse(p, &pool->list, lru) { 323 __list_del(p->lru.prev, &pool->list); 358 __list_del(&p->lru, &pool->list); 481 list_del(&failed_pages[i]->lru); 532 list_add(&p->lru, pages); 618 list_for_each_entry(p, &new_pages, lru) { 683 list_for_each_entry(page, pages, lru) { 782 list_add_tail(&pages[i]->lru, &huge->list); 807 list_add_tail(&pages[i]->lru, [all...] |
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
H A D | rrl.h | 109 ISC_LINK(dns_rrl_entry_t) lru; member in struct:dns_rrl_entry 230 ISC_LIST(dns_rrl_entry_t) lru; member in struct:dns_rrl
|
H A D | tsig.h | 71 ISC_LIST(dns_tsigkey_t) lru; member in struct:dns_tsig_keyring
|
/netbsd-current/external/mpl/bind/dist/lib/dns/include/dns/ |
H A D | rrl.h | 108 ISC_LINK(dns_rrl_entry_t) lru; member in struct:dns_rrl_entry 229 ISC_LIST(dns_rrl_entry_t) lru; member in struct:dns_rrl
|
H A D | tsig.h | 69 ISC_LIST(dns_tsigkey_t) lru; member in struct:dns_tsig_keyring
|
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
H A D | extent_structs.h | 197 extent_list_t lru; member in struct:extents_s
|
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/ |
H A D | extent_structs.h | 197 extent_list_t lru; member in struct:extents_s
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | rrl.c | 202 for (e_old = ISC_LIST_TAIL(rrl->lru), i = 0; 205 e_old = ISC_LIST_PREV(e_old, lru), ++i) 273 ISC_LIST_INITANDAPPEND(rrl->lru, e, lru); 363 if (ISC_LIST_HEAD(rrl->lru) != e) { 365 rrl->last_logged = ISC_LIST_PREV(e, lru); 367 ISC_LIST_UNLINK(rrl->lru, e, lru); 368 ISC_LIST_PREPEND(rrl->lru, e, lru); [all...] |
H A D | tsig.c | 184 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link); 198 if (ISC_LINK_LINKED(tkey, link) && tkey->ring->lru.tail != tkey) 200 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link); 201 ISC_LIST_APPEND(tkey->ring->lru, tkey, link); 237 ISC_LIST_APPEND(ring->lru, tkey, link); 239 remove_fromring(ISC_LIST_HEAD(ring->lru)); 1812 ISC_LIST_UNLINK(key->ring->lru, key, link); 1842 ISC_LIST_INIT(ring->lru);
|
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | rrl.c | 202 for (e_old = ISC_LIST_TAIL(rrl->lru), i = 0; 205 e_old = ISC_LIST_PREV(e_old, lru), ++i) 273 ISC_LIST_INITANDAPPEND(rrl->lru, e, lru); 363 if (ISC_LIST_HEAD(rrl->lru) != e) { 365 rrl->last_logged = ISC_LIST_PREV(e, lru); 367 ISC_LIST_UNLINK(rrl->lru, e, lru); 368 ISC_LIST_PREPEND(rrl->lru, e, lru); [all...] |
H A D | tsig.c | 180 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link); 194 if (ISC_LINK_LINKED(tkey, link) && tkey->ring->lru.tail != tkey) 196 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link); 197 ISC_LIST_APPEND(tkey->ring->lru, tkey, link); 235 ISC_LIST_APPEND(ring->lru, tkey, link); 237 remove_fromring(ISC_LIST_HEAD(ring->lru)); 1831 ISC_LIST_UNLINK(key->ring->lru, key, link); 1861 ISC_LIST_INIT(ring->lru);
|
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/spu/ |
H A D | cachemgr.c | 257 unsigned int lru = 0; local 267 if (GET_LRU (entry, i) > lru) 269 lru = GET_LRU (entry, i);
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/frv/ |
H A D | cache.h | 146 int lru; /* Lower values indicates less recently used. */ member in struct:__anon2596
|
H A D | cache.c | 282 if (! found->locked && (available == NULL || available->lru > found->lru)) 401 if (item->lru > tag->lru) 402 --item->lru; 405 tag->lru = cache->ways; /* Mark as most recently used. */ 419 if (item->lru != 0 && item->lru < tag->lru) 420 ++item->lru; [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/frv/ |
H A D | cache.h | 146 int lru; /* Lower values indicates less recently used. */ member in struct:__anon2044
|
H A D | cache.c | 286 if (! found->locked && (available == NULL || available->lru > found->lru)) 405 if (item->lru > tag->lru) 406 --item->lru; 409 tag->lru = cache->ways; /* Mark as most recently used. */ 423 if (item->lru != 0 && item->lru < tag->lru) 424 ++item->lru; [all...] |
/netbsd-current/regress/sys/uvm/pdsim/ |
H A D | Makefile | 4 HPROGS= lfu lru nbsd opt rand
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_validation.c | 136 list_add_tail(&page->lru, &ctx->page_list); 159 list_for_each_entry_safe(entry, next, &ctx->page_list, lru) { 160 list_del_init(&entry->lru);
|
/netbsd-current/sys/external/bsd/drm2/dist/include/drm/ttm/ |
H A D | 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 429 * @lru_lock: Spinlock protecting the bo subsystem lru lists. 471 * lru_lock: Spinlock that protects the buffer+device lru lists and 495 * Protected by the global:lru lock. 527 * Positions for a lru bul [all...] |
H A D | ttm_bo_api.h | 165 * @lru: List head for the 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 626 * Evicts all buffers on the lru list of the memory type.
|
/netbsd-current/external/bsd/jemalloc/dist/src/ |
H A D | extent.c | 291 extent_list_init(&extents->lru); 321 extent_list_append(&extents->lru, extent); 347 extent_list_remove(&extents->lru, extent); 546 extent = extent_list_first(&extents->lru);
|