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

/darwin-on-arm/xnu/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)
69 UNDReplyRef reply);
74 UNDReplyRef reply)
78 UNDReply_lock(reply);
79 port = reply->self_port;
82 reply->self_port = IP_NULL;
83 UNDReply_unlock(reply);
73 UNDReply_deallocate( UNDReplyRef reply) argument
114 UNDAlertCompletedWithResult_rpc( UNDReplyRef reply, int result, xmlData_t keyRef, mach_msg_type_number_t keyLen) argument
171 UNDNotificationCreated_rpc( UNDReplyRef reply, int userLandNotificationKey) argument
197 UNDReplyRef reply; local
236 UNDReplyRef reply = (UNDReplyRef)id; local
349 UNDReplyRef reply = (UNDReplyRef)id; local
396 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;
/darwin-on-arm/xnu/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)
/darwin-on-arm/xnu/osfmk/kern/
H A Dipc_mig.c200 * Send a message from the kernel and receive a reply.
201 * Uses ith_rpc_reply for the reply port.
209 * MACH_RCV_PORT_DIED The reply port was deallocated.
255 ipc_port_t reply; local
266 reply = self->ith_rpc_reply;
267 if (reply == IP_NULL) {
268 reply = ipc_port_alloc_reply();
269 if ((reply == IP_NULL) ||
272 self->ith_rpc_reply = reply;
275 /* insert send-once right for the reply por
[all...]
H A Dipc_kobject.c261 * Generates a reply message.
272 ipc_kmsg_t reply; local
303 reply = ipc_kmsg_alloc(reply_size);
305 if (reply == IKM_NULL) {
312 * Initialize reply message.
316 #define OutP ((mig_reply_error_t *) reply->ikm_header)
321 * whole reply buffer.
350 (*ptr->routine)(request->ikm_header, reply->ikm_header);
355 if (!ipc_kobject_notify(request->ikm_header, reply->ikm_header)){
362 ((mig_reply_error_t *) reply
[all...]
/darwin-on-arm/xnu/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...]
/darwin-on-arm/xnu/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.c208 * and incremented by 1/cwnd when each rpc reply is received and a full cwnd
351 uint32_t reply = 0, rxid = 0, verf_type, verf_len; local
356 nfsm_chain_get_32(error, &nmrep, reply);
357 if (!error && ((reply != RPC_REPLY) || (rxid != nso->nso_pingxid)))
2465 * If we hit an error building the reply, we can't easily back up.
2545 /* build reply header */
2562 /* reply status */
2601 /* Calculate the size of the reply */
2610 /* send the reply */
3222 * Match an RPC reply wit
3229 u_int32_t reply = 0, rxid = 0; local
4868 uint32_t rxid = 0, reply = 0, reply_status, rejected_status; local
[all...]
/darwin-on-arm/xnu/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
592 struct dhcp * reply; local
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c299 const struct dhcp * reply; local
301 reply = (const struct dhcp *)pkt;
302 (void)dhcpol_parse_packet(&options, reply, pkt_len);
511 const struct dhcp * reply; local
513 reply = (const struct dhcp *)pkt;
514 (void)dhcpol_parse_packet(&options, reply, pkt_len);
515 *iaddr_p = reply->dp_yiaddr;
/darwin-on-arm/xnu/osfmk/ipc/
H A Dipc_kmsg.c1384 * Call the server routine, and get the reply message to send.
1393 /* fall thru with reply - same options */
1568 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
1642 * Destination and reply ports are the same!
1672 * checked for reply port errors above,
1690 * Either dest or reply needs a receive right.
1695 * by reply (and verified by copyin_check) will
1808 * No reply port! This is an easy case
1851 * For example, suppose both dest and reply are
1863 * we intend to separate the dest lookup from the reply copyi
2930 ipc_port_t reply = (ipc_port_t) msg->msgh_local_port; local
3699 ipc_object_t reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port; local
3737 ipc_object_t reply; local
3956 ipc_object_t reply; local
3994 ipc_object_t reply; local
[all...]
/darwin-on-arm/xnu/osfmk/mach/
H A Dthread_act.defs288 reply : mach_port_make_send_t);
H A Dtask.defs292 reply : mach_port_make_send_t);
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/osfmk/mach/arm/
H A Dthread_act.h312 mach_port_t reply
650 mach_msg_port_descriptor_t reply; member in struct:__anon1196
H A Dtask.h356 mach_port_t reply
844 mach_msg_port_descriptor_t reply; member in struct:__anon1128

Completed in 117 milliseconds