Home
last modified time | relevance | path

Searched refs:pfind (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/kern/
H A Dp1003_1b.c126 targetp = pfind(uap->pid);
167 targetp = pfind(uap->pid);
214 targetp = pfind(uap->pid);
260 targetp = pfind(uap->pid);
346 targetp = pfind(pid);
H A Dkern_resource.c109 p = pfind(who); in kern_getpriority()
199 p = pfind(who); in kern_setpriority()
396 p = pfind(uap->pid); in sys_rtprio()
H A Dkern_thr.c451 if ((p = pfind(uap->pid)) == NULL) in sys_thr_kill2()
H A Dkern_prot.c189 p = pfind(uap->pid); in sys_getpgid()
228 p = pfind(pid); in kern_getsid()
422 if ((targp = pfind(uap->pid)) == NULL) { in sys_setpgid()
H A Dkern_cpuset.c915 if ((p = pfind(id)) == NULL) in cpuset_which()
941 p = pfind(id); in cpuset_which()
H A Dkern_ktrace.c1148 p = pfind(uap->pid); in sys_ktrace()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_current.c214 p = pfind(pid); in linux_get_pid_task_int()
258 p = pfind(task->pid); in linux_task_exiting()
/freebsd/contrib/tcsh/
H A Dsh.proc.c1350 pp = pfind(*v); in dofg()
1371 pp = pfind(v[0]); in dofg1()
1393 pp = pfind(*v); in dobg()
1411 pp = pfind(v[0]); in dobg1()
1516 np = pp = pfind(cp); in pkill()
1668 pfind(Char *cp) in pfind() function
1748 pp = pfind(*++v); in donotify()
H A Dsh.decls.h366 extern struct process *pfind (Char *);
H A Dtc.os.c465 pp = pfind(cp); in domigrate()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vnops.c117 proc = pfind(pid); in pfs_visible()
136 proc = pfind(pid); in pfs_lookup_proc()
194 proc = pfind(pvd->pvd_pid); in pfs_close()
1001 if ((proc = pfind(pvd->pvd_pid)) == NULL) in pfs_readlink()
/freebsd/sys/security/audit/
H A Daudit_syscalls.c447 if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL) in sys_auditon()
477 if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL) { in sys_auditon()
518 if ((tp = pfind(udata.au_aupinfo_addr.ap_pid)) == NULL) in sys_auditon()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c1562 if ((p = pfind(pid)) != NULL) { in fasttrap_proc_release()
1644 if ((p = pfind(pid)) == NULL) in fasttrap_provider_lookup()
1760 if ((p = pfind(pid)) == NULL) { in fasttrap_provider_free()
2303 if ((p = pfind(pid)) == NULL || p->p_stat == SIDL) { in fasttrap_ioctl()
2346 if ((p == pfind(pid)) == NULL || p->p_stat == SIDL) { in fasttrap_ioctl()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c410 proc = pfind(gbl_args.u.pid); in mac_grantbylabel_syscall()
/freebsd/sys/netgraph/
H A Dng_tty.c261 p = pfind(((int *)msg->data)[0]); in ngt_rcvmsg()
/freebsd/sys/dev/syscons/
H A Dscmouse.c807 if (cur_scp->mouse_proc != (p1 = pfind(cur_scp->mouse_pid))) { in sc_mouse_ioctl()
867 if (cur_scp->mouse_proc != (p1 = pfind(cur_scp->mouse_pid))){ in sc_mouse_ioctl()
H A Dsyscons.c1174 p1 = pfind(scp->pid); in sctty_ioctl()
2699 p = pfind(cur_scp->pid); in sc_switch_scr()
2921 if ((p = pfind(scp->pid)) != NULL) in vt_proc_alive()
/freebsd/sys/i386/linux/
H A Dlinux_ptrace_machdep.c341 if ((p = pfind(uap->pid)) == NULL) { in linux_ptrace()
/freebsd/sys/security/mac/
H A Dmac_syscalls.c98 tproc = pfind(uap->pid); in sys___mac_get_pid()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c952 proc = pfind(pargs.u.pid); in mac_veriexec_syscall()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c49 p = pfind(dhp->dofhp_pid); in dtrace_ioctl_helper()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c2416 p = pfind(tid); in linux_tdfind()
2799 p = pfind(args->who); in linux_ioprio_get()
2903 p = pfind(args->who); in linux_ioprio_set()
/freebsd/sys/nlm/
H A Dnlm_advlock.c432 p = pfind(fl->l_pid); in nlm_set_creds_for_lock()
/freebsd/sys/sys/
H A Dproc.h1093 struct proc *pfind(pid_t); /* Find process by id. */
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_mod.c2102 if ((p = pfind(1)) == NULL) in pmc_log_all_process_mappings()
3561 if ((p = pfind(a.pm_pid)) == NULL) in pmc_do_op_pmcattach()
3604 if ((p = pfind(a.pm_pid)) == NULL) in pmc_do_op_pmcdetach()

12