| /xnu-11215/tests/ |
| H A D | mach_exception_reply.c | 124 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 142 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 160 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 177 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 195 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 214 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 218 reply->port.name = ePort; in handle_exceptions() 236 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 259 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions() 261 reply->kr = KERN_SUCCESS; in handle_exceptions() [all …]
|
| H A D | voucher_entry_18826844.c | 23 mach_port_name_t reply; variable 56 &opts, 0, &reply), "make reply port"); 61 .msgh_local_port = reply, 74 T_ASSERT_MACH_SUCCESS(mach_port_destruct(mach_task_self(), reply, 0, 0), 78 &opts, 0, &reply), "make reply port"); 90 .msgh_local_port = reply, 102 reply, MACH_MSG_TIMEOUT_NONE, 0); 106 T_ASSERT_MACH_SUCCESS(mach_port_destruct(mach_task_self(), reply, 0, 0),
|
| H A D | test_knote_use_after_free.c | 71 move_receive_reply_t reply; in th_allocate_knotes() member 75 move_receive_reply_t *reply = &message.reply; in th_allocate_knotes() local 113 .ext = {(uint64_t)reply, sizeof(*reply), 0, 0}, in th_allocate_knotes() 121 T_QUIET; T_ASSERT_BITS_SET(reply->header.msgh_bits, MACH_MSGH_BITS_COMPLEX, "message is complex"); in th_allocate_knotes() 122 T_QUIET; T_ASSERT_EQ(reply->body.msgh_descriptor_count, (mach_msg_size_t)2, "mach_msg"); in th_allocate_knotes() 124 ports[i] = reply->port.name; in th_allocate_knotes() 125 kq_port = reply->kq_port.name; in th_allocate_knotes()
|
| H A D | port_table_limits.c | 190 mach_msg_header_t *reply = (mach_msg_header_t *)args->reply_msg; in server_run() local 191 reply->msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_COPY_SEND, 0, in server_run() 193 reply->msgh_size = (mach_msg_size_t)args->reply_msg_size; in server_run() 194 reply->msgh_remote_port = request->msgh_remote_port; in server_run() 195 reply->msgh_local_port = 0; in server_run() 196 reply->msgh_id = 2; in server_run() 198 ipc_complex_message *complexmsg = (ipc_complex_message *)reply; in server_run() 206 ret = mach_msg(reply, in server_run()
|
| H A D | kevent_info.c | 50 struct msg_reply_s reply; member 55 msg_reply_t replyp = &message.reply;
|
| /xnu-11215/osfmk/UserNotification/ |
| H A D | KUNCUserNotifications.c | 72 #define UNDReply_lock(reply) lck_mtx_lock(&reply->lock) argument 73 #define UNDReply_unlock(reply) lck_mtx_unlock(&reply->lock) argument 119 if (reply == UND_REPLY_NULL || !reply->inprogress) { in UNDAlertCompletedWithResult_rpc() 140 (reply->callback)((int)(KUNCUserNotificationID)reply, result, dict); in UNDAlertCompletedWithResult_rpc() 143 UNDReply_lock(reply); in UNDAlertCompletedWithResult_rpc() 168 UNDReply_lock(reply); in UNDNotificationCreated_rpc() 169 if (reply->inprogress || reply->userLandNotificationKey != -1) { in UNDNotificationCreated_rpc() 186 UNDReplyRef reply; in KUNCGetNotificationID() local 189 reply->self_port = ipc_kobject_alloc_port((ipc_kobject_t)reply, in KUNCGetNotificationID() 201 UNDReplyRef reply; in UNDReply_no_senders() local [all …]
|
| H A D | UNDRequest.defs | 54 in reply: UNDReplyRef; 62 in reply: UNDReplyRef; 70 in reply: UNDReplyRef;
|
| H A D | UNDReply.defs | 39 reply: UNDReplyRef; 44 reply: UNDReplyRef;
|
| /xnu-11215/bsd/net/ |
| H A D | netsrc.c | 80 struct netsrc_rep *reply) in netsrc_reply() argument 96 .nrp_src = reply->nrp_src, in netsrc_reply() 98 .nrp_label = reply->nrp_label, in netsrc_reply() 100 .nrp_dstlabel = reply->nrp_dstlabel, in netsrc_reply() 125 if (reply->nrp_min_rtt == 0) { in netsrc_common() 141 reply->nrp_flags |= NETSRC_FLAG_AWDL; in netsrc_common() 207 struct netsrc_rep reply = { in netsrc_ipv6() local 212 netsrc_common(ro.ro_rt, &reply); in netsrc_ipv6() 249 struct netsrc_rep reply = {}; in netsrc_ipv4() local 264 reply.nrp_sin = ia->ia_addr; in netsrc_ipv4() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | ipc_kobject.c | 378 ipc_kmsg_t reply, in ipc_kobject_set_reply_error_status() argument 538 *replyp = reply; in ipc_kobject_server_internal() 623 ipc_kmsg_free(reply); in ipc_kobject_server_internal() 624 reply = IKM_NULL; in ipc_kobject_server_internal() 647 ipc_kmsg_free(reply); in ipc_kobject_server_internal() 648 reply = new_reply; in ipc_kobject_server_internal() 651 *replyp = reply; in ipc_kobject_server_internal() 738 if (reply == IKM_NULL || in ipc_kobject_server() 767 reply = IKM_NULL; in ipc_kobject_server() 779 reply = IKM_NULL; in ipc_kobject_server() [all …]
|
| H A D | ipc_mig.c | 346 ipc_port_t reply; in kernel_mach_msg_rpc_common() local 373 reply = self->ith_kernel_reply_port; in kernel_mach_msg_rpc_common() 374 if (reply == IP_NULL) { in kernel_mach_msg_rpc_common() 376 reply = self->ith_kernel_reply_port; in kernel_mach_msg_rpc_common() 377 if (reply == IP_NULL) { in kernel_mach_msg_rpc_common() 399 hdr->msgh_local_port = reply; in kernel_mach_msg_rpc_common() 441 assert(!ip_in_pset(reply)); in kernel_mach_msg_rpc_common() 442 require_ip_active(reply); in kernel_mach_msg_rpc_common() 452 ipc_port_link_special_reply_port(reply, in kernel_mach_msg_rpc_common() 471 mach_msg_receive_results_complete(ip_to_object(reply)); in kernel_mach_msg_rpc_common() [all …]
|
| H A D | exclaves_driverkit.c | 1184 uint8_t reply = 0; in hello_driverkit_interrupts() local 1185 tb_message_decode_u8(response, &reply); in hello_driverkit_interrupts() 1186 exclaves_debug_printf(show_test_output, "%u\n", reply); in hello_driverkit_interrupts() 1188 if (reply != 0) { in hello_driverkit_interrupts()
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | vm_tests.c | 262 reply = calloc(1, replySize); in mach_server_make_memory_entry() 316 bzero(reply, replySize); in mach_server_make_memory_entry() 405 free(reply); in mach_server_make_memory_entry() 406 reply = NULL; in mach_server_make_memory_entry() 461 reply = calloc(1, replySize); in mach_server_read() 485 bzero(reply, replySize); in mach_server_read() 526 free(reply); in mach_server_read() 527 reply = NULL; in mach_server_read() 599 bzero(reply, replySize); in mach_server_remap() 676 free(reply); in mach_server_remap() [all …]
|
| /xnu-11215/libsyscall/mach/ |
| H A D | mig_reply_setup.c | 69 mig_reply_setup(mach_msg_header_t *request, mach_msg_header_t *reply) in mig_reply_setup() argument 72 #define OutP ((mig_reply_error_t *) reply) in mig_reply_setup()
|
| H A D | err_mach_ipc.sub | 49 /* 9 */ "(ipc/send) invalid reply port", 58 /* 18 */ "(ipc/send) invalid context for reply", 87 /* 1 */ "(ipc/mig) wrong reply message ID", 91 /* 5 */ "(ipc/mig) no reply should be sent",
|
| H A D | mach_msg.c | 517 mach_msg_server_mig_return_code(mig_reply_error_t *reply) in mach_msg_server_mig_return_code() argument 525 if (reply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) { in mach_msg_server_mig_return_code() 528 return reply->RetCode; in mach_msg_server_mig_return_code()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_kmsg.c | 3355 if (IP_VALID(reply)) { in ipc_kmsg_copyout_header() 3394 if (IP_VALID(reply)) { in ipc_kmsg_copyout_header() 3410 reply = IP_DEAD; in ipc_kmsg_copyout_header() 3458 ip_release(reply); in ipc_kmsg_copyout_header() 3643 ip_mq_lock(reply); in ipc_kmsg_copyout_header() 3651 ip_mq_unlock(reply); in ipc_kmsg_copyout_header() 3657 if (IP_VALID(reply)) { in ipc_kmsg_copyout_header() 3658 ip_release(reply); in ipc_kmsg_copyout_header() 4477 ipc_object_t reply; in ipc_kmsg_copyout_dest_to_user() local 4517 if (IO_VALID(reply)) { in ipc_kmsg_copyout_dest_to_user() [all …]
|
| H A D | ipc_policy.h | 186 #pragma mark reply port semantics telemetry [temporary]
|
| /xnu-11215/bsd/kern/ |
| H A D | netboot.c | 289 const struct dhcp * reply; in get_root_path() local 291 reply = (const struct dhcp *)pkt; in get_root_path() 292 (void)dhcpol_parse_packet(&options, reply, pkt_len); in get_root_path() 459 const struct dhcp * reply; in get_ip_parameters() local 461 reply = (const struct dhcp *)pkt; in get_ip_parameters() 462 (void)dhcpol_parse_packet(&options, reply, pkt_len); in get_ip_parameters() 463 *iaddr_p = reply->dp_yiaddr; in get_ip_parameters()
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IORPC.h | 201 IORPCMessageFromMach(IORPCMessageMach * msg, bool reply); 228 IORPCMessageMach * reply; member
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IORPC.h | 201 IORPCMessageFromMach(IORPCMessageMach * msg, bool reply); 228 IORPCMessageMach * reply; member
|
| /xnu-11215/tools/tests/MPMMTest/ |
| H A D | KQMPMMtest.c | 598 mach_msg_header_t *req, *reply; in client() local 640 reply = args.reply_msg; in client() 678 reply->msgh_bits = 0; in client() 679 reply->msgh_size = args.reply_size; in client() 680 reply->msgh_local_port = args.port; in client()
|
| H A D | MPMMtest.c | 685 mach_msg_header_t *req, *reply; in client() local 733 reply = args.reply_msg; in client() 787 reply->msgh_bits = 0; in client() 788 reply->msgh_size = args.reply_size; in client() 789 reply->msgh_local_port = args.port; in client()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOUserServer.cpp | 3091 reply = (typeof(reply))IORPCMessageFromMachReply(machReply); in objectInstantiate() 3092 if (!reply) { in objectInstantiate() 3096 bcopy(methods, &reply->methods[0], methodCount * 2 * sizeof(reply->methods[0])); in objectInstantiate() 3100 reply->__hdr.objectRefs = 0; in objectInstantiate() 3103 strlcpy(reply->classname, resultClassName, sizeof(reply->classname)); in objectInstantiate() 3215 IORPCMessage * reply; in server() local 3316 if (!reply) { in server() 3405 IORPCMessage * reply; in IOUserServerUEXTTrap() local 3493 reply = IORPCMessageFromMachReply(rpc.reply); in IOUserServerUEXTTrap() 3494 if (!reply) { in IOUserServerUEXTTrap() [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | clock_reply.defs | 34 * file defines the clock reply interface.
|