Lines Matching refs:cnt
201 _kvm_ureadm(kvm_t *kd, const struct miniproc *p, u_long va, u_long *cnt)
278 *cnt = kd->nbpg - offset;
283 _kvm_uread(kvm_t *kd, const struct proc *p, u_long va, u_long *cnt)
288 return (_kvm_ureadm(kd, &mp, va, cnt));
333 int cnt = 0;
342 for (; cnt < maxcnt && p != NULL; p = proc.p_list.le_next) {
375 if (cnt >= maxcnt) {
454 ++cnt;
456 return (cnt);
492 kvm_getproc2(kvm_t *kd, int op, int arg, size_t esize, int *cnt)
727 *cnt = nprocs;
732 kvm_getlwps(kvm_t *kd, int pid, u_long paddr, size_t esize, int *cnt)
827 *cnt = nlwps;
832 kvm_getprocs(kvm_t *kd, int op, int arg, int *cnt)
892 *cnt = nprocs;
1068 int cnt;
1076 cnt = (int)kvm_ureadm(kd, p, p->p_psstrp,
1078 if (cnt != sizeof(arginfo))
1081 (*info)(&arginfo, &addr, &cnt);
1082 if (cnt == 0)
1084 ap = kvm_argv(kd, p, addr, cnt, nchr);
1220 u_long cnt;
1222 dp = _kvm_ureadm(kd, p, uva, &cnt);
1227 cc = (size_t)MIN(cnt, len);