Lines Matching refs:srcmap
238 struct iomap *iomap, struct iomap *srcmap) in iomap_readpage_actor() argument
355 void *data, struct iomap *iomap, struct iomap *srcmap) in iomap_readahead_actor() argument
372 ctx, iomap, srcmap); in iomap_readahead_actor()
551 struct page *page, struct iomap *srcmap) in __iomap_write_begin() argument
574 if (iomap_block_needs_zeroing(inode, srcmap, block_start)) { in __iomap_write_begin()
580 poff, plen, srcmap); in __iomap_write_begin()
592 struct page **pagep, struct iomap *iomap, struct iomap *srcmap) in iomap_write_begin() argument
599 if (srcmap != iomap) in iomap_write_begin()
600 BUG_ON(pos + len > srcmap->offset + srcmap->length); in iomap_write_begin()
618 if (srcmap->type == IOMAP_INLINE) in iomap_write_begin()
619 iomap_read_inline_data(inode, page, srcmap); in iomap_write_begin()
621 status = __block_write_begin_int(page, pos, len, NULL, srcmap); in iomap_write_begin()
624 srcmap); in iomap_write_begin()
711 struct iomap *srcmap) in iomap_write_end() argument
717 if (srcmap->type == IOMAP_INLINE) { in iomap_write_end()
719 } else if (srcmap->flags & IOMAP_F_BUFFER_HEAD) { in iomap_write_end()
750 struct iomap *iomap, struct iomap *srcmap) in iomap_write_actor() argument
785 srcmap); in iomap_write_actor()
795 srcmap); in iomap_write_actor()
845 struct iomap *iomap, struct iomap *srcmap) in iomap_unshare_actor() argument
854 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN) in iomap_unshare_actor()
863 IOMAP_WRITE_F_UNSHARE, &page, iomap, srcmap); in iomap_unshare_actor()
868 srcmap); in iomap_unshare_actor()
904 struct iomap *iomap, struct iomap *srcmap) in iomap_zero() argument
911 status = iomap_write_begin(inode, pos, bytes, 0, &page, iomap, srcmap); in iomap_zero()
918 return iomap_write_end(inode, pos, bytes, bytes, page, iomap, srcmap); in iomap_zero()
923 struct iomap *srcmap) in iomap_zero_range_actor() argument
929 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN) in iomap_zero_range_actor()
938 bytes = iomap_zero(inode, pos, length, iomap, srcmap); in iomap_zero_range_actor()
988 void *data, struct iomap *iomap, struct iomap *srcmap) in iomap_page_mkwrite_actor() argument