Searched refs:reply (Results 1 - 16 of 16) sorted by relevance

/xnu-2422.115.4/osfmk/UserNotification/
H A DKUNCUserNotifications.c64 #define UNDReply_lock(reply) lck_mtx_lock(&reply->lock)
65 #define UNDReply_unlock(reply) lck_mtx_lock(&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 DUNDReply.defs39 reply: UNDReplyRef;
44 reply: UNDReplyRef;
H A DUNDRequest.defs54 in reply: UNDReplyRef;
62 in reply: UNDReplyRef;
70 in reply: UNDReplyRef;
/xnu-2422.115.4/libsyscall/mach/
H A Dmig_reply_setup.c55 * 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-2422.115.4/osfmk/kern/
H A Dipc_kobject.c263 * Generates a reply message.
274 ipc_kmsg_t reply; local
305 reply = ipc_kmsg_alloc(reply_size);
307 if (reply == IKM_NULL) {
314 * Initialize reply message.
318 #define OutP ((mig_reply_error_t *) reply->ikm_header)
323 * whole reply buffer.
347 (*ptr->routine)(request->ikm_header, reply->ikm_header);
351 if (!ipc_kobject_notify(request->ikm_header, reply->ikm_header)){
358 ((mig_reply_error_t *) reply
[all...]
H A Dipc_mig.c253 * 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-2422.115.4/tools/tests/libMicro/apple/
H A Dlb_mmtest.c152 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-2422.115.4/bsd/nfs/
H A Dkrpc_subr.c202 * 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 Dnfs_socket.c210 * 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 */
2597 * If we hit an error building the reply, we can't easily back up.
2677 /* build reply header */
2694 /* reply status */
2733 /* Calculate the size of the reply */
2742 /* send the reply */
3361 u_int32_t reply = 0, rxid = 0; local
5001 uint32_t rxid = 0, reply = 0, reply_status, rejected_status; local
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Din_dhcp.c130 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-2422.115.4/bsd/kern/
H A Dnetboot.c296 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-2422.115.4/osfmk/ipc/
H A Dipc_kmsg.c1401 * Call the server routine, and get the reply message to send.
1410 /* fall thru with reply - same options */
1665 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
1744 * Destination and reply ports are the same!
1774 * checked for reply port errors above,
1804 * Either dest or reply needs a receive right.
1809 * by reply (and verified by copyin_check) will
1954 * No reply port! This is an easy case
2008 * For example, suppose both dest and reply are
2020 * we intend to separate the dest lookup from the reply copyi
3150 ipc_port_t reply = (ipc_port_t) msg->msgh_local_port; local
3922 ipc_object_t reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port; local
3960 ipc_object_t reply; local
4179 ipc_object_t reply; local
4217 ipc_object_t reply; local
[all...]
/xnu-2422.115.4/osfmk/mach/
H A Dthread_act.defs288 reply : mach_port_make_send_t);
H A Dtask.defs299 reply : mach_port_make_send_t);
/xnu-2422.115.4/tools/tests/MPMMTest/
H A DMPMMtest.c92 fprintf(stderr, " -oneway\t\tdo not request return reply\n");
402 printf("server sending reply %d\n", idx);
509 mach_msg_header_t *req, *reply; local
549 reply = args.reply_msg;
584 printf("client awaiting reply %d\n", idx);
585 reply->msgh_bits = 0;
586 reply->msgh_size = args.reply_size;
587 reply->msgh_local_port = args.port;
602 printf("client received reply %d\n", idx);
H A DKQMPMMtest.c93 fprintf(stderr, " -oneway\t\tdo not request return reply\n");
454 printf("server sending reply %d\n", idx);
562 mach_msg_header_t *req, *reply; local
602 reply = args.reply_msg;
637 printf("client awaiting reply %d\n", idx);
638 reply->msgh_bits = 0;
639 reply->msgh_size = args.reply_size;
640 reply->msgh_local_port = args.port;
655 printf("client received reply %d\n", idx);

Completed in 101 milliseconds