Home
last modified time | relevance | path

Searched refs:ps_pid (Results 1 – 25 of 72) sorted by relevance

123

/openbsd/sys/dev/pci/drm/include/linux/
H A Ddevice.h53 printf("drm:pid%d:%s *WARNING* " fmt, curproc->p_p->ps_pid, \
59 printf("drm:pid%d:%s *NOTICE* " fmt, curproc->p_p->ps_pid, \
62 printf("drm:pid%d:%s *ERROR* " fmt, curproc->p_p->ps_pid, \
65 printf("drm:pid%d:%s *ERROR* " fmt, curproc->p_p->ps_pid, \
71 printf("drm:pid%d:%s *PRINTK* " fmt, curproc->p_p->ps_pid, \
78 printf("drm:pid%d:%s *NOTICE* " fmt, curproc->p_p->ps_pid, \
81 printf("drm:pid%d:%s *ERROR* " fmt, curproc->p_p->ps_pid, \
91 printf("drm:pid%d:%s *ERROR* " fmt, curproc->p_p->ps_pid, \
95 printf("drm:pid%d:%s *ERROR* " fmt, curproc->p_p->ps_pid, \
104 printf("drm:pid%d:%s *DEBUG* " fmt, curproc->p_p->ps_pid, \
[all …]
/openbsd/sys/kern/
H A Dkern_unveil.c618 pr->ps_comm, pr->ps_pid, uv); in unveil_start_relative()
675 pr->ps_comm, pr->ps_pid); in unveil_check_final()
685 pr->ps_comm, pr->ps_pid, ni->ni_vp); in unveil_check_final()
694 pr->ps_comm, pr->ps_pid, ni->ni_vp); in unveil_check_final()
715 pr->ps_comm, pr->ps_pid, ni->ni_dvp); in unveil_check_final()
722 pr->ps_comm, pr->ps_pid, in unveil_check_final()
730 pr->ps_comm, pr->ps_pid, in unveil_check_final()
759 pr->ps_comm, pr->ps_pid, tname->un_name); in unveil_check_final()
766 pr->ps_comm, pr->ps_pid, tname->un_name); in unveil_check_final()
778 "vnode %p\n", pr->ps_comm, pr->ps_pid, in unveil_check_final()
[all …]
H A Dkern_proc.c183 if (pr->ps_pid == 0 || pr->ps_pid == 1) in inferior()
229 if (pr->ps_pid == pid) in prfind()
257 if (pr->ps_pid == pid) in zombiefind()
296 pgrp->pg_id = pr->ps_pid; in enternewpgrp()
299 LIST_INSERT_HEAD(PGRPHASH(pr->ps_pid), pgrp, pg_hash); in enternewpgrp()
337 if (pr->ps_session->s_verauthppid == pr->ps_pid) in leavepgrp()
497 p->p_tid, p->p_p->ps_pid, p->p_p->ps_threadcnt, pst); in proc_printit()
604 '*' : ' '), pr->ps_pid); in db_show_all_procs()
620 p->p_tid, ppr ? ppr->ps_pid : -1, in db_show_all_procs()
639 pr->ps_pid, pr->ps_ucred->cr_ruid, in db_show_all_procs()
[all …]
H A Dkern_exit.c136 if (pr->ps_pid == 1) in exit1()
285 freepid(pr->ps_pid); in exit1()
520 *retval = pr->ps_pid; in dowait6()
522 info->si_pid = pr->ps_pid; in dowait6()
556 *retval = pr->ps_pid; in dowait6()
558 info->si_pid = pr->ps_pid; in dowait6()
577 *retval = pr->ps_pid; in dowait6()
579 info->si_pid = pr->ps_pid; in dowait6()
597 *retval = pr->ps_pid; in dowait6()
599 info->si_pid = pr->ps_pid; in dowait6()
[all …]
H A Dkern_fork.c233 pr->ps_pid = allocpid(); in process_new()
238 pr->ps_ppid = parent->ps_pid; in process_new()
342 p->p_p->ps_pid, CPU_INFO_UNIT(ci)); in fork_thread_start()
456 LIST_INSERT_HEAD(PIDHASH(pr->ps_pid), pr, ps_hash); in fork1()
473 curpr->ps_ptstat->pe_other_pid = pr->ps_pid; in fork1()
474 pr->ps_ptstat->pe_other_pid = curpr->ps_pid; in fork1()
496 knote_processfork(curpr, pr->ps_pid); in fork1()
534 *retval = pr->ps_pid; in fork1()
H A Dkern_xxx.c113 printf("proc %d (%s): num ", pr->ps_pid, pr->ps_comm); in scdebug_call()
143 printf("proc %d (%s): num ", pr->ps_pid, pr->ps_comm); in scdebug_ret()
H A Dkern_prot.c70 *retval = p->p_p->ps_pid; in sys_getpid()
112 if (SCARG(uap, pid) == 0 || SCARG(uap, pid) == targpr->ps_pid) in sys_getpgid()
131 if (SCARG(uap, pid) == 0 || SCARG(uap, pid) == targpr->ps_pid) in sys_getsid()
141 *retval = targpr->ps_pgrp->pg_session->s_leader->ps_pid; in sys_getsid()
224 pid_t pid = pr->ps_pid; in sys_setsid()
274 if (pid != 0 && pid != curpr->ps_pid) { in sys_setpgid()
295 pgid = targpr->ps_pid; in sys_setpgid()
300 if (pgid != targpr->ps_pid) in sys_setpgid()
307 if (pgid != targpr->ps_pid && in sys_setpgid()
H A Dkern_synch.c171 __func__, curproc->p_p->ps_comm, curproc->p_p->ps_pid, in tsleep_nsec()
271 __func__, curproc->p_p->ps_comm, curproc->p_p->ps_pid, in msleep_nsec()
322 __func__, curproc->p_p->ps_comm, curproc->p_p->ps_pid, in rwsleep_nsec()
540 p->p_p->ps_pid); in unsleep()
576 p->p_p->ps_pid); in wakeup_n()
H A Dkern_sched.c255 idle->p_p->ps_pid); in sched_toidle()
288 p->p_p->ps_pid); in setrunqueue()
310 p->p_p->ps_pid); in remrunqueue()
536 best->p_p->ps_pid, CPU_INFO_UNIT(self)); in sched_steal_proc()
H A Dsys_process.c406 if ((tr->ps_pid == 1) && (securelevel > -1)) { in ptrace_ctrl()
416 if (tr->ps_pid != 1 && inferior(p->p_p, tr)) { in ptrace_ctrl()
865 if ((tr->ps_pid == 1) && (securelevel > -1)) in process_checkioperm()
H A Dkern_sig.c666 if (pr->ps_pid <= 1 || in killpg1()
686 if (pr->ps_pid <= 1 || pr->ps_flags & PS_SYSTEM || in killpg1()
868 pr->ps_pid != 1) { in trapsignal()
1417 if (pr->ps_pid <= 1) { in cursig()
1424 " %d\n", pr->ps_pid, signum); in cursig()
1758 dir, pr->ps_comm, pr->ps_pid); in coredump()
1877 pr->ps_comm, pr->ps_pid); in coredump_write()
1881 pr->ps_comm, pr->ps_pid, error); in coredump_write()
H A Dsched_bsd.c393 nextproc->p_p->ps_pid); in mi_switch()
478 p->p_p->ps_pid, CPU_INFO_UNIT(p->p_cpu)); in setrunnable()
/openbsd/lib/libkvm/
H A Dkvm_file2.c332 if (arg > 0 && process.ps_pid != (pid_t)arg) in kvm_deadfile_byid()
386 &process, KERN_FILE_TEXT, process.ps_pid) == -1) in kvm_deadfile_byid()
397 &process, KERN_FILE_CDIR, process.ps_pid) == -1) in kvm_deadfile_byid()
408 &process, KERN_FILE_RDIR, process.ps_pid) == -1) in kvm_deadfile_byid()
419 &process, KERN_FILE_TRACE, process.ps_pid) == -1) in kvm_deadfile_byid()
432 (u_long)process.ps_fd, process.ps_pid); in kvm_deadfile_byid()
446 &process, i, process.ps_pid) == -1) in kvm_deadfile_byid()
H A Dkvm_proc2.c198 parent_pid = process2.ps_pid; in kvm_proclist()
209 leader_pid = process2.ps_pid; in kvm_proclist()
227 if (process.ps_pid != (pid_t)arg) in kvm_proclist()
/openbsd/sys/arch/m88k/m88k/
H A Dsig_machdep.c175 ((sigdebug & SDB_KSTACK) && p->p_p->ps_pid == sigpid)) in sendsig()
176 printf("sendsig(%d): sig %d returns\n", p->p_p->ps_pid, sig); in sendsig()
/openbsd/sys/arch/amd64/amd64/
H A Dtrap.c200 " out of swap\n", p->p_p->ps_pid, p->p_p->ps_comm, in upageflttrap()
476 p->p_p->ps_pid, p->p_p->ps_comm, sig, tf->tf_rip, cr2); in frame_dump()
521 printf("pid %d\n", p->p_p->ps_pid); in debug_trap()
/openbsd/sys/arch/macppc/dev/
H A Dapm.c152 APMDEV(dev), p->p_p->ps_pid, flag, mode)); in apmopen()
191 p->p_p->ps_pid, flag, mode)); in apmclose()
/openbsd/sys/arch/loongson/dev/
H A Dapm.c160 APMDEV(dev), p->p_p->ps_pid, flag, mode)); in apmopen()
199 p->p_p->ps_pid, flag, mode)); in apmclose()
/openbsd/sys/arch/arm64/dev/
H A Dapm.c161 APMDEV(dev), p->p_p->ps_pid, flag, mode)); in apmopen()
200 p->p_p->ps_pid, flag, mode)); in apmclose()
/openbsd/sys/arch/i386/i386/
H A Dtrap.c140 " out of swap\n", p->p_p->ps_pid, p->p_p->ps_comm, in upageflttrap()
381 p->p_p->ps_pid); in trap()
587 p->p_p->ps_pid); in syscall()
/openbsd/usr.sbin/snmpd/
H A Dsnmpd.c92 if (pid == ps->ps_pid[id] && in snmpd_sig_handler()
93 check_child(ps->ps_pid[id], in snmpd_sig_handler()
/openbsd/sys/arch/mips64/mips64/
H A Dtrap.c526 p->p_p->ps_comm, p->p_p->ps_pid, in itsa()
643 p->p_p->ps_comm, p->p_p->ps_pid); in itsa()
1038 p->p_p->ps_comm, p->p_p->ps_pid, in process_sstep()
1064 p->p_p->ps_comm, p->p_p->ps_pid, (void *)va, in process_sstep()
1084 p->p_p->ps_comm, p->p_p->ps_pid, (void *)p->p_md.md_ss_addr, in process_sstep()
1329 (*pr)("User-level: pid %d\n", curproc->p_p->ps_pid); in stacktrace_subr()
/openbsd/sys/dev/vmm/
H A Dvmm.c189 (vm->vm_creator_pid != p->p_p->ps_pid)) in vm_find()
381 vm->vm_creator_pid = p->p_p->ps_pid; in vm_create()
852 src->vmr_gpa, p->p_p->ps_pid, dst->vmr_va); in vm_share_mem()
/openbsd/sys/arch/arm/arm/
H A Dfault.c355 "out of swap\n", p->p_p->ps_pid, p->p_p->ps_comm, in data_abort_handler()
588 "out of swap\n", p->p_p->ps_pid, p->p_p->ps_comm, in prefetch_abort_handler()
/openbsd/sys/arch/alpha/alpha/
H A Dtrap.c194 curproc->p_p->ps_pid, curproc->p_p->ps_comm); in printtrap()
436 "out of swap\n", p->p_p->ps_pid,

123