/freebsd/sys/kern/ |
H A D | sched_4bsd.c | 479 thread_lock(td); in schedcpu() 795 thread_lock(td); in sched_exit_thread() 799 thread_lock(child); in sched_exit_thread() 838 thread_lock(td); in sched_nice() 987 thread_lock(td); in sched_lend_user_prio_cond() 1542 thread_lock(td); in sched_preempt() 1554 thread_lock(td); in sched_userret_slowpath() 1577 thread_lock(td); in sched_bind() 1599 thread_lock(td); in sched_relinquish()
|
H A D | sched_ule.c | 2013 thread_lock(td); in sched_lend_user_prio_cond() 2320 thread_lock(td); in sched_nice() 2501 thread_lock(td); in sched_exit_thread() 2516 thread_lock(td); in sched_preempt() 2543 thread_lock(td); in sched_userret_slowpath() 2917 thread_lock(td); in sched_bind() 2950 thread_lock(td); in sched_relinquish() 3010 thread_lock(td); in sched_idletd()
|
H A D | kern_timeout.c | 386 thread_lock(td); in start_softclock() 832 thread_lock(td); in softclock_thread()
|
H A D | subr_taskqueue.c | 759 thread_lock(td); in _taskqueue_start_threads()
|
H A D | subr_gtaskqueue.c | 500 thread_lock(td); in _gtaskqueue_start_threads() 763 thread_lock(curthread); in taskqgroup_binder()
|
H A D | subr_smp.c | 998 thread_lock(curthread); in quiesce_cpus() 1011 thread_lock(curthread); in quiesce_cpus()
|
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 | kern_resource.c | 495 thread_lock(td); in rtp_to_pri() 517 thread_lock(td); in pri_to_rtp() 1083 thread_lock(td); in kern_getrusage() 1156 thread_lock(td); in ruxagg()
|
H A D | kern_acct.c | 604 thread_lock(curthread); in acct_thread()
|
H A D | kern_cpu.c | 332 thread_lock(curthread); in cf_set_method() 340 thread_lock(curthread); in cf_set_method() 359 thread_lock(curthread); in cf_set_method() 367 thread_lock(curthread); in cf_set_method()
|
H A D | kern_idle.c | 76 thread_lock(td); in idle_setup()
|
H A D | kern_clock.c | 271 thread_lock(td); in deadlkres()
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 2022 thread_lock(curthread); in g_journal_worker()
|
/freebsd/sys/vm/ |
H A D | vm_page.c | 3787 thread_lock(td); in vm_page_pqbatch_drain() 3804 thread_lock(td); in vm_page_pqbatch_drain()
|
H A D | vm_meter.c | 189 thread_lock(td); in vmtotal()
|
H A D | vm_pageout.c | 1957 thread_lock(td); in vm_pageout_oom()
|
/freebsd/sys/net/ |
H A D | if_epair.c | 867 thread_lock(curthread); in epair_mod_init() 882 thread_lock(curthread); in epair_mod_init()
|
/freebsd/sys/dev/xen/control/ |
H A D | control.c | 220 thread_lock(curthread); in xctrl_suspend() 225 thread_lock(curthread); in xctrl_suspend() 319 thread_lock(curthread); in xctrl_suspend() 324 thread_lock(curthread); in xctrl_suspend()
|
/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/x86/isa/ |
H A D | clock.c | 425 thread_lock(td); in cpu_initclocks() 430 thread_lock(td); in cpu_initclocks()
|
/freebsd/sys/x86/x86/ |
H A D | cpu_machdep.c | 179 thread_lock(td); in x86_msr_op() 195 thread_lock(td); in x86_msr_op() 327 thread_lock(curthread); in cpu_est_clockrate() 356 thread_lock(curthread); in cpu_est_clockrate()
|
/freebsd/sys/x86/cpufreq/ |
H A D | hwpstate_amd.c | 202 thread_lock(curthread); in hwpstate_goto_pstate() 215 thread_lock(curthread); in hwpstate_goto_pstate()
|
H A D | hwpstate_intel.c | 135 thread_lock(curthread); in intel_hwp_dump_sysctl_handler() 183 thread_lock(curthread); in intel_hwp_dump_sysctl_handler() 262 thread_lock(curthread); in sysctl_epp_select() 321 thread_lock(curthread); in sysctl_epp_select() 377 thread_lock(curthread); in set_autonomous_hwp() 465 thread_lock(curthread); in set_autonomous_hwp() 585 thread_lock(curthread); in intel_hwpstate_resume() 628 thread_lock(curthread); in intel_hwpstate_resume()
|
/freebsd/sys/tests/epoch/ |
H A D | epoch_test.c | 152 thread_lock(td); in test_modinit()
|
/freebsd/sys/riscv/riscv/ |
H A D | clock.c | 55 thread_lock(td); in cpu_initclocks() 60 thread_lock(td); in cpu_initclocks()
|