Lines Matching refs:page
47 #include <linux/page.h>
51 static inline struct page *
59 kmap(struct page *page)
64 return ((void *)PHYS_TO_DMAP(page_to_phys(page)));
67 sf = sf_buf_alloc(page, SFB_NOWAIT | SFB_CPUPRIVATE);
77 kmap_atomic_prot(struct page *page, pgprot_t prot)
82 vm_page_lock(page);
83 page->flags |= PG_FICTITIOUS;
84 vm_page_unlock(page);
85 pmap_page_set_memattr(page, attr);
87 return (kmap(page));
91 kmap_atomic(struct page *page)
94 return (kmap_atomic_prot(page, VM_PROT_ALL));
98 kmap_local_page(struct page *page)
100 return (kmap(page));
104 kmap_local_page_prot(struct page *page, pgprot_t prot)
107 return (kmap_atomic_prot(page, prot));
111 kunmap(struct page *page)
117 sf = sf_buf_alloc(page, SFB_NOWAIT | SFB_CPUPRIVATE);