Lines Matching defs:self
275 thread_t self = current_thread();
279 ipc_object_t object = self->ith_object;
280 mach_msg_return_t mr = self->ith_state;
281 mach_vm_address_t msg_addr = self->ith_msg_addr;
282 mach_msg_option_t option = self->ith_option;
283 ipc_kmsg_t kmsg = self->ith_kmsg;
284 mach_port_seqno_t seqno = self->ith_seqno;
300 if (copyout((char *) &self->ith_msize,
380 mach_msg_size_t slist_size = self->ith_scatter_list_size;
422 thread_t self = current_thread();
434 self->ith_msg_addr = CAST_DOWN(mach_vm_address_t, msg);
435 self->ith_object = object;
436 self->ith_msize = rcv_size;
437 self->ith_option = option;
438 self->ith_scatter_list_size = slist_size;
439 self->ith_continuation = continuation;
443 thread_poll_yield(self);
450 thread_t self = current_thread();
452 (*self->ith_continuation)(mach_msg_receive_results());
668 thread_t self = current_thread();
670 ipc_space_t space = self->task->itk_space;
1248 * Put self on receive port's queue.
1253 thread_lock(self);
1254 self->ith_msg_addr = (rcv_msg_addr) ? rcv_msg_addr : msg_addr;
1255 self->ith_object = rcv_object; /* still holds reference */
1256 self->ith_msize = rcv_size;
1257 self->ith_option = option;
1258 self->ith_scatter_list_size = scatter_list_size;
1259 self->ith_continuation = thread_syscall_return;
1265 self);
1266 thread_unlock(self);
1756 self->ith_continuation = (void (*)(mach_msg_return_t))0;
1763 mr = self->ith_state;
1764 temp_seqno = self->ith_seqno;
1772 kmsg = self->ith_kmsg;
1868 thread_t self = current_thread();
1886 self->ith_msg_addr = rcv_msg_addr;
1888 self->ith_msg_addr = rcv_msg_addr;
1890 self->ith_msg_addr = msg_addr;
1891 self->ith_object = object;
1892 self->ith_msize = rcv_size;
1893 self->ith_option = option;
1894 self->ith_scatter_list_size = scatter_list_size;
1895 self->ith_continuation = thread_syscall_return;
1899 thread_poll_yield(self);