Lines Matching refs:cmdinfo
129 struct async_cmd_info cmdinfo; member
350 struct async_cmd_info *cmdinfo = ctx; in async_completion() local
351 cmdinfo->result = le32_to_cpup(&cqe->result); in async_completion()
352 cmdinfo->status = le16_to_cpup(&cqe->status) >> 1; in async_completion()
353 queue_kthread_work(cmdinfo->worker, &cmdinfo->work); in async_completion()
354 blk_mq_free_request(cmdinfo->req); in async_completion()
1116 struct async_cmd_info *cmdinfo, unsigned timeout) in nvme_submit_admin_async_cmd() argument
1128 cmdinfo->req = req; in nvme_submit_admin_async_cmd()
1129 nvme_set_info(cmd_rq, cmdinfo, async_completion); in nvme_submit_admin_async_cmd()
1130 cmdinfo->status = -EINTR; in nvme_submit_admin_async_cmd()
2816 struct nvme_delq_ctx *dq = nvmeq->cmdinfo.ctx; in nvme_del_queue_end()
2833 init_kthread_work(&nvmeq->cmdinfo.work, fn); in adapter_async_del_queue()
2834 return nvme_submit_admin_async_cmd(nvmeq->dev, &c, &nvmeq->cmdinfo, in adapter_async_del_queue()
2841 cmdinfo.work); in nvme_del_cq_work_handler()
2854 cmdinfo.work); in nvme_del_sq_work_handler()
2855 int status = nvmeq->cmdinfo.status; in nvme_del_sq_work_handler()
2872 cmdinfo.work); in nvme_del_queue_start()
2901 nvmeq->cmdinfo.ctx = nvme_get_dq(&dq); in nvme_disable_io_queues()
2902 nvmeq->cmdinfo.worker = dq.worker; in nvme_disable_io_queues()
2903 init_kthread_work(&nvmeq->cmdinfo.work, nvme_del_queue_start); in nvme_disable_io_queues()
2904 queue_kthread_work(dq.worker, &nvmeq->cmdinfo.work); in nvme_disable_io_queues()