/linux-master/arch/microblaze/pci/ |
H A D | Makefile | 6 obj-$(CONFIG_PCI) += iomap.o
|
/linux-master/fs/xfs/ |
H A D | xfs_trace.c | 37 #include <linux/iomap.h>
|
H A D | xfs_pnfs.h | 8 struct iomap *iomap, bool write, u32 *device_generation); 9 int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
|
H A D | xfs_iomap.c | 68 * Check that the iomap passed to us is still valid for the given offset and 74 const struct iomap *iomap) 78 if (iomap->validity_cookie != 79 xfs_iomap_inode_sequence(ip, iomap->flags)) { 80 trace_xfs_iomap_invalid(ip, iomap); 95 struct iomap *iomap, 110 iomap->addr = IOMAP_NULL_ADDR; 111 iomap 72 xfs_iomap_valid( struct inode *inode, const struct iomap *iomap) argument 93 xfs_bmbt_to_iomap( struct xfs_inode *ip, struct iomap *iomap, struct xfs_bmbt_irec *imap, unsigned int mapping_flags, u16 iomap_flags, u64 sequence_cookie) argument 145 xfs_hole_to_iomap( struct xfs_inode *ip, struct iomap *iomap, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb) argument 782 xfs_direct_write_iomap_begin( struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 929 xfs_dax_write_iomap_end( struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument 956 xfs_buffered_write_iomap_begin( struct inode *inode, loff_t offset, loff_t count, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 1202 xfs_buffered_write_iomap_end( struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument 1239 xfs_read_iomap_begin( struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 1284 xfs_seek_iomap_begin( struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 1372 xfs_xattr_iomap_begin( struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
H A D | xfs_iomap.h | 9 #include <linux/iomap.h> 22 int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap,
|
/linux-master/fs/iomap/ |
H A D | trace.c | 5 #include <linux/iomap.h>
|
H A D | Makefile | 9 obj-$(CONFIG_FS_IOMAP) += iomap.o 11 iomap-y += trace.o \ 13 iomap-$(CONFIG_BLOCK) += buffered-io.o \ 17 iomap-$(CONFIG_SWAP) += swapfile.o
|
H A D | swapfile.c | 9 #include <linux/iomap.h> 15 struct iomap iomap; /* accumulated iomap */ member in struct:iomap_swapfile_info 32 struct iomap *iomap = &isi->iomap; local 48 first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT; 49 next_ppage = ALIGN_DOWN(iomap->addr + iomap 97 iomap_swapfile_iter(const struct iomap_iter *iter, struct iomap *iomap, struct iomap_swapfile_info *isi) argument [all...] |
H A D | iter.c | 7 #include <linux/iomap.h> 13 * If the iomap is marked IOMAP_F_STALE, it means the existing map was not fully 14 * processed - it was aborted because the extent the iomap spanned may have been 24 bool stale = iter->iomap.flags & IOMAP_F_STALE; 27 if (iter->iomap.length) { 42 memset(&iter->iomap, 0, sizeof(iter->iomap)); 49 WARN_ON_ONCE(iter->iomap.offset > iter->pos); 50 WARN_ON_ONCE(iter->iomap.length == 0); 51 WARN_ON_ONCE(iter->iomap [all...] |
H A D | fiemap.c | 8 #include <linux/iomap.h> 13 const struct iomap *iomap, u32 flags) 15 switch (iomap->type) { 32 if (iomap->flags & IOMAP_F_MERGED) 34 if (iomap->flags & IOMAP_F_SHARED) 37 return fiemap_fill_next_extent(fi, iomap->offset, 38 iomap->addr != IOMAP_NULL_ADDR ? iomap->addr : 0, 39 iomap 12 iomap_to_fiemap(struct fiemap_extent_info *fi, const struct iomap *iomap, u32 flags) argument [all...] |
H A D | trace.h | 18 #define TRACE_SYSTEM iomap 117 TP_PROTO(struct inode *inode, struct iomap *iomap), 118 TP_ARGS(inode, iomap), 132 __entry->addr = iomap->addr; 133 __entry->offset = iomap->offset; 134 __entry->length = iomap->length; 135 __entry->type = iomap->type; 136 __entry->flags = iomap->flags; 137 __entry->bdev = iomap [all...] |
H A D | direct-io.c | 11 #include <linux/iomap.h> 21 * iomap.h: 59 return bio_alloc_bioset(iter->iomap.bdev, nr_vecs, opf, 61 return bio_alloc(iter->iomap.bdev, nr_vecs, opf, GFP_KERNEL); 245 bio->bi_iter.bi_sector = iomap_sector(&iter->iomap, pos); 259 const struct iomap *iomap, bool use_fua) 278 const struct iomap *iomap = &iter->iomap; local 258 iomap_dio_bio_opflags(struct iomap_dio *dio, const struct iomap *iomap, bool use_fua) argument 458 const struct iomap *iomap = &iomi->iomap; local [all...] |
/linux-master/include/linux/ |
H A D | io-mapping.h | 33 #include <asm/iomap.h> 42 io_mapping_init_wc(struct io_mapping *iomap, argument 51 iomap->base = base; 52 iomap->size = size; 53 iomap->prot = prot; 54 return iomap; 131 io_mapping_init_wc(struct io_mapping *iomap, argument 135 iomap->iomem = ioremap_wc(base, size); 136 if (!iomap->iomem) 139 iomap 207 struct io_mapping *iomap; local 222 io_mapping_free(struct io_mapping *iomap) argument [all...] |
H A D | iomap.h | 26 * Types of block ranges for iomap mappings: 48 * IOMAP_F_MERGED indicates that the iomap contains the merge of multiple block 54 * IOMAP_F_XATTR indicates that the iomap is for an extended attribute extent 69 * Flags set by the core iomap code during operations: 74 * IOMAP_F_STALE indicates that the iomap is not valid any longer and the file 94 struct iomap { struct 108 static inline sector_t iomap_sector(const struct iomap *iomap, loff_t pos) argument 110 return (iomap->addr + pos - iomap 116 iomap_inline_data(const struct iomap *iomap, loff_t pos) argument 126 iomap_inline_data_valid(const struct iomap *iomap) argument 221 struct iomap iomap; member in struct:iomap_iter 339 struct iomap iomap; member in struct:iomap_writepage_ctx [all...] |
/linux-master/arch/um/kernel/ |
H A D | ioport.c | 6 #include <asm/iomap.h>
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_mm.h | 19 struct io_mapping *iomap); 24 struct io_mapping *iomap) 22 remap_io_mapping(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn, unsigned long size, struct io_mapping *iomap) argument
|
/linux-master/fs/gfs2/ |
H A D | bmap.h | 10 #include <linux/iomap.h> 53 struct iomap *iomap); 55 struct iomap *iomap);
|
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...] |
/linux-master/drivers/ata/ |
H A D | pata_cs5520.c | 121 void __iomem *iomap[5]; local 166 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); 167 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); 168 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); 169 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); 170 iomap[4] = pcim_iomap(pdev, 2, 0); 172 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[ [all...] |
/linux-master/fs/nfsd/ |
H A D | blocklayoutxdr.h | 8 struct iomap; 57 int nfsd4_block_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp, 59 int nfsd4_scsi_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp,
|
H A D | blocklayout.c | 6 #include <linux/iomap.h> 28 struct iomap iomap; local 48 &iomap, seg->iomode != IOMODE_READ, 56 if (iomap.length < args->lg_minlength) { 61 switch (iomap.type) { 67 bex->soff = iomap.addr; 80 bex->soff = iomap.addr; 92 WARN(1, "pnfsd: filesystem returned %d extent\n", iomap.type); 99 bex->foff = iomap [all...] |
/linux-master/mm/ |
H A D | io-mapping.c | 8 * @iomap: the source io_mapping 16 int io_mapping_map_user(struct io_mapping *iomap, struct vm_area_struct *vma, argument 26 __pgprot((pgprot_val(iomap->prot) & _PAGE_CACHE_MASK) |
|
/linux-master/arch/parisc/lib/ |
H A D | Makefile | 9 obj-y := iomap.o
|
/linux-master/fs/zonefs/ |
H A D | file.c | 9 #include <linux/iomap.h> 29 struct iomap *iomap, struct iomap *srcmap) 41 iomap->bdev = inode->i_sb->s_bdev; 42 iomap->offset = ALIGN_DOWN(offset, sb->s_blocksize); 44 if (iomap->offset >= isize) { 45 iomap->type = IOMAP_HOLE; 46 iomap->addr = IOMAP_NULL_ADDR; 47 iomap 27 zonefs_read_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument 64 zonefs_write_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument [all...] |
/linux-master/fs/erofs/ |
H A D | data.c | 255 unsigned int flags, struct iomap *iomap, struct iomap *srcmap) 277 iomap->offset = map.m_la; 279 iomap->dax_dev = mdev.m_daxdev; 281 iomap->bdev = mdev.m_bdev; 282 iomap->length = map.m_llen; 283 iomap->flags = 0; 284 iomap->private = NULL; 287 iomap 254 erofs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument 314 erofs_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned int flags, struct iomap *iomap) argument [all...] |