Lines Matching refs:osrelp
162 int *osrelp);
164 int *osrelp);
165 static int procstat_getosrel_sysctl(pid_t pid, int *osrelp);
2315 procstat_getosrel_kvm(kvm_t *kd, struct kinfo_proc *kp, int *osrelp) in procstat_getosrel_kvm() argument
2327 *osrelp = proc.p_osrel; in procstat_getosrel_kvm()
2332 procstat_getosrel_sysctl(pid_t pid, int *osrelp) in procstat_getosrel_sysctl() argument
2341 len = sizeof(*osrelp); in procstat_getosrel_sysctl()
2342 error = sysctl(name, nitems(name), osrelp, &len, NULL, 0); in procstat_getosrel_sysctl()
2349 procstat_getosrel_core(struct procstat_core *core, int *osrelp) in procstat_getosrel_core() argument
2357 if (len < sizeof(*osrelp)) { in procstat_getosrel_core()
2361 *osrelp = *buf; in procstat_getosrel_core()
2367 procstat_getosrel(struct procstat *procstat, struct kinfo_proc *kp, int *osrelp) in procstat_getosrel() argument
2371 return (procstat_getosrel_kvm(procstat->kd, kp, osrelp)); in procstat_getosrel()
2373 return (procstat_getosrel_sysctl(kp->ki_pid, osrelp)); in procstat_getosrel()
2375 return (procstat_getosrel_core(procstat->core, osrelp)); in procstat_getosrel()