Searched refs:lru (Results 1 – 12 of 12) sorted by relevance
/include/linux/ |
D | mm_inline.h | 25 add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list lru) in add_page_to_lru_list() argument 29 lruvec = mem_cgroup_lru_add_list(zone, page, lru); in add_page_to_lru_list() 30 list_add(&page->lru, &lruvec->lists[lru]); in add_page_to_lru_list() 31 __mod_zone_page_state(zone, NR_LRU_BASE + lru, hpage_nr_pages(page)); in add_page_to_lru_list() 35 del_page_from_lru_list(struct zone *zone, struct page *page, enum lru_list lru) in del_page_from_lru_list() argument 37 mem_cgroup_lru_del_list(page, lru); in del_page_from_lru_list() 38 list_del(&page->lru); in del_page_from_lru_list() 39 __mod_zone_page_state(zone, NR_LRU_BASE + lru, -hpage_nr_pages(page)); in del_page_from_lru_list() 66 enum lru_list lru; in page_off_lru() local 70 lru = LRU_UNEVICTABLE; in page_off_lru() [all …]
|
D | mmzone.h | 143 #define for_each_lru(lru) for (lru = 0; lru < NR_LRU_LISTS; lru++) argument 145 #define for_each_evictable_lru(lru) for (lru = 0; lru <= LRU_ACTIVE_FILE; lru++) argument 147 static inline int is_file_lru(enum lru_list lru) in is_file_lru() argument 149 return (lru == LRU_INACTIVE_FILE || lru == LRU_ACTIVE_FILE); in is_file_lru() 152 static inline int is_active_lru(enum lru_list lru) in is_active_lru() argument 154 return (lru == LRU_ACTIVE_ANON || lru == LRU_ACTIVE_FILE); in is_active_lru() 157 static inline int is_unevictable_lru(enum lru_list lru) in is_unevictable_lru() argument 159 return (lru == LRU_UNEVICTABLE); in is_unevictable_lru()
|
D | pagevec.h | 24 void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
|
D | lru_cache.h | 176 struct list_head lru; member
|
D | memcontrol.h | 256 enum lru_list lru) in mem_cgroup_lru_add_list() argument 261 static inline void mem_cgroup_lru_del_list(struct page *page, enum lru_list lru) in mem_cgroup_lru_del_list() argument
|
D | swap.h | 222 extern void __lru_cache_add(struct page *, enum lru_list lru); 223 extern void lru_cache_add_lru(struct page *, enum lru_list lru);
|
D | page-flags.h | 201 PAGEFLAG(LRU, lru) __CLEARPAGEFLAG(LRU, lru)
|
D | mm_types.h | 106 struct list_head lru; /* Pageout list, eg. active_list member
|
D | mm.h | 477 page[1].lru.next = (void *)dtor; in set_compound_page_dtor() 482 return (compound_page_dtor *)page[1].lru.next; in get_compound_page_dtor() 489 return (unsigned long)page[1].lru.prev; in compound_order() 508 page[1].lru.prev = (void *)order; in set_compound_order()
|
D | nfs_fs.h | 78 struct list_head lru; member
|
/include/drm/ttm/ |
D | ttm_bo_api.h | 233 struct list_head lru; member
|
D | ttm_bo_driver.h | 295 struct list_head lru; member
|