Home
last modified time | relevance | path

Searched refs:cmdinfo (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/storage/
Duas.c102 struct uas_cmd_info *cmdinfo; in uas_do_work() local
117 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() argument
145 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() local
167 cmdinfo = (void *)&cmnd->SCp; in uas_zap_pending()
170 cmdinfo->state &= ~COMMAND_INFLIGHT; in uas_zap_pending()
[all …]
/drivers/nvme/host/
Dpci.c129 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 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() 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()
[all …]