Lines Matching defs:mapping
280 struct inode *inode = folio->mapping->host;
353 struct inode *inode = rac->mapping->host;
396 * to during block mapping. It's relying on the fact that the block
397 * mapping can't have disappeared under the dirty pages that it is
403 (unsigned long long)OCFS2_I(page->mapping->host)->ip_blkno,
445 static sector_t ocfs2_bmap(struct address_space *mapping, sector_t block)
450 struct inode *inode = mapping->host;
456 * The swap code (ab-)uses ->bmap to get a block mapping and then
587 * mapping by now though, and the entire write will be allocating or
1024 static int ocfs2_grab_pages_for_write(struct address_space *mapping,
1032 struct inode *inode = mapping->host;
1076 if (mmap_page->mapping != mapping) {
1077 WARN_ON(mmap_page->mapping);
1088 /* Direct write has no mapping page. */
1092 wc->w_pages[i] = find_or_create_page(mapping, index,
1114 static int ocfs2_write_cluster(struct address_space *mapping,
1125 struct inode *inode = mapping->host;
1218 static int ocfs2_write_cluster_by_desc(struct address_space *mapping,
1228 struct ocfs2_super *osb = OCFS2_SB(mapping->host->i_sb);
1242 ret = ocfs2_write_cluster(mapping, &desc->c_phys,
1472 static int ocfs2_write_begin_inline(struct address_space *mapping,
1489 page = find_or_create_page(mapping, 0, GFP_NOFS);
1538 static int ocfs2_try_to_write_inline_data(struct address_space *mapping,
1585 ret = ocfs2_write_begin_inline(mapping, inode, wc);
1646 int ocfs2_write_begin_nolock(struct address_space *mapping,
1654 struct inode *inode = mapping->host;
1671 ret = ocfs2_try_to_write_inline_data(mapping, inode, pos, len,
1799 ret = ocfs2_grab_pages_for_write(mapping, wc, wc->w_cpos, pos, len,
1818 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos,
1882 static int ocfs2_write_begin(struct file *file, struct address_space *mapping,
1888 struct inode *inode = mapping->host;
1898 * the mapping, zeroing and tree manipulation within
1905 ret = ocfs2_write_begin_nolock(mapping, pos, len, OCFS2_WRITE_BUFFER,
1950 int ocfs2_write_end_nolock(struct address_space *mapping,
1955 struct inode *inode = mapping->host;
2079 static int ocfs2_write_end(struct file *file, struct address_space *mapping,
2084 struct inode *inode = mapping->host;
2086 ret = ocfs2_write_end_nolock(mapping, pos, len, copied, fsdata);