Lines Matching defs:parent
210 * Duplicate parent state in child
215 thread_t parent,
224 (parent_pcb = parent->machine.pcb) == NULL)
230 if (thread_is_64bit(parent))
231 bcopy(USER_REGS64(parent), USER_REGS64(child), sizeof(x86_saved_state64_t));
233 bcopy(USER_REGS32(parent), USER_REGS32(child), sizeof(x86_saved_state_compat32_t));
235 bcopy(USER_REGS32(parent), USER_REGS32(child), sizeof(x86_saved_state32_t));
238 * Check to see if parent is using floating point
241 fpu_dup_fxstate(parent, child);
245 * Copy the parent's cthread id and USER_CTHREAD descriptor, if 32-bit.
248 if (!thread_is_64bit(parent))
293 void thread_set_parent(thread_t parent, int pid);
296 thread_set_parent(thread_t parent, int pid)
298 if (thread_is_64bit(parent)) {
301 iss64 = USER_REGS64(parent);
309 iss32 = USER_REGS32(parent);