Home
last modified time | relevance | path

Searched refs:mach_msg_header_t (Results 1 – 25 of 75) sorted by relevance

123

/xnu-11215/libsyscall/mach/mach/
H A Dmach.h93 extern void mig_reply_setup(mach_msg_header_t *,
94 mach_msg_header_t *);
103 extern mach_msg_return_t mach_msg_send(mach_msg_header_t *);
107 (mach_msg_header_t *,
108 mach_msg_header_t *),
115 (mach_msg_header_t *,
116 mach_msg_header_t *),
123 (mach_msg_header_t *,
124 mach_msg_header_t *),
182 extern boolean_t voucher_mach_msg_set(mach_msg_header_t *msg);
[all …]
/xnu-11215/osfmk/kern/
H A Dipc_mig.h117 mach_msg_header_t *msg,
121 mach_msg_header_t *msg,
186 void (^builder)(mach_msg_header_t *header,
194 mach_msg_header_t *msg,
199 mach_msg_header_t *msg);
204 mach_msg_header_t *msg,
209 mach_msg_header_t *msg);
219 mach_msg_header_t *msg,
226 mach_msg_header_t *msg,
241 void (^builder)(mach_msg_header_t *,
[all …]
H A Dipc_mig.c112 mach_msg_header_t *msg, in mach_msg_send_from_kernel()
122 mach_msg_header_t *msg, in mach_msg_send_from_kernel_with_options()
176 mach_msg_header_t *msg, in kernel_mach_msg_send()
204 mach_msg_header_t *msg, in mach_msg_send_from_kernel_proper()
247 mach_msg_header_t *hdr;
335 mach_msg_header_t *msg, in kernel_mach_msg_rpc_common()
348 mach_msg_header_t *hdr; in kernel_mach_msg_rpc_common()
550 mach_msg_header_t *msg, in kernel_mach_msg_rpc()
564 mach_msg_header_t *msg, in mach_msg_rpc_from_kernel()
578 mach_msg_header_t *msg, in mach_msg_rpc_from_kernel_proper()
[all …]
/xnu-11215/osfmk/mach/
H A Dnotify.h102 mach_msg_header_t not_header;
109 mach_msg_header_t not_header;
116 mach_msg_header_t not_header;
123 mach_msg_header_t not_header;
130 mach_msg_header_t not_header;
135 mach_msg_header_t not_header;
H A Dmig.h80 typedef void (*mig_stub_routine_t) (mach_msg_header_t *InHeadP,
81 mach_msg_header_t *OutHeadP);
90 typedef mig_routine_t (*mig_server_routine_t) (mach_msg_header_t *InHeadP);
133 typedef void (*mig_stub_kern_routine_t) (mach_msg_header_t *InHeadP, void *InDataP,
134 mach_msg_max_trailer_t *InTrailerP, mach_msg_header_t *OutHeadP, void *OutDataP);
138 typedef mig_kern_routine_t (*mig_kern_server_routine_t) (mach_msg_header_t *InHeadP);
H A Dmessage.h603 } mach_msg_header_t; typedef
637 mach_msg_header_t header;
673 mach_msg_header_t msgb_header;
679 mach_msg_header_to_kbase(mach_msg_header_t *hdr) in mach_msg_header_to_kbase()
886 #define MACH_MSG_HEADER_EMPTY (mach_msg_header_t){ }
889 mach_msg_header_t header;
893 mach_msg_header_t header;
1447 mach_msg_header_t *msg,
1454 mach_msg_header_t *rcv_msg,
1469 mach_msg_header_t *msg,
[all …]
/xnu-11215/tests/
H A Dmach_exception_reply.c91 mach_msg_header_t *msg = (mach_msg_header_t *)msg_store; in handle_exceptions()
114 mach_msg_header_t hdr; in handle_exceptions()
132 mach_msg_header_t hdr; in handle_exceptions()
150 mach_msg_header_t hdr; in handle_exceptions()
168 mach_msg_header_t hdr; in handle_exceptions()
186 mach_msg_header_t hdr; in handle_exceptions()
204 mach_msg_header_t hdr; in handle_exceptions()
226 mach_msg_header_t hdr; in handle_exceptions()
250 mach_msg_header_t hdr; in handle_exceptions()
276 mach_msg_header_t hdr; in handle_exceptions()
[all …]
H A Dtest_knote_use_after_free.c55 mach_msg_header_t header; in th_allocate_knotes()
62 mach_msg_header_t header; in th_allocate_knotes()
77 request->header = (mach_msg_header_t){ in th_allocate_knotes()
189 mach_msg_header_t header;
198 mach_msg_header_t header;
214 local->header = (mach_msg_header_t){
H A Dmo_immovable_receive.c17 mach_msg_header_t header;
98 mach_msg_header_t *request; in server()
102 request = (mach_msg_header_t *)args->request_msg; in server()
176 mach_msg_header_t *request = (mach_msg_header_t *)args->request_msg; in client()
H A Dimm_pinned_control_port_crasher.c43 mach_msg_header_t header; in attempt_send_immovable_port()
144 mach_msg_header_t header; in pinned_test_move_send_as_remote_port()
169 mach_msg_header_t header; in immovable_test_move_send_as_remote_port()
310 mach_msg_header_t header; in cfi_test_no_bit_set()
330 mach_msg_header_t header; in cfi_test_two_bits_set()
353 mach_msg_header_t header; in cfi_test_msg_to_timer_port()
395 mach_msg_header_t header; in cfi_test_wrong_bit_set()
H A Dimmovable_send_client.c12 mach_msg_header_t header;
96 mach_msg_header_t *request = (mach_msg_header_t *)client_args.request_msg; in main()
H A Dprioritize_process_launch.c60 mach_msg_header_t header; in send()
109 mach_msg_header_t header; in receive()
322 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_intransit()
359 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_knote_kill()
393 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_sync_bootstrap()
H A Dport_table_limits.c83 mach_msg_header_t header;
156 mach_msg_header_t *request; in server_run()
162 request = (mach_msg_header_t *)args->request_msg; in server_run()
190 mach_msg_header_t *reply = (mach_msg_header_t *)args->reply_msg; in server_run()
H A Dhost_notifications.c22 mach_msg_header_t hdr;
26 .msgh_size = sizeof(mach_msg_header_t),
H A Dport_table_limits_client.c14 mach_msg_header_t header;
97 mach_msg_header_t *request = (mach_msg_header_t *)client_args.request_msg; in connect_to_server()
H A Dreply_port_defense_client.c86 mach_msg_header_t header; in test_immovable_receive_right()
126 mach_msg_header_t header; in test_using_send_right()
146 mach_msg_header_t header; in test_move_send_right()
175 mach_msg_header_t header; in test_move_provisional_reply_port()
/xnu-11215/libsyscall/mach/
H A Dmach_msg.c161 mach_msg_header_t *msg, in mach_msg()
191 mach_msg_header_t *msg, in mach_msg_overwrite()
198 mach_msg_header_t *rcv_msg, in mach_msg_overwrite()
315 mach_msg_send(mach_msg_header_t *msg) in mach_msg_send()
323 mach_msg_receive(mach_msg_header_t *msg) in mach_msg_receive()
392 mach_msg_destroy(mach_msg_header_t *msg) in mach_msg_destroy()
532 mach_msg_server_consume_unsent_message(mach_msg_header_t *hdr) in mach_msg_server_consume_unsent_message()
562 boolean_t (*demux)(mach_msg_header_t *, mach_msg_header_t *), in mach_msg_server_once() argument
693 boolean_t (*demux)(mach_msg_header_t *, mach_msg_header_t *), in mach_msg_server() argument
754 bufReply->Head = (mach_msg_header_t){}; in mach_msg_server()
[all …]
H A Dmig_reply_setup.c69 mig_reply_setup(mach_msg_header_t *request, mach_msg_header_t *reply) in mig_reply_setup()
/xnu-11215/iokit/Kernel/
H A DIODataQueue.cpp45 mach_msg_header_t msg;
263 mach_msg_header_t * msgh; in setNotificationPort()
266 bzero(msgh, sizeof(mach_msg_header_t)); in setNotificationPort()
268 msgh->msgh_size = sizeof(mach_msg_header_t); in setNotificationPort()
276 mach_msg_header_t * msgh; in sendDataAvailableNotification()
/xnu-11215/tests/ipc/
H A Dport_turnstile_stash.c43 mach_msg_header_t header;
52 mach_msg_header_t header;
68 local->header = (mach_msg_header_t){
126 mach_msg_header_t header;
H A Dmach_msg2.c40 mach_msg_header_t header;
67 mach_msg_header_t *msg;
162 mach_msg_header_t emptry_header = {}; in do_msg_rcv()
345 send_configs.msg = (mach_msg_header_t *)&msg;
361 send_configs.msg = (mach_msg_header_t *)&msg;
374 send_configs.msg = (mach_msg_header_t *)&msg;
387 send_configs.msg = (mach_msg_header_t *)&msg;
400 send_configs.msg = (mach_msg_header_t *)&msg;
508 mach_msg_header_t *msg = (mach_msg_header_t *)kev->ext[0]; in workloop_cb()
/xnu-11215/libsyscall/wrappers/
H A D_libkernel_init.h116 boolean_t (*voucher_mach_msg_set)(mach_msg_header_t*);
117 void (*voucher_mach_msg_clear)(mach_msg_header_t*);
118 voucher_mach_msg_state_t (*voucher_mach_msg_adopt)(mach_msg_header_t*);
/xnu-11215/osfmk/ipc/
H A Dflipc.c243 mach_msg_header_t *mmsg = (mach_msg_header_t*)MNL_MSG_PAYLOAD(fmsg); in mnl_msg_from_kmsg()
257 mach_msg_send_from_remote_kernel(mach_msg_header_t *msg, in mach_msg_send_from_remote_kernel()
296 mach_msg_header_t *mmsg; in flipc_cmd_ipc()
299 mmsg = (mach_msg_header_t*)MNL_MSG_PAYLOAD(fmsg); in flipc_cmd_ipc()
478 mach_msg_header_t *hdr = ikm_header(kmsg); in flipc_msg_to_remote_node()
600 mach_msg_header_t *msg = ikm_header(kmsg); in flipc_msg_ack()
H A Dipc_policy.h244 mach_msg_header_t *kdata,
274 mach_msg_header_t *hdr,
H A Dipc_kmsg.c223 mach_msg_header_t *hdr) in ikm_kdata_size()
297 inline mach_msg_header_t *
2976 *khdr = (mach_msg_header_t){ in ipc_kmsg_get_and_inflate_from_user()
3318 mach_msg_header_t *msg, in ipc_kmsg_copyout_header()
4483 mach_msg_header_t *hdr; in ipc_kmsg_copyout_dest_to_user()
4584 mach_msg_header_t *hdr; in ipc_kmsg_copyout_dest_to_kernel()
4642 mach_msg_header_t *hdr) in ipc_kmsg_deflate_header()
4974 mach_msg_header_t *msg, in ipc_kmsg_get_from_kernel()
4981 mach_msg_header_t *hdr; in ipc_kmsg_get_from_kernel()
5234 mach_msg_header_t *hdr; in ipc_kmsg_send()
[all …]

123