Searched refs:bufReply (Results 1 - 10 of 10) sorted by relevance
/macosx-10.10/PowerManagement-494.1.2/ioupsd/ |
H A D | ioupsplugin.c | 104 mig_reply_error_t * bufReply = CFAllocatorAllocate( local 110 (void) upsd_demux(&bufRequest->Head, &bufReply->Head); 112 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) && 113 (bufReply->RetCode != KERN_SUCCESS)) { 115 if (bufReply->RetCode == MIG_NO_REPLY) { 122 CFAllocatorDeallocate(NULL, bufReply); 134 if (bufReply->Head.msgh_remote_port == MACH_PORT_NULL) { 136 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { 137 mach_msg_destroy(&bufReply->Head); 139 CFAllocatorDeallocate(NULL, bufReply); [all...] |
/macosx-10.10/kext_tools-384.1.4/ |
H A D | kextd_mig_server.c | 134 mig_reply_error_t * bufReply = CFAllocatorAllocate( local 140 (void) kextd_demux(&bufRequest->Head, &bufReply->Head); 142 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) && 143 (bufReply->RetCode != KERN_SUCCESS)) { 145 if (bufReply->RetCode == MIG_NO_REPLY) { 152 CFAllocatorDeallocate(NULL, bufReply); 164 if (bufReply->Head.msgh_remote_port == MACH_PORT_NULL) { 166 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { 167 mach_msg_destroy(&bufReply->Head); 169 CFAllocatorDeallocate(NULL, bufReply); [all...] |
/macosx-10.10/configd-699.1.5/configd.tproj/ |
H A D | configd_server.c | 102 mig_reply_error_t * bufReply = (mig_reply_error_t *)bufReply_q; local 120 bufReply = CFAllocatorAllocate(NULL, _config_subsystem.maxsize, 0); 122 bufReply->RetCode = 0; 125 (void) config_demux(&bufRequest->Head, &bufReply->Head); 127 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) { 128 if (bufReply->RetCode == MIG_NO_REPLY) { 129 bufReply->Head.msgh_remote_port = MACH_PORT_NULL; 130 } else if ((bufReply->RetCode != KERN_SUCCESS) && 140 if (bufReply->Head.msgh_remote_port != MACH_PORT_NULL) { 154 if (MACH_MSGH_BITS_REMOTE(bufReply [all...] |
/macosx-10.10/xnu-2782.1.97/libsyscall/mach/ |
H A D | mach_msg.c | 378 mig_reply_error_t *bufRequest, *bufReply; local 401 (vm_address_t *)&bufReply, 416 (vm_address_t)bufReply, 441 (void) (*demux)(&bufRequest->Head, &bufReply->Head); 443 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) { 444 if (bufReply->RetCode == MIG_NO_REPLY) 445 bufReply->Head.msgh_remote_port = MACH_PORT_NULL; 446 else if ((bufReply->RetCode != KERN_SUCCESS) && 463 if (bufReply->Head.msgh_remote_port != MACH_PORT_NULL) { 465 mr = mach_msg(&bufReply 507 mig_reply_error_t *bufRequest, *bufReply; local 685 mig_reply_error_t *bufRequest, *bufReply; local [all...] |
/macosx-10.10/IOKitUser-1050.1.21/ |
H A D | IOMIGMachPort.c | 324 mig_reply_error_t * bufReply = NULL; local 331 bufReply = CFAllocatorAllocate(NULL, migPort->maxMessageSize, 0); 332 require(bufReply, exit); 335 if ( __NoMoreSenders(&bufRequest->Head, &bufReply->Head) ) { 343 (*migPort->demuxCallback)(migPort, &bufRequest->Head, &bufReply->Head, migPort->demuxRefcon); 350 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) && 351 (bufReply->RetCode != KERN_SUCCESS)) { 357 require(bufReply->RetCode != MIG_NO_REPLY, exit); 366 if (bufReply->Head.msgh_remote_port == MACH_PORT_NULL) { 368 if (bufReply [all...] |
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/ |
H A D | machserver.cpp | 168 Message bufReply(mMaxSize); 247 cdsa_notify_server(bufRequest, bufReply); 258 (*it)->handle(bufRequest, bufReply); 263 handle(bufRequest, bufReply); 270 if (!(bufReply.bits() & MACH_MSGH_BITS_COMPLEX) && 271 bufReply.returnCode() != KERN_SUCCESS) { 272 if (bufReply.returnCode() == MIG_NO_REPLY) 279 if (bufReply.remotePort() == MACH_PORT_NULL) { 281 if (bufReply.bits() & MACH_MSGH_BITS_COMPLEX) 282 bufReply [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | machserver.cpp | 168 Message bufReply(mMaxSize); 247 cdsa_notify_server(bufRequest, bufReply); 258 (*it)->handle(bufRequest, bufReply); 263 handle(bufRequest, bufReply); 270 if (!(bufReply.bits() & MACH_MSGH_BITS_COMPLEX) && 271 bufReply.returnCode() != KERN_SUCCESS) { 272 if (bufReply.returnCode() == MIG_NO_REPLY) 279 if (bufReply.remotePort() == MACH_PORT_NULL) { 281 if (bufReply.bits() & MACH_MSGH_BITS_COMPLEX) 282 bufReply [all...] |
/macosx-10.10/PowerManagement-494.1.2/pmconfigd/ |
H A D | pmconfigd.c | 995 mig_reply_error_t * bufReply = CFAllocatorAllocate( local 1003 (void) pm_mig_demux(&bufRequest->Head, &bufReply->Head); 1005 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) && 1006 (bufReply->RetCode != KERN_SUCCESS)) { 1008 if (bufReply->RetCode == MIG_NO_REPLY) { 1027 if (bufReply->Head.msgh_remote_port == MACH_PORT_NULL) { 1029 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { 1030 mach_msg_destroy(&bufReply->Head); 1048 if (MACH_MSGH_BITS_REMOTE(bufReply->Head.msgh_bits) != MACH_MSG_TYPE_MOVE_SEND_ONCE) { 1051 mr = mach_msg(&bufReply [all...] |
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/helper/ |
H A D | SCHelper_server.c | 1922 mig_reply_error_t * bufReply = (mig_reply_error_t *)bufReply_q; local 1940 bufReply = CFAllocatorAllocate(NULL, _helper_subsystem.maxsize, 0); 1942 bufReply->RetCode = 0; 1945 (void) helper_demux(&bufRequest->Head, &bufReply->Head); 1947 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) { 1948 if (bufReply->RetCode == MIG_NO_REPLY) { 1949 bufReply->Head.msgh_remote_port = MACH_PORT_NULL; 1950 } else if ((bufReply->RetCode != KERN_SUCCESS) && 1960 if (bufReply->Head.msgh_remote_port != MACH_PORT_NULL) { 1974 if (MACH_MSGH_BITS_REMOTE(bufReply [all...] |
/macosx-10.10/libdispatch-442.1.4/src/ |
H A D | source.c | 4198 mig_reply_error_t *bufTemp, *bufRequest, *bufReply; local 4208 bufReply = alloca(rcv_size); 4209 bufReply->Head.msgh_size = 0; 4226 kr = mach_msg(&bufReply->Head, tmp_options, bufReply->Head.msgh_size, 4235 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { 4236 mach_msg_destroy(&bufReply->Head); 4243 if(bufReply->Head.msgh_remote_port || received) { 4254 size_t large_size = bufReply->Head.msgh_size + MAX_TRAILER_SIZE; 4258 bufReply [all...] |
Completed in 181 milliseconds