Home
last modified time | relevance | path

Searched refs:bufReply (Results 1 – 4 of 4) sorted by relevance

/NextBSD/lib/libmach/mach/
HDmach_msg.c333 mig_reply_error_t *bufRequest = 0, *bufReply = 0, *bufTemp; in mach_msg_server_once() local
346 (vm_address_t *)&bufReply, in mach_msg_server_once()
359 (void) (*demux)(&bufRequest->Head, &bufReply->Head); in mach_msg_server_once()
361 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) && in mach_msg_server_once()
362 bufReply->RetCode != KERN_SUCCESS) { in mach_msg_server_once()
363 if (bufReply->RetCode == MIG_NO_REPLY) { in mach_msg_server_once()
383 if (bufReply->Head.msgh_remote_port == MACH_PORT_NULL) { in mach_msg_server_once()
385 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) in mach_msg_server_once()
386 mach_msg_destroy(&bufReply->Head); in mach_msg_server_once()
395 bufRequest = bufReply; in mach_msg_server_once()
[all …]
/NextBSD/lib/libdispatch/src/
HDsource.c4198 mig_reply_error_t *bufTemp, *bufRequest, *bufReply; in dispatch_mig_server() local
4208 bufReply = alloca(rcv_size); in dispatch_mig_server()
4209 bufReply->Head.msgh_size = 0; in dispatch_mig_server()
4226 kr = mach_msg(&bufReply->Head, tmp_options, bufReply->Head.msgh_size, in dispatch_mig_server()
4235 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { in dispatch_mig_server()
4236 mach_msg_destroy(&bufReply->Head); in dispatch_mig_server()
4243 if(bufReply->Head.msgh_remote_port || received) { in dispatch_mig_server()
4254 size_t large_size = bufReply->Head.msgh_size + MAX_TRAILER_SIZE; in dispatch_mig_server()
4258 bufReply = large_buf; in dispatch_mig_server()
4260 if (!mach_msg(&bufReply->Head, tmp_options, 0, in dispatch_mig_server()
[all …]
/NextBSD/sbin/launchd/
HDruntime.c1037 …size_t send_msg_size, mig_reply_error_t *bufRequest, mig_reply_error_t *bufReply, mach_msg_timeout… in launchd_exc_runtime_once() argument
1059 if (!mach_exc_server(&bufRequest->Head, &bufReply->Head)) { in launchd_exc_runtime_once()
1067 (void)os_assumes(bufReply->Head.msgh_size <= send_msg_size); in launchd_exc_runtime_once()
1068 …smr = mach_msg(&bufReply->Head, send_options, bufReply->Head.msgh_size, 0, MACH_PORT_NULL, to + 10… in launchd_exc_runtime_once()
HDruntime.h113 …size_t send_msg_size, mig_reply_error_t *bufRequest, mig_reply_error_t *bufReply, mach_msg_timeout…