Searched refs:lru (Results 1 - 25 of 31) sorted by relevance

12

/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/
H A Dnouveau_nvkm_subdev_instmem_nv50.c46 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 Dcoda_namecache.c103 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 Dcoda_namecache.h91 TAILQ_ENTRY(coda_cache) lru; /* LRU list */ member in struct:coda_cache
/netbsd-current/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo.c183 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 Dttm_page_alloc.c32 * - 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 Drrl.h109 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 Dtsig.h71 ISC_LIST(dns_tsigkey_t) lru; member in struct:dns_tsig_keyring
/netbsd-current/external/mpl/bind/dist/lib/dns/include/dns/
H A Drrl.h108 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 Dtsig.h69 ISC_LIST(dns_tsigkey_t) lru; member in struct:dns_tsig_keyring
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dextent_structs.h197 extent_list_t lru; member in struct:extents_s
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dextent_structs.h197 extent_list_t lru; member in struct:extents_s
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Drrl.c202 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 Dtsig.c184 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 Drrl.c202 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 Dtsig.c180 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 Dcachemgr.c257 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 Dcache.h146 int lru; /* Lower values indicates less recently used. */ member in struct:__anon2596
H A Dcache.c282 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 Dcache.h146 int lru; /* Lower values indicates less recently used. */ member in struct:__anon2044
H A Dcache.c286 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 DMakefile4 HPROGS= lfu lru nbsd opt rand
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_validation.c136 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 Dttm_bo_driver.h157 * @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 Dttm_bo_api.h165 * @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 Dextent.c291 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);

Completed in 242 milliseconds

12