- Timestamp:
- Mar 31, 2016 11:02:32 AM (9 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.cpp
r56293 r60273 30 30 NDIS_STATUS Status = NDIS_STATUS_FAILURE; 31 31 32 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));32 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 33 33 34 34 pNetFlt->u.s.WinIf.hMiniport = MiniportAdapterHandle; … … 86 86 NdisSetEvent(&pNetFlt->u.s.WinIf.MpInitCompleteEvent); 87 87 88 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status));88 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status)); 89 89 90 90 *OpenErrorStatus = Status; … … 235 235 pNetFlt->u.s.WinIf.hMiniport = hMiniportAdapter; 236 236 237 LogFlow (("==>"__FUNCTION__": pNetFlt 0x%p\n", pNetFlt));237 LogFlowFunc(("ENTER: pNetFlt 0x%p\n", pNetFlt)); 238 238 239 239 Assert(vboxNetFltWinGetOpState(&pNetFlt->u.s.WinIf.MpState) == kVBoxNetDevOpState_Deinitialized); … … 255 255 Status = NDIS_STATUS_SUCCESS; 256 256 257 LogFlow (("<=="__FUNCTION__" :pNetFlt 0x%p, Status 0x%x\n", pNetFlt, Status));257 LogFlowFunc(("pNetFlt 0x%p, Status 0x%x\n", pNetFlt, Status)); 258 258 259 259 return Status; … … 271 271 UINT i = 0; 272 272 273 LogFlow (("==>"__FUNCTION__"\n"));273 LogFlowFuncEnter(); 274 274 275 275 for (; i < MediumArraySize; i++) … … 384 384 *OpenErrorStatus = Status; 385 385 386 LogFlow (("<=="__FUNCTION__": Status (0x%x)\n", Status));386 LogFlowFunc(("LEAVE: Status (0x%x)\n", Status)); 387 387 388 388 return Status; … … 398 398 bool bNetFltActive; 399 399 400 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));400 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 401 401 402 402 Assert(cNumberOfPackets); … … 498 498 } 499 499 500 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));500 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 501 501 } 502 502 … … 600 600 NDIS_STATUS Status = NDIS_STATUS_FAILURE; 601 601 602 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid)));602 LogFlowFunc(("ENTER: pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid))); 603 603 604 604 /* fist check if this is the oid we want to pass down */ … … 638 638 } 639 639 640 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status));640 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status)); 641 641 642 642 return Status; … … 775 775 NDIS_STATUS Status = NDIS_STATUS_FAILURE; 776 776 777 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid)));777 LogFlowFunc(("ENTER: pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid))); 778 778 779 779 switch (Oid) … … 829 829 } 830 830 831 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status));831 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status)); 832 832 833 833 return Status; … … 906 906 ULONG cbInfo = sizeof (u32Info); 907 907 908 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid)));908 LogFlowFunc(("ENTER: pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid))); 909 909 910 910 *BytesWritten = 0; … … 1133 1133 1134 1134 1135 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status));1135 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status)); 1136 1136 1137 1137 return Status; … … 1148 1148 NDIS_STATUS Status = NDIS_STATUS_SUCCESS; 1149 1149 1150 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid)));1150 LogFlowFunc(("ENTER: pNetFlt (0x%p), Oid (%s)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid))); 1151 1151 1152 1152 *BytesRead = 0; … … 1220 1220 } 1221 1221 1222 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status));1222 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Oid (%s), Status (0x%x)\n", pNetFlt, vboxNetFltWinMpDumpOid(Oid), Status)); 1223 1223 1224 1224 return Status; … … 1330 1330 PVOID pBufToFree = pInfo->pBufToFree; 1331 1331 1332 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1332 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1333 1333 1334 1334 if (pOrigPacket) … … 1351 1351 vboxNetFltWinDereferenceWinIf(pNetFlt); 1352 1352 1353 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1353 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 1354 1354 } 1355 1355 … … 1365 1365 NDIS_STATUS Status; 1366 1366 1367 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1367 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1368 1368 1369 1369 if (vboxNetFltWinGetPowerState(&pNetFlt->u.s.WinIf.PtState) != NdisDeviceStateD0 1370 1370 || vboxNetFltWinGetPowerState(&pNetFlt->u.s.WinIf.MpState) != NdisDeviceStateD0) 1371 1371 { 1372 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, NDIS_STATUS_FAILURE));1372 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, NDIS_STATUS_FAILURE)); 1373 1373 return NDIS_STATUS_FAILURE; 1374 1374 } … … 1377 1377 ByteOffset, BytesToTransfer, Packet, BytesTransferred); 1378 1378 1379 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status));1379 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status)); 1380 1380 return Status; 1381 1381 #else 1382 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", hContext));1382 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", hContext)); 1383 1383 /* should never be here */ 1384 1384 Assert(0); 1385 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", hContext, NDIS_STATUS_FAILURE));1385 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x)\n", hContext, NDIS_STATUS_FAILURE)); 1386 1386 return NDIS_STATUS_FAILURE; 1387 1387 #endif … … 1393 1393 NDIS_STATUS Status; 1394 1394 1395 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1395 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1396 1396 1397 1397 #ifndef VBOXNETADP … … 1419 1419 } 1420 1420 1421 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1421 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 1422 1422 } 1423 1423 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.cpp
r56293 r60273 86 86 else 87 87 { 88 LogRel ((__FUNCTION__":vboxNetFltWinMpInitializeDevideInstance failed, Status 0x%x\n", Status));88 LogRelFunc(("vboxNetFltWinMpInitializeDevideInstance failed, Status 0x%x\n", Status)); 89 89 } 90 90 … … 96 96 else 97 97 { 98 LogRel ((__FUNCTION__"NdisOpenAdapter failed, Status (0x%x)", Status));98 LogRelFunc(("NdisOpenAdapter failed, Status (0x%x)", Status)); 99 99 } 100 100 … … 112 112 IN PVOID pvSystemSpecific2) 113 113 { 114 LogFlow (("==>"__FUNCTION__"\n"));114 LogFlowFuncEnter(); 115 115 116 116 NDIS_STATUS Status; … … 137 137 *pStatus = Status; 138 138 139 LogFlow (("<=="__FUNCTION__": Status 0x%x\n", Status));139 LogFlowFunc(("LEAVE: Status 0x%x\n", Status)); 140 140 } 141 141 … … 144 144 PVBOXNETFLTINS pNetFlt =(PVBOXNETFLTINS)hProtocolBindingContext; 145 145 146 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Status (0x%x), OpenErrorStatus(0x%x)\n", pNetFlt, Status, OpenErrorStatus));146 LogFlowFunc(("ENTER: pNetFlt (0x%p), Status (0x%x), OpenErrorStatus(0x%x)\n", pNetFlt, Status, OpenErrorStatus)); 147 147 Assert(pNetFlt->u.s.WinIf.OpenCloseStatus == NDIS_STATUS_SUCCESS); 148 148 Assert(Status == NDIS_STATUS_SUCCESS); … … 152 152 Assert(Status == NDIS_STATUS_SUCCESS); 153 153 if (Status != NDIS_STATUS_SUCCESS) 154 LogRel ((__FUNCTION__" :Open Complete status is 0x%x", Status));154 LogRelFunc(("Open Complete status is 0x%x", Status)); 155 155 } 156 156 else 157 LogRel ((__FUNCTION__" :Adapter maintained status is 0x%x", pNetFlt->u.s.WinIf.OpenCloseStatus));157 LogRelFunc(("Adapter maintained status is 0x%x", pNetFlt->u.s.WinIf.OpenCloseStatus)); 158 158 NdisSetEvent(&pNetFlt->u.s.WinIf.OpenCloseEvent); 159 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x), OpenErrorStatus(0x%x)\n", pNetFlt, Status, OpenErrorStatus));159 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x), OpenErrorStatus(0x%x)\n", pNetFlt, Status, OpenErrorStatus)); 160 160 } 161 161 … … 191 191 int cPPUsage; 192 192 193 LogFlow (("==>"__FUNCTION__": pNetFlt 0x%p\n", pNetFlt));193 LogFlowFunc(("ENTER: pNetFlt 0x%p\n", pNetFlt)); 194 194 195 195 Assert(KeGetCurrentIrql() == PASSIVE_LEVEL); … … 244 244 } 245 245 246 LogFlow (("<=="__FUNCTION__": pNetFlt 0x%p\n", pNetFlt));246 LogFlowFunc(("LEAVE: pNetFlt 0x%p\n", pNetFlt)); 247 247 248 248 return Status; … … 255 255 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)hContext; 256 256 257 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));257 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 258 258 259 259 *pStatus = vboxNetFltWinDetachFromInterface(pNetFlt, true); 260 260 Assert(*pStatus == NDIS_STATUS_SUCCESS); 261 261 262 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));262 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 263 263 } 264 264 265 265 static VOID vboxNetFltWinPtUnloadProtocol() 266 266 { 267 LogFlow (("==>"__FUNCTION__"\n"));267 LogFlowFuncEnter(); 268 268 NDIS_STATUS Status = vboxNetFltWinPtDeregister(&g_VBoxNetFltGlobalsWin.Pt); 269 269 Assert(Status == NDIS_STATUS_SUCCESS); 270 LogFlow (("<=="__FUNCTION__": PtDeregister Status (0x%x)\n", Status));270 LogFlowFunc(("LEAVE: PtDeregister Status (0x%x)\n", Status)); 271 271 } 272 272 … … 276 276 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)ProtocolBindingContext; 277 277 278 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status));278 LogFlowFunc(("ENTER: pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status)); 279 279 Assert(pNetFlt->u.s.WinIf.OpenCloseStatus == NDIS_STATUS_SUCCESS); 280 280 Assert(Status == NDIS_STATUS_SUCCESS); … … 285 285 } 286 286 NdisSetEvent(&pNetFlt->u.s.WinIf.OpenCloseEvent); 287 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status));287 LogFlowFunc(("LEAVE: pNetFlt (0x%p), Status (0x%x)\n", pNetFlt, Status)); 288 288 } 289 289 290 290 static VOID vboxNetFltWinPtResetComplete(IN NDIS_HANDLE hProtocolBindingContext, IN NDIS_STATUS Status) 291 291 { 292 LogFlow (("==>"__FUNCTION__": pNetFlt 0x%p, Status 0x%x\n", hProtocolBindingContext, Status));292 LogFlowFunc(("ENTER: pNetFlt 0x%p, Status 0x%x\n", hProtocolBindingContext, Status)); 293 293 /* 294 294 * should never be here 295 295 */ 296 296 Assert(0); 297 LogFlow (("<=="__FUNCTION__": pNetFlt 0x%p, Status 0x%x\n", hProtocolBindingContext, Status));297 LogFlowFunc(("LEAVE: pNetFlt 0x%p, Status 0x%x\n", hProtocolBindingContext, Status)); 298 298 } 299 299 … … 486 486 NDIS_OID Oid = pNetFlt->u.s.WinIf.PassDownRequest.DATA.SET_INFORMATION.Oid; 487 487 488 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status));488 LogFlowFunc(("ENTER: pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status)); 489 489 490 490 if (pSynchRequest == pNdisRequest) … … 497 497 /* 3. return; */ 498 498 499 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status));499 LogFlowFunc(("LEAVE: pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status)); 500 500 return; 501 501 } … … 522 522 } 523 523 524 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status));524 LogFlowFunc(("LEAVE: pNetFlt (0x%p), pNdisRequest (0x%p), Status (0x%x)\n", pNetFlt, pNdisRequest, Status)); 525 525 } 526 526 … … 529 529 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)hProtocolBindingContext; 530 530 531 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), GeneralStatus (0x%x)\n", pNetFlt, GeneralStatus));531 LogFlowFunc(("ENTER: pNetFlt (0x%p), GeneralStatus (0x%x)\n", pNetFlt, GeneralStatus)); 532 532 533 533 if (vboxNetFltWinReferenceWinIf(pNetFlt)) … … 556 556 } 557 557 558 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), GeneralStatus (0x%x)\n", pNetFlt, GeneralStatus));558 LogFlowFunc(("LEAVE: pNetFlt (0x%p), GeneralStatus (0x%x)\n", pNetFlt, GeneralStatus)); 559 559 } 560 560 … … 564 564 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)hProtocolBindingContext; 565 565 566 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));566 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 567 567 568 568 if (vboxNetFltWinReferenceWinIf(pNetFlt)) … … 573 573 } 574 574 575 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));575 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 576 576 } 577 577 … … 582 582 PNDIS_PACKET pOrigPacket = pSendInfo->pOrigPacket; 583 583 PVOID pBufToFree = pSendInfo->pBufToFree; 584 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), pPacket (0x%p), Status (0x%x)\n", pNetFlt, pPacket, Status));584 LogFlowFunc(("ENTER: pNetFlt (0x%p), pPacket (0x%p), Status (0x%x)\n", pNetFlt, pPacket, Status)); 585 585 586 586 #if defined(DEBUG_NETFLT_PACKETS) || !defined(VBOX_LOOPBACK_USEFLAGS) … … 611 611 vboxNetFltWinDereferenceWinIf(pNetFlt); 612 612 613 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), pPacket (0x%p), Status (0x%x)\n", pNetFlt, pPacket, Status));613 LogFlowFunc(("LEAVE: pNetFlt (0x%p), pPacket (0x%p), Status (0x%x)\n", pNetFlt, pPacket, Status)); 614 614 } 615 615 … … 745 745 { 746 746 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)hProtocolBindingContext; 747 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), pPacket (0x%p), Status (0x%x), cbTransfered (%d)\n", pNetFlt, pPacket, Status, cbTransferred));747 LogFlowFunc(("ENTER: pNetFlt (0x%p), pPacket (0x%p), Status (0x%x), cbTransfered (%d)\n", pNetFlt, pPacket, Status, cbTransferred)); 748 748 if (!vboxNetFltWinPtTransferDataCompleteActive(pNetFlt, pPacket, Status)) 749 749 { … … 760 760 /* else - all processing is done with vboxNetFltWinPtTransferDataCompleteActive already */ 761 761 762 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), pPacket (0x%p), Status (0x%x), cbTransfered (%d)\n", pNetFlt, pPacket, Status, cbTransferred));762 LogFlowFunc(("LEAVE: pNetFlt (0x%p), pPacket (0x%p), Status (0x%x), cbTransfered (%d)\n", pNetFlt, pPacket, Status, cbTransferred)); 763 763 } 764 764 … … 1071 1071 const bool bPassThruActive = !bNetFltActive; 1072 1072 1073 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1073 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1074 1074 1075 1075 if (fWinIfActive) … … 1215 1215 } 1216 1216 1217 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1217 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 1218 1218 1219 1219 return Status; … … 1235 1235 Assert(iProc < RT_ELEMENTS(pNetFlt->u.s.WinIf.abIndicateRxComplete)); 1236 1236 1237 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1237 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1238 1238 1239 1239 if (hMiniport != NULL && pNetFlt->u.s.WinIf.abIndicateRxComplete[iProc]) … … 1266 1266 } 1267 1267 1268 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1268 LogFlowFunc(("LEAVE: pNetFlt (0x%p)\n", pNetFlt)); 1269 1269 } 1270 1270 … … 1277 1277 const bool bPassThruActive = !bNetFltActive; 1278 1278 1279 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p)\n", pNetFlt));1279 LogFlowFunc(("ENTER: pNetFlt (0x%p)\n", pNetFlt)); 1280 1280 1281 1281 if (fWinIfActive) … … 1390 1390 } 1391 1391 1392 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), cRefCount (%d)\n", pNetFlt, cRefCount));1392 LogFlowFunc(("LEAVE: pNetFlt (0x%p), cRefCount (%d)\n", pNetFlt, cRefCount)); 1393 1393 1394 1394 return cRefCount; … … 1487 1487 PVBOXNETFLTINS pNetFlt = (PVBOXNETFLTINS)hProtocolBindingContext; 1488 1488 1489 LogFlow (("==>"__FUNCTION__": pNetFlt (0x%p), NetEvent (%d)\n", pNetFlt, pNetPnPEvent->NetEvent));1489 LogFlowFunc(("ENTER: pNetFlt (0x%p), NetEvent (%d)\n", pNetFlt, pNetPnPEvent->NetEvent)); 1490 1490 1491 1491 switch (pNetPnPEvent->NetEvent) … … 1507 1507 } 1508 1508 1509 LogFlow (("<=="__FUNCTION__": pNetFlt (0x%p), NetEvent (%d)\n", pNetFlt, pNetPnPEvent->NetEvent));1509 LogFlowFunc(("LEAVE: pNetFlt (0x%p), NetEvent (%d)\n", pNetFlt, pNetPnPEvent->NetEvent)); 1510 1510 } 1511 1511 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.cpp
r57937 r60273 1665 1665 UNREFERENCED_PARAMETER(DriverObject); 1666 1666 1667 LogFlow ((__FUNCTION__" ==>DO (0x%x)\n", DriverObject));1667 LogFlowFunc(("ENTER: DO (0x%x)\n", DriverObject)); 1668 1668 1669 1669 rc = vboxNetFltWinFiniIdc(); … … 1673 1673 AssertFailed(); 1674 1674 1675 Log ((__FUNCTION__":vboxNetFltWinFiniIdc - failed, busy.\n"));1675 LogFlowFunc(("vboxNetFltWinFiniIdc - failed, busy.\n")); 1676 1676 } 1677 1677 … … 1687 1687 #endif /* VBOXNETADP */ 1688 1688 1689 LogFlow(( __FUNCTION__" <==DO (0x%x)\n", DriverObject));1689 LogFlow(("LEAVE: DO (0x%x)\n", DriverObject)); 1690 1690 1691 1691 vboxNetFltWinFiniNetFltBase(); … … 1926 1926 #endif 1927 1927 1928 LogFlow (("==>"__FUNCTION__": pWinIf 0x%p\n", pWinIf));1928 LogFlowFunc(("ENTER: pWinIf 0x%p\n", pWinIf)); 1929 1929 1930 1930 Assert(KeGetCurrentIrql() == PASSIVE_LEVEL); … … 1948 1948 NdisFreePacketPool(pWinIf->hRecvPacketPool); 1949 1949 1950 LogFlow (("<=="__FUNCTION__": pWinIf 0x%p\n", pWinIf));1950 LogFlowFunc(("LEAVE: pWinIf 0x%p\n", pWinIf)); 1951 1951 } 1952 1952 … … 1963 1963 BOOLEAN bCallFiniOnFail = FALSE; 1964 1964 1965 LogFlow (("==>"__FUNCTION__": pWinIf 0x%p\n", pWinIf));1965 LogFlowFunc(("ENTER: pWinIf 0x%p\n", pWinIf)); 1966 1966 1967 1967 Assert(KeGetCurrentIrql() == PASSIVE_LEVEL); … … 2042 2042 } 2043 2043 2044 LogFlow (("<=="__FUNCTION__": pWinIf 0x%p, Status 0x%x\n", pWinIf, Status));2044 LogFlowFunc(("LEAVE: pWinIf 0x%p, Status 0x%x\n", pWinIf, Status)); 2045 2045 2046 2046 return Status; … … 2686 2686 NDIS_STATUS Status; 2687 2687 int rc; 2688 LogFlow ((__FUNCTION__": pThis=%0xp\n", pNetFlt));2688 LogFlowFunc(("ENTER: pThis=%0xp\n", pNetFlt)); 2689 2689 2690 2690 Assert(KeGetCurrentIrql() < DISPATCH_LEVEL); … … 2746 2746 /* release for the retain we made before waining on the mutex */ 2747 2747 vboxNetFltRelease(pNetFlt, false); 2748 2749 LogFlowFunc(("LEAVE: Status 0x%x\n", Status)); 2748 2750 2749 2751 return Status; -
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
r60159 r60273 52 52 if (bRc) 53 53 { 54 Log ((__FUNCTION__":pDevExt (0x%x) Owner(0x%x) acquired\n", pFObj));54 LogFunc(("pDevExt (0x%x) Owner(0x%x) acquired\n", pFObj)); 55 55 } 56 56 else 57 57 { 58 Log ((__FUNCTION__":pDevExt (0x%x) Owner(0x%x) FAILED!!\n", pFObj));58 LogFunc(("pDevExt (0x%x) Owner(0x%x) FAILED!!\n", pFObj)); 59 59 } 60 60 return bRc; … … 66 66 if (bRc) 67 67 { 68 Log ((__FUNCTION__":pDevExt (0x%x) Owner(0x%x) released\n", pFObj));68 LogFunc(("pDevExt (0x%x) Owner(0x%x) released\n", pFObj)); 69 69 } 70 70 else 71 71 { 72 Log ((__FUNCTION__":pDevExt (0x%x) Owner(0x%x) release: is NOT an owner\n", pFObj));72 LogFunc(("pDevExt (0x%x) Owner(0x%x) release: is NOT an owner\n", pFObj)); 73 73 } 74 74 return bRc; … … 1114 1114 pUrbInfo->len = 0; 1115 1115 1116 Log ((__FUNCTION__":URB failed Status (0x%x) urb Status (0x%x)\n", Status, pUrb->UrbHeader.Status));1116 LogFunc(("URB failed Status (0x%x) urb Status (0x%x)\n", Status, pUrb->UrbHeader.Status)); 1117 1117 #ifdef DEBUG 1118 1118 switch(pContext->ulTransferType)
Note:
See TracChangeset
for help on using the changeset viewer.