Lines Matching refs:iocb
105 struct kiocb *iocb = &req->f.iocb; in nvmet_file_submit_bvec() local
106 ssize_t (*call_iter)(struct kiocb *iocb, struct iov_iter *iter); in nvmet_file_submit_bvec()
122 iocb->ki_pos = pos; in nvmet_file_submit_bvec()
123 iocb->ki_filp = req->ns->file; in nvmet_file_submit_bvec()
124 iocb->ki_flags = ki_flags | iocb_flags(req->ns->file); in nvmet_file_submit_bvec()
126 return call_iter(iocb, &iter); in nvmet_file_submit_bvec()
129 static void nvmet_file_io_done(struct kiocb *iocb, long ret, long ret2) in nvmet_file_io_done() argument
131 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done()
166 memset(&req->f.iocb, 0, sizeof(struct kiocb)); in nvmet_file_execute_io()
203 req->f.iocb.ki_complete = nvmet_file_io_done; in nvmet_file_execute_io()
226 nvmet_file_io_done(&req->f.iocb, ret, 0); in nvmet_file_execute_io()