Lines Matching refs:page
23 struct page *page; in hfsplus_block_allocate() local
37 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL); in hfsplus_block_allocate()
38 if (IS_ERR(page)) { in hfsplus_block_allocate()
42 pptr = kmap_local_page(page); in hfsplus_block_allocate()
81 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
83 if (IS_ERR(page)) { in hfsplus_block_allocate()
87 curr = pptr = kmap_local_page(page); in hfsplus_block_allocate()
129 set_page_dirty(page); in hfsplus_block_allocate()
132 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
134 if (IS_ERR(page)) { in hfsplus_block_allocate()
138 pptr = kmap_local_page(page); in hfsplus_block_allocate()
153 set_page_dirty(page); in hfsplus_block_allocate()
167 struct page *page; in hfsplus_block_free() local
185 page = read_mapping_page(mapping, pnr, NULL); in hfsplus_block_free()
186 if (IS_ERR(page)) in hfsplus_block_free()
188 pptr = kmap_local_page(page); in hfsplus_block_free()
217 set_page_dirty(page); in hfsplus_block_free()
219 page = read_mapping_page(mapping, ++pnr, NULL); in hfsplus_block_free()
220 if (IS_ERR(page)) in hfsplus_block_free()
222 pptr = kmap_local_page(page); in hfsplus_block_free()
233 set_page_dirty(page); in hfsplus_block_free()
242 pr_crit("unable to mark blocks free: error %ld\n", PTR_ERR(page)); in hfsplus_block_free()