| /freebsd/sys/dev/xen/control/ |
| H A D | control.c | 188 thread_lock(curthread); in xctrl_suspend() 193 thread_lock(curthread); in xctrl_suspend() 287 thread_lock(curthread); in xctrl_suspend() 292 thread_lock(curthread); in xctrl_suspend()
|
| /freebsd/sys/kern/ |
| H A D | kern_kthread.c | 124 thread_lock(td); in kproc_create1() 320 thread_lock(oldtd); in kthread_add1() 337 thread_lock(newtd); in kthread_add1() 421 thread_lock(td); in kthread_suspend() 447 thread_lock(td); in kthread_resume() 510 thread_lock(td); in kproc_kthread_add()
|
| H A D | kern_thread.c | 985 thread_lock(p->p_singlethread); in thread_exit() 1017 thread_lock(td); in thread_exit() 1059 thread_lock(td); in thread_wait() 1161 thread_lock(td2); in weed_inhib() 1174 thread_lock(td2); in weed_inhib() 1194 thread_lock(td2); in weed_inhib() 1285 thread_lock(td2); in thread_single() 1349 thread_lock(td2); in thread_single() 1481 thread_lock(p->p_singlethread); in thread_suspend_check() 1487 thread_lock(td); in thread_suspend_check() [all …]
|
| H A D | subr_epoch.c | 360 thread_lock(td); in epoch_adjust_prio() 605 thread_lock(td); in epoch_block_handler_preempt() 648 thread_lock(curwaittd); in epoch_block_handler_preempt() 651 thread_lock(td); in epoch_block_handler_preempt() 674 thread_lock(td); in epoch_block_handler_preempt() 679 thread_lock(td); in epoch_block_handler_preempt() 698 thread_lock(td); in epoch_block_handler_preempt() 724 thread_lock(td); in epoch_wait_preempt() 982 thread_lock(td); in epoch_drain_callbacks() 1020 thread_lock(td); in epoch_drain_callbacks()
|
| H A D | tty_info.c | 96 thread_lock(td); in proc_sum() 121 thread_lock(td); in thread_compare() 126 thread_lock(td2); in thread_compare() 345 thread_lock(td); in tty_info()
|
| H A D | subr_trap.c | 102 thread_lock(td); in userret() 261 thread_lock(td); in ast_sched() 269 thread_lock(td); in ast_sched_mask() 309 thread_lock(td); in ast_handler()
|
| H A D | subr_sleepqueue.c | 373 thread_lock(td); in sleepq_add() 411 thread_lock(td); in sleepq_set_timeout_sbt() 445 thread_lock(td); in sleepq_check_ast_sc_locked() 453 thread_lock(td); in sleepq_check_ast_sc_locked() 474 thread_lock(td); in sleepq_check_ast_sc_locked() 489 thread_lock(td); in sleepq_check_ast_sc_locked() 658 thread_lock(td); in sleepq_wait() 689 thread_lock(td); in sleepq_timedwait() 764 thread_lock(td); in sleepq_resume_thread() 878 thread_lock(td); in sleepq_remove_nested() [all …]
|
| H A D | kern_cpuset.c | 606 thread_lock(td); in domainset_notify() 948 thread_lock(curthread); in cpuset_which() 1326 thread_lock(td); in cpuset_setproc() 1343 thread_lock(td); in cpuset_setproc() 1522 thread_lock(td); in _cpuset_setthread() 1705 thread_lock(td); in cpuset_kernthread() 1851 thread_lock(td); in sys_cpuset() 1936 thread_lock(ttd); in kern_cpuset_getid() 2006 thread_lock(ttd); in kern_cpuset_getaffinity() 2029 thread_lock(ttd); in kern_cpuset_getaffinity() [all …]
|
| H A D | sched_4bsd.c | 470 thread_lock(td); in schedcpu() 791 thread_lock(td); in sched_4bsd_exit_thread() 795 thread_lock(child); in sched_4bsd_exit_thread() 834 thread_lock(td); in sched_4bsd_nice() 983 thread_lock(td); in sched_4bsd_lend_user_prio_cond() 1538 thread_lock(td); in sched_4bsd_preempt() 1550 thread_lock(td); in sched_4bsd_userret_slowpath() 1573 thread_lock(td); in sched_4bsd_bind() 1595 thread_lock(td); in sched_4bsd_relinquish()
|
| H A D | kern_thr.c | 269 thread_lock(td); in thread_create() 297 thread_lock(newtd); in thread_create() 566 thread_lock(td); in kern_thr_suspend() 598 thread_lock(ttd); in sys_thr_wake()
|
| H A D | kern_intr.c | 204 thread_lock(td); in ithread_update() 567 thread_lock(td); in ithread_create() 590 thread_lock(td); in ithread_destroy() 846 thread_lock(td); in _intr_drain() 852 thread_lock(td); in _intr_drain() 999 thread_lock(td); in intr_event_schedule_thread() 1308 thread_lock(td); in ithread_loop()
|
| H A D | kern_idle.c | 76 thread_lock(td); in idle_setup()
|
| H A D | kern_synch.c | 606 thread_lock(td); in ast_scheduler() 647 thread_lock(td); in kern_yield() 663 thread_lock(td); in sys_yield()
|
| H A D | kern_cpu.c | 340 thread_lock(curthread); in cf_set_method() 348 thread_lock(curthread); in cf_set_method() 367 thread_lock(curthread); in cf_set_method() 375 thread_lock(curthread); in cf_set_method()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | clock.c | 55 thread_lock(td); in cpu_initclocks() 60 thread_lock(td); in cpu_initclocks()
|
| /freebsd/sys/geom/ |
| H A D | geom_kern.c | 92 thread_lock(g_up_td); in g_up_procbody() 104 thread_lock(g_down_td); in g_down_procbody() 116 thread_lock(g_event_td); in g_event_procbody()
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_fork.c | 87 thread_lock(td2); in linux_fork() 117 thread_lock(td2); in linux_vfork() 227 thread_lock(td2); in linux_clone_proc() 311 thread_lock(td); in linux_clone_thread() 337 thread_lock(newtd); in linux_clone_thread()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_rcu.c | 307 thread_lock(td); in linux_synchronize_rcu_cb() 322 thread_lock(td); in linux_synchronize_rcu_cb() 360 thread_lock(td); in linux_synchronize_rcu()
|
| H A D | linux_kthread.c | 138 thread_lock(td); in linux_kthread_setup_and_run()
|
| /freebsd/sys/geom/uzip/ |
| H A D | g_uzip_wrkthr.c | 48 thread_lock(curthread); in g_uzip_wrkthr()
|
| /freebsd/sys/dev/dpaa/ |
| H A D | bman_portals.c | 159 thread_lock(curthread); in bman_portal_detach() 171 thread_lock(curthread); in bman_portal_detach()
|
| /freebsd/sys/dev/cpuctl/ |
| H A D | cpuctl.c | 115 thread_lock(td); in cpu_sched_is_bound() 130 thread_lock(td); in set_cpu() 144 thread_lock(td); in restore_cpu()
|
| /freebsd/sys/sys/ |
| H A D | mutex.h | 142 #define thread_lock(tdp) \ macro 145 #define thread_lock(tdp) \ macro 148 #define thread_lock(tdp) \ macro
|
| /freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 91 thread_lock(td); in do_thread_create()
|
| /freebsd/sys/x86/x86/ |
| H A D | stack_machdep.c | 151 thread_lock(td); in stack_save_td()
|