Lines Matching refs:iocb
623 static void ocfs2_dio_end_io(struct kiocb *iocb, in ocfs2_dio_end_io() argument
628 struct inode *inode = file_inode(iocb->ki_filp); in ocfs2_dio_end_io()
632 BUG_ON(!ocfs2_iocb_is_rw_locked(iocb)); in ocfs2_dio_end_io()
634 if (ocfs2_iocb_is_unaligned_aio(iocb)) { in ocfs2_dio_end_io()
635 ocfs2_iocb_clear_unaligned_aio(iocb); in ocfs2_dio_end_io()
642 ocfs2_iocb_clear_rw_locked(iocb); in ocfs2_dio_end_io()
644 level = ocfs2_iocb_rw_locked_level(iocb); in ocfs2_dio_end_io()
790 static ssize_t ocfs2_direct_IO_write(struct kiocb *iocb, in ocfs2_direct_IO_write() argument
798 struct file *file = iocb->ki_filp; in ocfs2_direct_IO_write()
876 written = __blockdev_direct_IO(iocb, inode, inode->i_sb->s_bdev, iter, in ocfs2_direct_IO_write()
982 static ssize_t ocfs2_direct_IO(struct kiocb *iocb, struct iov_iter *iter, in ocfs2_direct_IO() argument
985 struct file *file = iocb->ki_filp; in ocfs2_direct_IO()
1005 return __blockdev_direct_IO(iocb, inode, inode->i_sb->s_bdev, in ocfs2_direct_IO()
1010 return ocfs2_direct_IO_write(iocb, iter, offset); in ocfs2_direct_IO()