Lines Matching refs:page
59 struct page **pages; in shmem_pin_map()
102 struct page *page; in __shmem_rw() local
105 page = shmem_read_mapping_page_gfp(file->f_mapping, pfn, in __shmem_rw()
107 if (IS_ERR(page)) in __shmem_rw()
108 return PTR_ERR(page); in __shmem_rw()
110 vaddr = kmap(page); in __shmem_rw()
113 set_page_dirty(page); in __shmem_rw()
117 mark_page_accessed(page); in __shmem_rw()
118 kunmap(page); in __shmem_rw()
119 put_page(page); in __shmem_rw()
137 struct page *page; in shmem_read_to_iosys_map() local
140 page = shmem_read_mapping_page_gfp(file->f_mapping, pfn, in shmem_read_to_iosys_map()
142 if (IS_ERR(page)) in shmem_read_to_iosys_map()
143 return PTR_ERR(page); in shmem_read_to_iosys_map()
145 vaddr = kmap(page); in shmem_read_to_iosys_map()
148 mark_page_accessed(page); in shmem_read_to_iosys_map()
149 kunmap(page); in shmem_read_to_iosys_map()
150 put_page(page); in shmem_read_to_iosys_map()