Home
last modified time | relevance | path

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

1234

/src/sys/x86/cpufreq/
H A Dhwpstate_intel.c131 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 Dcontrol.c188 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 Dclock.c55 thread_lock(td); in cpu_initclocks()
60 thread_lock(td); in cpu_initclocks()
/src/sys/kern/
H A Dkern_kthread.c124 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 Dkern_thread.c984 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 Dtty_info.c96 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 Dsubr_trap.c102 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 Dsubr_epoch.c360 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 Dsubr_sleepqueue.c373 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 Dkern_cpuset.c606 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 Dsched_4bsd.c470 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 Dkern_thr.c269 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 Dkern_idle.c76 thread_lock(td); in idle_setup()
H A Dkern_intr.c204 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 Dkern_synch.c606 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 Dgeom_kern.c92 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 Dlinux_fork.c87 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 Dbman_portals.c85 thread_lock(curthread); in bman_portals_detach()
91 thread_lock(curthread); in bman_portals_detach()
H A Dqman_portals.c90 thread_lock(curthread); in qman_portals_detach()
96 thread_lock(curthread); in qman_portals_detach()
H A Dbman.c277 thread_lock(curthread); in bman_pool_destroy()
283 thread_lock(curthread); in bman_pool_destroy()
/src/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c307 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 Dg_uzip_wrkthr.c48 thread_lock(curthread); in g_uzip_wrkthr()
/src/sys/dev/cpuctl/
H A Dcpuctl.c115 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 Dmutex.h142 #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 Dproc.h91 thread_lock(td); in do_thread_create()

1234