Lines Matching refs:thread
58 ….thread = &initial_thread, .addr_limit = 0xffffffffffffffff, .pid = 0, .priority = 2, …
111 initial_tss[proc_current_cpu_id].rsp0 = next->thread->rbp; in __switch_to()
119 : "=a"(prev->thread->fs)); in __switch_to()
121 : "=a"(prev->thread->gs)); in __switch_to()
123 __asm__ __volatile__("movq %0, %%fs \n\t" ::"a"(next->thread->fs)); in __switch_to()
124 __asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs)); in __switch_to()
205 current_pcb->thread->rip = (ul)ret_from_intr; in initial_kernel_thread()
206 current_pcb->thread->rsp = (ul)current_pcb + STACK_SIZE - sizeof(struct pt_regs); in initial_kernel_thread()
207 current_pcb->thread->fs = USER_DS | 0x3; in initial_kernel_thread()
209 current_pcb->thread->gs = USER_DS | 0x3; in initial_kernel_thread()
210 process_switch_fsgs(current_pcb->thread->fs, current_pcb->thread->gs); in initial_kernel_thread()
216 regs = (struct pt_regs *)current_pcb->thread->rsp; in initial_kernel_thread()
223 "jmp rs_exec_init_process \n\t" ::"D"(current_pcb->thread->rsp), in initial_kernel_thread()
224 "m"(current_pcb->thread->rsp), "m"(current_pcb->thread->rip), "c"(NULL), in initial_kernel_thread()