Lines Matching refs:replyMsg
2282 ReplyMsg replyMsg; in _sendAsyncResult64() local
2296 bzero(&replyMsg, sizeof(replyMsg)); in _sendAsyncResult64()
2297 replyMsg.msgHdr.msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND /*remote*/, in _sendAsyncResult64()
2299 replyMsg.msgHdr.msgh_remote_port = replyPort; in _sendAsyncResult64()
2300 replyMsg.msgHdr.msgh_local_port = NULL; in _sendAsyncResult64()
2301 replyMsg.msgHdr.msgh_id = kOSNotificationMessageID; in _sendAsyncResult64()
2303 replyMsg.msgHdr.msgh_size = in _sendAsyncResult64()
2304 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg64) in _sendAsyncResult64()
2306 replyMsg.m.msg64.notifyHdr.size = sizeof(IOAsyncCompletionContent) in _sendAsyncResult64()
2308 replyMsg.m.msg64.notifyHdr.type = kIOAsyncCompletionNotificationType; in _sendAsyncResult64()
2310 …bcopy(&reference[1], &replyMsg.m.msg64.notifyHdr.reference[1], sizeof(OSAsyncReference64) - sizeof… in _sendAsyncResult64()
2312 replyMsg.m.msg64.asyncContent.result = result; in _sendAsyncResult64()
2314 bcopy(args, replyMsg.m.msg64.args, numArgs * sizeof(io_user_reference_t)); in _sendAsyncResult64()
2319 replyMsg.msgHdr.msgh_size = in _sendAsyncResult64()
2320 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg32) in _sendAsyncResult64()
2323 replyMsg.m.msg32.notifyHdr.size = sizeof(IOAsyncCompletionContent) in _sendAsyncResult64()
2325 replyMsg.m.msg32.notifyHdr.type = kIOAsyncCompletionNotificationType; in _sendAsyncResult64()
2329 replyMsg.m.msg32.notifyHdr.reference[idx] = REF32(reference[idx]); in _sendAsyncResult64()
2332 replyMsg.m.msg32.asyncContent.result = result; in _sendAsyncResult64()
2335 replyMsg.m.msg32.args[idx] = REF32(args[idx]); in _sendAsyncResult64()
2340 kr = mach_msg_send_from_kernel_with_options( &replyMsg.msgHdr, in _sendAsyncResult64()
2341 replyMsg.msgHdr.msgh_size, MACH64_SEND_TIMEOUT, MACH_MSG_TIMEOUT_NONE); in _sendAsyncResult64()
2344 kr = mach_msg_send_from_kernel(&replyMsg.msgHdr, in _sendAsyncResult64()
2345 replyMsg.msgHdr.msgh_size); in _sendAsyncResult64()