Home
last modified time | relevance | path

Searched refs:thread_lock (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-13.1/sys/x86/cpufreq/
H A Dhwpstate_intel.c140 thread_lock(curthread); in intel_hwp_dump_sysctl_handler()
188 thread_lock(curthread); in intel_hwp_dump_sysctl_handler()
267 thread_lock(curthread); in sysctl_epp_select()
326 thread_lock(curthread); in sysctl_epp_select()
382 thread_lock(curthread); in set_autonomous_hwp()
470 thread_lock(curthread); in set_autonomous_hwp()
590 thread_lock(curthread); in intel_hwpstate_resume()
633 thread_lock(curthread); in intel_hwpstate_resume()
/freebsd-13.1/sys/dev/xen/control/
H A Dcontrol.c213 thread_lock(curthread); in xctrl_suspend()
218 thread_lock(curthread); in xctrl_suspend()
311 thread_lock(curthread); in xctrl_suspend()
316 thread_lock(curthread); in xctrl_suspend()
/freebsd-13.1/sys/riscv/riscv/
H A Dclock.c58 thread_lock(td); in cpu_initclocks()
63 thread_lock(td); in cpu_initclocks()
/freebsd-13.1/sys/dev/dpaa/
H A Dbman_portals.c86 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 Dqman_portals.c91 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 Dbman.c282 thread_lock(curthread); in bman_pool_destroy()
288 thread_lock(curthread); in bman_pool_destroy()
/freebsd-13.1/sys/kern/
H A Dkern_thread.c961 thread_lock(td); in thread_exit()
1003 thread_lock(td); in thread_wait()
1109 thread_lock(td2); in weed_inhib()
1122 thread_lock(td2); in weed_inhib()
1142 thread_lock(td2); in weed_inhib()
1228 thread_lock(td2); in thread_single()
1427 thread_lock(td); in thread_suspend_check()
1503 thread_lock(td); in thread_suspend_switch()
1560 thread_lock(td); in thread_run_flash()
1588 thread_lock(td); in thread_unsuspend()
[all …]
H A Dkern_kthread.c133 thread_lock(td); in kproc_create()
302 thread_lock(oldtd); in kthread_add()
319 thread_lock(newtd); in kthread_add()
388 thread_lock(td); in kthread_suspend()
414 thread_lock(td); in kthread_resume()
H A Dsubr_trap.c118 thread_lock(td); in userret()
239 thread_lock(td); in ast()
278 thread_lock(td); in ast()
300 thread_lock(td); in ast()
H A Dtty_info.c98 thread_lock(td); in proc_sum()
123 thread_lock(td); in thread_compare()
128 thread_lock(td2); in thread_compare()
343 thread_lock(td); in tty_info()
H A Dsubr_epoch.c329 thread_lock(td); in epoch_adjust_prio()
583 thread_lock(td); in epoch_block_handler_preempt()
626 thread_lock(curwaittd); in epoch_block_handler_preempt()
629 thread_lock(td); in epoch_block_handler_preempt()
652 thread_lock(td); in epoch_block_handler_preempt()
657 thread_lock(td); in epoch_block_handler_preempt()
676 thread_lock(td); in epoch_block_handler_preempt()
702 thread_lock(td); in epoch_wait_preempt()
960 thread_lock(td); in epoch_drain_callbacks()
H A Dsubr_sleepqueue.c375 thread_lock(td); in sleepq_add()
412 thread_lock(td); in sleepq_set_timeout_sbt()
446 thread_lock(td); in sleepq_check_ast_sc_locked()
454 thread_lock(td); in sleepq_check_ast_sc_locked()
475 thread_lock(td); in sleepq_check_ast_sc_locked()
490 thread_lock(td); in sleepq_check_ast_sc_locked()
658 thread_lock(td); in sleepq_wait()
689 thread_lock(td); in sleepq_timedwait()
765 thread_lock(td); in sleepq_resume_thread()
871 thread_lock(td); in sleepq_remove_nested()
[all …]
H A Dkern_cpuset.c597 thread_lock(td); in domainset_notify()
1287 thread_lock(td); in cpuset_setproc()
1304 thread_lock(td); in cpuset_setproc()
1483 thread_lock(td); in _cpuset_setthread()
1666 thread_lock(td); in cpuset_kernthread()
1755 thread_lock(td); in sys_cpuset()
1839 thread_lock(ttd); in kern_cpuset_getid()
1915 thread_lock(ttd); in kern_cpuset_getaffinity()
1939 thread_lock(ttd); in kern_cpuset_getaffinity()
2048 thread_lock(ttd); in kern_cpuset_setaffinity()
[all …]
H A Dsched_4bsd.c481 thread_lock(td); in schedcpu()
778 thread_lock(td); in sched_exit_thread()
782 thread_lock(child); in sched_exit_thread()
821 thread_lock(td); in sched_nice()
967 thread_lock(td); in sched_lend_user_prio_cond()
1515 thread_lock(td); in sched_preempt()
1524 thread_lock(td); in sched_userret_slowpath()
1547 thread_lock(td); in sched_bind()
1569 thread_lock(td); in sched_relinquish()
H A Dkern_thr.c255 thread_lock(td); in thread_create()
279 thread_lock(newtd); in thread_create()
537 thread_lock(td); in kern_thr_suspend()
569 thread_lock(ttd); in sys_thr_wake()
H A Dkern_idle.c79 thread_lock(td); in idle_setup()
H A Dkern_intr.c181 thread_lock(td); in ithread_update()
545 thread_lock(td); in ithread_create()
562 thread_lock(td); in ithread_destroy()
808 thread_lock(td); in _intr_drain()
814 thread_lock(td); in _intr_drain()
987 thread_lock(td); in intr_event_schedule_thread()
1287 thread_lock(td); in ithread_loop()
/freebsd-13.1/sys/geom/
H A Dgeom_kern.c95 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-13.1/sys/compat/linux/
H A Dlinux_fork.c91 thread_lock(td2); in linux_fork()
121 thread_lock(td2); in linux_vfork()
227 thread_lock(td2); in linux_clone_proc()
313 thread_lock(td); in linux_clone_thread()
339 thread_lock(newtd); in linux_clone_thread()
/freebsd-13.1/sys/mips/nlm/
H A Dcms.c289 thread_lock(td); in msgring_process_fast_intr()
317 thread_lock(td); in msgring_process()
351 thread_lock(td); in msgring_process()
381 thread_lock(td); in create_msgring_thread()
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c278 thread_lock(td); in linux_synchronize_rcu_cb()
293 thread_lock(td); in linux_synchronize_rcu_cb()
331 thread_lock(td); in linux_synchronize_rcu()
/freebsd-13.1/sys/vm/
H A Dvm_swapout.c432 thread_lock(td); in vm_daemon()
700 thread_lock(td); in swapper_selector()
835 thread_lock(td); in swapout_procs()
877 thread_lock(td); in swapclear()
925 thread_lock(td); in swapout()
/freebsd-13.1/sys/geom/uzip/
H A Dg_uzip_wrkthr.c51 thread_lock(curthread); in g_uzip_wrkthr()
/freebsd-13.1/sys/dev/usb/
H A Dusb_process.c66 #define thread_lock(td) mtx_lock_spin(&sched_lock) macro
117 thread_lock(td); in usb_process()
/freebsd-13.1/sys/dev/cpuctl/
H A Dcpuctl.c118 thread_lock(td); in cpu_sched_is_bound()
133 thread_lock(td); in set_cpu()
147 thread_lock(td); in restore_cpu()

1234