Lines Matching refs:dmAllShared

609   dmIntContext_t          *dmAllShared  = (dmIntContext_t *)&dmIntRoot->dmAllShared;  in dmUpStreamDiscoverExpanderPhy()  local
825 dmAllShared->itNexusTimeout, in dmUpStreamDiscoverExpanderPhy()
850 dmAllShared->itNexusTimeout, in dmUpStreamDiscoverExpanderPhy()
871 dmAllShared->itNexusTimeout, in dmUpStreamDiscoverExpanderPhy()
896 dmAllShared->itNexusTimeout, in dmUpStreamDiscoverExpanderPhy()
1024 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmUpStreamDiscover2ExpanderPhy() local
1241 dmAllShared->itNexusTimeout, in dmUpStreamDiscover2ExpanderPhy()
1266 dmAllShared->itNexusTimeout, in dmUpStreamDiscover2ExpanderPhy()
1287 dmAllShared->itNexusTimeout, in dmUpStreamDiscover2ExpanderPhy()
1312 dmAllShared->itNexusTimeout, in dmUpStreamDiscover2ExpanderPhy()
1442 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDownStreamDiscoverExpanderPhy() local
1611 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
1636 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
1656 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
1681 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
2035 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
2054 dmAllShared->itNexusTimeout, in dmDownStreamDiscoverExpanderPhy()
2253 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDownStreamDiscover2ExpanderPhy() local
2420 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
2445 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
2465 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
2490 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
2927 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
2945 dmAllShared->itNexusTimeout, in dmDownStreamDiscover2ExpanderPhy()
3052 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveringUndoAdd() local
3084 DMLIST_ENQUEUE_AT_TAIL(&(tempExpander->linkNode), &(dmAllShared->mainExpanderList)); in dmDiscoveringUndoAdd()
3415 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryReportMCN() local
3432 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryReportMCN()
3433 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryReportMCN()
3505 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryDumpMCN() local
3511 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryDumpMCN()
3512 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryDumpMCN()
3540 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryResetMCN() local
3547 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryResetMCN()
3548 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryResetMCN()
3590 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmUpdateAllAdjacent() local
3607 DeviceListList = dmAllShared->MainDeviceList.flink; in dmUpdateAllAdjacent()
3608 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmUpdateAllAdjacent()
3712 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmPortSASDeviceFind() local
3725 DeviceListList = dmAllShared->MainDeviceList.flink; in dmPortSASDeviceFind()
3729 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmPortSASDeviceFind()
3757 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmPortSASDeviceFind()
3838 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmNewSASorNot() local
3846 DeviceListList = dmAllShared->MainDeviceList.flink; in dmNewSASorNot()
3847 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmNewSASorNot()
4244 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmFindRegNValid() local
4251 DeviceListList = dmAllShared->MainDeviceList.flink; in dmFindRegNValid()
4255 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmFindRegNValid()
4282 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmFindRegNValid()
4657 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveringExpanderAlloc() local
4682 if (DMLIST_EMPTY(&(dmAllShared->freeExpanderList))) in dmDiscoveringExpanderAlloc()
4694 DMLIST_DEQUEUE_FROM_HEAD(&ExpanderList, &(dmAllShared->freeExpanderList)); in dmDiscoveringExpanderAlloc()
4979 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveringExpanderRemove() local
5019 DMLIST_ENQUEUE_AT_TAIL(&(oneExpander->linkNode), &(dmAllShared->mainExpanderList)); in dmDiscoveringExpanderRemove()
5056 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmExpMainListFind() local
5063 if (DMLIST_EMPTY(&(dmAllShared->mainExpanderList))) in dmExpMainListFind()
5073 ExpanderList = dmAllShared->mainExpanderList.flink; in dmExpMainListFind()
5074 while (ExpanderList != &(dmAllShared->mainExpanderList)) in dmExpMainListFind()
5226 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmCleanAllExp() local
5267 DMLIST_ENQUEUE_AT_TAIL(&(tempExpander->linkNode), &(dmAllShared->mainExpanderList)); in dmCleanAllExp()
5324 DMLIST_ENQUEUE_AT_TAIL(&(tempExpander->linkNode), &(dmAllShared->mainExpanderList)); in dmCleanAllExp()
5360 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmInternalRemovals() local
5367 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmInternalRemovals()
5378 DeviceListList = dmAllShared->MainDeviceList.flink; in dmInternalRemovals()
5379 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmInternalRemovals()
5433 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryResetProcessed() local
5440 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryResetProcessed()
5441 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryResetProcessed()
5679 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmReportChanges() local
5688 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmReportChanges()
5699 DeviceListList = dmAllShared->MainDeviceList.flink; in dmReportChanges()
5700 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmReportChanges()
5836 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmReportRemovals() local
5844 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmReportRemovals()
5855 DeviceListList = dmAllShared->MainDeviceList.flink; in dmReportRemovals()
5856 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmReportRemovals()
5954 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmResetReported() local
5961 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmResetReported()
5972 DeviceListList = dmAllShared->MainDeviceList.flink; in dmResetReported()
5973 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmResetReported()
6018 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryInvalidateDevices() local
6025 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmDiscoveryInvalidateDevices()
6035 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryInvalidateDevices()
6036 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryInvalidateDevices()
6106 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryErrorRemovals() local
6113 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmDiscoveryErrorRemovals()
6123 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryErrorRemovals()
6124 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryErrorRemovals()
6189 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryExpanderCleanUp() local
6206 if (!DMLIST_EMPTY(&(dmAllShared->mainExpanderList))) in dmDiscoveryExpanderCleanUp()
6209 ExpanderList = dmAllShared->mainExpanderList.flink; in dmDiscoveryExpanderCleanUp()
6210 while (ExpanderList != &(dmAllShared->mainExpanderList)) in dmDiscoveryExpanderCleanUp()
6226 DMLIST_ENQUEUE_AT_TAIL(&(oneExpander->linkNode), &(dmAllShared->freeExpanderList)); in dmDiscoveryExpanderCleanUp()
6228 if (DMLIST_EMPTY(&(dmAllShared->mainExpanderList))) in dmDiscoveryExpanderCleanUp()
6237 ExpanderList = dmAllShared->mainExpanderList.flink; in dmDiscoveryExpanderCleanUp()
6263 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryDeviceCleanUp() local
6270 if (!DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmDiscoveryDeviceCleanUp()
6273 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryDeviceCleanUp()
6274 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDiscoveryDeviceCleanUp()
6289 DMLIST_ENQUEUE_AT_TAIL(&(oneDeviceData->FreeLink), &(dmAllShared->FreeDeviceList)); in dmDiscoveryDeviceCleanUp()
6291 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmDiscoveryDeviceCleanUp()
6301 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDiscoveryDeviceCleanUp()
6358 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDumpAllMainExp() local
6365 if (DMLIST_EMPTY(&(dmAllShared->mainExpanderList))) in dmDumpAllMainExp()
6376 ExpanderList = dmAllShared->mainExpanderList.flink; in dmDumpAllMainExp()
6377 while (ExpanderList != &(dmAllShared->mainExpanderList)) in dmDumpAllMainExp()
6408 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDumpAllMainDevice() local
6416 if (DMLIST_EMPTY(&(dmAllShared->MainDeviceList))) in dmDumpAllMainDevice()
6427 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDumpAllMainDevice()
6428 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDumpAllMainDevice()
6467 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmAddSASToSharedcontext() local
6486 DeviceListList = dmAllShared->MainDeviceList.flink; in dmAddSASToSharedcontext()
6487 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmAddSASToSharedcontext()
6514 if (!DMLIST_NOT_EMPTY(&(dmAllShared->FreeDeviceList))) in dmAddSASToSharedcontext()
6522 DMLIST_DEQUEUE_FROM_HEAD(&DeviceListList, &(dmAllShared->FreeDeviceList)); in dmAddSASToSharedcontext()
6587 DMLIST_ENQUEUE_AT_TAIL(&(oneDeviceData->MainLink), &(dmAllShared->MainDeviceList)); in dmAddSASToSharedcontext()
6668 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDeviceFind() local
6675 DeviceListList = dmAllShared->MainDeviceList.flink; in dmDeviceFind()
6677 while (DeviceListList != &(dmAllShared->MainDeviceList)) in dmDeviceFind()
6721 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmBCTimer() local
6747 BC_TIMER_VALUE/dmAllShared->usecsPerTick, in dmBCTimer()
6756 &dmAllShared->timerlist, in dmBCTimer()
6818 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoverySMPTimer() local
6845 SMP_TIMER_VALUE/dmAllShared->usecsPerTick, in dmDiscoverySMPTimer()
6854 &dmAllShared->timerlist, in dmDiscoverySMPTimer()
6883 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoverySMPTimerCB() local
6896 agRoot = dmAllShared->agRoot; in dmDiscoverySMPTimerCB()
6948 if (DMLIST_EMPTY(&(dmAllShared->freeSMPList))) in dmDiscoverySMPTimerCB()
6956 DMLIST_DEQUEUE_FROM_HEAD(&SMPList, &(dmAllShared->freeSMPList)); in dmDiscoverySMPTimerCB()
6999 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmSMPBusyTimer() local
7024 SMP_BUSY_TIMER_VALUE/dmAllShared->usecsPerTick, in dmSMPBusyTimer()
7033 &dmAllShared->timerlist, in dmSMPBusyTimer()
7050 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmSMPBusyTimerCB() local
7068 agRoot = dmAllShared->agRoot; in dmSMPBusyTimerCB()
7170 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmDiscoveryConfiguringTimer() local
7192 DM_DBG3(("dmDiscoveryConfiguringTimer: UsecsPerTick %d\n", dmAllShared->usecsPerTick)); in dmDiscoveryConfiguringTimer()
7193 …yConfiguringTimer: Timervalue %d\n", DISCOVERY_CONFIGURING_TIMER_VALUE/dmAllShared->usecsPerTick)); in dmDiscoveryConfiguringTimer()
7198 DISCOVERY_CONFIGURING_TIMER_VALUE/dmAllShared->usecsPerTick, in dmDiscoveryConfiguringTimer()
7207 &dmAllShared->timerlist, in dmDiscoveryConfiguringTimer()
7264 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmConfigureRouteTimer() local
7295 DM_DBG3(("dmConfigureRouteTimer: UsecsPerTick %d\n", dmAllShared->usecsPerTick)); in dmConfigureRouteTimer()
7296 …DM_DBG3(("dmConfigureRouteTimer: Timervalue %d\n", CONFIGURE_ROUTE_TIMER_VALUE/dmAllShared->usecsP… in dmConfigureRouteTimer()
7304 CONFIGURE_ROUTE_TIMER_VALUE/dmAllShared->usecsPerTick, in dmConfigureRouteTimer()
7317 CONFIGURE_ROUTE_TIMER_VALUE/dmAllShared->usecsPerTick, in dmConfigureRouteTimer()
7326 &dmAllShared->timerlist, in dmConfigureRouteTimer()
7343 dmIntContext_t *dmAllShared = (dmIntContext_t *)&dmIntRoot->dmAllShared; in dmConfigureRouteTimerCB() local
7374 if (discovery->configureRouteRetries >= dmAllShared->MaxRetryDiscovery) in dmConfigureRouteTimerCB()
7417 CONFIGURE_ROUTE_TIMER_VALUE/dmAllShared->usecsPerTick, in dmConfigureRouteTimerCB()
7426 &dmAllShared->timerlist, in dmConfigureRouteTimerCB()
7448 CONFIGURE_ROUTE_TIMER_VALUE/dmAllShared->usecsPerTick, in dmConfigureRouteTimerCB()
7457 &dmAllShared->timerlist, in dmConfigureRouteTimerCB()