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()498 if (ioc->ctl_cmds.status & MPT3_CMD_PENDING) { in mpt3sas_ctl_clear_outstanding_ioctls()[all …]
8545 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()8546 ioc->ctl_cmds.sense = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); in mpt3sas_base_attach()8547 ioc->ctl_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()8548 mutex_init(&ioc->ctl_cmds.mutex); in mpt3sas_base_attach()8553 !ioc->ctl_cmds.reply || !ioc->ctl_cmds.sense) { in mpt3sas_base_attach()8623 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_attach()8624 kfree(ioc->ctl_cmds.sense); in mpt3sas_base_attach()8626 ioc->ctl_cmds.reply = NULL; in mpt3sas_base_attach()8659 kfree(ioc->ctl_cmds.reply); in mpt3sas_base_detach()8660 kfree(ioc->ctl_cmds.sense); in mpt3sas_base_detach()
1423 struct _internal_cmd ctl_cmds; member
2971 } else if (smid_task == ioc->ctl_cmds.smid) { in scsih_tm_cmd_map_status()2972 if ((ioc->ctl_cmds.status & MPT3_CMD_COMPLETE) || in scsih_tm_cmd_map_status()2973 (ioc->ctl_cmds.status & MPT3_CMD_NOT_USED)) in scsih_tm_cmd_map_status()