/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmr.c | 130 list_add_tail(&page->lru, desc_pages); in vmw_gmr_build_descriptors() 176 list_for_each_entry_safe(page, next, desc_pages, lru) { in vmw_gmr_build_descriptors() 177 list_del_init(&page->lru); in vmw_gmr_build_descriptors() 187 list_for_each_entry_safe(page, next, desc_pages, lru) { in vmw_gmr_free_descriptors() 188 list_del_init(&page->lru); in vmw_gmr_free_descriptors() 201 page = list_entry(desc_pages->next, struct page, lru); in vmw_gmr_fire_descriptors()
|
D | vmwgfx_fb.c | 303 list_for_each_entry(page, pagelist, lru) { in vmw_deferred_io()
|
/drivers/staging/zcache/ |
D | zbud.c | 111 struct list_head lru; member 382 INIT_LIST_HEAD(&zbudpage->lru); in zbud_init_zbudpage() 400 BUG_ON(!list_empty(&zbudpage->lru)); in zbud_unuse_zbudpage() 595 list_del_init(&zbudpage->lru); in zbud_free_and_delist() 674 list_del_init(&zbudpage->lru); in zbud_match_prep() 675 list_add_tail(&zbudpage->lru, &zbud_eph_lru_list); in zbud_match_prep() 682 list_del_init(&zbudpage->lru); in zbud_match_prep() 683 list_add_tail(&zbudpage->lru, &zbud_pers_lru_list); in zbud_match_prep() 730 list_add_tail(&zbudpage->lru, &zbud_eph_lru_list); in zbud_create_prep() 733 list_add_tail(&zbudpage->lru, &zbud_pers_lru_list); in zbud_create_prep() [all …]
|
/drivers/xen/ |
D | balloon.c | 124 list_add_tail(&page->lru, &ballooned_pages); in __balloon_append() 127 list_add(&page->lru, &ballooned_pages); in __balloon_append() 149 page = list_entry(ballooned_pages.prev, struct page, lru); in balloon_retrieve() 151 page = list_entry(ballooned_pages.next, struct page, lru); in balloon_retrieve() 152 list_del(&page->lru); in balloon_retrieve() 169 return list_entry(ballooned_pages.next, struct page, lru); in balloon_first_page() 174 struct list_head *next = page->lru.next; in balloon_next_page() 177 return list_entry(next, struct page, lru); in balloon_next_page()
|
D | privcmd.c | 68 list_for_each_entry_safe(p, n, pages, lru) in free_page_list() 103 list_add_tail(&page->lru, pagelist); in gather_array() 143 page = list_entry(pos, struct page, lru); in traverse_pages() 220 struct page, lru); in privcmd_ioctl_mmap()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 322 list_for_each_entry_reverse(p, &pool->list, lru) { in ttm_page_pool_free() 330 __list_del(p->lru.prev, &pool->list); in ttm_page_pool_free() 365 __list_del(&p->lru, &pool->list); in ttm_page_pool_free() 462 list_del(&failed_pages[i]->lru); in ttm_handle_caching_state_failure() 533 list_add(&p->lru, pages); in ttm_alloc_new_pages() 595 list_for_each_entry(p, &pool->list, lru) { in ttm_page_pool_fill_locked() 681 list_add_tail(&pages[i]->lru, &pool->list); in ttm_put_pages() 745 list_for_each_entry(p, &plist, lru) { in ttm_get_pages() 751 list_for_each_entry(p, &plist, lru) { in ttm_get_pages() 766 list_for_each_entry(p, &plist, lru) { in ttm_get_pages()
|
D | ttm_bo.c | 147 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_release_list() 182 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_add_to_lru() 185 list_add_tail(&bo->lru, &man->lru); in ttm_bo_add_to_lru() 203 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru() 204 list_del_init(&bo->lru); in ttm_bo_del_from_lru() 881 list_for_each_entry(bo, &man->lru, lru) { in ttm_mem_evict_first() 1270 INIT_LIST_HEAD(&bo->lru); in ttm_bo_init() 1392 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean() 1486 INIT_LIST_HEAD(&man->lru); in ttm_bo_init_mm() 1587 if (list_empty(&bdev->man[0].lru)) in ttm_bo_device_release()
|
D | ttm_bo_util.c | 450 INIT_LIST_HEAD(&fbo->lru); in ttm_buffer_object_transfer()
|
/drivers/misc/ |
D | vmw_balloon.c | 373 list_for_each_entry_safe(page, next, &b->pages, lru) { in vmballoon_pop() 374 list_del(&page->lru); in vmballoon_pop() 448 list_add(&page->lru, &b->refused_pages); in vmballoon_reserve_page() 455 list_add(&page->lru, &b->pages); in vmballoon_reserve_page() 473 list_del(&page->lru); in vmballoon_release_page() 493 list_for_each_entry_safe(page, next, &b->refused_pages, lru) { in vmballoon_release_refused_pages() 494 list_del(&page->lru); in vmballoon_release_refused_pages() 630 list_for_each_entry_safe(page, next, &b->pages, lru) { in vmballoon_deflate()
|
/drivers/video/ |
D | fb_defio.c | 128 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_mkwrite() 140 list_add_tail(&page->lru, &cur->lru); in fb_deferred_io_mkwrite() 187 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_work()
|
D | metronomefb.c | 475 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in metronomefb_dpy_deferred_io()
|
D | xen-fbfront.c | 191 list_for_each_entry(page, pagelist, lru) { in xenfb_deferred_io()
|
D | broadsheetfb.c | 943 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in broadsheetfb_dpy_deferred_io()
|
D | auo_k190x.c | 330 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in auok190xfb_dpy_deferred_io()
|
D | udlfb.c | 733 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in dlfb_dpy_deferred_io()
|
D | smscufx.c | 972 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in ufx_dpy_deferred_io()
|
/drivers/md/ |
D | dm-bufio.c | 90 struct list_head lru[LIST_SIZE]; member 433 list_add(&b->lru_list, &c->lru[dirty]); in __link_buffer() 464 list_move(&b->lru_list, &c->lru[dirty]); in __relink_lru() 670 list_for_each_entry_reverse(b, &c->lru[LIST_CLEAN], lru_list) { in __get_unclaimed_buffer() 682 list_for_each_entry_reverse(b, &c->lru[LIST_DIRTY], lru_list) { in __get_unclaimed_buffer() 809 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in __write_dirty_buffers_async() 1154 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in dm_bufio_write_dirty_buffers() 1365 list_for_each_entry(b, &c->lru[i], lru_list) in drop_buffers() 1370 BUG_ON(!list_empty(&c->lru[i])); in drop_buffers() 1411 list_for_each_entry_safe_reverse(b, tmp, &c->lru[l], lru_list) in __scan() [all …]
|
D | raid5.c | 205 BUG_ON(!list_empty(&sh->lru)); in do_release_stripe() 210 list_add_tail(&sh->lru, &conf->delayed_list); in do_release_stripe() 213 list_add_tail(&sh->lru, &conf->bitmap_list); in do_release_stripe() 217 list_add_tail(&sh->lru, &conf->handle_list); in do_release_stripe() 228 list_add_tail(&sh->lru, &conf->inactive_list); in do_release_stripe() 283 sh = list_entry(first, struct stripe_head, lru); in get_free_stripe() 492 BUG_ON(!list_empty(&sh->lru) in get_active_stripe() 498 if (list_empty(&sh->lru) && in get_active_stripe() 501 list_del_init(&sh->lru); in get_active_stripe() 1496 INIT_LIST_HEAD(&sh->lru); in grow_one_stripe() [all …]
|
D | raid5.h | 199 struct list_head lru; /* inactive_list or handle_list */ member
|
/drivers/staging/android/ |
D | ashmem.c | 60 struct list_head lru; /* entry in LRU list */ member 110 list_add_tail(&range->lru, &ashmem_lru_list); in lru_add() 116 list_del(&range->lru); in lru_del() 369 list_for_each_entry_safe(range, next, &ashmem_lru_list, lru) { in ashmem_shrink()
|
/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 138 list_for_each_entry(page, pagelist, lru) { in qxl_deferred_io()
|
/drivers/base/ |
D | node.c | 377 #define page_initialized(page) (page->lru.next)
|
/drivers/md/bcache/ |
D | request.c | 1172 i = list_first_entry(&dc->io_lru, struct io, lru); in check_should_skip() 1186 list_move_tail(&i->lru, &dc->io_lru); in check_should_skip()
|
D | bcache.h | 461 struct list_head lru; member
|
/drivers/gpu/drm/udl/ |
D | udl_fb.c | 114 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in udlfb_dpy_deferred_io()
|