Lines Matching refs:io_work
2096 struct qedf_io_work *io_work; in qedf_process_completions() local
2158 io_work = mempool_alloc(qedf->io_mempool, GFP_ATOMIC); in qedf_process_completions()
2159 if (!io_work) { in qedf_process_completions()
2164 memset(io_work, 0, sizeof(struct qedf_io_work)); in qedf_process_completions()
2166 INIT_WORK(&io_work->work, qedf_fp_io_handler); in qedf_process_completions()
2169 memcpy(&io_work->cqe, cqe, sizeof(struct fcoe_cqe)); in qedf_process_completions()
2171 io_work->qedf = fp->qedf; in qedf_process_completions()
2172 io_work->fp = NULL; /* Only used for unsolicited frames */ in qedf_process_completions()
2174 queue_work_on(cpu, qedf_io_wq, &io_work->work); in qedf_process_completions()
2560 struct qedf_io_work *io_work = in qedf_fp_io_handler() local
2568 comp_type = (io_work->cqe.cqe_data >> in qedf_fp_io_handler()
2572 io_work->fp) in qedf_fp_io_handler()
2573 fc_exch_recv(io_work->qedf->lport, io_work->fp); in qedf_fp_io_handler()
2575 qedf_process_cqe(io_work->qedf, &io_work->cqe); in qedf_fp_io_handler()
2577 kfree(io_work); in qedf_fp_io_handler()