Lines Matching refs:kr
362 kern_return_t kr; in xpc_pipe_routine_reply() local
378 kr = mach_msg_send(&message->header); in xpc_pipe_routine_reply()
379 if (kr != KERN_SUCCESS) in xpc_pipe_routine_reply()
380 err = (kr == KERN_INVALID_TASK) ? EPIPE : EINVAL; in xpc_pipe_routine_reply()
394 kern_return_t kr; in xpc_pipe_send() local
414 kr = mach_msg_send(&message->header); in xpc_pipe_send()
415 if (kr != KERN_SUCCESS) in xpc_pipe_send()
416 err = (kr == KERN_INVALID_TASK) ? EPIPE : EINVAL; in xpc_pipe_send()
435 kern_return_t kr; in xpc_pipe_receive() local
447 kr = mach_msg(request, MACH_RCV_MSG | in xpc_pipe_receive()
453 if (kr != 0) in xpc_pipe_receive()
454 LOG("mach_msg_receive returned %d\n", kr); in xpc_pipe_receive()
481 kern_return_t kr; in xpc_pipe_try_receive() local
494 kr = mach_msg(request, MACH_RCV_MSG | in xpc_pipe_try_receive()
500 if (kr != 0) in xpc_pipe_try_receive()
501 LOG("mach_msg_receive returned %d\n", kr); in xpc_pipe_try_receive()
532 kern_return_t kr; in xpc_call_wakeup() local
536 kr = mach_msg_send(&msg.Head); in xpc_call_wakeup()
537 if (kr != KERN_SUCCESS) in xpc_call_wakeup()
538 err = (kr == KERN_INVALID_TASK) ? EPIPE : EINVAL; in xpc_call_wakeup()