Home
last modified time | relevance | path

Searched full:srcmap (Results 1 – 17 of 17) sorted by relevance

/linux/fs/iomap/
H A Diter.c13 memset(&iter->srcmap, 0, sizeof(iter->srcmap)); in iomap_iter_reset_iomap()
40 if (iter->srcmap.type != IOMAP_HOLE) in iomap_iter_done()
41 trace_iomap_iter_srcmap(iter->inode, &iter->srcmap); in iomap_iter_done()
109 &iter->iomap, &iter->srcmap); in iomap_iter()
H A Dbuffered-io.c284 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_block_needs_zeroing() local
286 return srcmap->type != IOMAP_MAPPED || in iomap_block_needs_zeroing()
287 (srcmap->flags & IOMAP_F_NEW) || in iomap_block_needs_zeroing()
555 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_read_folio_range() local
559 bio_init(&bio, srcmap->bdev, &bvec, 1, REQ_OP_READ); in iomap_read_folio_range()
560 bio.bi_iter.bi_sector = iomap_sector(srcmap, pos); in iomap_read_folio_range()
814 const struct iomap *srcmap = iomap_iter_srcmap(iter); in iomap_write_begin() local
822 if (srcmap != &iter->iomap) in iomap_write_begin()
823 BUG_ON(pos + len > srcmap->offset + srcmap->length); in iomap_write_begin()
854 if (srcmap->type == IOMAP_INLINE) in iomap_write_begin()
[all …]
/linux/include/linux/
H A Diomap.h208 struct iomap *srcmap);
233 * @srcmap: Source map for COW operations
243 struct iomap srcmap; member
264 if (iter->srcmap.type != IOMAP_HOLE) in iomap_length_trim()
265 end = min(end, iter->srcmap.offset + iter->srcmap.length); in iomap_length_trim()
301 if (i->srcmap.type != IOMAP_HOLE) in iomap_iter_srcmap()
302 return &i->srcmap; in iomap_iter_srcmap()
328 * Note that we use srcmap directly instead of iomap_iter_srcmap as unsharing
336 iter->srcmap.type == IOMAP_MAPPED; in iomap_want_unshare_iter()
/linux/include/uapi/linux/netfilter/
H A Dxt_sctp.h65 #define SCTP_CHUNKMAP_COPY(destmap, srcmap) \ argument
66 memcpy((destmap), (srcmap), sizeof(srcmap))
/linux/fs/
H A Ddax.c1280 * @srcmap: iomap srcmap
1288 * If the srcmap contains invalid data, such as HOLE and UNWRITTEN, zero the
1292 const struct iomap *srcmap, void *daddr) in dax_iomap_copy_around() argument
1300 /* zero the edges if srcmap is a HOLE or IOMAP_UNWRITTEN */ in dax_iomap_copy_around()
1301 bool zero_edge = srcmap->flags & IOMAP_F_SHARED || in dax_iomap_copy_around()
1302 srcmap->type == IOMAP_UNWRITTEN; in dax_iomap_copy_around()
1307 ret = dax_iomap_direct_access(srcmap, pos, size, &saddr, NULL); in dax_iomap_copy_around()
1347 dax_flush(srcmap->dax_dev, daddr, size); in dax_iomap_copy_around()
1435 const struct iomap *srcmap = iomap_iter_srcmap(iter); in dax_unshare_iter() local
1470 ret = dax_iomap_direct_access(srcmap, copy_pos, copy_len, &saddr, NULL); in dax_unshare_iter()
[all …]
/linux/fs/xfs/
H A Dxfs_iomap.c842 struct iomap *srcmap) in xfs_direct_write_iomap_begin() argument
1014 error = xfs_bmbt_to_iomap(ip, srcmap, &imap, flags, 0, seq); in xfs_direct_write_iomap_begin()
1045 struct iomap *srcmap) in xfs_zoned_direct_write_iomap_begin() argument
1092 struct iomap *srcmap) in xfs_atomic_write_cow_iomap_begin() argument
1524 struct iomap *srcmap) in xfs_zoned_buffered_write_iomap_begin() argument
1603 error = xfs_bmbt_to_iomap(ip, srcmap, &smap, flags, 0, in xfs_zoned_buffered_write_iomap_begin()
1694 struct iomap *srcmap) in xfs_buffered_write_iomap_begin() argument
1715 count, flags, iomap, srcmap); in xfs_buffered_write_iomap_begin()
1720 flags, iomap, srcmap); in xfs_buffered_write_iomap_begin()
1923 error = xfs_bmbt_to_iomap(ip, srcmap, &imap, flags, 0, in xfs_buffered_write_iomap_begin()
[all …]
/linux/Documentation/filesystems/iomap/
H A Ddesign.rst314 struct iomap *srcmap);
376 information via ``srcmap``.
/linux/fs/hpfs/
H A Dfile.c121 unsigned flags, struct iomap *iomap, struct iomap *srcmap) in hpfs_iomap_begin() argument
/linux/fs/zonefs/
H A Dfile.c29 struct iomap *iomap, struct iomap *srcmap) in zonefs_read_iomap_begin() argument
66 struct iomap *iomap, struct iomap *srcmap) in zonefs_write_iomap_begin() argument
/linux/fs/erofs/
H A Ddata.c270 unsigned int flags, struct iomap *iomap, struct iomap *srcmap) in erofs_iomap_begin() argument
H A Dzmap.c762 struct iomap *iomap, struct iomap *srcmap) in z_erofs_iomap_begin_report() argument
/linux/block/
H A Dfops.c438 unsigned int flags, struct iomap *iomap, struct iomap *srcmap) in blkdev_iomap_begin() argument
/linux/fs/ext4/
H A Dinode.c3784 unsigned flags, struct iomap *iomap, struct iomap *srcmap) in ext4_iomap_begin() argument
3861 struct iomap *srcmap) in ext4_iomap_overwrite_begin() argument
3870 ret = ext4_iomap_begin(inode, offset, length, flags, iomap, srcmap); in ext4_iomap_overwrite_begin()
3920 struct iomap *iomap, struct iomap *srcmap) in ext4_iomap_begin_report() argument
/linux/fs/ext2/
H A Dinode.c807 unsigned flags, struct iomap *iomap, struct iomap *srcmap) in ext2_iomap_begin() argument
/linux/fs/gfs2/
H A Dbmap.c1099 struct iomap *srcmap) in gfs2_iomap_begin() argument
/linux/fs/fuse/
H A Dfile.c1399 struct iomap *srcmap) in fuse_iomap_begin() argument
/linux/fs/f2fs/
H A Ddata.c4169 struct iomap *srcmap) in f2fs_iomap_begin() argument