Lines Matching refs:bufReply
102 mig_reply_error_t * bufReply = (mig_reply_error_t *)bufReply_q;
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->Head.msgh_bits) != MACH_MSG_TYPE_MOVE_SEND_ONCE) {
157 mr = mach_msg(&bufReply->Head, /* msg */
159 bufReply->Head.msgh_size, /* send_size */
176 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) {
177 mach_msg_destroy(&bufReply->Head);
182 if (bufReply != (mig_reply_error_t *)bufReply_q)
183 CFAllocatorDeallocate(NULL, bufReply);