Lines Matching refs:iocb
146 static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in auxdev_read_iter() argument
148 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_read_iter()
149 loff_t pos = iocb->ki_pos; in auxdev_read_iter()
183 if (pos != iocb->ki_pos) in auxdev_read_iter()
184 res = pos - iocb->ki_pos; in auxdev_read_iter()
185 iocb->ki_pos = pos; in auxdev_read_iter()
193 static ssize_t auxdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in auxdev_write_iter() argument
195 struct drm_dp_aux_dev *aux_dev = iocb->ki_filp->private_data; in auxdev_write_iter()
196 loff_t pos = iocb->ki_pos; in auxdev_write_iter()
230 if (pos != iocb->ki_pos) in auxdev_write_iter()
231 res = pos - iocb->ki_pos; in auxdev_write_iter()
232 iocb->ki_pos = pos; in auxdev_write_iter()