Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dkern_kthread.c112 td->td_pflags |= TDP_KTHREAD; in kproc_create()
303 newtd->td_pflags |= TDP_KTHREAD; in kthread_add()
386 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_suspend()
417 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_resume()
442 if ((td->td_pflags & TDP_KTHREAD) == 0) in kthread_suspend_check()
H A Dinit_main.c511 td->td_pflags = TDP_KTHREAD; in proc0_init()
H A Dkern_sendfile.c353 MPASS((curthread->td_pflags & TDP_KTHREAD) == 0); in sendfile_iodone()
/f-stack/freebsd/arm64/arm64/
H A Dvfp.c364 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
379 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
/f-stack/freebsd/amd64/amd64/
H A Dfpu.c842 if ((td->td_pflags & TDP_KTHREAD) != 0 || !PCB_USER_FPU(td->td_pcb)) { in fpu_activate_sw()
1252 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
1266 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
H A Dgenassym.c97 ASSYM(TDP_KTHREAD, TDP_KTHREAD);
H A Dcpu_switch.S92 testl $TDP_KTHREAD,TD_PFLAGS(%rdi)
160 testl $TDP_KTHREAD,TD_PFLAGS(%r12)
/f-stack/freebsd/i386/i386/
H A Dnpx.c936 if (lazy_fpu_switch || (td->td_pflags & TDP_KTHREAD) != 0 || in npxswitch()
1525 KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, in fpu_kern_thread()
1539 if ((curthread->td_pflags & TDP_KTHREAD) == 0) in is_fpu_kern_thread()
/f-stack/lib/
H A Dff_init_main.c424 td->td_flags = TDF_INMEM|TDP_KTHREAD; in proc0_init()
/f-stack/freebsd/sys/
H A Dproc.h512 #define TDP_KTHREAD 0x00200000 /* This is an official kernel thread */ macro