Lines Matching refs:reply

119 			reply_fmt_t *reply = (reply_fmt_t *)reply_store;  in handle_exceptions()  local
121 reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, 0, 0, 0); in handle_exceptions()
122 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
123 reply->hdr.msgh_local_port = MACH_PORT_NULL; in handle_exceptions()
124 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
125 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
137 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
139reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, MACH_MSG_TYPE_COPY_SEND, 0… in handle_exceptions()
140 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
141 reply->hdr.msgh_local_port = ePort; /* Bogus */ in handle_exceptions()
142 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
143 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
155 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
157reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, MACH_MSG_TYPE_MOVE_SEND, 0… in handle_exceptions()
158 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
159 reply->hdr.msgh_local_port = ePort; /* Bogus */ in handle_exceptions()
160 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
161 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
172 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
174reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, MACH_MSG_TYPE_COPY_SEND, 0… in handle_exceptions()
175 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
176 reply->hdr.msgh_local_port = ePort; /* Bogus */ in handle_exceptions()
177 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
178 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
179 reply->body.msgh_descriptor_count = 0; in handle_exceptions()
190 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
192reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, MACH_MSG_TYPE_MOVE_SEND, 0… in handle_exceptions()
193 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
194 reply->hdr.msgh_local_port = ePort; /* Bogus */ in handle_exceptions()
195 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
196 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
197 reply->body.msgh_descriptor_count = 0; in handle_exceptions()
209 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
211reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, 0, 0, MACH_MSGH_BITS_COMPL… in handle_exceptions()
212 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
213 reply->hdr.msgh_local_port = MACH_PORT_NULL; in handle_exceptions()
214 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
215 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
216 reply->body.msgh_descriptor_count = 1; in handle_exceptions()
217 reply->port.type = MACH_MSG_PORT_DESCRIPTOR; in handle_exceptions()
218 reply->port.name = ePort; in handle_exceptions()
219 reply->port.disposition = MACH_MSG_TYPE_COPY_SEND; in handle_exceptions()
231 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
233reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, 0, 0, MACH_MSGH_BITS_COMPL… in handle_exceptions()
234 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
235 reply->hdr.msgh_local_port = MACH_PORT_NULL; in handle_exceptions()
236 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
237 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
238 reply->body.msgh_descriptor_count = 1; in handle_exceptions()
239 reply->ool.type = MACH_MSG_OOL_DESCRIPTOR; in handle_exceptions()
240 reply->ool.address = (void *)page; in handle_exceptions()
241 reply->ool.size = PG_ALLOC; in handle_exceptions()
242 reply->ool.deallocate = 0; in handle_exceptions()
243 reply->ool.copy = MACH_MSG_VIRTUAL_COPY; in handle_exceptions()
255 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
257 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
258 reply->hdr.msgh_local_port = MACH_PORT_NULL; in handle_exceptions()
259 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
260 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
261 reply->kr = KERN_SUCCESS; in handle_exceptions()
264 reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, in handle_exceptions()
268 reply->hdr.msgh_voucher_port = voucher; in handle_exceptions()
281 reply_fmt_t *reply = (reply_fmt_t *)reply_store; in handle_exceptions() local
283 reply->hdr.msgh_remote_port = msg->msgh_remote_port; in handle_exceptions()
284 reply->hdr.msgh_local_port = MACH_PORT_NULL; in handle_exceptions()
285 reply->hdr.msgh_size = sizeof(*reply); in handle_exceptions()
286 reply->hdr.msgh_id = msg->msgh_id + 100; in handle_exceptions()
287 reply->kr = KERN_SUCCESS; in handle_exceptions()
290 reply->hdr.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_MOVE_SEND_ONCE, in handle_exceptions()
293 reply->hdr.msgh_voucher_port = (mach_voucher_t)0xdead; in handle_exceptions()