• Home
  • Raw
  • Download

Lines Matching refs:mapping

77 	struct address_space *mapping = page->mapping;  in ceph_set_page_dirty()  local
84 mapping->host, page, page->index); in ceph_set_page_dirty()
89 inode = mapping->host; in ceph_set_page_dirty()
112 mapping->host, page, page->index, in ceph_set_page_dirty()
141 inode = page->mapping->host; in ceph_invalidatepage()
167 dout("%p releasepage %p idx %lu (%sdirty)\n", page->mapping->host, in ceph_releasepage()
453 static int ceph_readpages(struct file *file, struct address_space *mapping, in ceph_readpages() argument
466 rc = ceph_readpages_from_fscache(mapping->host, mapping, page_list, in ceph_readpages()
593 struct inode *inode = page->mapping->host; in writepage_nounlock()
627 page->mapping->a_ops->invalidatepage(page, 0, PAGE_SIZE); in writepage_nounlock()
706 struct inode *inode = page->mapping->host; in ceph_writepage()
736 struct address_space *mapping = inode->i_mapping; in writepages_finish() local
742 mapping_set_error(mapping, rc); in writepages_finish()
814 static int ceph_writepages_start(struct address_space *mapping, in ceph_writepages_start() argument
817 struct inode *inode = mapping->host; in ceph_writepages_start()
841 mapping_set_error(mapping, -EIO); in ceph_writepages_start()
849 start_index = wbc->range_cyclic ? mapping->writeback_index : 0; in ceph_writepages_start()
905 pvec_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, in ceph_writepages_start()
920 unlikely(page->mapping != mapping)) { in ceph_writepages_start()
943 mapping->a_ops->invalidatepage(page, in ceph_writepages_start()
1198 (nr = pagevec_lookup_tag(&pvec, mapping, &index, in ceph_writepages_start()
1217 mapping->writeback_index = index; in ceph_writepages_start()
1255 struct inode *inode = page->mapping->host; in ceph_find_incompatible()
1314 struct inode *inode = page->mapping->host; in skip_page_read()
1340 static int ceph_write_begin(struct file *file, struct address_space *mapping, in ceph_write_begin() argument
1354 page = grab_cache_page_write_begin(mapping, index, 0); in ceph_write_begin()
1413 static int ceph_write_end(struct file *file, struct address_space *mapping, in ceph_write_end() argument
1541 struct address_space *mapping = inode->i_mapping; in ceph_filemap_fault() local
1542 struct page *page = find_or_create_page(mapping, 0, in ceph_filemap_fault()
1543 mapping_gfp_constraint(mapping, in ceph_filemap_fault()
1698 struct address_space *mapping = inode->i_mapping; in ceph_fill_inline_data() local
1706 page = find_or_create_page(mapping, 0, in ceph_fill_inline_data()
1707 mapping_gfp_constraint(mapping, in ceph_fill_inline_data()
1883 struct address_space *mapping = file->f_mapping; in ceph_mmap() local
1885 if (!mapping->a_ops->readpage) in ceph_mmap()