/xnu-2782.1.97/osfmk/UserNotification/ |
H A D | KUNCUserNotifications.c | 64 #define UNDReply_lock(reply) lck_mtx_lock(&reply->lock) 65 #define UNDReply_unlock(reply) lck_mtx_unlock(&reply->lock) 71 UNDReplyRef reply); 76 UNDReplyRef reply) 80 UNDReply_lock(reply); 81 port = reply->self_port; 84 reply->self_port = IP_NULL; 85 UNDReply_unlock(reply); 75 UNDReply_deallocate( UNDReplyRef reply) argument 117 UNDAlertCompletedWithResult_rpc( UNDReplyRef reply, int result, xmlData_t keyRef, mach_msg_type_number_t keyLen) argument 174 UNDNotificationCreated_rpc( UNDReplyRef reply, int userLandNotificationKey) argument 199 UNDReplyRef reply; local 238 UNDReplyRef reply = (UNDReplyRef)id; local 351 UNDReplyRef reply = (UNDReplyRef)id; local 398 UNDReplyRef reply; local [all...] |
H A D | UNDReply.defs | 39 reply: UNDReplyRef; 44 reply: UNDReplyRef;
|
H A D | UNDRequest.defs | 54 in reply: UNDReplyRef; 62 in reply: UNDReplyRef; 70 in reply: UNDReplyRef;
|
/xnu-2782.1.97/libsyscall/mach/ |
H A D | mig_reply_setup.c | 55 * Routine to set up a MiG reply message from a request message. 57 * Knows about the MiG reply message ID convention: 69 mig_reply_setup(mach_msg_header_t *request, mach_msg_header_t *reply) argument 72 #define OutP ((mig_reply_error_t *) reply)
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | ipc_kobject.c | 254 * Generates a reply message. 265 ipc_kmsg_t reply; local 296 reply = ipc_kmsg_alloc(reply_size); 298 if (reply == IKM_NULL) { 305 * Initialize reply message. 309 #define OutP ((mig_reply_error_t *) reply->ikm_header) 314 * whole reply buffer. 338 (*ptr->routine)(request->ikm_header, reply->ikm_header); 342 if (!ipc_kobject_notify(request->ikm_header, reply->ikm_header)){ 349 ((mig_reply_error_t *) reply [all...] |
H A D | ipc_mig.c | 253 * Send a message from the kernel and receive a reply. 254 * Uses ith_rpc_reply for the reply port. 262 * MACH_RCV_PORT_DIED The reply port was deallocated. 308 ipc_port_t reply; local 319 reply = self->ith_rpc_reply; 320 if (reply == IP_NULL) { 321 reply = ipc_port_alloc_reply(); 322 if ((reply == IP_NULL) || 325 self->ith_rpc_reply = reply; 328 /* insert send-once right for the reply por [all...] |
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lb_mmtest.c | 152 mach_msg_header_t *reply; local 160 reply = (mach_msg_header_t *)ts->reply_msg; 193 if (ts->verbose) printf("Sending reply\n"); 194 reply->msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_MOVE_SEND_ONCE, 0); 195 reply->msgh_size = ts->reply_msg_size; 196 reply->msgh_remote_port = request->msgh_remote_port; 197 reply->msgh_local_port = MACH_PORT_NULL; 198 reply->msgh_id = 2; 206 ret = mach_msg( reply, 213 tmp = reply; 238 mach_msg_header_t *reply; local [all...] |
/xnu-2782.1.97/bsd/nfs/ |
H A D | krpc_subr.c | 202 * Do a remote procedure call (RPC) and wait for its reply. 217 struct rpc_reply *reply; local 356 * Send it, repeatedly, until a reply is received, 390 * Wait for up to timo seconds for a reply. 462 /* Does the reply contain at least a header? */ 467 reply = mbuf_data(m); 469 /* Is it the right reply? */ 470 if (reply->rp_direction != htonl(RPC_REPLY)) 473 if (reply->rp_xid != htonl(xid)) 477 if (reply [all...] |
H A D | nfs_socket.c | 210 * and incremented by 1/cwnd when each rpc reply is received and a full cwnd 353 uint32_t reply = 0, rxid = 0, verf_type, verf_len; local 358 nfsm_chain_get_32(error, &nmrep, reply); 359 if (!error && ((reply != RPC_REPLY) || (rxid != nso->nso_pingxid))) 955 /* If we were succesfull at sending a ping, wait up to a second for a reply */ 2629 * If we hit an error building the reply, we can't easily back up. 2709 /* build reply header */ 2726 /* reply status */ 2765 /* Calculate the size of the reply */ 2774 /* send the reply */ 3398 u_int32_t reply = 0, rxid = 0; local 5099 uint32_t rxid = 0, reply = 0, reply_status, rejected_status; local [all...] |
/xnu-2782.1.97/bsd/netinet/ |
H A D | in_dhcp.c | 130 uint8_t reply[DHCP_PAYLOAD_MIN]; member in struct:dhcp_context 149 return ((struct dhcp *)(void *)context->reply); 402 struct dhcp * reply; local 407 reply = dhcp_context_reply(context); 410 error = receive_packet(context->so, context->reply, 411 sizeof(context->reply), &n); 422 if (ntohl(reply->dp_xid) != context->xid 423 || bcmp(reply->dp_chaddr, link_address(context->dl_p), 428 (void)dhcpol_parse_packet(&options, reply, n); 446 || reply 588 struct dhcp * reply; local [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | netboot.c | 296 const struct dhcp * reply; local 298 reply = (const struct dhcp *)pkt; 299 (void)dhcpol_parse_packet(&options, reply, pkt_len); 508 const struct dhcp * reply; local 510 reply = (const struct dhcp *)pkt; 511 (void)dhcpol_parse_packet(&options, reply, pkt_len); 512 *iaddr_p = reply->dp_yiaddr;
|
/xnu-2782.1.97/osfmk/ipc/ |
H A D | ipc_kmsg.c | 1428 * Call the server routine, and get the reply message to send. 1437 /* fall thru with reply - same options */ 1641 * MACH_SEND_INVALID_REPLY Can't copyin reply port. 1704 * actually copy in until we validate destination and reply. 1731 * Handle combinations of validating destination and reply; along 1732 * with copying in destination, reply, and voucher in an atomic way. 1748 * Make sure a future copyin of the reply port will succeed. 1755 /* It is just WRONG if dest, voucher, and reply are all the same. */ 1796 * Perform the delayed reply right copyin (guaranteed success). 1820 * Destination and reply port 3091 ipc_port_t reply = msg->msgh_local_port; local 3961 ipc_object_t reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port; local 4022 ipc_object_t reply; local 4257 ipc_object_t reply; local 4295 ipc_object_t reply; local [all...] |
/xnu-2782.1.97/tools/tests/MPMMTest/ |
H A D | MPMMtest.c | 90 fprintf(stderr, " -oneway\t\tdo not request return reply\n"); 398 printf("server sending reply %d\n", idx); 505 mach_msg_header_t *req, *reply; local 545 reply = args.reply_msg; 580 printf("client awaiting reply %d\n", idx); 581 reply->msgh_bits = 0; 582 reply->msgh_size = args.reply_size; 583 reply->msgh_local_port = args.port; 598 printf("client received reply %d\n", idx);
|
H A D | KQMPMMtest.c | 91 fprintf(stderr, " -oneway\t\tdo not request return reply\n"); 450 printf("server sending reply %d\n", idx); 558 mach_msg_header_t *req, *reply; local 598 reply = args.reply_msg; 633 printf("client awaiting reply %d\n", idx); 634 reply->msgh_bits = 0; 635 reply->msgh_size = args.reply_size; 636 reply->msgh_local_port = args.port; 651 printf("client received reply %d\n", idx);
|
/xnu-2782.1.97/osfmk/mach/ |
H A D | thread_act.defs | 294 reply : mach_port_make_send_t);
|
H A D | task.defs | 299 reply : mach_port_make_send_t);
|