Lines Matching defs:pOwner
109 struct VBOXUSBFLTCTX *pOwner;
254 ASSERT_WARN(!pDevice->pOwner, ("device 0x%p has an owner(0x%p)", pDevice, pDevice->pOwner));
256 pDevice->pOwner = pContext;
263 ASSERT_WARN(pDevice->pOwner, ("no owner for device 0x%p", pDevice));
264 --pDevice->pOwner->cActiveFilters;
265 ASSERT_WARN(pDevice->pOwner->cActiveFilters < UINT32_MAX/2, ("cActiveFilters (%d)", pDevice->pOwner->cActiveFilters));
266 pDevice->pOwner = NULL;
272 if (pDevice->pOwner != pContext)
274 if (pDevice->pOwner)
394 PVBOXUSBFLTCTX pOwner = VBoxUSBFilterMatchEx(&DevFlt, puId, fRemoveFltIfOneShot, pfFilter, pfIsOneShot);
396 return pOwner;
610 LOG(("Current Device owner is (0x%p)", pDevice->pOwner));
622 if (pDevice->pOwner && pContext != pDevice->pOwner)
624 LOG(("Device (0x%p) is owned by another context(0x%p), current is(0x%p)", pDevice, pDevice->pOwner, pContext));
637 if (pDevice->pOwner && pNewOwner && pDevice->pOwner != pNewOwner)
639 LOG(("Matching: Device (0x%p) is requested another owner(0x%p), current is(0x%p)", pDevice, pNewOwner, pDevice->pOwner));
659 if (!pDevice->pOwner)
667 LOG(("Matching: device already has owner (0x%p) assigned", pDevice->pOwner));
688 if (!pDevice->pOwner || fIsOneShot || !pDevice->fIsFilterOneShot)
705 if (pNewOwner == pDevice->pOwner)
718 LOG(("Matching: This is NOT a one-shot filter (0x%p), Owner(0x%p)", uId, pDevice->pOwner));
719 vboxUsbFltDevOwnerUpdateLocked(pDevice, pDevice->pOwner, uId, false);
724 ASSERT_WARN(!pDevice->pOwner, ("device should NOT have owner"));
739 if (!pDevice->pOwner || fIsOneShot || !pDevice->fIsFilterOneShot)
962 if (pDevice->pOwner != pContext)
1084 ASSERT_WARN(pDevice->pOwner == pContext, ("Device(0x%p) owner(0x%p) not match to (0x%p)", pDevice, pDevice->pOwner, pContext));
1085 if (pDevice->pOwner != pContext)
1146 ASSERT_WARN(!pDevice->pOwner, ("replugging device(0x%p) still has an owner(0x%p)", pDevice, pDevice->pOwner));
1153 ASSERT_WARN(pDevice->pOwner, ("device(0x%p) has noowner", pDevice));
1157 if (pDevice->pOwner != pContext)
1470 Assert(!pDevice->pOwner);