Searched refs:ctl_cmds (Results 1 – 4 of 4) sorted by relevance
267 if (ioc->ctl_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_ctl_done()269 if (ioc->ctl_cmds.smid != smid) in mpt3sas_ctl_done()271 ioc->ctl_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_ctl_done()274 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()275 ioc->ctl_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_ctl_done()287 memcpy(ioc->ctl_cmds.sense, sense_data, sz); in mpt3sas_ctl_done()300 memcpy(ioc->ctl_cmds.sense, sense_data, sz); in mpt3sas_ctl_done()305 ioc->ctl_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_ctl_done()306 complete(&ioc->ctl_cmds.done); in mpt3sas_ctl_done()496 if (ioc->ctl_cmds.status & MPT3_CMD_PENDING) { in mpt3sas_ctl_clear_outstanding_ioctls()[all …]
7402 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()7403 ioc->ctl_cmds.sense = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); in mpt3sas_base_attach()7404 ioc->ctl_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()7405 mutex_init(&ioc->ctl_cmds.mutex); in mpt3sas_base_attach()7410 !ioc->ctl_cmds.reply || !ioc->ctl_cmds.sense) { in mpt3sas_base_attach()7477 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_attach()7478 kfree(ioc->ctl_cmds.sense); in mpt3sas_base_attach()7480 ioc->ctl_cmds.reply = NULL; in mpt3sas_base_attach()7513 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_detach()7514 kfree(ioc->ctl_cmds.sense); in mpt3sas_base_detach()
1280 struct _internal_cmd ctl_cmds; member
2800 } else if (smid_task == ioc->ctl_cmds.smid) { in scsih_tm_cmd_map_status()2801 if ((ioc->ctl_cmds.status & MPT3_CMD_COMPLETE) || in scsih_tm_cmd_map_status()2802 (ioc->ctl_cmds.status & MPT3_CMD_NOT_USED)) in scsih_tm_cmd_map_status()