Lines Matching refs:io_work
2226 struct qedf_io_work *io_work; in qedf_process_completions() local
2288 io_work = mempool_alloc(qedf->io_mempool, GFP_ATOMIC); in qedf_process_completions()
2289 if (!io_work) { in qedf_process_completions()
2294 memset(io_work, 0, sizeof(struct qedf_io_work)); in qedf_process_completions()
2296 INIT_WORK(&io_work->work, qedf_fp_io_handler); in qedf_process_completions()
2299 memcpy(&io_work->cqe, cqe, sizeof(struct fcoe_cqe)); in qedf_process_completions()
2301 io_work->qedf = fp->qedf; in qedf_process_completions()
2302 io_work->fp = NULL; /* Only used for unsolicited frames */ in qedf_process_completions()
2304 queue_work_on(cpu, qedf_io_wq, &io_work->work); in qedf_process_completions()
2690 struct qedf_io_work *io_work = in qedf_fp_io_handler() local
2698 comp_type = (io_work->cqe.cqe_data >> in qedf_fp_io_handler()
2702 io_work->fp) in qedf_fp_io_handler()
2703 fc_exch_recv(io_work->qedf->lport, io_work->fp); in qedf_fp_io_handler()
2705 qedf_process_cqe(io_work->qedf, &io_work->cqe); in qedf_fp_io_handler()
2707 kfree(io_work); in qedf_fp_io_handler()