• Home
  • Raw
  • Download

Lines Matching refs:iocb

79 	struct kiocb *		iocb;		/* controlling i/o request */  member
259 ssize_t nfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter, loff_t pos) in nfs_direct_IO() argument
261 struct inode *inode = iocb->ki_filp->f_mapping->host; in nfs_direct_IO()
270 return nfs_file_direct_read(iocb, iter, pos); in nfs_direct_IO()
271 return nfs_file_direct_write(iocb, iter); in nfs_direct_IO()
354 if (dreq->iocb) in nfs_direct_wait()
376 if (dreq->iocb && write) { in nfs_direct_complete()
377 loff_t pos = dreq->iocb->ki_pos + dreq->count; in nfs_direct_complete()
390 if (dreq->iocb) { in nfs_direct_complete()
394 dreq->iocb->ki_complete(dreq->iocb, res, 0); in nfs_direct_complete()
570 ssize_t nfs_file_direct_read(struct kiocb *iocb, struct iov_iter *iter, in nfs_file_direct_read() argument
573 struct file *file = iocb->ki_filp; in nfs_file_direct_read()
604 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_read()
612 if (!is_sync_kiocb(iocb)) in nfs_file_direct_read()
613 dreq->iocb = iocb; in nfs_file_direct_read()
623 iocb->ki_pos = pos + result; in nfs_file_direct_read()
973 ssize_t nfs_file_direct_write(struct kiocb *iocb, struct iov_iter *iter) in nfs_file_direct_write() argument
976 struct file *file = iocb->ki_filp; in nfs_file_direct_write()
984 file, iov_iter_count(iter), (long long) iocb->ki_pos); in nfs_file_direct_write()
989 pos = iocb->ki_pos; in nfs_file_direct_write()
1015 dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); in nfs_file_direct_write()
1023 if (!is_sync_kiocb(iocb)) in nfs_file_direct_write()
1024 dreq->iocb = iocb; in nfs_file_direct_write()
1040 iocb->ki_pos = pos + result; in nfs_file_direct_write()
1042 if (i_size_read(inode) < iocb->ki_pos) in nfs_file_direct_write()
1043 i_size_write(inode, iocb->ki_pos); in nfs_file_direct_write()