Lines Matching refs:replyMsg

2186 	ReplyMsg      replyMsg;  in _sendAsyncResult64()  local
2200 bzero(&replyMsg, sizeof(replyMsg)); in _sendAsyncResult64()
2201 replyMsg.msgHdr.msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND /*remote*/, in _sendAsyncResult64()
2203 replyMsg.msgHdr.msgh_remote_port = replyPort; in _sendAsyncResult64()
2204 replyMsg.msgHdr.msgh_local_port = NULL; in _sendAsyncResult64()
2205 replyMsg.msgHdr.msgh_id = kOSNotificationMessageID; in _sendAsyncResult64()
2207 replyMsg.msgHdr.msgh_size = in _sendAsyncResult64()
2208 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg64) in _sendAsyncResult64()
2210 replyMsg.m.msg64.notifyHdr.size = sizeof(IOAsyncCompletionContent) in _sendAsyncResult64()
2212 replyMsg.m.msg64.notifyHdr.type = kIOAsyncCompletionNotificationType; in _sendAsyncResult64()
2214 …bcopy(&reference[1], &replyMsg.m.msg64.notifyHdr.reference[1], sizeof(OSAsyncReference64) - sizeof… in _sendAsyncResult64()
2216 replyMsg.m.msg64.asyncContent.result = result; in _sendAsyncResult64()
2218 bcopy(args, replyMsg.m.msg64.args, numArgs * sizeof(io_user_reference_t)); in _sendAsyncResult64()
2223 replyMsg.msgHdr.msgh_size = in _sendAsyncResult64()
2224 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg32) in _sendAsyncResult64()
2227 replyMsg.m.msg32.notifyHdr.size = sizeof(IOAsyncCompletionContent) in _sendAsyncResult64()
2229 replyMsg.m.msg32.notifyHdr.type = kIOAsyncCompletionNotificationType; in _sendAsyncResult64()
2233 replyMsg.m.msg32.notifyHdr.reference[idx] = REF32(reference[idx]); in _sendAsyncResult64()
2236 replyMsg.m.msg32.asyncContent.result = result; in _sendAsyncResult64()
2239 replyMsg.m.msg32.args[idx] = REF32(args[idx]); in _sendAsyncResult64()
2244 kr = mach_msg_send_from_kernel_with_options( &replyMsg.msgHdr, in _sendAsyncResult64()
2245 replyMsg.msgHdr.msgh_size, MACH_SEND_TIMEOUT, MACH_MSG_TIMEOUT_NONE); in _sendAsyncResult64()
2248 kr = mach_msg_send_from_kernel_proper( &replyMsg.msgHdr, in _sendAsyncResult64()
2249 replyMsg.msgHdr.msgh_size); in _sendAsyncResult64()