Lines Matching refs:page
49 extern void * kmap_high(struct page *page, int nonblocking);
50 extern void kunmap_high(struct page *page);
52 static inline void *__kmap(struct page *page, int nonblocking) in __kmap() argument
56 if (page < highmem_start_page) in __kmap()
57 return page_address(page); in __kmap()
58 return kmap_high(page, nonblocking); in __kmap()
61 #define kmap(page) __kmap(page, 0) argument
62 #define kmap_nonblock(page) __kmap(page, 1) argument
64 static inline void kunmap(struct page *page) in kunmap() argument
68 if (page < highmem_start_page) in kunmap()
70 kunmap_high(page); in kunmap()
79 static inline void *kmap_atomic(struct page *page, enum km_type type) in kmap_atomic() argument
84 if (page < highmem_start_page) in kmap_atomic()
85 return page_address(page); in kmap_atomic()
89 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot)); in kmap_atomic()