Lines Matching defs:masterPort
935 mach_port_t masterPort = MACH_PORT_NULL;
937 kr = IOMasterPort(bootstrap_port, &masterPort);
970 kr = IOServiceGetMatchingServices(masterPort, matching, &iterator);
985 if (masterPort != MACH_PORT_NULL) {
986 mach_port_deallocate(mach_task_self(), masterPort);
1263 mach_port_t masterPort = MACH_PORT_NULL;
1265 kr = IOMasterPort(bootstrap_port, &masterPort);
1273 kr = IOServiceGetMatchingServices(masterPort,
1296 if (masterPort != MACH_PORT_NULL) {
1297 mach_port_deallocate(mach_task_self(), masterPort);
1353 mach_port_t masterPort = MACH_PORT_NULL;
1356 kr = IOMasterPort(bootstrap_port, &masterPort);
1364 entry = IORegistryEntryFromPath(masterPort, path);
1375 if (masterPort != MACH_PORT_NULL) {
1376 mach_port_deallocate(mach_task_self(), masterPort);
2376 mach_port_t masterPort = MACH_PORT_NULL;
2403 kr = IOMasterPort(bootstrap_port, &masterPort);
2411 S_notify = IONotificationPortCreate(masterPort);
2419 root = IORegistryEntryFromPath(masterPort, kIOServicePlane ":/");
2543 if (masterPort != MACH_PORT_NULL) {
2544 mach_port_deallocate(mach_task_self(), masterPort);