Lines Matching refs:kiocb
392 struct kiocb kiocb; in new_sync_read() local
396 init_sync_kiocb(&kiocb, filp); in new_sync_read()
397 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_read()
400 ret = call_read_iter(filp, &kiocb, &iter); in new_sync_read()
403 *ppos = kiocb.ki_pos; in new_sync_read()
421 struct kiocb kiocb; in __kernel_read() local
436 init_sync_kiocb(&kiocb, file); in __kernel_read()
437 kiocb.ki_pos = pos ? *pos : 0; in __kernel_read()
439 ret = file->f_op->read_iter(&kiocb, &iter); in __kernel_read()
442 *pos = kiocb.ki_pos; in __kernel_read()
495 struct kiocb kiocb; in new_sync_write() local
499 init_sync_kiocb(&kiocb, filp); in new_sync_write()
500 kiocb.ki_pos = (ppos ? *ppos : 0); in new_sync_write()
503 ret = call_write_iter(filp, &kiocb, &iter); in new_sync_write()
506 *ppos = kiocb.ki_pos; in new_sync_write()
517 struct kiocb kiocb; in __kernel_write() local
532 init_sync_kiocb(&kiocb, file); in __kernel_write()
533 kiocb.ki_pos = pos ? *pos : 0; in __kernel_write()
535 ret = file->f_op->write_iter(&kiocb, &iter); in __kernel_write()
538 *pos = kiocb.ki_pos; in __kernel_write()
713 struct kiocb kiocb; in do_iter_readv_writev() local
716 init_sync_kiocb(&kiocb, filp); in do_iter_readv_writev()
717 ret = kiocb_set_rw_flags(&kiocb, flags); in do_iter_readv_writev()
720 kiocb.ki_pos = (ppos ? *ppos : 0); in do_iter_readv_writev()
723 ret = call_read_iter(filp, &kiocb, iter); in do_iter_readv_writev()
725 ret = call_write_iter(filp, &kiocb, iter); in do_iter_readv_writev()
728 *ppos = kiocb.ki_pos; in do_iter_readv_writev()
795 ssize_t vfs_iocb_iter_read(struct file *file, struct kiocb *iocb, in vfs_iocb_iter_read()
859 ssize_t vfs_iocb_iter_write(struct file *file, struct kiocb *iocb, in vfs_iocb_iter_write()
1627 ssize_t generic_write_checks(struct kiocb *iocb, struct iov_iter *from) in generic_write_checks()