Lines Matching refs:kerr
108 kern_return_t kerr;
110 kerr = mach_port_allocate (mach_task_self (),
112 CHECK_MACH_ERROR (kerr, "mach_port_allocate failed:");
114 kerr = mach_port_insert_right (mach_task_self (),
116 CHECK_MACH_ERROR (kerr, "mach_port_insert_right failed:");
126 kern_return_t kerr;
145 kerr = mach_msg_send (&msg.header);
146 CHECK_MACH_ERROR(kerr, "mach_msg_send failed:");
154 kern_return_t kerr;
162 kerr = mach_msg(&msg.header, MACH_RCV_MSG,
165 CHECK_MACH_ERROR(kerr, "mach_msg failed:");
175 int kerr, i;
197 kerr = mach_msg(&message.head, /* The header */
204 if (kerr)
205 errx(1, "client mach_msg: %s", mach_error_string(kerr));
213 int kerr, i;
220 kerr = mach_msg(&rmessage.head, /* The header */
227 if (kerr)
228 errx(1, "client mach_msg MACH_RCV_MSG: %s", mach_error_string(kerr));
239 kern_return_t kerr;
245 kerr = task_set_bootstrap_port(mach_task_self(), parent_recv_port);
246 CHECK_MACH_ERROR(kerr, "task_set_bootstrap_port failed:");
252 kerr = task_get_bootstrap_port(mach_task_self(), &parent_recv_port);
253 CHECK_MACH_ERROR(kerr, "task_get_bootstrap_port failed:");
262 kerr = task_set_bootstrap_port(mach_task_self(), bootstrap_port);
263 CHECK_MACH_ERROR(kerr, "task_set_bootstrap_port failed:");
271 kerr = task_set_bootstrap_port(mach_task_self(), bootstrap_port);
272 CHECK_MACH_ERROR(kerr, "task_set_bootstrap_port failed:");
279 kerr = mach_port_deallocate(mach_task_self(), parent_recv_port);
280 CHECK_MACH_ERROR(kerr, "mach_port_deallocate failed:");