Lines Matching defs:page

155 typedef struct page {  struct
156 struct list_head list; /* ->mapping has some page lists. */ argument
159 struct page *next_hash; /* Next page sharing our hash bucket in argument
166 struct page **pprev_hash; /* Complement to *next_hash. */ argument
177 * WANT_PAGE_VIRTUAL in asm/page.h argument
186 * Methods to modify the page usage count. argument
203 static inline struct page *nth_page(struct page *page, int n) in nth_page()
311 #define arch_set_page_uptodate(page) argument
315 #define UnlockPage(page) unlock_page(page) argument
316 #define Page_Uptodate(page) test_bit(PG_uptodate, &(page)->flags) argument
318 #define SetPageUptodate(page) set_bit(PG_uptodate, &(page)->flags) argument
320 #define ClearPageUptodate(page) clear_bit(PG_uptodate, &(page)->flags) argument
321 #define PageDirty(page) test_bit(PG_dirty, &(page)->flags) argument
322 #define SetPageDirty(page) set_bit(PG_dirty, &(page)->flags) argument
323 #define ClearPageDirty(page) clear_bit(PG_dirty, &(page)->flags) argument
324 #define PageLocked(page) test_bit(PG_locked, &(page)->flags) argument
325 #define LockPage(page) set_bit(PG_locked, &(page)->flags) argument
326 #define TryLockPage(page) test_and_set_bit(PG_locked, &(page)->flags) argument
327 #define PageChecked(page) test_bit(PG_checked, &(page)->flags) argument
328 #define SetPageChecked(page) set_bit(PG_checked, &(page)->flags) argument
329 #define ClearPageChecked(page) clear_bit(PG_checked, &(page)->flags) argument
330 #define PageLaunder(page) test_bit(PG_launder, &(page)->flags) argument
331 #define SetPageLaunder(page) set_bit(PG_launder, &(page)->flags) argument
332 #define ClearPageLaunder(page) clear_bit(PG_launder, &(page)->flags) argument
333 #define ClearPageArch1(page) clear_bit(PG_arch_1, &(page)->flags) argument
345 static inline zone_t *page_zone(struct page *page) in page_zone()
350 static inline void set_page_zone(struct page *page, unsigned long zone_num) in set_page_zone()
364 #define set_page_address(page, address) \ argument
370 #define set_page_address(page, address) do { } while(0) argument
379 #define page_address(page) ((page)->virtual) argument
383 #define page_address(page) \ argument
397 #define PageError(page) test_bit(PG_error, &(page)->flags) argument
398 #define SetPageError(page) set_bit(PG_error, &(page)->flags) argument
399 #define ClearPageError(page) clear_bit(PG_error, &(page)->flags) argument
400 #define PageReferenced(page) test_bit(PG_referenced, &(page)->flags) argument
401 #define SetPageReferenced(page) set_bit(PG_referenced, &(page)->flags) argument
402 #define ClearPageReferenced(page) clear_bit(PG_referenced, &(page)->flags) argument
403 #define PageTestandClearReferenced(page) test_and_clear_bit(PG_referenced, &(page)->flags) argument
404 #define PageSlab(page) test_bit(PG_slab, &(page)->flags) argument
405 #define PageSetSlab(page) set_bit(PG_slab, &(page)->flags) argument
406 #define PageClearSlab(page) clear_bit(PG_slab, &(page)->flags) argument
407 #define PageReserved(page) test_bit(PG_reserved, &(page)->flags) argument
409 #define PageActive(page) test_bit(PG_active, &(page)->flags) argument
410 #define SetPageActive(page) set_bit(PG_active, &(page)->flags) argument
411 #define ClearPageActive(page) clear_bit(PG_active, &(page)->flags) argument
413 #define PageLRU(page) test_bit(PG_lru, &(page)->flags) argument
414 #define TestSetPageLRU(page) test_and_set_bit(PG_lru, &(page)->flags) argument
415 #define TestClearPageLRU(page) test_and_clear_bit(PG_lru, &(page)->flags) argument
418 #define PageHighMem(page) test_bit(PG_highmem, &(page)->flags) argument
420 #define PageHighMem(page) 0 /* needed to optimize away at compile time */ argument
423 #define SetPageReserved(page) set_bit(PG_reserved, &(page)->flags) argument
424 #define ClearPageReserved(page) clear_bit(PG_reserved, &(page)->flags) argument
477 #define __free_page(page) __free_pages((page), 0) argument
537 #define PageSwapCache(page) ((page)->mapping == &swapper_space) argument
539 static inline int is_page_cache_freeable(struct page * page) in is_page_cache_freeable()