Lines Matching defs:srcmap
1108 * @srcmap: iomap srcmap
1116 * If the srcmap contains invalid data, such as HOLE and UNWRITTEN, zero the
1120 const struct iomap *srcmap, void *daddr)
1128 /* zero the edges if srcmap is a HOLE or IOMAP_UNWRITTEN */
1129 bool zero_edge = srcmap->flags & IOMAP_F_SHARED ||
1130 srcmap->type == IOMAP_UNWRITTEN;
1135 ret = dax_iomap_direct_access(srcmap, pos, size, &saddr, NULL);
1175 dax_flush(srcmap->dax_dev, daddr, size);
1264 const struct iomap *srcmap = iomap_iter_srcmap(iter);
1280 /* zero the distance if srcmap is HOLE or UNWRITTEN */
1281 if (srcmap->flags & IOMAP_F_SHARED || srcmap->type == IOMAP_UNWRITTEN) {
1288 ret = dax_iomap_direct_access(srcmap, pos, length, &saddr, NULL);
1322 const struct iomap *srcmap = iomap_iter_srcmap(iter);
1335 ret = dax_iomap_copy_around(pos, size, PAGE_SIZE, srcmap,
1345 const struct iomap *srcmap = iomap_iter_srcmap(iter);
1351 if (srcmap->type == IOMAP_HOLE || srcmap->type == IOMAP_UNWRITTEN)
1423 const struct iomap *srcmap = iomap_iter_srcmap(iomi);
1502 srcmap, kaddr);
1647 const struct iomap *srcmap = iomap_iter_srcmap(iter);
1679 err = dax_iomap_copy_around(pos, size, size, srcmap, kaddr);