Lines Matching +full:data +full:- +full:mapping
1 /* SPDX-License-Identifier: GPL-2.0 */
31 #define IOMAP_INLINE 4 /* data inline in the inode */
37 * zeroing for areas that no data is copied to.
40 * written data and requires fdatasync to commit them to persistent storage.
51 * buffer heads for this mapping.
76 #define IOMAP_NULL_ADDR -1ULL /* addr is not valid */
81 u64 addr; /* disk offset of mapping, bytes */
82 loff_t offset; /* file offset of mapping, bytes */
83 u64 length; /* length of mapping, bytes */
84 u16 type; /* type of mapping */
85 u16 flags; /* flags for mapping */
96 return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; in iomap_sector()
100 * When a filesystem sets page_ops in an iomap mapping it returns, page_prepare
122 #define IOMAP_FAULT (1 << 3) /* mapping for page fault */
128 * Return the existing mapping at pos, or reserve space starting at
129 * pos for up to length, as long as we can do it as a single mapping.
130 * The actual length is returned in iomap->length.
140 * Written might be zero if no data was written.
150 void *data, struct iomap *iomap, struct iomap *srcmap);
153 unsigned flags, const struct iomap_ops *ops, void *data,
167 int iomap_migrate_page(struct address_space *mapping, struct page *newpage,
186 sector_t iomap_bmap(struct address_space *mapping, sector_t bno,
199 void *io_private; /* file system private data */
242 int iomap_writepages(struct address_space *mapping,
247 * Flags for direct I/O ->end_io:
276 # define iomap_swapfile_activate(sis, swapfile, pagespan, ops) (-EIO)