Lines Matching refs:iocb
13 struct kiocb iocb; member
50 struct kiocb *iocb = &aio_req->iocb; in fuse_aio_cleanup_handler() local
53 if (iocb->ki_flags & IOCB_WRITE) { in fuse_aio_cleanup_handler()
54 __sb_writers_acquired(file_inode(iocb->ki_filp)->i_sb, in fuse_aio_cleanup_handler()
56 file_end_write(iocb->ki_filp); in fuse_aio_cleanup_handler()
57 fuse_copyattr(iocb_fuse->ki_filp, iocb->ki_filp); in fuse_aio_cleanup_handler()
60 iocb_fuse->ki_pos = iocb->ki_pos; in fuse_aio_cleanup_handler()
64 static void fuse_aio_rw_complete(struct kiocb *iocb, long res, long res2) in fuse_aio_rw_complete() argument
67 container_of(iocb, struct fuse_aio_req, iocb); in fuse_aio_rw_complete()
101 kiocb_clone(&aio_req->iocb, iocb_fuse, passthrough_filp); in fuse_passthrough_read_iter()
102 aio_req->iocb.ki_complete = fuse_aio_rw_complete; in fuse_passthrough_read_iter()
103 ret = call_read_iter(passthrough_filp, &aio_req->iocb, iter); in fuse_passthrough_read_iter()
155 kiocb_clone(&aio_req->iocb, iocb_fuse, passthrough_filp); in fuse_passthrough_write_iter()
156 aio_req->iocb.ki_complete = fuse_aio_rw_complete; in fuse_passthrough_write_iter()
157 ret = call_write_iter(passthrough_filp, &aio_req->iocb, iter); in fuse_passthrough_write_iter()