Lines Matching refs:iomap
197 unsigned int flags, struct iomap *iomap, struct iomap *srcmap) in erofs_iomap_begin() argument
218 iomap->bdev = mdev.m_bdev; in erofs_iomap_begin()
219 iomap->dax_dev = mdev.m_daxdev; in erofs_iomap_begin()
220 iomap->offset = map.m_la; in erofs_iomap_begin()
221 iomap->length = map.m_llen; in erofs_iomap_begin()
222 iomap->flags = 0; in erofs_iomap_begin()
223 iomap->private = NULL; in erofs_iomap_begin()
226 iomap->type = IOMAP_HOLE; in erofs_iomap_begin()
227 iomap->addr = IOMAP_NULL_ADDR; in erofs_iomap_begin()
228 if (!iomap->length) in erofs_iomap_begin()
229 iomap->length = length; in erofs_iomap_begin()
236 iomap->type = IOMAP_INLINE; in erofs_iomap_begin()
241 iomap->inline_data = page_address(ipage) + in erofs_iomap_begin()
243 iomap->private = ipage; in erofs_iomap_begin()
245 iomap->type = IOMAP_MAPPED; in erofs_iomap_begin()
246 iomap->addr = mdev.m_pa; in erofs_iomap_begin()
252 ssize_t written, unsigned int flags, struct iomap *iomap) in erofs_iomap_end() argument
254 struct page *ipage = iomap->private; in erofs_iomap_end()
257 DBG_BUGON(iomap->type != IOMAP_INLINE); in erofs_iomap_end()
261 DBG_BUGON(iomap->type == IOMAP_INLINE); in erofs_iomap_end()