Home
last modified time | relevance | path

Searched refs:TDP_KTHREAD (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/sys/kern/
H A Dkern_kthread.c111 td->td_pflags |= TDP_KTHREAD; in kproc_create()
302 newtd->td_pflags |= TDP_KTHREAD; in kthread_add()
385 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_suspend()
416 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_resume()
441 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_suspend_check()
H A Dinit_main.c509 td->td_pflags = TDP_KTHREAD; in proc0_init()
/freebsd-12.1/sys/arm64/arm64/
H A Dvfp.c361 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
376 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
/freebsd-12.1/sys/amd64/amd64/
H A Dfpu.c776 if ((td->td_pflags & TDP_KTHREAD) != 0 || !PCB_USER_FPU(td->td_pcb)) { in fpu_activate_sw()
1172 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
1186 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
H A Dgenassym.c95 ASSYM(TDP_KTHREAD, TDP_KTHREAD);
H A Dcpu_switch.S104 testl $TDP_KTHREAD,TD_PFLAGS(%rdi)
171 testl $TDP_KTHREAD,TD_PFLAGS(%r12)
/freebsd-12.1/sys/i386/i386/
H A Dnpx.c931 if (lazy_fpu_switch || (td->td_pflags & TDP_KTHREAD) != 0 || in npxswitch()
1450 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
1464 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
/freebsd-12.1/sys/sys/
H A Dproc.h488 #define TDP_KTHREAD 0x00200000 /* This is an official kernel thread */ macro
/freebsd-12.1/sys/ufs/ffs/
H A Dffs_softdep.c13506 if ((td->td_pflags & TDP_KTHREAD) != 0 && in schedule_cleanup()
13564 if ((td->td_pflags & TDP_KTHREAD) != 0 || !req) in softdep_ast_cleanup_proc()
13662 if ((td->td_pflags & TDP_KTHREAD) == 0)