Lines Matching refs:msg

63 extern int proc_importance_assertion_begin_with_msg(mach_msg_header_t * msg, mach_msg_trailer_t * t…
66 #define MACH_MSG_TRAP(msg, opt, ssize, rsize, rname, to, not) \ argument
67 mach_msg_trap((msg), (opt), (ssize), (rsize), (rname), (to), (not))
97 mach_msg_header_t *msg, in mach_msg() argument
119 mr = MACH_MSG_TRAP(msg, option & ~LIBMACH_OPTIONS, in mach_msg()
128 mr = MACH_MSG_TRAP(msg, in mach_msg()
137 mr = MACH_MSG_TRAP(msg, in mach_msg()
165 mach_msg_header_t *msg, in mach_msg_overwrite() argument
189 mr = mach_msg_overwrite_trap(msg, option & ~LIBMACH_OPTIONS, in mach_msg_overwrite()
198 mr = mach_msg_overwrite_trap(msg, in mach_msg_overwrite()
207 mr = mach_msg_overwrite_trap(msg, in mach_msg_overwrite()
219 mach_msg_send(mach_msg_header_t *msg) in mach_msg_send() argument
221 return mach_msg(msg, MACH_SEND_MSG, in mach_msg_send()
222 msg->msgh_size, 0, MACH_PORT_NULL, in mach_msg_send()
227 mach_msg_receive(mach_msg_header_t *msg) in mach_msg_receive() argument
229 return mach_msg(msg, MACH_RCV_MSG, in mach_msg_receive()
230 0, msg->msgh_size, msg->msgh_local_port, in mach_msg_receive()
296 mach_msg_destroy(mach_msg_header_t *msg) in mach_msg_destroy() argument
298 mach_msg_bits_t mbits = msg->msgh_bits; in mach_msg_destroy()
305 mach_msg_destroy_port(msg->msgh_remote_port, MACH_MSGH_BITS_REMOTE(mbits)); in mach_msg_destroy()
306 mach_msg_destroy_port(msg->msgh_voucher_port, MACH_MSGH_BITS_VOUCHER(mbits)); in mach_msg_destroy()
313 base = (mach_msg_base_t *) msg; in mach_msg_destroy()