Searched refs:tm_cmds (Results 1 – 3 of 3) sorted by relevance
2577 if (ioc->tm_cmds.status == MPT3_CMD_NOT_USED) in _scsih_tm_done()2579 if (ioc->tm_cmds.smid != smid) in _scsih_tm_done()2581 ioc->tm_cmds.status |= MPT3_CMD_COMPLETE; in _scsih_tm_done()2584 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in _scsih_tm_done()2585 ioc->tm_cmds.status |= MPT3_CMD_REPLY_VALID; in _scsih_tm_done()2587 ioc->tm_cmds.status &= ~MPT3_CMD_PENDING; in _scsih_tm_done()2588 complete(&ioc->tm_cmds.done); in _scsih_tm_done()2677 lockdep_assert_held(&ioc->tm_cmds.mutex); in mpt3sas_scsih_issue_tm()2679 if (ioc->tm_cmds.status != MPT3_CMD_NOT_USED) { in mpt3sas_scsih_issue_tm()2713 ioc->tm_cmds.status = MPT3_CMD_PENDING; in mpt3sas_scsih_issue_tm()[all …]
7123 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()7124 ioc->tm_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()7125 mutex_init(&ioc->tm_cmds.mutex); in mpt3sas_base_attach()7140 !ioc->tm_cmds.reply || !ioc->config_cmds.reply || in mpt3sas_base_attach()7201 kfree(ioc->tm_cmds.reply); in mpt3sas_base_attach()7212 ioc->tm_cmds.reply = NULL; in mpt3sas_base_attach()7247 kfree(ioc->tm_cmds.reply); in mpt3sas_base_detach()
1253 struct _internal_cmd tm_cmds; member