Lines Matching +full:data +full:- +full:mapping
1 /* SPDX-License-Identifier: GPL-2.0 */
32 #define IOMAP_INLINE 4 /* data inline in the inode */
38 * zeroing for areas that no data is copied to.
41 * written data and requires fdatasync to commit them to persistent storage.
52 * buffer heads for this mapping.
77 #define IOMAP_NULL_ADDR -1ULL /* addr is not valid */
82 u64 addr; /* disk offset of mapping, bytes */
83 loff_t offset; /* file offset of mapping, bytes */
84 u64 length; /* length of mapping, bytes */
85 u16 type; /* type of mapping */
86 u16 flags; /* flags for mapping */
99 return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; in iomap_sector()
103 * When a filesystem sets page_ops in an iomap mapping it returns, page_prepare
125 #define IOMAP_FAULT (1 << 3) /* mapping for page fault */
131 * Return the existing mapping at pos, or reserve space starting at
132 * pos for up to length, as long as we can do it as a single mapping.
133 * The actual length is returned in iomap->length.
143 * Written might be zero if no data was written.
156 void *data, struct iomap *iomap, struct iomap *srcmap);
159 unsigned flags, const struct iomap_ops *ops, void *data,
173 int iomap_migrate_page(struct address_space *mapping, struct page *newpage,
192 sector_t iomap_bmap(struct address_space *mapping, sector_t bno,
205 void *io_private; /* file system private data */
248 int iomap_writepages(struct address_space *mapping,
253 * Flags for direct I/O ->end_io:
282 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO)