Home
last modified time | relevance | path

Searched refs:lru (Results 1 – 12 of 12) sorted by relevance

/include/linux/
Dmm_inline.h25 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 …]
Dmmzone.h143 #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()
Dpagevec.h24 void __pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
Dlru_cache.h176 struct list_head lru; member
Dmemcontrol.h256 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
Dswap.h222 extern void __lru_cache_add(struct page *, enum lru_list lru);
223 extern void lru_cache_add_lru(struct page *, enum lru_list lru);
Dpage-flags.h201 PAGEFLAG(LRU, lru) __CLEARPAGEFLAG(LRU, lru)
Dmm_types.h106 struct list_head lru; /* Pageout list, eg. active_list member
Dmm.h477 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()
Dnfs_fs.h78 struct list_head lru; member
/include/drm/ttm/
Dttm_bo_api.h233 struct list_head lru; member
Dttm_bo_driver.h295 struct list_head lru; member