Lines Matching defs:page
39 struct page *page;
59 /* Get the page containing the first bit (@start_bit). */
61 page = ntfs_map_page(mapping, index);
62 if (IS_ERR(page)) {
64 ntfs_error(vi->i_sb, "Failed to map first page (error "
65 "%li), aborting.", PTR_ERR(page));
66 return PTR_ERR(page);
68 kaddr = page_address(page);
86 /* If we are done, unmap the page and return success. */
94 * Depending on @value, modify all remaining whole bytes in the page up
101 /* Update @len to point to the first not-done byte in the page. */
105 /* If we are not in the last page, deal with all subsequent pages. */
109 /* Update @index and get the next page. */
110 flush_dcache_page(page);
111 set_page_dirty(page);
112 ntfs_unmap_page(page);
113 page = ntfs_map_page(mapping, ++index);
114 if (IS_ERR(page))
116 kaddr = page_address(page);
119 * page up to @cnt.
126 * The currently mapped page is the last one. If the last byte is
128 * position of the last byte inside the page.
145 /* We are done. Unmap the page and return success. */
146 flush_dcache_page(page);
147 set_page_dirty(page);
148 ntfs_unmap_page(page);
158 return PTR_ERR(page);
166 ntfs_error(vi->i_sb, "Failed to map subsequent page (error "
167 "%li), aborting.", PTR_ERR(page));
170 ntfs_error(vi->i_sb, "Failed to map subsequent page (error "
173 "Unmount and run chkdsk.", PTR_ERR(page), pos);
176 return PTR_ERR(page);