Searched refs:iomi (Results 1 – 2 of 2) sorted by relevance
398 static loff_t iomap_dio_inline_iter(const struct iomap_iter *iomi, in iomap_dio_inline_iter() argument401 const struct iomap *iomap = &iomi->iomap; in iomap_dio_inline_iter()403 void *inline_data = iomap_inline_data(iomap, iomi->pos); in iomap_dio_inline_iter()404 loff_t length = iomap_length(iomi); in iomap_dio_inline_iter()405 loff_t pos = iomi->pos; in iomap_dio_inline_iter()412 loff_t size = iomi->inode->i_size; in iomap_dio_inline_iter()419 i_size_write(iomi->inode, pos + copied); in iomap_dio_inline_iter()420 mark_inode_dirty(iomi->inode); in iomap_dio_inline_iter()490 struct iomap_iter iomi = { in __iomap_dio_rw() local497 loff_t end = iomi.pos + iomi.len - 1, ret = 0; in __iomap_dio_rw()[all …]
1317 static loff_t dax_iomap_iter(const struct iomap_iter *iomi, in dax_iomap_iter() argument1320 const struct iomap *iomap = &iomi->iomap; in dax_iomap_iter()1321 const struct iomap *srcmap = &iomi->srcmap; in dax_iomap_iter()1322 loff_t length = iomap_length(iomi); in dax_iomap_iter()1323 loff_t pos = iomi->pos; in dax_iomap_iter()1332 end = min(end, i_size_read(iomi->inode)); in dax_iomap_iter()1354 invalidate_inode_pages2_range(iomi->inode->i_mapping, in dax_iomap_iter()1439 struct iomap_iter iomi = { in dax_iomap_rw() local1448 if (!iomi.len) in dax_iomap_rw()1452 lockdep_assert_held_write(&iomi.inode->i_rwsem); in dax_iomap_rw()[all …]