Searched refs:scsih_cmds (Results 1 – 3 of 3) sorted by relevance
5807 if (ioc->scsih_cmds.status == MPT3_CMD_NOT_USED) in _scsih_done()5809 if (ioc->scsih_cmds.smid != smid) in _scsih_done()5811 ioc->scsih_cmds.status |= MPT3_CMD_COMPLETE; in _scsih_done()5813 memcpy(ioc->scsih_cmds.reply, mpi_reply, in _scsih_done()5815 ioc->scsih_cmds.status |= MPT3_CMD_REPLY_VALID; in _scsih_done()5817 ioc->scsih_cmds.status &= ~MPT3_CMD_PENDING; in _scsih_done()5818 complete(&ioc->scsih_cmds.done); in _scsih_done()7617 mutex_lock(&ioc->scsih_cmds.mutex); in _scsih_ir_fastpath()7619 if (ioc->scsih_cmds.status != MPT3_CMD_NOT_USED) { in _scsih_ir_fastpath()7625 ioc->scsih_cmds.status = MPT3_CMD_PENDING; in _scsih_ir_fastpath()[all …]
6647 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()6648 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()6649 mutex_init(&ioc->scsih_cmds.mutex); in mpt3sas_base_attach()6668 !ioc->transport_cmds.reply || !ioc->scsih_cmds.reply || in mpt3sas_base_attach()6725 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_attach()6735 ioc->scsih_cmds.reply = NULL; in mpt3sas_base_attach()6772 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_detach()
1196 struct _internal_cmd scsih_cmds; member