Lines Matching refs:kret
115 kern_return_t kret;
119 kret = IOObjectRelease(obj);
132 kern_return_t kret;
136 kret = IOObjectRelease(obj);
470 kern_return_t kret = IOServiceGetMatchingServices(kIOMasterPortDefault,
473 if (kret != 0)
484 kret = IOCreatePlugInInterfaceForService(usbDevice,
490 if (kret != 0)
513 kret = (*usbdev)->GetDeviceVendor(usbdev, &vendorId);
514 kret = (*usbdev)->GetDeviceProduct(usbdev, &productId);
515 kret = (*usbdev)->GetLocationID(usbdev, &usbAddress);
619 kern_return_t kret = IOServiceGetMatchingServices(kIOMasterPortDefault, pccMatch, &pccIter);
620 if (kret != 0)
689 IOReturn kret;
705 kret = IOServiceAddMatchingNotification(sNotificationPort,
710 if (kret)
712 DebugLogB("IOServiceAddMatchingNotification()-1 failed with code %d", kret);
717 kret = IOServiceAddMatchingNotification(sNotificationPort,
722 if (kret)
724 DebugLogB("IOServiceAddMatchingNotification()-2 failed with code %d", kret);
734 IOReturn kret;
750 kret = IOServiceAddMatchingNotification(sNotificationPort,
755 if (kret)
757 DebugLogB("IOServiceAddMatchingNotification()-1 failed with code %d", kret);
761 kret = IOServiceAddMatchingNotification(sNotificationPort,
766 if (kret)
768 DebugLogB("IOServiceAddMatchingNotification()-2 failed with code %d", kret);