Lines Matching refs:io_work
2237 struct qedf_io_work *io_work; in qedf_process_completions() local
2297 io_work = mempool_alloc(qedf->io_mempool, GFP_ATOMIC); in qedf_process_completions()
2298 if (!io_work) { in qedf_process_completions()
2303 memset(io_work, 0, sizeof(struct qedf_io_work)); in qedf_process_completions()
2305 INIT_WORK(&io_work->work, qedf_fp_io_handler); in qedf_process_completions()
2308 memcpy(&io_work->cqe, cqe, sizeof(struct fcoe_cqe)); in qedf_process_completions()
2310 io_work->qedf = fp->qedf; in qedf_process_completions()
2311 io_work->fp = NULL; /* Only used for unsolicited frames */ in qedf_process_completions()
2313 queue_work_on(cpu, qedf_io_wq, &io_work->work); in qedf_process_completions()
2699 struct qedf_io_work *io_work = in qedf_fp_io_handler() local
2707 comp_type = (io_work->cqe.cqe_data >> in qedf_fp_io_handler()
2711 io_work->fp) in qedf_fp_io_handler()
2712 fc_exch_recv(io_work->qedf->lport, io_work->fp); in qedf_fp_io_handler()
2714 qedf_process_cqe(io_work->qedf, &io_work->cqe); in qedf_fp_io_handler()
2716 kfree(io_work); in qedf_fp_io_handler()