Lines Matching refs:io_work
2227 struct qedf_io_work *io_work; in qedf_process_completions() local
2287 io_work = mempool_alloc(qedf->io_mempool, GFP_ATOMIC); in qedf_process_completions()
2288 if (!io_work) { in qedf_process_completions()
2293 memset(io_work, 0, sizeof(struct qedf_io_work)); in qedf_process_completions()
2295 INIT_WORK(&io_work->work, qedf_fp_io_handler); in qedf_process_completions()
2298 memcpy(&io_work->cqe, cqe, sizeof(struct fcoe_cqe)); in qedf_process_completions()
2300 io_work->qedf = fp->qedf; in qedf_process_completions()
2301 io_work->fp = NULL; /* Only used for unsolicited frames */ in qedf_process_completions()
2303 queue_work_on(cpu, qedf_io_wq, &io_work->work); in qedf_process_completions()
2689 struct qedf_io_work *io_work = in qedf_fp_io_handler() local
2697 comp_type = (io_work->cqe.cqe_data >> in qedf_fp_io_handler()
2701 io_work->fp) in qedf_fp_io_handler()
2702 fc_exch_recv(io_work->qedf->lport, io_work->fp); in qedf_fp_io_handler()
2704 qedf_process_cqe(io_work->qedf, &io_work->cqe); in qedf_fp_io_handler()
2706 kfree(io_work); in qedf_fp_io_handler()