Lines Matching refs:page
39 static inline void activate_page_nolock(struct page * page) in activate_page_nolock() argument
41 if (PageLRU(page) && !PageActive(page)) { in activate_page_nolock()
42 del_page_from_inactive_list(page); in activate_page_nolock()
43 add_page_to_active_list(page); in activate_page_nolock()
47 void fastcall activate_page(struct page * page) in activate_page() argument
50 activate_page_nolock(page); in activate_page()
58 void fastcall lru_cache_add(struct page * page) in lru_cache_add() argument
60 if (!PageLRU(page)) { in lru_cache_add()
62 if (!TestSetPageLRU(page)) in lru_cache_add()
63 add_page_to_inactive_list(page); in lru_cache_add()
75 void fastcall __lru_cache_del(struct page * page) in __lru_cache_del() argument
77 if (TestClearPageLRU(page)) { in __lru_cache_del()
78 if (PageActive(page)) { in __lru_cache_del()
79 del_page_from_active_list(page); in __lru_cache_del()
81 del_page_from_inactive_list(page); in __lru_cache_del()
90 void fastcall lru_cache_del(struct page * page) in lru_cache_del() argument
93 __lru_cache_del(page); in lru_cache_del()
105 void delta_nr_active_pages(struct page *page, long delta) in delta_nr_active_pages() argument
110 classzone = page_zone(page); in delta_nr_active_pages()
129 void delta_nr_inactive_pages(struct page *page, long delta) in delta_nr_inactive_pages() argument
134 classzone = page_zone(page); in delta_nr_inactive_pages()
153 void delta_nr_cache_pages(struct page *page, long delta) in delta_nr_cache_pages() argument
158 classzone = page_zone(page); in delta_nr_cache_pages()