Lines Matching refs:io_work
2205 struct qedf_io_work *io_work; in qedf_process_completions() local
2267 io_work = mempool_alloc(qedf->io_mempool, GFP_ATOMIC); in qedf_process_completions()
2268 if (!io_work) { in qedf_process_completions()
2273 memset(io_work, 0, sizeof(struct qedf_io_work)); in qedf_process_completions()
2275 INIT_WORK(&io_work->work, qedf_fp_io_handler); in qedf_process_completions()
2278 memcpy(&io_work->cqe, cqe, sizeof(struct fcoe_cqe)); in qedf_process_completions()
2280 io_work->qedf = fp->qedf; in qedf_process_completions()
2281 io_work->fp = NULL; /* Only used for unsolicited frames */ in qedf_process_completions()
2283 queue_work_on(cpu, qedf_io_wq, &io_work->work); in qedf_process_completions()
2669 struct qedf_io_work *io_work = in qedf_fp_io_handler() local
2677 comp_type = (io_work->cqe.cqe_data >> in qedf_fp_io_handler()
2681 io_work->fp) in qedf_fp_io_handler()
2682 fc_exch_recv(io_work->qedf->lport, io_work->fp); in qedf_fp_io_handler()
2684 qedf_process_cqe(io_work->qedf, &io_work->cqe); in qedf_fp_io_handler()
2686 kfree(io_work); in qedf_fp_io_handler()