Home
last modified time | relevance | path

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

123

/xnu-10063.101.15/libsyscall/mach/mach/
H A Dmach.h93 extern void mig_reply_setup(mach_msg_header_t *,
94 mach_msg_header_t *);
97 extern void mach_msg_destroy(mach_msg_header_t *);
100 extern mach_msg_return_t mach_msg_receive(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 *,
[all …]
/xnu-10063.101.15/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.h555 } mach_msg_header_t; typedef
586 #define MACH_MSG_NULL ((mach_msg_header_t *) 0)
589 mach_msg_header_t header;
804 #define MACH_MSG_HEADER_EMPTY (mach_msg_header_t){ }
807 mach_msg_header_t header;
811 mach_msg_header_t header;
1315 mach_msg_header_t *msg,
1322 mach_msg_header_t *rcv_msg,
1337 mach_msg_header_t *msg,
1365 mach_msg_header_t header, in mach_msg2()
/xnu-10063.101.15/osfmk/kern/
H A Dipc_mig.h114 mach_msg_header_t *msg,
176 void (^builder)(mach_msg_header_t *header,
181 mach_msg_header_t *msg,
188 mach_msg_header_t *msg);
195 mach_msg_header_t *msg,
202 mach_msg_header_t *msg,
214 void (^builder)(mach_msg_header_t *,
218 mach_msg_header_t *msg,
H A Dipc_mig.c112 mach_msg_header_t *msg, in mach_msg_send_from_kernel_proper()
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()
207 void (^builder)(mach_msg_header_t *,
212 mach_msg_header_t *hdr;
226 send_size = sizeof(mach_msg_header_t) + payload_size;
269 void (^builder)(mach_msg_header_t *,
293 mach_msg_header_t *msg, in mach_msg_rpc_from_kernel_proper()
302 mach_msg_header_t *msg, in kernel_mach_msg_rpc()
314 mach_msg_header_t *hdr; in kernel_mach_msg_rpc()
[all …]
/xnu-10063.101.15/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.c16 mach_msg_header_t header;
97 mach_msg_header_t *request; in server()
101 request = (mach_msg_header_t *)args->request_msg; in server()
175 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 Dreply_port_defense_client.c84 mach_msg_header_t header; in test_immovable_receive_right()
124 mach_msg_header_t header; in test_using_send_right()
144 mach_msg_header_t header; in test_move_send_right()
173 mach_msg_header_t header; in test_move_provisional_reply_port()
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.c82 mach_msg_header_t header;
155 mach_msg_header_t *request; in server_run()
161 request = (mach_msg_header_t *)args->request_msg; in server_run()
189 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 Dvoucher_entry_18826844.c52 mach_msg_header_t request_msg_1 = {
67 mach_msg_header_t request_msg_2 = {
/xnu-10063.101.15/libsyscall/mach/
H A Dmach_msg.c66 extern int proc_importance_assertion_begin_with_msg(mach_msg_header_t * msg, mach_msg_trailer_t * t…
161 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
[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-10063.101.15/iokit/Kernel/
H A DIODataQueue.cpp44 mach_msg_header_t msg;
262 mach_msg_header_t * msgh; in setNotificationPort()
265 bzero(msgh, sizeof(mach_msg_header_t)); in setNotificationPort()
267 msgh->msgh_size = sizeof(mach_msg_header_t); in setNotificationPort()
275 mach_msg_header_t * msgh; in sendDataAvailableNotification()
/xnu-10063.101.15/tests/ipc/
H A Dport_turnstile_stash.c42 mach_msg_header_t header;
51 mach_msg_header_t header;
67 local->header = (mach_msg_header_t){
125 mach_msg_header_t header;
H A Dmach_msg2.c39 mach_msg_header_t header;
66 mach_msg_header_t *msg;
161 mach_msg_header_t emptry_header = {}; in do_msg_rcv()
344 send_configs.msg = (mach_msg_header_t *)&msg;
360 send_configs.msg = (mach_msg_header_t *)&msg;
373 send_configs.msg = (mach_msg_header_t *)&msg;
386 send_configs.msg = (mach_msg_header_t *)&msg;
399 send_configs.msg = (mach_msg_header_t *)&msg;
507 mach_msg_header_t *msg = (mach_msg_header_t *)kev->ext[0]; in workloop_cb()
/xnu-10063.101.15/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-10063.101.15/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_kmsg.c176 ((mach_msg_size_t)(sizeof(mach_msg_header_t) - sizeof(mach_msg_user_header_t)))
413 mach_msg_size_t hdr_size = sizeof(mach_msg_header_t) - header_adj; in ikm_total_desc_size()
420 offsetof(mach_msg_header_t, msgh_bits)); in ikm_total_desc_size()
422 offsetof(mach_msg_header_t, msgh_size)); in ikm_total_desc_size()
424 mach_msg_header_t *hdr = (mach_msg_header_t *)((vm_offset_t)ikm_header(kmsg) + header_adj); in ikm_total_desc_size()
465 mach_msg_size_t hdr_size = sizeof(mach_msg_header_t); in ikm_check_descriptors()
467 mach_msg_header_t *hdr = ikm_header(kmsg); in ikm_check_descriptors()
504 mach_msg_size_t hdr_size = sizeof(mach_msg_header_t) - header_adj; in ikm_content_size()
511 mach_msg_header_t *hdr = (mach_msg_header_t *)((vm_offset_t)ikm_header(kmsg) + header_adj); in ikm_content_size()
543 mach_msg_header_t *hdr = (mach_msg_header_t *)((vm_offset_t)ikm_header(kmsg) + header_adj); in ikm_kdata_size()
[all …]

123