Lines Matching defs:pidbuf
303 struct pid pidbuf;
311 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pidbuf,
312 sizeof (pidbuf)) != sizeof (pidbuf)) {
317 printf("p_pid: %d\n", pidbuf.pid_id);
325 struct pid pidbuf;
337 if (kvm_read(cookie, (u_long)proc->p_pidp, (char *)&pidbuf,
341 printf("p_pid: %d\n", pidbuf.pid_id);
363 struct pid pidbuf;
365 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pidbuf,
366 sizeof (pidbuf)) != sizeof (pidbuf))
369 printf("kvm_getu(pid:%d)\n", pidbuf.pid_id);
398 struct pid pidbuf;
400 if (kvm_kread(cookie, (uintptr_t)proc->p_pidp, &pidbuf,
401 sizeof (pidbuf)) != sizeof (pidbuf)) {
406 printf("kvm_getcmd(pid:%d, [u], arg, env)\n", pidbuf.pid_id);