| /src/sys/x86/cpufreq/ |
| H A D | hwpstate_intel.c | 131 thread_lock(curthread); in intel_hwp_dump_sysctl_handler() 179 thread_lock(curthread); in intel_hwp_dump_sysctl_handler() 258 thread_lock(curthread); in sysctl_epp_select() 317 thread_lock(curthread); in sysctl_epp_select() 373 thread_lock(curthread); in set_autonomous_hwp() 461 thread_lock(curthread); in set_autonomous_hwp() 581 thread_lock(curthread); in intel_hwpstate_resume() 624 thread_lock(curthread); in intel_hwpstate_resume()
|
| /src/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()
|
| /src/sys/riscv/riscv/ |
| H A D | clock.c | 55 thread_lock(td); in cpu_initclocks() 60 thread_lock(td); in cpu_initclocks()
|
| /src/sys/kern/ |
| H A D | kern_kthread.c | 124 thread_lock(td); in kproc_create1() 319 thread_lock(oldtd); in kthread_add1() 336 thread_lock(newtd); in kthread_add1() 420 thread_lock(td); in kthread_suspend() 446 thread_lock(td); in kthread_resume() 509 thread_lock(td); in kproc_kthread_add()
|
| H A D | kern_thread.c | 984 thread_lock(p->p_singlethread); in thread_exit() 1016 thread_lock(td); in thread_exit() 1058 thread_lock(td); in thread_wait() 1160 thread_lock(td2); in weed_inhib() 1173 thread_lock(td2); in weed_inhib() 1193 thread_lock(td2); in weed_inhib() 1284 thread_lock(td2); in thread_single() 1348 thread_lock(td2); in thread_single() 1480 thread_lock(p->p_singlethread); in thread_suspend_check() 1486 thread_lock(td); in thread_suspend_check() [all …]
|
| 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_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()
|
| 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() 789 thread_lock(td); in sched_4bsd_exit_thread() 793 thread_lock(child); in sched_4bsd_exit_thread() 832 thread_lock(td); in sched_4bsd_nice() 981 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_idle.c | 76 thread_lock(td); in idle_setup()
|
| 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() 1315 thread_lock(td); in ithread_loop()
|
| 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()
|
| /src/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()
|
| /src/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()
|
| /src/sys/dev/dpaa/ |
| H A D | bman_portals.c | 85 thread_lock(curthread); in bman_portals_detach() 91 thread_lock(curthread); in bman_portals_detach()
|
| H A D | qman_portals.c | 90 thread_lock(curthread); in qman_portals_detach() 96 thread_lock(curthread); in qman_portals_detach()
|
| H A D | bman.c | 277 thread_lock(curthread); in bman_pool_destroy() 283 thread_lock(curthread); in bman_pool_destroy()
|
| /src/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()
|
| /src/sys/geom/uzip/ |
| H A D | g_uzip_wrkthr.c | 48 thread_lock(curthread); in g_uzip_wrkthr()
|
| /src/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()
|
| /src/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
|
| /src/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 91 thread_lock(td); in do_thread_create()
|