Searched refs:kinfo (Results 1 – 3 of 3) sorted by relevance
/third_party/libuv/src/unix/ |
D | freebsd.c | 133 struct kinfo_proc kinfo; in uv_resident_set_memory() local 143 kinfo_size = sizeof(kinfo); in uv_resident_set_memory() 145 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &kinfo_size, NULL, 0)) in uv_resident_set_memory() 151 *rss = kinfo.kp_vm_rssize * page_size; in uv_resident_set_memory() 153 *rss = kinfo.ki_rssize * page_size; in uv_resident_set_memory()
|
D | netbsd.c | 136 struct kinfo_proc2 *kinfo = NULL; in uv_resident_set_memory() local 149 kinfo = kvm_getproc2(kd, KERN_PROC_PID, pid, max_size, &nprocs); in uv_resident_set_memory() 150 if (kinfo == NULL) goto error; in uv_resident_set_memory() 152 *rss = kinfo->p_vm_rssize * page_size; in uv_resident_set_memory()
|
D | openbsd.c | 143 struct kinfo_proc kinfo; in uv_resident_set_memory() local 155 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &size, NULL, 0) < 0) in uv_resident_set_memory() 158 *rss = kinfo.p_vm_rssize * page_size; in uv_resident_set_memory()
|