sas_mgmt 747 drivers/message/fusion/mptbase.h MPT_MGMT sas_mgmt; sas_mgmt 1313 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_PENDING) { sas_mgmt 1314 drivers/message/fusion/mptsas.c ioc->sas_mgmt.status |= MPT_MGMT_STATUS_DID_IOCRESET; sas_mgmt 1315 drivers/message/fusion/mptsas.c complete(&ioc->sas_mgmt.done); sas_mgmt 2064 drivers/message/fusion/mptsas.c ioc->sas_mgmt.status |= MPT_MGMT_STATUS_COMMAND_GOOD; sas_mgmt 2066 drivers/message/fusion/mptsas.c ioc->sas_mgmt.status |= MPT_MGMT_STATUS_RF_VALID; sas_mgmt 2067 drivers/message/fusion/mptsas.c memcpy(ioc->sas_mgmt.reply, reply, sas_mgmt 2071 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_PENDING) { sas_mgmt 2072 drivers/message/fusion/mptsas.c ioc->sas_mgmt.status &= ~MPT_MGMT_STATUS_PENDING; sas_mgmt 2073 drivers/message/fusion/mptsas.c complete(&ioc->sas_mgmt.done); sas_mgmt 2097 drivers/message/fusion/mptsas.c if (mutex_lock_interruptible(&ioc->sas_mgmt.mutex)) sas_mgmt 2115 drivers/message/fusion/mptsas.c INITIALIZE_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2118 drivers/message/fusion/mptsas.c timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, sas_mgmt 2120 drivers/message/fusion/mptsas.c if (!(ioc->sas_mgmt.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { sas_mgmt 2123 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_DID_IOCRESET) sas_mgmt 2131 drivers/message/fusion/mptsas.c if ((ioc->sas_mgmt.status & sas_mgmt 2138 drivers/message/fusion/mptsas.c reply = (SasIoUnitControlReply_t *)ioc->sas_mgmt.reply; sas_mgmt 2149 drivers/message/fusion/mptsas.c CLEAR_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2150 drivers/message/fusion/mptsas.c mutex_unlock(&ioc->sas_mgmt.mutex); sas_mgmt 2234 drivers/message/fusion/mptsas.c ret = mutex_lock_interruptible(&ioc->sas_mgmt.mutex); sas_mgmt 2299 drivers/message/fusion/mptsas.c INITIALIZE_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2302 drivers/message/fusion/mptsas.c timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); sas_mgmt 2303 drivers/message/fusion/mptsas.c if (!(ioc->sas_mgmt.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { sas_mgmt 2307 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_DID_IOCRESET) sas_mgmt 2315 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_RF_VALID) { sas_mgmt 2318 drivers/message/fusion/mptsas.c smprep = (SmpPassthroughReply_t *)ioc->sas_mgmt.reply; sas_mgmt 2339 drivers/message/fusion/mptsas.c CLEAR_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2340 drivers/message/fusion/mptsas.c mutex_unlock(&ioc->sas_mgmt.mutex); sas_mgmt 2855 drivers/message/fusion/mptsas.c ret = mutex_lock_interruptible(&ioc->sas_mgmt.mutex); sas_mgmt 2911 drivers/message/fusion/mptsas.c INITIALIZE_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2914 drivers/message/fusion/mptsas.c timeleft = wait_for_completion_timeout(&ioc->sas_mgmt.done, 10 * HZ); sas_mgmt 2915 drivers/message/fusion/mptsas.c if (!(ioc->sas_mgmt.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { sas_mgmt 2919 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_DID_IOCRESET) sas_mgmt 2928 drivers/message/fusion/mptsas.c if (ioc->sas_mgmt.status & MPT_MGMT_STATUS_RF_VALID) { sas_mgmt 2931 drivers/message/fusion/mptsas.c smprep = (SmpPassthroughReply_t *)ioc->sas_mgmt.reply; sas_mgmt 2966 drivers/message/fusion/mptsas.c CLEAR_MGMT_STATUS(ioc->sas_mgmt.status) sas_mgmt 2967 drivers/message/fusion/mptsas.c mutex_unlock(&ioc->sas_mgmt.mutex); sas_mgmt 5216 drivers/message/fusion/mptsas.c mutex_init(&ioc->sas_mgmt.mutex); sas_mgmt 5217 drivers/message/fusion/mptsas.c init_completion(&ioc->sas_mgmt.done);