Searched refs:transport_cmds (Results 1 – 3 of 3) sorted by relevance
236 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 …]
7114 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()7115 ioc->transport_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()7116 mutex_init(&ioc->transport_cmds.mutex); in mpt3sas_base_attach()7140 !ioc->transport_cmds.reply || !ioc->scsih_cmds.reply || in mpt3sas_base_attach()7203 kfree(ioc->transport_cmds.reply); in mpt3sas_base_attach()7215 ioc->transport_cmds.reply = NULL; in mpt3sas_base_attach()7249 kfree(ioc->transport_cmds.reply); in mpt3sas_base_detach()7274 if (ioc->transport_cmds.status & MPT3_CMD_PENDING) { in _base_after_reset_handler()7275 ioc->transport_cmds.status |= MPT3_CMD_RESET; in _base_after_reset_handler()7276 mpt3sas_base_free_smid(ioc, ioc->transport_cmds.smid); in _base_after_reset_handler()[all …]
1251 struct _internal_cmd transport_cmds; member