Searched refs:cmdinfo (Results 1 – 2 of 2) sorted by relevance
102 struct uas_cmd_info *cmdinfo; in uas_do_work() local117 cmdinfo = (void *)&cmnd->SCp; in uas_do_work()119 if (!(cmdinfo->state & IS_IN_WORK_LIST)) in uas_do_work()124 cmdinfo->state &= ~IS_IN_WORK_LIST; in uas_do_work()143 static void uas_add_work(struct uas_cmd_info *cmdinfo) in uas_add_work() argument145 struct scsi_pointer *scp = (void *)cmdinfo; in uas_add_work()150 cmdinfo->state |= IS_IN_WORK_LIST; in uas_add_work()156 struct uas_cmd_info *cmdinfo; in uas_zap_pending() local167 cmdinfo = (void *)&cmnd->SCp; in uas_zap_pending()170 cmdinfo->state &= ~COMMAND_INFLIGHT; in uas_zap_pending()[all …]
129 struct async_cmd_info cmdinfo; member350 struct async_cmd_info *cmdinfo = ctx; in async_completion() local351 cmdinfo->result = le32_to_cpup(&cqe->result); in async_completion()352 cmdinfo->status = le16_to_cpup(&cqe->status) >> 1; in async_completion()353 blk_mq_free_request(cmdinfo->req); in async_completion()354 queue_kthread_work(cmdinfo->worker, &cmdinfo->work); in async_completion()1116 struct async_cmd_info *cmdinfo, unsigned timeout) in nvme_submit_admin_async_cmd() argument1128 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()[all …]