Searched refs:scsih_cmds (Results 1 – 3 of 3) sorted by relevance
5034 if (ioc->scsih_cmds.status == MPT3_CMD_NOT_USED) in _scsih_done()5036 if (ioc->scsih_cmds.smid != smid) in _scsih_done()5038 ioc->scsih_cmds.status |= MPT3_CMD_COMPLETE; in _scsih_done()5040 memcpy(ioc->scsih_cmds.reply, mpi_reply, in _scsih_done()5042 ioc->scsih_cmds.status |= MPT3_CMD_REPLY_VALID; in _scsih_done()5044 ioc->scsih_cmds.status &= ~MPT3_CMD_PENDING; in _scsih_done()5045 complete(&ioc->scsih_cmds.done); in _scsih_done()6030 mutex_lock(&ioc->scsih_cmds.mutex); in _scsih_ir_fastpath()6032 if (ioc->scsih_cmds.status != MPT3_CMD_NOT_USED) { in _scsih_ir_fastpath()6038 ioc->scsih_cmds.status = MPT3_CMD_PENDING; in _scsih_ir_fastpath()[all …]
5306 ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()5307 ioc->scsih_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()5308 mutex_init(&ioc->scsih_cmds.mutex); in mpt3sas_base_attach()5327 !ioc->scsih_cmds.reply || !ioc->tm_cmds.reply || in mpt3sas_base_attach()5371 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_attach()5381 ioc->scsih_cmds.reply = NULL; in mpt3sas_base_attach()5417 kfree(ioc->scsih_cmds.reply); in mpt3sas_base_detach()
1005 struct _internal_cmd scsih_cmds; member