| /freebsd-12.1/sys/dev/xen/control/ |
| H A D | control.c | 211 thread_lock(curthread); in xctrl_suspend() 216 thread_lock(curthread); in xctrl_suspend() 316 thread_lock(curthread); in xctrl_suspend() 321 thread_lock(curthread); in xctrl_suspend()
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_epoch.c | 197 thread_lock(td); in epoch_adjust_prio() 383 thread_lock(td); in epoch_block_handler_preempt() 426 thread_lock(curwaittd); in epoch_block_handler_preempt() 429 thread_lock(td); in epoch_block_handler_preempt() 452 thread_lock(td); in epoch_block_handler_preempt() 457 thread_lock(td); in epoch_block_handler_preempt() 477 thread_lock(td); in epoch_block_handler_preempt() 502 thread_lock(td); in epoch_wait_preempt() 699 thread_lock(td); in epoch_drain_callbacks()
|
| H A D | tty_info.c | 90 thread_lock(td); in proc_sum() 115 thread_lock(td); in thread_compare() 120 thread_lock(td2); in thread_compare() 272 thread_lock(td); in tty_info()
|
| H A D | kern_kthread.c | 141 thread_lock(td); in kproc_create() 308 thread_lock(oldtd); in kthread_add() 325 thread_lock(newtd); in kthread_add() 394 thread_lock(td); in kthread_suspend() 420 thread_lock(td); in kthread_resume()
|
| H A D | kern_thread.c | 564 thread_lock(p->p_singlethread); in thread_exit() 594 thread_lock(td); in thread_exit() 636 thread_lock(td); in thread_wait() 830 thread_lock(td2); in thread_single() 895 thread_lock(td2); in thread_single() 1020 thread_lock(p->p_singlethread); in thread_suspend_check() 1029 thread_lock(td); in thread_suspend_check() 1063 thread_lock(td); in thread_suspend_switch() 1124 thread_lock(td); in thread_unsuspend() 1139 thread_lock(p->p_singlethread); in thread_unsuspend() [all …]
|
| H A D | subr_trap.c | 118 thread_lock(td); in userret() 249 thread_lock(td); in ast() 287 thread_lock(td); in ast() 300 thread_lock(td); in ast()
|
| H A D | subr_sleepqueue.c | 365 thread_lock(td); in sleepq_add() 401 thread_lock(td); in sleepq_set_timeout_sbt() 450 thread_lock(td); in sleepq_catch_signals() 458 thread_lock(td); in sleepq_catch_signals() 476 thread_lock(td); in sleepq_catch_signals() 524 thread_lock(td); in sleepq_catch_signals() 704 thread_lock(td); in sleepq_wait() 739 thread_lock(td); in sleepq_timedwait() 993 thread_lock(td); in sleepq_remove_matching() 1020 thread_lock(td); in sleepq_timeout() [all …]
|
| H A D | kern_cpuset.c | 572 thread_lock(td); in domainset_notify() 1159 thread_lock(td); in cpuset_setproc() 1176 thread_lock(td); in cpuset_setproc() 1353 thread_lock(td); in _cpuset_setthread() 1530 thread_lock(td); in cpuset_kernthread() 1597 thread_lock(td); in sys_cpuset() 1680 thread_lock(ttd); in kern_cpuset_getid() 1762 thread_lock(ttd); in kern_cpuset_getaffinity() 1786 thread_lock(ttd); in kern_cpuset_getaffinity() 1898 thread_lock(ttd); in kern_cpuset_setaffinity() [all …]
|
| H A D | kern_thr.c | 255 thread_lock(td); in thread_create() 274 thread_lock(newtd); in thread_create() 538 thread_lock(td); in kern_thr_suspend() 570 thread_lock(ttd); in sys_thr_wake()
|
| H A D | sched_4bsd.c | 477 thread_lock(td); in schedcpu() 759 thread_lock(td); in sched_exit_thread() 763 thread_lock(child); in sched_exit_thread() 802 thread_lock(td); in sched_nice() 1475 thread_lock(td); in sched_preempt() 1487 thread_lock(td); in sched_userret_slowpath() 1531 thread_lock(td); in sched_relinquish()
|
| H A D | kern_intr.c | 176 thread_lock(td); in ithread_update() 521 thread_lock(td); in ithread_create() 538 thread_lock(td); in ithread_destroy() 782 thread_lock(td); in _intr_drain() 788 thread_lock(td); in _intr_drain() 961 thread_lock(td); in intr_event_schedule_thread() 1231 thread_lock(td); in ithread_loop()
|
| H A D | kern_idle.c | 79 thread_lock(td); in idle_setup()
|
| /freebsd-12.1/sys/dev/dpaa/ |
| H A D | bman_portals.c | 86 thread_lock(curthread); in bman_portals_detach() 92 thread_lock(curthread); in bman_portals_detach() 144 thread_lock(curthread); in bman_portal_setup()
|
| H A D | qman_portals.c | 91 thread_lock(curthread); in qman_portals_detach() 97 thread_lock(curthread); in qman_portals_detach() 149 thread_lock(curthread); in qman_portal_setup()
|
| H A D | bman.c | 282 thread_lock(curthread); in bman_pool_destroy() 288 thread_lock(curthread); in bman_pool_destroy()
|
| /freebsd-12.1/sys/dev/coretemp/ |
| H A D | coretemp.c | 316 thread_lock(curthread); in coretemp_get_thermal_msr() 332 thread_lock(curthread); in coretemp_get_thermal_msr() 342 thread_lock(curthread); in coretemp_clear_thermal_msr() 348 thread_lock(curthread); in coretemp_clear_thermal_msr()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_kern.c | 95 thread_lock(g_up_td); in g_up_procbody() 107 thread_lock(g_down_td); in g_down_procbody() 119 thread_lock(g_event_td); in g_event_procbody()
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_fork.c | 97 thread_lock(td2); in linux_fork() 133 thread_lock(td2); in linux_vfork() 253 thread_lock(td2); in linux_clone_proc() 350 thread_lock(td); in linux_clone_thread() 382 thread_lock(newtd); in linux_clone_thread()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_rcu.c | 256 thread_lock(td); in linux_synchronize_rcu_cb() 270 thread_lock(td); in linux_synchronize_rcu_cb() 305 thread_lock(td); in linux_synchronize_rcu()
|
| /freebsd-12.1/sys/mips/nlm/ |
| H A D | cms.c | 289 thread_lock(td); in msgring_process_fast_intr() 317 thread_lock(td); in msgring_process() 351 thread_lock(td); in msgring_process() 382 thread_lock(td); in create_msgring_thread()
|
| /freebsd-12.1/sys/vm/ |
| H A D | vm_swapout.c | 445 thread_lock(td); in vm_daemon() 715 thread_lock(td); in swapper_selector() 851 thread_lock(td); in swapout_procs() 893 thread_lock(td); in swapclear() 940 thread_lock(td); in swapout()
|
| /freebsd-12.1/sys/geom/uzip/ |
| H A D | g_uzip_wrkthr.c | 51 thread_lock(curthread); in g_uzip_wrkthr()
|
| /freebsd-12.1/sys/dev/usb/ |
| H A D | usb_process.c | 66 #define thread_lock(td) mtx_lock_spin(&sched_lock) macro 116 thread_lock(td); in usb_process()
|
| /freebsd-12.1/sys/dev/cpuctl/ |
| H A D | cpuctl.c | 118 thread_lock(td); in cpu_sched_is_bound() 133 thread_lock(td); in set_cpu() 147 thread_lock(td); in restore_cpu()
|
| /freebsd-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | proc.h | 83 thread_lock(td); in do_thread_create()
|