Lines Matching refs:bufReply
104 mig_reply_error_t * bufReply = CFAllocatorAllocate(
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);
156 if (MACH_MSGH_BITS_REMOTE(bufReply->Head.msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE) {
159 mr = mach_msg(&bufReply->Head, /* msg */
161 bufReply->Head.msgh_size, /* send_size */
173 mach_msg_destroy(&bufReply->Head);
181 CFAllocatorDeallocate(NULL, bufReply);