proc_find_locked
if ((error = proc_find_locked(l, &p, pid)) != 0)
int proc_find_locked(struct lwp *, struct proc **, pid_t);