Home
last modified time | relevance | path

Searched refs:tm_cmds (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c2863 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 …]
Dmpt3sas_base.c8366 ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
8367 ioc->tm_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
8368 mutex_init(&ioc->tm_cmds.mutex); in mpt3sas_base_attach()
8383 !ioc->tm_cmds.reply || !ioc->config_cmds.reply || in mpt3sas_base_attach()
8448 kfree(ioc->tm_cmds.reply); in mpt3sas_base_attach()
8459 ioc->tm_cmds.reply = NULL; in mpt3sas_base_attach()
8494 kfree(ioc->tm_cmds.reply); in mpt3sas_base_detach()
Dmpt3sas_base.h1422 struct _internal_cmd tm_cmds; member