Home
last modified time | relevance | path

Searched refs:ps_mtx (Results 1 – 14 of 14) sorted by relevance

/openbsd/sys/kern/
H A Dkern_exit.c159 mtx_enter(&pr->ps_mtx); in exit1()
183 mtx_leave(&pr->ps_mtx); in exit1()
301 mtx_enter(&qr->ps_mtx); in exit1()
327 mtx_enter(&qr->ps_mtx); in exit1()
331 mtx_leave(&qr->ps_mtx); in exit1()
357 mtx_enter(&pr->ps_mtx); in exit1()
363 mtx_leave(&pr->ps_mtx); in exit1()
369 mtx_enter(&pr->ps_mtx); in exit1()
373 mtx_leave(&pr->ps_mtx); in exit1()
741 mtx_enter(&pr->ps_mtx); in proc_finish_wait()
[all …]
H A Dkern_resource.c213 mtx_enter(&chgpr->ps_mtx); in donice()
219 mtx_leave(&chgpr->ps_mtx); in donice()
415 mtx_enter(&pr->ps_mtx); in tuagg_get_process()
420 mtx_leave(&pr->ps_mtx); in tuagg_get_process()
618 mtx_enter(&pr->ps_mtx); in rucheck()
623 mtx_leave(&pr->ps_mtx); in rucheck()
695 mtx_enter(&parent->ps_mtx); in lim_fork()
781 mtx_enter(&pr->ps_mtx); in lim_read_enter()
784 mtx_leave(&pr->ps_mtx); in lim_read_enter()
804 mtx_enter(&pr->ps_mtx); in lim_cur_proc()
[all …]
H A Dkern_sig.c906 mtx_enter(&pr->ps_mtx); in prsignal()
909 mtx_leave(&pr->ps_mtx); in prsignal()
913 mtx_leave(&pr->ps_mtx); in prsignal()
926 mtx_enter(&pr->ps_mtx); in ptsignal()
928 mtx_leave(&pr->ps_mtx); in ptsignal()
1283 mtx_enter(&pr->ps_mtx); in setsigctx()
1307 mtx_leave(&pr->ps_mtx); in setsigctx()
1759 mtx_enter(&pr->ps_mtx); in sigismasked()
1762 mtx_leave(&pr->ps_mtx); in sigismasked()
2198 mtx_enter(&pr->ps_mtx); in single_thread_set()
[all …]
H A Dsys_process.c314 mtx_enter(&tr->ps_mtx); in ptrace_ctrl()
316 mtx_leave(&tr->ps_mtx); in ptrace_ctrl()
321 mtx_leave(&tr->ps_mtx); in ptrace_ctrl()
519 mtx_enter(&tr->ps_mtx); in ptrace_ctrl()
522 mtx_leave(&tr->ps_mtx); in ptrace_ctrl()
558 mtx_enter(&tr->ps_mtx); in ptrace_ctrl()
562 mtx_leave(&tr->ps_mtx); in ptrace_ctrl()
H A Dkern_fork.c203 mtx_init(&pr->ps_mtx, IPL_HIGH); in process_initialize()
204 klist_init_mutex(&pr->ps_klist, &pr->ps_mtx); in process_initialize()
460 mtx_enter(&pr->ps_mtx); in fork1()
477 mtx_leave(&pr->ps_mtx); in fork1()
588 mtx_enter(&pr->ps_mtx); in thread_fork()
600 mtx_leave(&pr->ps_mtx); in thread_fork()
H A Dkern_event.c378 mtx_enter(&pr->ps_mtx); in filt_procattach()
380 mtx_leave(&pr->ps_mtx); in filt_procattach()
409 mtx_enter(&pr->ps_mtx); in filt_procdetach()
415 mtx_leave(&pr->ps_mtx); in filt_procdetach()
492 mtx_enter(&pr->ps_mtx); in filt_procmodify()
494 mtx_leave(&pr->ps_mtx); in filt_procmodify()
510 mtx_enter(&pr->ps_mtx); in filt_procprocess()
512 mtx_leave(&pr->ps_mtx); in filt_procprocess()
536 mtx_enter(&pr->ps_mtx); in filt_sigattach()
538 mtx_leave(&pr->ps_mtx); in filt_sigattach()
[all …]
H A Dkern_proc.c322 mtx_enter(&pr->ps_mtx); in enterthispgrp()
324 mtx_leave(&pr->ps_mtx); in enterthispgrp()
342 mtx_enter(&pr->ps_mtx); in leavepgrp()
344 mtx_leave(&pr->ps_mtx); in leavepgrp()
H A Dkern_synch.c470 mtx_enter(&p->p_p->ps_mtx); in sleep_signal_check()
473 mtx_leave(&p->p_p->ps_mtx); in sleep_signal_check()
614 mtx_enter(&p->p_p->ps_mtx); in sys_sched_yield()
618 mtx_leave(&p->p_p->ps_mtx); in sys_sched_yield()
H A Dkern_time.c545 mtx_enter(&pr->ps_mtx); in setitimer()
568 mtx_leave(&pr->ps_mtx); in setitimer()
692 mtx_enter(&pr->ps_mtx); in realitexpire()
721 mtx_leave(&pr->ps_mtx); in realitexpire()
H A Dkern_pledge.c471 mtx_enter(&pr->ps_mtx); in sys_pledge()
484 mtx_leave(&pr->ps_mtx); in sys_pledge()
492 mtx_leave(&pr->ps_mtx); in sys_pledge()
512 mtx_leave(&pr->ps_mtx); in sys_pledge()
H A Dkern_prot.c86 mtx_enter(&p->p_p->ps_mtx); in sys_getppid()
88 mtx_leave(&p->p_p->ps_mtx); in sys_getppid()
/openbsd/sys/sys/
H A Dsysctl.h576 #define PR_LOCK(pr) mtx_enter(&(pr)->ps_mtx)
577 #define PR_UNLOCK(pr) mtx_leave(&(pr)->ps_mtx)
H A Dproc.h184 struct mutex ps_mtx; /* per-process mutex */ member
/openbsd/sys/uvm/
H A Duvm_mmap.c1183 mtx_enter(&pr->ps_mtx); in sys_kbind()
1199 mtx_leave(&pr->ps_mtx); in sys_kbind()