Lines Matching defs:page
21 * - flush_cache_page(mm, vmaddr, pfn) flushes a single page
24 * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache
29 * - flush_data_cache_page() flushes a page from the data cache
34 * This flag is used to indicate that the page pointed to by a pte
39 #define Page_dcache_dirty(page) \
40 test_bit(PG_dcache_dirty, &(page)->flags)
41 #define SetPageDcacheDirty(page) \
42 set_bit(PG_dcache_dirty, &(page)->flags)
43 #define ClearPageDcacheDirty(page) \
44 clear_bit(PG_dcache_dirty, &(page)->flags)
52 extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
53 extern void __flush_dcache_page(struct page *page);
56 static inline void flush_dcache_page(struct page *page)
59 __flush_dcache_page(page);
61 SetPageDcacheDirty(page);
68 extern void __flush_anon_page(struct page *, unsigned long);
70 struct page *page, unsigned long vmaddr)
72 if (cpu_has_dc_aliases && PageAnon(page))
73 __flush_anon_page(page, vmaddr);
77 struct page *page)
105 struct page *page, unsigned long vaddr, void *dst, const void *src,
109 struct page *page, unsigned long vaddr, void *dst, const void *src,
119 extern void *kmap_coherent(struct page *page, unsigned long addr);
121 extern void *kmap_noncoherent(struct page *page, unsigned long addr);
129 static inline void flush_kernel_dcache_page(struct page *page)
131 BUG_ON(cpu_has_dc_aliases && PageHighMem(page));
132 flush_dcache_page(page);