Searched refs:transport_cmds (Results 1 – 3 of 3) sorted by relevance
231 if (ioc->transport_cmds.status == MPT2_CMD_NOT_USED) in mpt2sas_transport_done()233 if (ioc->transport_cmds.smid != smid) in mpt2sas_transport_done()235 ioc->transport_cmds.status |= MPT2_CMD_COMPLETE; in mpt2sas_transport_done()237 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt2sas_transport_done()239 ioc->transport_cmds.status |= MPT2_CMD_REPLY_VALID; in mpt2sas_transport_done()241 ioc->transport_cmds.status &= ~MPT2_CMD_PENDING; in mpt2sas_transport_done()242 complete(&ioc->transport_cmds.done); in mpt2sas_transport_done()311 mutex_lock(&ioc->transport_cmds.mutex); in _transport_expander_report_manufacture()313 if (ioc->transport_cmds.status != MPT2_CMD_NOT_USED) { in _transport_expander_report_manufacture()319 ioc->transport_cmds.status = MPT2_CMD_PENDING; in _transport_expander_report_manufacture()[all …]
3881 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()3882 ioc->transport_cmds.status = MPT2_CMD_NOT_USED; in mpt2sas_base_attach()3883 mutex_init(&ioc->transport_cmds.mutex); in mpt2sas_base_attach()3906 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt2sas_base_attach()3914 if (!ioc->base_cmds.reply || !ioc->transport_cmds.reply || in mpt2sas_base_attach()3956 kfree(ioc->transport_cmds.reply); in mpt2sas_base_attach()3967 ioc->transport_cmds.reply = NULL; in mpt2sas_base_attach()3997 kfree(ioc->transport_cmds.reply); in mpt2sas_base_detach()4027 if (ioc->transport_cmds.status & MPT2_CMD_PENDING) { in _base_reset_handler()4028 ioc->transport_cmds.status |= MPT2_CMD_RESET; in _base_reset_handler()[all …]
703 struct _internal_cmd transport_cmds; member