Searched refs:kernResult (Results 1 – 1 of 1) sorted by relevance
3934 kern_return_t kernResult = KERN_FAILURE; in FindEjectableOpticalMedia() local3940 kernResult = IOMainPort(MACH_PORT_NULL, &mainPort); in FindEjectableOpticalMedia()3941 if ( KERN_SUCCESS != kernResult ) { in FindEjectableOpticalMedia()3942 printf("IOMainPort returned %d\n", kernResult); in FindEjectableOpticalMedia()3955 kernResult = IOServiceGetMatchingServices(mainPort, classesToMatch, in FindEjectableOpticalMedia()3957 if (kernResult != KERN_SUCCESS) { in FindEjectableOpticalMedia()3959 kernResult); in FindEjectableOpticalMedia()3977 kern_return_t kernResult = KERN_FAILURE; in GetBSDPath() local3992 kernResult = KERN_SUCCESS; in GetBSDPath()3999 return kernResult; in GetBSDPath()