Lines Matching refs:iomap
9 #include <linux/iomap.h>
15 struct iomap iomap; /* accumulated iomap */
31 struct iomap *iomap = &isi->iomap;
47 first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT;
48 next_ppage = ALIGN_DOWN(iomap->addr + iomap->length, PAGE_SIZE) >>
63 if (iomap->offset == 0)
85 loff_t count, void *data, struct iomap *iomap,
86 struct iomap *srcmap)
91 switch (iomap->type) {
106 if (iomap->flags & IOMAP_F_DIRTY) {
110 if (iomap->flags & IOMAP_F_SHARED) {
116 if (iomap->bdev != isi->sis->bdev) {
121 if (isi->iomap.length == 0) {
123 memcpy(&isi->iomap, iomap, sizeof(isi->iomap));
124 } else if (isi->iomap.addr + isi->iomap.length == iomap->addr) {
126 isi->iomap.length += iomap->length;
128 /* Otherwise, add the retained iomap and store this one. */
132 memcpy(&isi->iomap, iomap, sizeof(isi->iomap));
173 if (isi.iomap.length) {