Lines Matching refs:replyMsg
1298 ReplyMsg replyMsg;
1310 replyMsg.msgHdr.msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND /*remote*/,
1312 replyMsg.msgHdr.msgh_remote_port = replyPort;
1313 replyMsg.msgHdr.msgh_local_port = 0;
1314 replyMsg.msgHdr.msgh_id = kOSNotificationMessageID;
1317 replyMsg.msgHdr.msgh_size =
1318 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg64)
1320 replyMsg.m.msg64.notifyHdr.size = sizeof(IOAsyncCompletionContent)
1322 replyMsg.m.msg64.notifyHdr.type = kIOAsyncCompletionNotificationType;
1323 bcopy(reference, replyMsg.m.msg64.notifyHdr.reference, sizeof(OSAsyncReference64));
1325 replyMsg.m.msg64.asyncContent.result = result;
1327 bcopy(args, replyMsg.m.msg64.args, numArgs * sizeof(io_user_reference_t));
1333 replyMsg.msgHdr.msgh_size =
1334 sizeof(replyMsg.msgHdr) + sizeof(replyMsg.m.msg32)
1337 replyMsg.m.msg32.notifyHdr.size = sizeof(IOAsyncCompletionContent)
1339 replyMsg.m.msg32.notifyHdr.type = kIOAsyncCompletionNotificationType;
1342 replyMsg.m.msg32.notifyHdr.reference[idx] = REF32(reference[idx]);
1344 replyMsg.m.msg32.asyncContent.result = result;
1347 replyMsg.m.msg32.args[idx] = REF32(args[idx]);
1350 kr = mach_msg_send_from_kernel_proper( &replyMsg.msgHdr,
1351 replyMsg.msgHdr.msgh_size);