Lines Matching defs:iomap
13 #include <linux/iomap.h>
57 /* reference count when the mapping is used by dax iomap. */
387 static void fuse_fill_iomap_hole(struct iomap *iomap, loff_t length)
389 iomap->addr = IOMAP_NULL_ADDR;
390 iomap->length = length;
391 iomap->type = IOMAP_HOLE;
395 struct iomap *iomap, struct fuse_dax_mapping *dmap,
409 iomap->addr = dmap->window_offset + offset;
410 iomap->length = len;
412 iomap->length = ALIGN(len, PAGE_SIZE);
413 iomap->type = IOMAP_MAPPED;
421 /* iomap->private should be NULL */
422 WARN_ON_ONCE(iomap->private);
423 iomap->private = dmap;
426 fuse_fill_iomap_hole(iomap, length);
432 struct iomap *iomap)
479 fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
493 fuse_fill_iomap(inode, pos, length, iomap, alloc_dmap, flags);
500 struct iomap *iomap)
551 fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
561 unsigned int flags, struct iomap *iomap,
562 struct iomap *srcmap)
575 iomap->offset = pos;
576 iomap->flags = 0;
577 iomap->bdev = NULL;
578 iomap->dax_dev = fc->dax->dev;
606 flags, iomap);
608 fuse_fill_iomap(inode, pos, length, iomap, dmap, flags);
620 iomap);
628 fuse_fill_iomap_hole(iomap, length);
630 __func__, pos, length, iomap->length);
636 struct iomap *iomap)
638 struct fuse_dax_mapping *dmap = iomap->private;
649 /* DAX writes beyond end-of-file aren't handled using iomap, so the