Searched refs:iomi (Results 1 – 2 of 2) sorted by relevance
473 static loff_t iomap_dio_inline_iter(const struct iomap_iter *iomi, in iomap_dio_inline_iter() argument476 const struct iomap *iomap = &iomi->iomap; in iomap_dio_inline_iter()478 void *inline_data = iomap_inline_data(iomap, iomi->pos); in iomap_dio_inline_iter()479 loff_t length = iomap_length(iomi); in iomap_dio_inline_iter()480 loff_t pos = iomi->pos; in iomap_dio_inline_iter()487 loff_t size = iomi->inode->i_size; in iomap_dio_inline_iter()494 i_size_write(iomi->inode, pos + copied); in iomap_dio_inline_iter()495 mark_inode_dirty(iomi->inode); in iomap_dio_inline_iter()564 struct iomap_iter iomi = { in __iomap_dio_rw() local579 if (!iomi.len) in __iomap_dio_rw()[all …]
1434 static loff_t dax_iomap_iter(const struct iomap_iter *iomi, in dax_iomap_iter() argument1437 const struct iomap *iomap = &iomi->iomap; in dax_iomap_iter()1438 const struct iomap *srcmap = iomap_iter_srcmap(iomi); in dax_iomap_iter()1439 loff_t length = iomap_length(iomi); in dax_iomap_iter()1440 loff_t pos = iomi->pos; in dax_iomap_iter()1450 end = min(end, i_size_read(iomi->inode)); in dax_iomap_iter()1479 __dax_clear_dirty_range(iomi->inode->i_mapping, in dax_iomap_iter()1482 invalidate_inode_pages2_range(iomi->inode->i_mapping, in dax_iomap_iter()1566 struct iomap_iter iomi = { in dax_iomap_rw() local1575 if (!iomi.len) in dax_iomap_rw()[all …]