/drivers/staging/android/ion/ |
D | ion_page_pool.c | 51 list_add_tail(&page->lru, &pool->high_items); in ion_page_pool_add() 54 list_add_tail(&page->lru, &pool->low_items); in ion_page_pool_add() 67 page = list_first_entry(&pool->high_items, struct page, lru); in ion_page_pool_remove() 71 page = list_first_entry(&pool->low_items, struct page, lru); in ion_page_pool_remove() 75 list_del(&page->lru); in ion_page_pool_remove()
|
D | ion_system_heap.c | 150 list_add_tail(&page->lru, &pages); in ion_system_heap_allocate() 163 list_for_each_entry_safe(page, tmp_page, &pages, lru) { in ion_system_heap_allocate() 166 list_del(&page->lru); in ion_system_heap_allocate() 175 list_for_each_entry_safe(page, tmp_page, &pages, lru) in ion_system_heap_allocate()
|
/drivers/xen/ |
D | balloon.c | 172 list_add_tail(&page->lru, &ballooned_pages); in __balloon_append() 175 list_add(&page->lru, &ballooned_pages); in __balloon_append() 195 page = list_entry(ballooned_pages.next, struct page, lru); in balloon_retrieve() 198 list_del(&page->lru); in balloon_retrieve() 212 struct list_head *next = page->lru.next; in balloon_next_page() 215 return list_entry(next, struct page, lru); in balloon_next_page() 425 page = list_first_entry_or_null(&ballooned_pages, struct page, lru); in increase_reservation() 506 list_add(&page->lru, &pages); in decrease_reservation() 523 list_for_each_entry_safe(page, tmp, &pages, lru) { in decrease_reservation() 546 list_del(&page->lru); in decrease_reservation()
|
D | privcmd.c | 73 list_for_each_entry_safe(p, n, pages, lru) in free_page_list() 108 list_add_tail(&page->lru, pagelist); in gather_array() 148 page = list_entry(pos, struct page, lru); in traverse_pages() 185 page = list_entry(pos, struct page, lru); in traverse_pages_block() 259 struct page, lru); in privcmd_ioctl_mmap()
|
D | xen-scsiback.c | 226 list_add(&page[i]->lru, &scsiback_free_pages); in put_free_pages() 240 page[0] = list_first_entry(&scsiback_free_pages, struct page, lru); in get_free_page() 241 list_del(&page[0]->lru); in get_free_page()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 328 list_for_each_entry_reverse(p, &pool->list, lru) { in ttm_page_pool_free() 336 __list_del(p->lru.prev, &pool->list); in ttm_page_pool_free() 371 __list_del(&p->lru, &pool->list); in ttm_page_pool_free() 482 list_del(&failed_pages[i]->lru); in ttm_handle_caching_state_failure() 553 list_add(&p->lru, pages); in ttm_alloc_new_pages() 615 list_for_each_entry(p, &new_pages, lru) { in ttm_page_pool_fill_locked() 701 list_add_tail(&pages[i]->lru, &pool->list); in ttm_put_pages() 765 list_for_each_entry(p, &plist, lru) { in ttm_get_pages() 771 list_for_each_entry(p, &plist, lru) { in ttm_get_pages() 786 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() 173 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_add_to_lru() 176 list_add_tail(&bo->lru, &man->lru); in ttm_bo_add_to_lru() 195 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru() 196 list_del_init(&bo->lru); in ttm_bo_del_from_lru() 722 list_for_each_entry(bo, &man->lru, lru) { in ttm_mem_evict_first() 1123 INIT_LIST_HEAD(&bo->lru); in ttm_bo_init() 1253 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean() 1347 INIT_LIST_HEAD(&man->lru); in ttm_bo_init_mm() 1448 if (list_empty(&bdev->man[0].lru)) in ttm_bo_device_release()
|
D | ttm_bo_util.c | 462 INIT_LIST_HEAD(&fbo->lru); in ttm_buffer_object_transfer()
|
/drivers/misc/ |
D | vmw_balloon.c | 577 list_for_each_entry_safe(page, next, &page_size->pages, lru) { in vmballoon_pop() 578 list_del(&page->lru); in vmballoon_pop() 624 list_add(&page->lru, &page_size->refused_pages); in vmballoon_lock_page() 632 list_add(&page->lru, &page_size->pages); in vmballoon_lock_page() 669 list_add(&p->lru, &page_size->pages); in vmballoon_lock_batched_page() 676 list_add(&p->lru, &page_size->refused_pages); in vmballoon_lock_batched_page() 708 list_add(&page->lru, &page_size->pages); in vmballoon_unlock_page() 748 list_add(&p->lru, &page_size->pages); in vmballoon_unlock_batched_page() 773 list_for_each_entry_safe(page, next, &page_size->refused_pages, lru) { in vmballoon_release_refused_pages() 774 list_del(&page->lru); in vmballoon_release_refused_pages() [all …]
|
/drivers/video/fbdev/core/ |
D | fb_defio.c | 129 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_mkwrite() 141 list_add_tail(&page->lru, &cur->lru); in fb_deferred_io_mkwrite() 188 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_work()
|
/drivers/android/ |
D | binder_alloc.c | 247 on_lru = list_lru_del(&binder_alloc_lru, &page->lru); in binder_update_page_range() 267 INIT_LIST_HEAD(&page->lru); in binder_update_page_range() 311 ret = list_lru_add(&binder_alloc_lru, &page->lru); in binder_update_page_range() 787 &alloc->pages[i].lru); in binder_alloc_deferred_release() 850 int lru = 0; in binder_alloc_print_pages() local 858 else if (list_empty(&page->lru)) in binder_alloc_print_pages() 861 lru++; in binder_alloc_print_pages() 864 seq_printf(m, " pages: %d:%d:%d\n", active, lru, free); in binder_alloc_print_pages() 910 struct list_lru_one *lru, in binder_alloc_free_page() argument 917 lru); in binder_alloc_free_page() [all …]
|
D | binder_alloc.h | 71 struct list_head lru; member 124 struct list_lru_one *lru,
|
D | binder_alloc_selftest.c | 113 !list_empty(&alloc->pages[page_index].lru)) { in check_buffer_pages_allocated() 155 if (list_empty(&alloc->pages[i].lru)) { in binder_selftest_free_buf() 177 list_empty(&alloc->pages[i].lru) ? in binder_selftest_free_page()
|
/drivers/md/ |
D | dm-bufio.c | 89 struct list_head lru[LIST_SIZE]; member 483 list_add(&b->lru_list, &c->lru[dirty]); in __link_buffer() 514 list_move(&b->lru_list, &c->lru[dirty]); in __relink_lru() 752 list_for_each_entry_reverse(b, &c->lru[LIST_CLEAN], lru_list) { in __get_unclaimed_buffer() 764 list_for_each_entry_reverse(b, &c->lru[LIST_DIRTY], lru_list) { in __get_unclaimed_buffer() 902 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in __write_dirty_buffers_async() 1255 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in dm_bufio_write_dirty_buffers() 1492 list_for_each_entry(b, &c->lru[i], lru_list) in drop_buffers() 1497 BUG_ON(!list_empty(&c->lru[i])); in drop_buffers() 1546 list_for_each_entry_safe_reverse(b, tmp, &c->lru[l], lru_list) { in __scan() [all …]
|
D | raid5.c | 257 if (list_empty(&sh->lru)) { in raid5_wakeup_stripe_thread() 260 list_add_tail(&sh->lru, &group->handle_list); in raid5_wakeup_stripe_thread() 291 BUG_ON(!list_empty(&sh->lru)); in do_release_stripe() 296 list_add_tail(&sh->lru, &conf->delayed_list); in do_release_stripe() 299 list_add_tail(&sh->lru, &conf->bitmap_list); in do_release_stripe() 304 list_add_tail(&sh->lru, &conf->handle_list); in do_release_stripe() 319 list_add_tail(&sh->lru, temp_inactive_list); in do_release_stripe() 470 sh = list_entry(first, struct stripe_head, lru); in get_free_stripe() 703 BUG_ON(list_empty(&sh->lru) && in raid5_get_active_stripe() 705 list_del_init(&sh->lru); in raid5_get_active_stripe() [all …]
|
D | raid5.h | 199 struct list_head lru; /* inactive_list or handle_list */ member
|
/drivers/staging/android/ |
D | ashmem.c | 75 struct list_head lru; member 136 list_add_tail(&range->lru, &ashmem_lru_list); in lru_add() 149 list_del(&range->lru); in lru_del() 473 list_for_each_entry_safe(range, next, &ashmem_lru_list, lru) { in ashmem_shrink_scan()
|
/drivers/block/ |
D | xen-blkfront.c | 333 struct page, lru); in get_indirect_grant() 334 list_del(&indirect_page->lru); in get_indirect_grant() 1129 list_for_each_entry_safe(indirect_page, n, &info->indirect_pages, lru) { in blkif_free() 1130 list_del(&indirect_page->lru); in blkif_free() 1301 list_add(&indirect_page->lru, &info->indirect_pages); in blkif_completion() 1936 list_add(&indirect_page->lru, &info->indirect_pages); in blkfront_setup_indirect() 1973 list_for_each_entry_safe(indirect_page, n, &info->indirect_pages, lru) { in blkfront_setup_indirect() 1974 list_del(&indirect_page->lru); in blkfront_setup_indirect()
|
/drivers/block/xen-blkback/ |
D | blkback.c | 127 page[0] = list_first_entry(&blkif->free_pages, struct page, lru); in get_free_page() 128 list_del(&page[0]->lru); in get_free_page() 143 list_add(&page[i]->lru, &blkif->free_pages); in put_free_pages() 159 struct page, lru); in shrink_free_pagepool() 160 list_del(&page[num_pages]->lru); in shrink_free_pagepool()
|
/drivers/md/bcache/ |
D | bcache.h | 283 struct list_head lru; member
|
D | request.c | 416 i = list_first_entry(&dc->io_lru, struct io, lru); in check_should_bypass() 430 list_move_tail(&i->lru, &dc->io_lru); in check_should_bypass()
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_page.c | 393 list_empty(&vmpage->lru) ? "not-" : ""); in vvp_page_print()
|
/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 179 list_for_each_entry(page, pagelist, lru) { in qxl_deferred_io()
|
/drivers/base/ |
D | node.c | 360 #define page_initialized(page) (page->lru.next)
|
/drivers/video/fbdev/ |
D | metronomefb.c | 475 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in metronomefb_dpy_deferred_io()
|