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()
552 struct page *page, struct iomap *srcmap) in __iomap_write_begin() argument
575 if (iomap_block_needs_zeroing(inode, srcmap, block_start)) { in __iomap_write_begin()
581 poff, plen, srcmap); in __iomap_write_begin()
593 struct page **pagep, struct iomap *iomap, struct iomap *srcmap) in iomap_write_begin() argument
600 if (srcmap != iomap) in iomap_write_begin()
601 BUG_ON(pos + len > srcmap->offset + srcmap->length); in iomap_write_begin()
619 if (srcmap->type == IOMAP_INLINE) in iomap_write_begin()
620 iomap_read_inline_data(inode, page, srcmap); in iomap_write_begin()
622 status = __block_write_begin_int(page, pos, len, NULL, srcmap); in iomap_write_begin()
625 srcmap); in iomap_write_begin()
712 struct iomap *srcmap) in iomap_write_end() argument
718 if (srcmap->type == IOMAP_INLINE) { in iomap_write_end()
720 } else if (srcmap->flags & IOMAP_F_BUFFER_HEAD) { in iomap_write_end()
751 struct iomap *iomap, struct iomap *srcmap) in iomap_write_actor() argument
786 srcmap); in iomap_write_actor()
796 srcmap); in iomap_write_actor()
846 struct iomap *iomap, struct iomap *srcmap) in iomap_unshare_actor() argument
855 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN) in iomap_unshare_actor()
864 IOMAP_WRITE_F_UNSHARE, &page, iomap, srcmap); in iomap_unshare_actor()
869 srcmap); in iomap_unshare_actor()
905 struct iomap *iomap, struct iomap *srcmap) in iomap_zero() argument
912 status = iomap_write_begin(inode, pos, bytes, 0, &page, iomap, srcmap); in iomap_zero()
919 return iomap_write_end(inode, pos, bytes, bytes, page, iomap, srcmap); in iomap_zero()
924 struct iomap *srcmap) in iomap_zero_range_actor() argument
930 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN) in iomap_zero_range_actor()
939 bytes = iomap_zero(inode, pos, length, iomap, srcmap); in iomap_zero_range_actor()
989 void *data, struct iomap *iomap, struct iomap *srcmap) in iomap_page_mkwrite_actor() argument