Lines Matching refs:stack
489 * Monitor the stack depth and report new max,
848 * Code and stack selectors have already been
885 /* Check pc and stack are canonical addresses */
919 * Code and stack selectors have already been
1842 vm_offset_t stack = thr_act->kernel_stack;
1845 (long)stack, STACK_IKS(stack)->k_eip, STACK_IKS(stack)->k_ebx,
1846 STACK_IKS(stack)->k_esp, thr_act->machine.iss);
1876 * detach and return a kernel stack from a thread
1882 vm_offset_t stack;
1889 stack = thread->kernel_stack;
1892 return (stack);
1896 * attach a kernel stack to a thread and initialize it
1902 vm_offset_t stack)
1910 assert(stack);
1911 thread->kernel_stack = stack;
1913 statep = STACK_IKS(stack);
1917 statep->k_rsp = (unsigned long) (STACK_IKS(stack) - 1);
1921 statep->k_esp = (unsigned long) (STACK_IKS(stack) - 1);
1928 * move a stack from old to new thread
1935 vm_offset_t stack;
1944 stack = old->kernel_stack;
1945 if (stack == old->reserved_stack) {
1948 new->reserved_stack = stack;
1953 * because old stack is already initialized.
1955 new->kernel_stack = stack;