Lines Matching refs:page
59 extern void * FASTCALL(kmap_high(struct page *page, int nonblocking));
60 extern void FASTCALL(kunmap_high(struct page *page));
62 #define kmap(page) __kmap(page, 0) argument
63 #define kmap_nonblock(page) __kmap(page, 1) argument
65 static inline void *__kmap(struct page *page, int nonblocking) in __kmap() argument
69 if (page < highmem_start_page) in __kmap()
70 return page_address(page); in __kmap()
71 return kmap_high(page, nonblocking); in __kmap()
74 static inline void kunmap(struct page *page) in kunmap() argument
78 if (page < highmem_start_page) in kunmap()
80 kunmap_high(page); in kunmap()
89 static inline void *kmap_atomic(struct page *page, enum km_type type) in kmap_atomic() argument
94 if (page < highmem_start_page) in kmap_atomic()
95 return page_address(page); in kmap_atomic()
103 set_pte(kmap_pte-idx, mk_pte(page, kmap_prot)); in kmap_atomic()