Lines Matching full:mapping
95 struct inode * const inode = page->mapping->host; in gfs2_write_jdata_page()
128 struct inode *inode = page->mapping->host; in __gfs2_jdata_writepage()
154 struct inode *inode = page->mapping->host; in gfs2_jdata_writepage()
173 * @mapping: The mapping to write
178 static int gfs2_writepages(struct address_space *mapping, in gfs2_writepages() argument
181 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_writepages()
191 ret = iomap_writepages(mapping, wbc, &wpc, &gfs2_writeback_ops); in gfs2_writepages()
199 * @mapping: The mapping
208 static int gfs2_write_jdata_pagevec(struct address_space *mapping, in gfs2_write_jdata_pagevec() argument
214 struct inode *inode = mapping->host; in gfs2_write_jdata_pagevec()
231 if (unlikely(page->mapping != mapping)) { in gfs2_write_jdata_pagevec()
295 * @mapping: The mapping to write
303 static int gfs2_write_cache_jdata(struct address_space *mapping, in gfs2_write_cache_jdata() argument
320 writeback_index = mapping->writeback_index; /* prev offset */ in gfs2_write_cache_jdata()
341 tag_pages_for_writeback(mapping, index, end); in gfs2_write_cache_jdata()
344 nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, in gfs2_write_cache_jdata()
349 ret = gfs2_write_jdata_pagevec(mapping, wbc, &pvec, nr_pages, &done_index); in gfs2_write_cache_jdata()
371 mapping->writeback_index = done_index; in gfs2_write_cache_jdata()
379 * @mapping: The mapping to write
384 static int gfs2_jdata_writepages(struct address_space *mapping, in gfs2_jdata_writepages() argument
387 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages()
388 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages()
391 ret = gfs2_write_cache_jdata(mapping, wbc); in gfs2_jdata_writepages()
395 ret = gfs2_write_cache_jdata(mapping, wbc); in gfs2_jdata_writepages()
449 struct inode *inode = folio->mapping->host; in gfs2_read_folio()
482 struct address_space *mapping = ip->i_inode.i_mapping; in gfs2_internal_read() local
494 page = read_cache_page(mapping, index, gfs2_read_folio, NULL); in gfs2_internal_read()
526 struct inode *inode = rac->mapping->host; in gfs2_readahead()
577 static bool jdata_dirty_folio(struct address_space *mapping, in jdata_dirty_folio() argument
582 return block_dirty_folio(mapping, folio); in jdata_dirty_folio()
587 * @mapping: Address space info
593 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() argument
595 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_bmap()
605 dblock = iomap_bmap(mapping, lblock, &gfs2_iomap_ops); in gfs2_bmap()
640 struct gfs2_sbd *sdp = GFS2_SB(folio->mapping->host); in gfs2_invalidate_folio()
681 struct address_space *mapping = folio->mapping; in gfs2_release_folio() local
682 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_release_folio()