Home
last modified time | relevance | path

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

/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c236 if (ioc->transport_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_transport_done()
238 if (ioc->transport_cmds.smid != smid) in mpt3sas_transport_done()
240 ioc->transport_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_transport_done()
242 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
244 ioc->transport_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_transport_done()
246 ioc->transport_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_transport_done()
247 complete(&ioc->transport_cmds.done); in mpt3sas_transport_done()
312 mutex_lock(&ioc->transport_cmds.mutex); in _transport_expander_report_manufacture()
314 if (ioc->transport_cmds.status != MPT3_CMD_NOT_USED) { in _transport_expander_report_manufacture()
319 ioc->transport_cmds.status = MPT3_CMD_PENDING; in _transport_expander_report_manufacture()
[all …]
Dmpt3sas_base.c7485 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
7486 ioc->transport_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7487 mutex_init(&ioc->transport_cmds.mutex); in mpt3sas_base_attach()
7511 !ioc->transport_cmds.reply || !ioc->scsih_cmds.reply || in mpt3sas_base_attach()
7575 kfree(ioc->transport_cmds.reply); in mpt3sas_base_attach()
7587 ioc->transport_cmds.reply = NULL; in mpt3sas_base_attach()
7621 kfree(ioc->transport_cmds.reply); in mpt3sas_base_detach()
7646 if (ioc->transport_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()
7647 ioc->transport_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()
7648 mpt3sas_base_free_smid(ioc, ioc->transport_cmds.smid); in _base_clear_outstanding_mpt_commands()
[all …]
Dmpt3sas_base.h1278 struct _internal_cmd transport_cmds; member