/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3.c | 623 void __iomem *const *iomap; local 652 iomap = pcim_iomap_table(pci_dev); 653 if (!iomap) { 654 dev_err(&pci_dev->dev, "failed to iomap table\n"); 658 imgu->base = iomap[IMGU_PCI_BAR];
|
/linux-master/fs/ |
H A D | Makefile | 50 obj-y += iomap/
|
H A D | buffer.c | 26 #include <linux/iomap.h> 2027 const struct iomap *iomap) 2031 bh->b_bdev = iomap->bdev; 2034 * Block points to offset in file we need to map, iomap contains 2039 if (offset >= iomap->offset + iomap->length) 2042 switch (iomap->type) { 2071 if ((iomap->flags & IOMAP_F_NEW) || 2083 bh->b_blocknr = (iomap 2026 iomap_to_bh(struct inode *inode, sector_t block, struct buffer_head *bh, const struct iomap *iomap) argument 2093 __block_write_begin_int(struct folio *folio, loff_t pos, unsigned len, get_block_t *get_block, const struct iomap *iomap) argument [all...] |
H A D | dax.c | 26 #include <linux/iomap.h> 825 static pgoff_t dax_iomap_pgoff(const struct iomap *iomap, loff_t pos) argument 827 return PHYS_PFN(iomap->addr + (pos & PAGE_MASK) - iomap->offset); 832 pgoff_t pgoff = dax_iomap_pgoff(&iter->iomap, iter->pos); 838 rc = dax_direct_access(iter->iomap.dax_dev, pgoff, 1, DAX_ACCESS, 859 (iter->iomap.flags & IOMAP_F_DIRTY); 877 bool shared = iter->iomap.flags & IOMAP_F_SHARED; 1066 static int dax_iomap_direct_access(const struct iomap *ioma argument 1263 struct iomap *iomap = &iter->iomap; local 1321 const struct iomap *iomap = &iter->iomap; local 1344 const struct iomap *iomap = &iter->iomap; local 1422 const struct iomap *iomap = &iomi->iomap; local 1646 const struct iomap *iomap = &iter->iomap; local [all...] |
/linux-master/fs/btrfs/ |
H A D | file.c | 20 #include <linux/iomap.h> 1537 * If that's the case, then we will deadlock in the iomap code, because 1546 * memory mapped to the same file range, since the iomap DIO code always 1569 /* No increment (+=) because iomap returns a cumulative value. */ 1584 * iomap will invalidate any pages in the range early on, before 3951 * reading from a hole or prealloc extent, iomap calls iov_iter_zero(), 3968 /* No increment (+=) because iomap returns a cumulative value. */
|
H A D | inode.c | 34 #include <linux/iomap.h> 7515 loff_t length, unsigned int flags, struct iomap *iomap, 7516 struct iomap *srcmap) 7518 struct iomap_iter *iter = container_of(iomap, struct iomap_iter, iomap); 7728 * Translate extent map information to iomap. 7729 * We trim the extents (and move the addr) even though iomap code does 7734 iomap->addr = IOMAP_NULL_ADDR; 7735 iomap 7514 btrfs_dio_iomap_begin(struct inode *inode, loff_t start, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument 7761 btrfs_dio_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned int flags, struct iomap *iomap) argument [all...] |
/linux-master/fs/erofs/ |
H A D | data.c | 253 unsigned int flags, struct iomap *iomap, struct iomap *srcmap) 275 iomap->offset = map.m_la; 277 iomap->dax_dev = mdev.m_daxdev; 279 iomap->bdev = mdev.m_bdev; 280 iomap->length = map.m_llen; 281 iomap->flags = 0; 282 iomap->private = NULL; 285 iomap 252 erofs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument 311 erofs_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned int flags, struct iomap *iomap) argument [all...] |
H A D | internal.h | 20 #include <linux/iomap.h>
|
H A D | zmap.c | 720 struct iomap *iomap, struct iomap *srcmap) 730 iomap->bdev = inode->i_sb->s_bdev; 731 iomap->offset = map.m_la; 732 iomap->length = map.m_llen; 734 iomap->type = IOMAP_MAPPED; 735 iomap->addr = map.m_flags & EROFS_MAP_FRAGMENT ? 738 iomap->type = IOMAP_HOLE; 739 iomap 718 z_erofs_iomap_begin_report(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
/linux-master/fs/ext2/ |
H A D | file.c | 26 #include <linux/iomap.h>
|
H A D | inode.c | 36 #include <linux/iomap.h> 807 unsigned flags, struct iomap *iomap, struct iomap *srcmap) 833 iomap->flags |= IOMAP_F_DIRTY; 840 iomap->flags = 0; 841 iomap->offset = (u64)first_block << blkbits; 843 iomap->dax_dev = sbi->s_daxdev; 845 iomap->bdev = inode->i_sb->s_bdev; 854 iomap 806 ext2_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 872 ext2_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument [all...] |
/linux-master/fs/ext4/ |
H A D | ext4.h | 3594 struct iomap; 3595 extern int ext4_inline_data_iomap(struct inode *inode, struct iomap *iomap);
|
H A D | extents.c | 30 #include <linux/iomap.h> 4898 static int ext4_iomap_xattr_fiemap(struct inode *inode, struct iomap *iomap) argument 4931 iomap->addr = physical; 4932 iomap->offset = 0; 4933 iomap->length = length; 4934 iomap->type = iomap_type; 4935 iomap->flags = 0; 4942 struct iomap *iomap, struc 4940 ext4_iomap_xattr_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
H A D | file.c | 24 #include <linux/iomap.h>
|
H A D | inline.c | 7 #include <linux/iomap.h> 1863 int ext4_inline_data_iomap(struct inode *inode, struct iomap *iomap) argument 1883 iomap->addr = addr; 1884 iomap->offset = 0; 1885 iomap->length = min_t(loff_t, ext4_get_inline_size(inode), 1887 iomap->type = IOMAP_INLINE; 1888 iomap->flags = 0;
|
H A D | inode.c | 42 #include <linux/iomap.h> 3213 static void ext4_set_iomap(struct inode *inode, struct iomap *iomap, argument 3224 iomap->flags = 0; 3227 iomap->flags |= IOMAP_F_DIRTY; 3230 iomap->flags |= IOMAP_F_NEW; 3233 iomap->dax_dev = EXT4_SB(inode->i_sb)->s_daxdev; 3235 iomap->bdev = inode->i_sb->s_bdev; 3236 iomap->offset = (u64) map->m_lblk << blkbits; 3237 iomap 3333 ext4_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 3385 ext4_iomap_overwrite_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 3401 ext4_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument 3427 ext4_iomap_begin_report(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | data.c | 23 #include <linux/iomap.h> 4176 unsigned int flags, struct iomap *iomap, 4177 struct iomap *srcmap) 4195 iomap->offset = blks_to_bytes(inode, map.m_lblk); 4215 iomap->length = blks_to_bytes(inode, map.m_len); 4216 iomap->type = IOMAP_MAPPED; 4217 iomap->flags |= IOMAP_F_MERGED; 4218 iomap->bdev = map.m_bdev; 4219 iomap 4175 f2fs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
H A D | file.c | 27 #include <linux/iomap.h>
|
/linux-master/fs/fuse/ |
H A D | dax.c | 14 #include <linux/iomap.h> 58 /* reference count when the mapping is used by dax iomap. */ 388 static void fuse_fill_iomap_hole(struct iomap *iomap, loff_t length) argument 390 iomap->addr = IOMAP_NULL_ADDR; 391 iomap->length = length; 392 iomap->type = IOMAP_HOLE; 396 struct iomap *iomap, struct fuse_dax_mapping *dmap, 410 iomap 395 fuse_fill_iomap(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap, struct fuse_dax_mapping *dmap, unsigned int flags) argument 431 fuse_setup_new_dax_mapping(struct inode *inode, loff_t pos, loff_t length, unsigned int flags, struct iomap *iomap) argument 499 fuse_upgrade_dax_mapping(struct inode *inode, loff_t pos, loff_t length, unsigned int flags, struct iomap *iomap) argument 561 fuse_iomap_begin(struct inode *inode, loff_t pos, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument 635 fuse_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned int flags, struct iomap *iomap) argument [all...] |
/linux-master/fs/gfs2/ |
H A D | bmap.c | 13 #include <linux/iomap.h> 578 * @iomap: The iomap to store the hole size in 585 struct metapath *mp, struct iomap *iomap) 600 iomap->length = hole_size << inode->i_blkbits; 635 * @iomap: The iomap structure 654 * allocations, we would probably still want to limit the iomap size we 656 * iomap iteratio 584 gfs2_hole_size(struct inode *inode, sector_t lblock, u64 len, struct metapath *mp, struct iomap *iomap) argument 661 __gfs2_iomap_alloc(struct inode *inode, struct iomap *iomap, struct metapath *mp) argument 840 __gfs2_iomap_get(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap *iomap, struct metapath *mp) argument 1008 gfs2_iomap_begin_write(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap *iomap, struct metapath *mp) argument 1093 gfs2_iomap_begin(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 1137 gfs2_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument 1219 struct iomap iomap = { }; local 1255 struct iomap iomap = { }; local 1276 struct iomap iomap = { }; local 1407 gfs2_iomap_get(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap) argument 1418 gfs2_iomap_alloc(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap) argument [all...] |
H A D | bmap.h | 10 #include <linux/iomap.h> 53 struct iomap *iomap); 55 struct iomap *iomap);
|
H A D | file.c | 393 struct iomap iomap = { }; local 395 if (gfs2_iomap_alloc(folio->mapping->host, pos, length, &iomap)) 398 if (length < iomap.length) 399 iomap.length = length; 400 length -= iomap.length; 401 pos += iomap.length; 1196 struct iomap iomap = { }; local 1198 error = gfs2_iomap_alloc(inode, offset, end - offset, &iomap); [all...] |
H A D | inode.c | 18 #include <linux/iomap.h>
|
H A D | quota.c | 404 struct iomap iomap = { }; local 419 i_blocksize(inode), &iomap); 423 if (iomap.type != IOMAP_MAPPED) 426 error = gfs2_meta_read(ip->i_gl, iomap.addr >> inode->i_blkbits,
|
H A D | trace_gfs2.h | 16 #include <linux/iomap.h> 498 TP_printk("%u,%u bmap %llu iomap start %llu/%lu flags:%08x", 507 TP_PROTO(const struct gfs2_inode *ip, struct iomap *iomap, int ret), 509 TP_ARGS(ip, iomap, ret), 525 __entry->offset = iomap->offset; 526 __entry->length = iomap->length; 527 __entry->pblock = iomap->addr == IOMAP_NULL_ADDR ? 0 : 528 (iomap->addr >> ip->i_inode.i_blkbits); 529 __entry->flags = iomap [all...] |