/freebsd/sys/fs/pseudofs/ |
H A D | pseudofs_internal.h | 133 PROC_LOCK_ASSERT(p, MA_NOTOWNED); in pn_fill() 147 PROC_LOCK_ASSERT(p, MA_OWNED); in pn_attr() 160 PROC_LOCK_ASSERT(p, MA_OWNED); in pn_vis() 172 PROC_LOCK_ASSERT(p, MA_OWNED); in pn_ioctl() 184 PROC_LOCK_ASSERT(p, MA_OWNED); in pn_getextattr() 196 PROC_LOCK_ASSERT(p, MA_OWNED); in pn_close()
|
/freebsd/sys/kern/ |
H A D | p1003_1b.c | 145 PROC_LOCK_ASSERT(targetp, MA_OWNED); 189 PROC_LOCK_ASSERT(targetp, MA_OWNED); 234 PROC_LOCK_ASSERT(targetp, MA_OWNED); 282 PROC_LOCK_ASSERT(targetp, MA_OWNED); 365 PROC_LOCK_ASSERT(p, MA_OWNED);
|
H A D | sys_process.c | 103 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_read_regs() 110 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_write_regs() 117 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_read_dbregs() 124 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_write_dbregs() 135 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_read_fpregs() 142 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_write_fpregs() 288 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_read_regs32() 295 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_write_regs32() 302 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_read_dbregs32() 309 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in proc_write_dbregs32() [all …]
|
H A D | kern_procctl.c | 58 PROC_LOCK_ASSERT(p, MA_OWNED); in protect_setchild() 268 PROC_LOCK_ASSERT(w->target, MA_OWNED); in reap_kill_proc_locked() 588 PROC_LOCK_ASSERT(p, MA_OWNED); in trace_ctl() 648 PROC_LOCK_ASSERT(p, MA_OWNED); in trapcap_ctl() 680 PROC_LOCK_ASSERT(p, MA_OWNED); in no_new_privs_ctl() 703 PROC_LOCK_ASSERT(p, MA_OWNED); in protmax_ctl() 751 PROC_LOCK_ASSERT(p, MA_OWNED); in aslr_ctl() 810 PROC_LOCK_ASSERT(p, MA_OWNED); in stackgap_ctl() 850 PROC_LOCK_ASSERT(p, MA_OWNED); in stackgap_status() 867 PROC_LOCK_ASSERT(p, MA_OWNED); in wxmap_ctl() [all …]
|
H A D | kern_thread.c | 860 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_cow_get_proc() 913 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_cow_synced() 943 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_exit() 1099 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_unlink() 1115 PROC_LOCK_ASSERT(p, MA_OWNED); in calc_remaining() 1138 PROC_LOCK_ASSERT(p, MA_OWNED); in weed_inhib() 1233 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_single() 1359 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_suspend_check_needed() 1406 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_suspend_check() 1534 PROC_LOCK_ASSERT(p, MA_OWNED); in thread_suspend_switch() [all …]
|
H A D | kern_sig.c | 581 PROC_LOCK_ASSERT(p, MA_OWNED); in sigqueue_flush() 687 PROC_LOCK_ASSERT(p, MA_OWNED); in sigqueue_delete_set_proc() 729 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in cursig() 744 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in signotify() 1103 PROC_LOCK_ASSERT(p, MA_OWNED); in execsigs() 1142 PROC_LOCK_ASSERT(p, MA_OWNED); in kern_sigprocmask() 2183 PROC_LOCK_ASSERT(p, MA_OWNED); in sigtd() 2301 PROC_LOCK_ASSERT(p, MA_OWNED); in tdsendsignal() 2577 PROC_LOCK_ASSERT(p, MA_OWNED); in tdsigwakeup() 2761 PROC_LOCK_ASSERT(p, MA_OWNED); in ptrace_remotereq() [all …]
|
H A D | kern_racct.c | 544 PROC_LOCK_ASSERT(p, MA_OWNED); in racct_add_locked() 638 PROC_LOCK_ASSERT(p, MA_OWNED); 666 PROC_LOCK_ASSERT(p, MA_OWNED); in racct_set_locked() 848 PROC_LOCK_ASSERT(p, MA_OWNED); in racct_sub() 1048 PROC_LOCK_ASSERT(p, MA_OWNED); in racct_proc_ucred_changed() 1124 PROC_LOCK_ASSERT(p, MA_OWNED); in racct_proc_throttle() 1177 PROC_LOCK_ASSERT(p, MA_OWNED);
|
H A D | kern_clock.c | 183 PROC_LOCK_ASSERT(p, MA_OWNED); in deadlres_td_on_lock() 209 PROC_LOCK_ASSERT(p, MA_OWNED); in deadlres_td_sleep_q() 640 PROC_LOCK_ASSERT(p, MA_OWNED); in startprofclock() 659 PROC_LOCK_ASSERT(p, MA_OWNED); in stopprofclock()
|
H A D | kern_resource.c | 269 PROC_LOCK_ASSERT(p, MA_OWNED); in donice() 618 PROC_LOCK_ASSERT(p, MA_OWNED); in lim_cb() 930 PROC_LOCK_ASSERT(p, MA_OWNED); in calccru() 945 PROC_LOCK_ASSERT(p, MA_OWNED); in calcru() 1343 PROC_LOCK_ASSERT(p, MA_OWNED); in lim_cowsync() 1358 PROC_LOCK_ASSERT(p1, MA_OWNED); in lim_fork() 1359 PROC_LOCK_ASSERT(p2, MA_OWNED); in lim_fork() 1488 PROC_LOCK_ASSERT(p, MA_OWNED); in lim_rlimit_proc()
|
H A D | kern_ktrace.c | 503 PROC_LOCK_ASSERT(p, MA_OWNED); in ktr_freeproc() 520 PROC_LOCK_ASSERT(p, MA_OWNED); in ktr_get_tracevp() 608 PROC_LOCK_ASSERT(p, MA_OWNED); in ktrprocexec() 1224 PROC_LOCK_ASSERT(p, MA_OWNED); in ktrops() 1286 PROC_LOCK_ASSERT(p, MA_OWNED); in ktrsetchildren() 1431 PROC_LOCK_ASSERT(targetp, MA_OWNED); in ktrcanset()
|
H A D | kern_prot.c | 1950 PROC_LOCK_ASSERT(p, MA_OWNED); in p_cansee() 1982 PROC_LOCK_ASSERT(proc, MA_OWNED); in cr_cansignal() 2058 PROC_LOCK_ASSERT(p, MA_OWNED); in p_cansignal() 2100 PROC_LOCK_ASSERT(p, MA_OWNED); in p_cansched() 2167 PROC_LOCK_ASSERT(p, MA_OWNED); in p_candebug() 2289 PROC_LOCK_ASSERT(p, MA_OWNED); in p_canwait() 2411 PROC_LOCK_ASSERT(p, MA_OWNED); in crcowsync() 2656 PROC_LOCK_ASSERT(p, MA_OWNED); in _proc_set_cred() 2735 PROC_LOCK_ASSERT(p, MA_OWNED); in crcopysafe() 2974 PROC_LOCK_ASSERT(p, MA_OWNED); in setsugid()
|
H A D | kern_exit.c | 215 PROC_LOCK_ASSERT(p, MA_OWNED); in proc_set_p2_wexit() 920 PROC_LOCK_ASSERT(p, MA_OWNED); in proc_reap() 1245 PROC_LOCK_ASSERT(p, MA_OWNED); in report_alive_proc() 1343 PROC_LOCK_ASSERT(p, MA_OWNED); in kern_wait6() 1460 PROC_LOCK_ASSERT(child, MA_OWNED); in proc_reparent()
|
H A D | kern_proc.c | 383 PROC_LOCK_ASSERT(p, MA_OWNED); in inferior() 654 PROC_LOCK_ASSERT(p, MA_NOTOWNED); in enterthispgrp() 761 PROC_LOCK_ASSERT(p, MA_NOTOWNED); in doenterpgrp() 852 PROC_LOCK_ASSERT(p, MA_NOTOWNED); in fixjobc_kill() 1065 PROC_LOCK_ASSERT(p, MA_OWNED); in fill_kinfo_aggregate() 1089 PROC_LOCK_ASSERT(p, MA_OWNED); in fill_kinfo_proc_only() 1204 PROC_LOCK_ASSERT(p, MA_OWNED); in fill_kinfo_proc_pgrp() 1253 PROC_LOCK_ASSERT(p, MA_OWNED); in fill_kinfo_thread() 1513 PROC_LOCK_ASSERT(p, MA_OWNED); in kern_proc_out_size() 1544 PROC_LOCK_ASSERT(p, MA_OWNED); in kern_proc_out() [all …]
|
H A D | kern_time.c | 265 PROC_LOCK_ASSERT(targettd->td_proc, MA_OWNED); in kern_thread_cputime() 279 PROC_LOCK_ASSERT(targetp, MA_OWNED); in kern_process_cputime() 901 PROC_LOCK_ASSERT(p, MA_OWNED); in itimer_proc_continue() 1356 PROC_LOCK_ASSERT(p, MA_OWNED); in itimer_find() 1631 PROC_LOCK_ASSERT(p, MA_OWNED); in itimer_accept()
|
/freebsd/sys/fs/procfs/ |
H A D | procfs.c | 96 PROC_LOCK_ASSERT(p, MA_OWNED); in procfs_attr() 133 PROC_LOCK_ASSERT(p, MA_OWNED); in procfs_notsystem() 144 PROC_LOCK_ASSERT(p, MA_OWNED); in procfs_candebug()
|
/freebsd/sys/security/mac/ |
H A D | mac_process.c | 379 PROC_LOCK_ASSERT(p, MA_OWNED); in mac_proc_check_debug() 394 PROC_LOCK_ASSERT(p, MA_OWNED); in mac_proc_check_sched() 410 PROC_LOCK_ASSERT(p, MA_OWNED); in mac_proc_check_signal() 425 PROC_LOCK_ASSERT(p, MA_OWNED); in mac_proc_check_wait()
|
H A D | mac_syscalls.c | 240 PROC_LOCK_ASSERT(td->td_proc, MA_NOTOWNED); in mac_set_proc_prepare() 276 PROC_LOCK_ASSERT(p, MA_OWNED); in mac_set_proc_core() 299 PROC_LOCK_ASSERT(td->td_proc, MA_NOTOWNED); in mac_set_proc_finish()
|
/freebsd/sys/arm64/arm64/ |
H A D | ptrace_machdep.c | 171 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_single_step() 183 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_clear_single_step()
|
/freebsd/sys/vm/ |
H A D | vm_swapout_dummy.c |
|
/freebsd/sys/i386/i386/ |
H A D | ptrace_machdep.c | 261 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_single_step() 273 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_clear_single_step()
|
/freebsd/sys/amd64/amd64/ |
H A D | ptrace_machdep.c | 392 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_single_step() 404 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in ptrace_clear_single_step()
|
/freebsd/sys/sys/ |
H A D | proc.h | 964 #define PROC_LOCK_ASSERT(p, type) mtx_assert(&(p)->p_mtx, (type)) macro 1001 PROC_LOCK_ASSERT((p), MA_OWNED); \ 1016 PROC_LOCK_ASSERT((p), MA_OWNED); \ 1028 PROC_LOCK_ASSERT((_p), MA_OWNED); \ 1036 PROC_LOCK_ASSERT(_p, MA_OWNED); \
|
/freebsd/sys/x86/x86/ |
H A D | stack_machdep.c | 113 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in stack_save_td()
|
/freebsd/sys/i386/linux/ |
H A D | linux_ptrace_machdep.c | 215 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in linux_proc_read_fpxregs() 226 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); in linux_proc_write_fpxregs()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_current.c | 63 PROC_LOCK_ASSERT(p, MA_OWNED); in find_other_mm()
|