Home
last modified time | relevance | path

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

1234

/freebsd-12.1/sys/dev/xen/control/
H A Dcontrol.c211 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 Dsubr_epoch.c197 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 Dtty_info.c90 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 Dkern_kthread.c141 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 Dkern_thread.c564 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 Dsubr_trap.c118 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 Dsubr_sleepqueue.c365 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 Dkern_cpuset.c572 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 Dkern_thr.c255 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 Dsched_4bsd.c477 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 Dkern_intr.c176 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 Dkern_idle.c79 thread_lock(td); in idle_setup()
/freebsd-12.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-12.1/sys/dev/coretemp/
H A Dcoretemp.c316 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 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-12.1/sys/compat/linux/
H A Dlinux_fork.c97 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 Dlinux_rcu.c256 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 Dcms.c289 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 Dvm_swapout.c445 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 Dg_uzip_wrkthr.c51 thread_lock(curthread); in g_uzip_wrkthr()
/freebsd-12.1/sys/dev/usb/
H A Dusb_process.c66 #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 Dcpuctl.c118 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 Dproc.h83 thread_lock(td); in do_thread_create()

1234