Lines Matching refs:pos
21 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter()
22 if (*hole_pos == iter->pos + length) in iomap_seek_hole_iter()
26 *hole_pos = iter->pos; in iomap_seek_hole_iter()
34 iomap_seek_hole(struct inode *inode, loff_t pos, const struct iomap_ops *ops) in iomap_seek_hole() argument
39 .pos = pos, in iomap_seek_hole()
45 if (pos < 0 || pos >= size) in iomap_seek_hole()
48 iter.len = size - pos; in iomap_seek_hole()
50 iter.processed = iomap_seek_hole_iter(&iter, &pos); in iomap_seek_hole()
54 return pos; in iomap_seek_hole()
69 iter->pos, iter->pos + length, SEEK_DATA); in iomap_seek_data_iter()
74 *hole_pos = iter->pos; in iomap_seek_data_iter()
80 iomap_seek_data(struct inode *inode, loff_t pos, const struct iomap_ops *ops) in iomap_seek_data() argument
85 .pos = pos, in iomap_seek_data()
91 if (pos < 0 || pos >= size) in iomap_seek_data()
94 iter.len = size - pos; in iomap_seek_data()
96 iter.processed = iomap_seek_data_iter(&iter, &pos); in iomap_seek_data()
100 return pos; in iomap_seek_data()