Lines Matching refs:srcmap
362 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_block_needs_zeroing() local
364 return srcmap->type != IOMAP_MAPPED || in iomap_block_needs_zeroing()
365 (srcmap->flags & IOMAP_F_NEW) || in iomap_block_needs_zeroing()
687 const struct iomap *srcmap = iomap_iter_srcmap(iter); in __iomap_write_begin() local
736 poff, plen, srcmap); in __iomap_write_begin()
783 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_write_begin() local
788 if (srcmap != &iter->iomap) in iomap_write_begin()
789 BUG_ON(pos + len > srcmap->offset + srcmap->length); in iomap_write_begin()
824 if (srcmap->type == IOMAP_INLINE) in iomap_write_begin()
826 else if (srcmap->flags & IOMAP_F_BUFFER_HEAD) in iomap_write_begin()
827 status = __block_write_begin_int(folio, pos, len, NULL, srcmap); in iomap_write_begin()
891 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_write_end() local
893 if (srcmap->type == IOMAP_INLINE) { in iomap_write_end()
898 if (srcmap->flags & IOMAP_F_BUFFER_HEAD) { in iomap_write_end()
1356 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_zero_iter() local
1378 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN) { in iomap_zero_iter()