Home
last modified time | relevance | path

Searched refs:iomi (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/iomap/
H A Ddirect-io.c454 static loff_t iomap_dio_inline_iter(const struct iomap_iter *iomi, in iomap_dio_inline_iter() argument
457 const struct iomap *iomap = &iomi->iomap; in iomap_dio_inline_iter()
459 void *inline_data = iomap_inline_data(iomap, iomi->pos); in iomap_dio_inline_iter()
460 loff_t length = iomap_length(iomi); in iomap_dio_inline_iter()
461 loff_t pos = iomi->pos; in iomap_dio_inline_iter()
468 loff_t size = iomi->inode->i_size; in iomap_dio_inline_iter()
475 i_size_write(iomi->inode, pos + copied); in iomap_dio_inline_iter()
476 mark_inode_dirty(iomi->inode); in iomap_dio_inline_iter()
545 struct iomap_iter iomi = { in __iomap_dio_rw() local
560 if (!iomi.len) in __iomap_dio_rw()
[all …]
/openbmc/linux/fs/
H A Ddax.c1434 static loff_t dax_iomap_iter(const struct iomap_iter *iomi, in dax_iomap_iter() argument
1437 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() local
1575 if (!iomi.len) in dax_iomap_rw()
[all …]