Lines Matching refs:page

97 extern void __remove_inode_page(struct page *);
107 extern void FASTCALL(lru_cache_add(struct page *));
108 extern void FASTCALL(__lru_cache_del(struct page *));
109 extern void FASTCALL(lru_cache_del(struct page *));
111 extern void FASTCALL(activate_page(struct page *));
122 extern void rw_swap_page(int, struct page *);
132 extern int add_to_swap_cache(struct page *, swp_entry_t);
133 extern void __delete_from_swap_cache(struct page *page);
134 extern void delete_from_swap_cache(struct page *page);
135 extern void free_page_and_swap_cache(struct page *page);
136 extern struct page * lookup_swap_cache(swp_entry_t);
137 extern struct page * read_swap_cache_async(swp_entry_t);
166 extern void FASTCALL(mark_page_accessed(struct page *));
172 #define DEBUG_LRU_PAGE(page) \ argument
174 if (!PageLRU(page)) \
176 if (PageActive(page)) \
180 extern void delta_nr_active_pages(struct page *page, long delta);
181 #define inc_nr_active_pages(page) delta_nr_active_pages(page, 1) argument
182 #define dec_nr_active_pages(page) delta_nr_active_pages(page, -1) argument
184 extern void delta_nr_inactive_pages(struct page *page, long delta);
185 #define inc_nr_inactive_pages(page) delta_nr_inactive_pages(page, 1) argument
186 #define dec_nr_inactive_pages(page) delta_nr_inactive_pages(page, -1) argument
188 #define add_page_to_active_list(page) \ argument
190 DEBUG_LRU_PAGE(page); \
191 SetPageActive(page); \
192 list_add(&(page)->lru, &active_list); \
193 inc_nr_active_pages(page); \
196 #define add_page_to_inactive_list(page) \ argument
198 DEBUG_LRU_PAGE(page); \
199 list_add(&(page)->lru, &inactive_list); \
200 inc_nr_inactive_pages(page); \
203 #define del_page_from_active_list(page) \ argument
205 list_del(&(page)->lru); \
206 ClearPageActive(page); \
207 dec_nr_active_pages(page); \
210 #define del_page_from_inactive_list(page) \ argument
212 list_del(&(page)->lru); \
213 dec_nr_inactive_pages(page); \
216 extern void delta_nr_cache_pages(struct page *page, long delta);
217 #define inc_nr_cache_pages(page) delta_nr_cache_pages(page, 1) argument
218 #define dec_nr_cache_pages(page) delta_nr_cache_pages(page, -1) argument
227 extern int shmem_unuse(swp_entry_t entry, struct page *page);