Lines Matching refs:taskmgmt_cmds
1643 mutex_lock(&ioc->taskmgmt_cmds.mutex);
1689 INITIALIZE_MGMT_STATUS(ioc->taskmgmt_cmds.status)
1707 timeleft = wait_for_completion_timeout(&ioc->taskmgmt_cmds.done,
1709 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) {
1714 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET)
1721 (SCSITaskMgmtReply_t *) ioc->taskmgmt_cmds.reply);
1729 CLEAR_MGMT_STATUS(ioc->taskmgmt_cmds.status)
1739 mutex_unlock(&ioc->taskmgmt_cmds.mutex);
2046 if (!(ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_RF_VALID)) {
2147 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD;
2152 ioc->taskmgmt_cmds.status |= MPT_MGMT_STATUS_RF_VALID;
2153 memcpy(ioc->taskmgmt_cmds.reply, mr,
2156 if (ioc->taskmgmt_cmds.status & MPT_MGMT_STATUS_PENDING) {
2158 ioc->taskmgmt_cmds.status &= ~MPT_MGMT_STATUS_PENDING;
2159 complete(&ioc->taskmgmt_cmds.done);