Home
last modified time | relevance | path

Searched refs:td0 (Results 1 – 11 of 11) sorted by relevance

/freebsd-12-stable/sys/arm64/arm64/
Dvm_machdep.c171 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
173 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
174 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); in cpu_copy_thread()
185 td->td_md.md_saved_daif = td0->td_md.md_saved_daif & ~DAIF_I_MASKED; in cpu_copy_thread()
/freebsd-12-stable/sys/riscv/riscv/
Dvm_machdep.c161 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
164 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
165 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); in cpu_copy_thread()
/freebsd-12-stable/sys/amd64/amd64/
Dvm_machdep.c498 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
509 update_pcb_bases(td0->td_pcb); in cpu_copy_thread()
510 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread()
514 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread()
521 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
/freebsd-12-stable/sys/arm/arm/
Dvm_machdep.c239 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
242 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
243 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); in cpu_copy_thread()
/freebsd-12-stable/sys/i386/i386/
Dvm_machdep.c440 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
452 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread()
456 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread()
462 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
/freebsd-12-stable/sys/sparc64/sparc64/
Dvm_machdep.c179 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
185 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
/freebsd-12-stable/sys/mips/mips/
Dvm_machdep.c355 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
376 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread()
/freebsd-12-stable/sys/powerpc/powerpc/
Dexec_machdep.c942 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() argument
951 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread()
955 bcopy(td0->td_frame, tf, sizeof(struct trapframe)); in cpu_copy_thread()
/freebsd-12-stable/sys/kern/
Dkern_proc.c950 struct thread *td0; in fill_kinfo_proc_only() local
1012 FOREACH_THREAD_IN_PROC(p, td0) { in fill_kinfo_proc_only()
1013 if (!TD_IS_SWAPPED(td0)) in fill_kinfo_proc_only()
1014 kp->ki_rssize += td0->td_kstack_pages; in fill_kinfo_proc_only()
1044 FOREACH_THREAD_IN_PROC(p, td0) in fill_kinfo_proc_only()
1045 kp->ki_cow += td0->td_cow; in fill_kinfo_proc_only()
Dkern_sig.c552 struct thread *td0; in sigqueue_delete_set_proc() local
559 FOREACH_THREAD_IN_PROC(p, td0) in sigqueue_delete_set_proc()
560 sigqueue_move_set(&td0->td_sigqueue, &worklist, set); in sigqueue_delete_set_proc()
/freebsd-12-stable/sys/sys/
Dproc.h1125 void cpu_copy_thread(struct thread *td, struct thread *td0);