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

/macosx-10.5.8/xnu-1228.15.4/osfmk/UserNotification/
H A DKUNCUserNotifications.c64 #define UNDReply_lock(reply) mutex_lock(&reply->lock)
65 #define UNDReply_lock_try(reply) mutex_lock_try(&(reply)->lock)
66 #define UNDReply_unlock(reply) mutex_unlock(&(reply)->lock)
70 UNDReplyRef reply);
75 UNDReplyRef reply)
79 UNDReply_lock(reply);
80 port = reply
74 UNDReply_deallocate( UNDReplyRef reply) argument
115 UNDAlertCompletedWithResult_rpc( UNDReplyRef reply, int result, xmlData_t keyRef, mach_msg_type_number_t keyLen) argument
172 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...]
/macosx-10.5.8/xnu-1228.15.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)
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dipc_mig.c155 * Send a message from the kernel and receive a reply.
156 * Uses ith_rpc_reply for the reply port.
164 * MACH_RCV_PORT_DIED The reply port was deallocated.
174 ipc_port_t reply; local
186 reply = self->ith_rpc_reply;
187 if (reply == IP_NULL) {
188 reply = ipc_port_alloc_reply();
189 if ((reply == IP_NULL) ||
192 self->ith_rpc_reply = reply;
195 /* insert send-once right for the reply por
[all...]
H A Dipc_kobject.c255 * Generates a reply message.
266 ipc_kmsg_t reply; local
297 reply = ipc_kmsg_alloc(reply_size);
299 if (reply == IKM_NULL) {
306 * Initialize reply message.
310 #define OutP ((mig_reply_error_t *) reply->ikm_header)
331 (*ptr->routine)(request->ikm_header, reply->ikm_header);
335 if (!ipc_kobject_notify(request->ikm_header, reply->ikm_header)){
342 ((mig_reply_error_t *) reply->ikm_header)->RetCode
377 if (!(reply
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dkrpc_subr.c203 * Do a remote procedure call (RPC) and wait for its reply.
218 struct rpc_reply *reply; local
357 * Send it, repeatedly, until a reply is received,
391 * Wait for up to timo seconds for a reply.
463 /* Does the reply contain at least a header? */
468 reply = mbuf_data(m);
470 /* Is it the right reply? */
471 if (reply->rp_direction != htonl(RPC_REPLY))
474 if (reply->rp_xid != htonl(xid))
478 if (reply
[all...]
H A Dnfs_socket.c174 * and incremented by 1/cwnd when each rpc reply is received and a full cwnd
231 * unconnected for servers that reply from a different address/port.
1167 * Match an RPC reply with the corresponding request
1174 u_long reply = 0, rxid = 0; local
1178 /* Get the xid and check that it is an rpc reply */
1181 nfsm_chain_get_32(error, &nmrep, reply);
1182 if (error || (reply != RPC_REPLY)) {
1189 * Loop through the request list to match up the reply
1281 * Wait for the reply for a given request...
1348 * - call nfs_wait_reply() to wait for the reply
[all...]
H A Dnfs_vfsops.c2018 uint32_t rxid, reply, reply_status, rejected_status; local
2055 nfsm_chain_get_32(error, nmrep, reply);
2057 if ((rxid != xid) || (reply != RPC_REPLY))
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_dhcp.c130 uint8_t reply[DHCP_PAYLOAD_MIN]; member in struct:dhcp_context
149 return ((struct dhcp *)context->reply);
420 struct dhcp * reply; local
425 reply = dhcp_context_reply(context);
428 error = receive_packet(context->so, context->reply,
429 sizeof(context->reply), &n);
440 if (ntohl(reply->dp_xid) != context->xid
441 || bcmp(reply->dp_chaddr, link_address(context->dl_p),
446 (void)dhcpol_parse_packet(&options, reply, n);
464 || reply
610 struct dhcp * reply; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_kmsg.c935 * Call the server routine, and get the reply message to send.
944 /* fall thru with reply - same options */
1070 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
1152 * Destination and reply ports are the same!
1181 * checked for reply port errors above,
1197 * Either dest or reply needs a receive right.
1202 * by reply (and verified by copyin_check) will
1305 * No reply port! This is an easy case
1347 * For example, suppose both dest and reply are
1359 * we intend to separate the dest lookup from the reply copyi
2137 ipc_port_t reply = (ipc_port_t) msg->msgh_local_port; local
2965 ipc_object_t reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port; local
3003 ipc_object_t reply; local
3215 ipc_object_t reply; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMMtest.c114 fprintf(stderr, " -oneway\t\tdo not request return reply\n");
337 printf("server sending reply %d\n", idx);
388 mach_msg_header_t *req, *reply; local
410 reply = args.reply_msg;
458 printf("client awaiting reply %d\n", idx);
459 reply->msgh_bits = 0;
460 reply->msgh_size = args.reply_size;
461 reply->msgh_local_port = args.port;
476 printf("client received reply %d\n", idx);
H A DMPMMtest.c107 fprintf(stderr, " -oneway\t\tdo not request return reply\n");
381 printf("server sending reply %d\n", idx);
486 mach_msg_header_t *req, *reply; local
526 reply = args.reply_msg;
574 printf("client awaiting reply %d\n", idx);
575 reply->msgh_bits = 0;
576 reply->msgh_size = args.reply_size;
577 reply->msgh_local_port = args.port;
592 printf("client received reply %d\n", idx);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dnetboot.c331 const struct dhcp * reply; local
333 reply = (const struct dhcp *)pkt;
334 (void)dhcpol_parse_packet(&options, reply, pkt_len);
518 const struct dhcp * reply; local
520 reply = (const struct dhcp *)pkt;
521 (void)dhcpol_parse_packet(&options, reply, pkt_len);
522 *iaddr_p = reply->dp_yiaddr;

Completed in 136 milliseconds