Searched refs:tm_cmds (Results 1 – 3 of 3) sorted by relevance
2863 if (ioc->tm_cmds.status == MPT3_CMD_NOT_USED) in _scsih_tm_done()2865 if (ioc->tm_cmds.smid != smid) in _scsih_tm_done()2867 ioc->tm_cmds.status |= MPT3_CMD_COMPLETE; in _scsih_tm_done()2870 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in _scsih_tm_done()2871 ioc->tm_cmds.status |= MPT3_CMD_REPLY_VALID; in _scsih_tm_done()2873 ioc->tm_cmds.status &= ~MPT3_CMD_PENDING; in _scsih_tm_done()2874 complete(&ioc->tm_cmds.done); in _scsih_tm_done()3058 lockdep_assert_held(&ioc->tm_cmds.mutex); in mpt3sas_scsih_issue_tm()3060 if (ioc->tm_cmds.status != MPT3_CMD_NOT_USED) { in mpt3sas_scsih_issue_tm()3100 ioc->tm_cmds.status = MPT3_CMD_PENDING; in mpt3sas_scsih_issue_tm()[all …]
8535 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()8536 ioc->tm_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()8537 mutex_init(&ioc->tm_cmds.mutex); in mpt3sas_base_attach()8552 !ioc->tm_cmds.reply || !ioc->config_cmds.reply || in mpt3sas_base_attach()8617 kfree(ioc->tm_cmds.reply); in mpt3sas_base_attach()8628 ioc->tm_cmds.reply = NULL; in mpt3sas_base_attach()8663 kfree(ioc->tm_cmds.reply); in mpt3sas_base_detach()
1422 struct _internal_cmd tm_cmds; member