/macosx-10.9.5/xnu-2422.115.4/libkern/c++/ |
H A D | OSKext.cpp | 2573 kern_return_t kern_result; local 2594 kern_result = kmem_alloc(kernel_map, 2597 if (kern_result != KERN_SUCCESS) { 5782 kern_return_t kern_result = 0; local 5856 kern_result = mach_vm_region_recurse(kernel_map, &address, &size, &depth, 5858 if (kern_result != KERN_SUCCESS) {
|
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | update_boot.c | 2973 kern_return_t kern_result = kOSReturnError; 2978 kern_result = task_get_bootstrap_port(mach_task_self(), &bootstrap_port); 2979 if (kern_result != kOSReturnSuccess) { 2983 kern_result = bootstrap_look_up(bootstrap_port, 2985 if (kern_result != kOSReturnSuccess) { 2989 kern_result = pid_for_task(kextd_port, &kextd_pid); 2990 if (kern_result != kOSReturnSuccess) { 3002 if (kern_result != kOSReturnSuccess) { 3005 "kill kextd failed - %s.", safe_mach_error_string(kern_result));
|
H A D | kextcache_main.c | 994 kern_return_t kern_result = 0;; local 1001 kern_result = IOKitWaitQuiet(kIOMasterPortDefault, &waitTime); 1002 if (kern_result == kIOReturnTimeout) { 1006 } else if (kern_result != kOSReturnSuccess) { 1010 safe_mach_error_string(kern_result));
|
H A D | kextutil_main.c | 2276 kern_return_t kern_result; local 2290 kern_result = bootstrap_look_up(bootstrap_port, 2292 if (kern_result != KERN_SUCCESS) { 2297 bootstrap_strerror(kern_result)); 2300 kern_result = mach_port_allocate(mach_task_self(), 2302 if (kern_result != KERN_SUCCESS) { 2309 kern_result = kextmanager_lock_kextload(sKextdPort, sLockPort, 2311 if (kern_result != KERN_SUCCESS) {
|
H A D | kextload_main.c | 321 kern_return_t kern_result = kOSReturnError; local 324 kern_result = bootstrap_look_up(bootstrap_port, 327 if (kern_result == kOSReturnSuccess) {
|
/macosx-10.9.5/IOKitUser-907.100.13/hidsystem.subproj/ |
H A D | IOHIDLib.c | 92 kern_return_t kern_result = KERN_SUCCESS; local 94 kern_result = bootstrap_look_up2(bootstrap_port, 99 if(KERN_SUCCESS == kern_result) {
|
/macosx-10.9.5/IOKitUser-907.100.13/pwr_mgt.subproj/ |
H A D | IOPMAssertions.c | 177 kern_return_t kern_result = KERN_SUCCESS; local 266 kern_result = io_pm_assertion_create( pm_server, 273 if(KERN_SUCCESS != kern_result) { 304 kern_return_t kern_result = KERN_SUCCESS; local 321 kern_result = io_pm_assertion_retain_release( pm_server, 328 if(KERN_SUCCESS != kern_result) { 354 kern_return_t kern_result = KERN_SUCCESS; local 371 kern_result = io_pm_assertion_retain_release( pm_server, 378 if(KERN_SUCCESS != kern_result) { 401 kern_return_t kern_result local 545 kern_return_t kern_result = KERN_SUCCESS; local 611 kern_return_t kern_result = KERN_SUCCESS; local 701 kern_return_t kern_result = KERN_SUCCESS; local 889 kern_return_t kern_result = KERN_SUCCESS; local [all...] |
H A D | IOPMEnergyPrefs.c | 851 kern_return_t kern_result; local 860 kern_result = bootstrap_look_up2(bootstrap_port, 865 if(KERN_SUCCESS != kern_result) { 877 kern_result = io_pm_set_active_profile(server_port, 884 if(KERN_SUCCESS == kern_result) {
|
H A D | IOPMLibPrivate.c | 65 kern_return_t kern_result = KERN_SUCCESS; local 83 kern_result = bootstrap_look_up2(bootstrap_port, 88 if(KERN_SUCCESS != kern_result) { 91 "bootstrap_look_up2 failed with 0x%x\n", kern_result); 965 kern_return_t kern_result = KERN_SUCCESS; local 1005 kern_result = io_pm_connection_create( 1013 if (KERN_SUCCESS != kern_result) { 1014 return_code = kern_result; 1040 kern_return_t kern_result; local 1055 kern_result 1163 kern_return_t kern_result; local 1208 kern_return_t kern_result; local 1328 kern_return_t kern_result; local 1471 kern_return_t kern_result; local 1499 kern_return_t kern_result; local 1576 kern_return_t kern_result; local [all...] |
/macosx-10.9.5/PowerManagement-420.90.1/pmconfigd/ |
H A D | pmconfigd.c | 245 kern_return_t kern_result = 0; local 247 kern_result = bootstrap_check_in( 253 if (BOOTSTRAP_SUCCESS != kern_result) { 254 kern_result = mach_port_allocate( 259 if (KERN_SUCCESS == kern_result) { 260 kern_result = mach_port_insert_right( 266 if (KERN_SUCCESS == kern_result) { 267 kern_result = bootstrap_register( 275 if (BOOTSTRAP_SUCCESS != kern_result) { 277 kIOPMServerBootstrapName, kern_result); [all...] |
/macosx-10.9.5/PowerManagement-420.90.1/pmset/ |
H A D | pmset.c | 672 kern_return_t kern_result; local 684 kern_result = io_pm_force_active_settings( 690 if( KERN_SUCCESS != kern_result ) { 691 printf("exit kern_result = 0x%08x\n", kern_result); 699 if (KERN_SUCCESS != kern_result || kIOReturnSuccess != return_code) { 5296 kern_return_t kern_result = KERN_SUCCESS; local 5301 kern_result = bootstrap_look_up2(bootstrap_port, 5307 if(KERN_SUCCESS != kern_result) {
|
/macosx-10.9.5/PowerManagement-420.90.1/ioupsd/ |
H A D | upsd.c | 141 kern_return_t kern_result = KERN_SUCCESS; local 150 kern_result = task_get_bootstrap_port(mach_task_self(), &bootstrap_port); 151 if (kern_result != KERN_SUCCESS) 164 kern_result = bootstrap_check_in( 169 if (BOOTSTRAP_SUCCESS != kern_result) 172 kIOUPSPlugInServerName, kern_result);
|
H A D | IOUPSPrivate.c | 49 kern_return_t kern_result = KERN_SUCCESS; local 56 kern_result = task_get_bootstrap_port(mach_task_self(), &bootstrap_port); 57 if (kern_result != KERN_SUCCESS) { 66 kern_result = bootstrap_look_up( 71 if (BOOTSTRAP_SUCCESS == kern_result) { 76 // kern_result == BOOTSTRAP_UNKNOWN_SERVICE
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | kern_sig.c | 929 __posix_sem_syscall_return(kern_return_t kern_result) argument 933 if (kern_result == KERN_SUCCESS) 935 else if (kern_result == KERN_ABORTED) 937 else if (kern_result == KERN_OPERATION_TIMED_OUT) 966 kern_return_t kern_result; local 1020 kern_result = semaphore_timedwait_trap_internal((mach_port_name_t)uap->cond_sem, then.tv_sec, then.tv_nsec, __posix_sem_syscall_return); 1022 kern_result = semaphore_timedwait_signal_trap_internal(uap->cond_sem, uap->mutex_sem, then.tv_sec, then.tv_nsec, __posix_sem_syscall_return); 1027 kern_result = semaphore_wait_trap_internal(uap->cond_sem, __posix_sem_syscall_return); 1030 kern_result = semaphore_wait_signal_trap_internal(uap->cond_sem, uap->mutex_sem, __posix_sem_syscall_return); 1033 if (kern_result 1066 kern_return_t kern_result; local [all...] |
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/ |
H A D | KextManager.c | 59 kern_return_t kern_result = kOSReturnError; local 78 kern_result = get_kextd_port(&kextd_port); 79 if (kern_result != kOSReturnSuccess) { 83 kern_result = kextmanager_path_for_bundle_id( 86 if (kern_result != kOSReturnSuccess) { 353 kern_return_t kern_result = kOSReturnError; local 374 kern_result = get_kextd_port(&kextd_port); 375 if (kern_result != kOSReturnSuccess) { 379 kern_result = kextmanager_create_property_value_array(kextd_port, 381 if (kern_result ! 420 kern_return_t kern_result = kOSReturnError; local [all...] |
/macosx-10.9.5/IOKitUser-907.100.13/ps.subproj/ |
H A D | IOPowerSourcesPrivate.c | 297 kern_return_t kern_result = KERN_SUCCESS; local 303 kern_result = bootstrap_look_up2(bootstrap_port, 308 if(KERN_SUCCESS != kern_result) {
|