Lines Matching refs:kvm_read
143 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pid,
265 printf("kvm_read(%lx, [buf], %lu)\n", addr, nbytes);
266 if ((e = kvm_read(cookie, addr, buf, nbytes)) != nbytes)
267 printf("ERROR: kvm_read returned %ld instead of %lu\n",
290 if ((i = kvm_read(cookie, addr, b, nbytes)) != nbytes)
311 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pidbuf,
335 * must do a kvm_read to get contents.
337 if (kvm_read(cookie, (u_long)proc->p_pidp, (char *)&pidbuf,
365 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pidbuf,
433 if (kvm_read(cookie, nl[3].n_value, &alltp, sizeof (alltp))
444 if (kvm_read(cookie,
454 if (kvm_read(cookie, t.t_pcb.val[1] + STACK_BIAS, stk,