Home
last modified time | relevance | path

Searched refs:msgh_local_port (Results 1 – 25 of 35) sorted by relevance

12

/NextBSD/sys/compat/mach/ipc/
HDipc_notify.c145 m->msgh_local_port = MACH_PORT_NULL; in ipc_notify_init_port_deleted()
172 m->msgh_local_port = MACH_PORT_NULL; in ipc_notify_init_port_destroyed()
200 m->msgh_local_port = MACH_PORT_NULL; in ipc_notify_init_no_senders()
226 m->msgh_local_port = MACH_PORT_NULL; in ipc_notify_init_send_once()
249 m->msgh_local_port = MACH_PORT_NULL; in ipc_notify_init_dead_name()
HDipc_kmsg.c292 mach_port_name_t msgh_local_port; member
702 object = (ipc_object_t) kmsg->ikm_header->msgh_local_port; in ipc_kmsg_clean_partial()
735 object = (ipc_object_t) kmsg->ikm_header->msgh_local_port; in ipc_kmsg_clean()
824 kmsg->ikm_header->msgh_local_port = CAST_MACH_NAME_TO_PORT(legacy_base.header.msgh_local_port); in ipc_kmsg_get()
937 mach_port_name_t local_port = CAST_MACH_PORT_TO_NAME(kmsg->ikm_header->msgh_local_port); in ipc_kmsg_put()
942 legacy_header->msgh_local_port = local_port; in ipc_kmsg_put()
1046 mach_port_name_t reply_name = CAST_MACH_PORT_TO_NAME(msg->msgh_local_port); in ipc_kmsg_copyin_header()
1452 msg->msgh_local_port = (mach_port_t) reply_port; in ipc_kmsg_copyin_header()
1961 ipc_object_t local = (ipc_object_t) kmsg->ikm_header->msgh_local_port; in ipc_kmsg_copyin_from_kernel()
2118 ipc_port_t reply = (ipc_port_t) msg->msgh_local_port; in ipc_kmsg_copyout_header()
[all …]
HDipc_kobject.c333 OutP->Head.msgh_remote_port = InP->msgh_local_port; in ipc_kobject_server()
334 OutP->Head.msgh_local_port = MACH_PORT_NULL; in ipc_kobject_server()
415 request->ikm_header->msgh_local_port = MACH_PORT_NULL; in ipc_kobject_server()
HDmach_msg.c562 (void *) (msg_addr + offsetof(mach_msg_header_t, msgh_local_port)), in mach_msg_receive_results_error()
/NextBSD/usr.bin/mach-tests/ipc-hello/
HDipc-hello.c88 printf("msgh_local_port=%d\n", hdr->msgh_local_port); in print_msg_header()
105 message.header.msgh_local_port = port; in server()
143 message.header.msgh_local_port = MACH_PORT_NULL; in server()
231 message.header.msgh_local_port = receive; /* Reply port */ in main()
/NextBSD/lib/libmach/mach/
HDmig_reply_setup.c73 OutP->Head.msgh_remote_port = InP->msgh_local_port; in mig_reply_setup()
74 OutP->Head.msgh_local_port = MACH_PORT_NULL; in mig_reply_setup()
HDmach_msg.c175 0, msg->msgh_size, msg->msgh_local_port, in mach_msg_receive()
/NextBSD/lib/libxpc/
HDxpc_misc.c376 message->header.msgh_local_port = MACH_PORT_NULL; in xpc_pipe_routine_reply()
411 message->header.msgh_local_port = local; in xpc_pipe_send()
446 request->msgh_local_port = local; in xpc_pipe_receive()
450 0, request->msgh_size, request->msgh_local_port, in xpc_pipe_receive()
493 request->msgh_local_port = portset; in xpc_pipe_try_receive()
497 0, request->msgh_size, request->msgh_local_port, in xpc_pipe_try_receive()
/NextBSD/usr.bin/mach-tests/bootstrap/server/
HDbootstrap-server.c38 message.hdr.msgh_local_port = port; in main()
49 reply.hdr.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/server-libdispatch/
HDbootstrap-libdispatch-server.c50 message.hdr.msgh_local_port = port; in main()
61 reply.hdr.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/client/
HDbootstrap-kqueue-client.c58 message.hdr.msgh_local_port = reply_port; in main()
76 message.hdr.msgh_local_port = reply_port; in main()
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/server/
HDbootstrap-kqueue-server.c67 message.hdr.msgh_local_port = port; in main()
86 reply.hdr.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/server-inline-receive/
HDbootstrap-inline-receive-server.c69 message.hdr.msgh_local_port = port; in main()
82 reply.hdr.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/server-portset-fiddling/
HDbootstrap-portset-fiddling-server.c89 message.hdr.msgh_local_port = pset; in main()
108 reply.hdr.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/contrib/openbsm/bin/auditd/
HDauditd_darwin.c383 mach_port_t local_port = InHeadP->msgh_local_port; in auditd_combined_server()
478 msg.header.msgh_local_port = MACH_PORT_NULL; in auditd_relay_signal()
/NextBSD/sys/compat/mach/
HDclock_server.c110 #define msgh_reply_port msgh_local_port
113 #define msgh_request_port msgh_local_port
642 OutHeadP->msgh_local_port = MACH_PORT_NULL; in clock_server()
HDmach_vm_server.c110 #define msgh_reply_port msgh_local_port
113 #define msgh_request_port msgh_local_port
3004 OutHeadP->msgh_local_port = MACH_PORT_NULL; in mach_vm_server()
/NextBSD/contrib/gdb/gdb/
HDstop-gdb.c98 msg.msgh_local_port = MACH_PORT_NULL; in main()
/NextBSD/usr.bin/mach-tests/bootstrap/client/
HDbootstrap-client.c48 message.hdr.msgh_local_port = reply_port; in main()
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDConnectionMachPort.cpp283 message.head.msgh_local_port = MACH_PORT_NULL; in Send()
/NextBSD/lib/libdispatch/src/
HDsource.c2766 mach_port_t name = hdr->msgh_local_port; in _dispatch_kevent_mach_msg_recv()
3302 hdr->msgh_local_port, hdr->msgh_id, hdr->msgh_remote_port); in _dispatch_mach_msg_recv()
3351 if (local_port) hdr->msgh_local_port = local_port; in _dispatch_mach_msg_disconnected()
3367 hdr->msgh_local_port = dmsg->dmsg_reply; in _dispatch_mach_msg_create_reply_disconnected()
3374 hdr->msgh_local_port = (mach_port_t)dmr->dmr_dkev->dk_kevent.ident; in _dispatch_mach_msg_create_reply_disconnected()
3666 MACH_PORT_VALID(msg->msgh_local_port) ? msg->msgh_local_port : in dispatch_mach_send()
4171 if (hdr->msgh_local_port && hdr->msgh_remote_port) { in _dispatch_mach_msg_debug()
4173 "remote 0x%x", hdr->msgh_local_port, hdr->msgh_remote_port); in _dispatch_mach_msg_debug()
4174 } else if (hdr->msgh_local_port) { in _dispatch_mach_msg_debug()
4176 hdr->msgh_local_port); in _dispatch_mach_msg_debug()
/NextBSD/sys/sys/mach/
HDmessage.h392 mach_port_t msgh_local_port; member
/NextBSD/lib/libmach/test/kqueue_tests/
HDkqueue_tests.c121 my_kmsg->msgh_local_port = MACH_PORT_NULL; in kmsg_send()
/NextBSD/usr.bin/mach-tests/kqueue-tests/
HDkqueue-tests.c121 my_kmsg->msgh_local_port = MACH_PORT_NULL; in kmsg_send()
/NextBSD/lib/libosxsupport/
HDsi_module.c1080 msg.header.msgh_local_port = MACH_PORT_NULL; in si_async_launchpad()
1175 mach_port_t reply = msg->msgh_local_port; in si_async_handle_reply()

12