Lines Matching defs:hinfo
181 host_basic_info_data_t hinfo;
195 kret = host_info((host_t)BSD_HOST, HOST_BASIC_INFO, (host_info_t)&hinfo, &count);
206 return(SYSCTL_RETURN(req, hinfo.max_cpus));
212 return(SYSCTL_RETURN(req, hinfo.avail_cpus));
218 return(SYSCTL_RETURN(req, hinfo.physical_cpu));
224 return(SYSCTL_RETURN(req, hinfo.physical_cpu_max));
230 return(SYSCTL_RETURN(req, hinfo.logical_cpu));
236 return(SYSCTL_RETURN(req, hinfo.logical_cpu_max));
569 host_basic_info_data_t hinfo;
571 kern_return_t kret = host_info((host_t)BSD_HOST, HOST_BASIC_INFO, (host_info_t)&hinfo, &count);
574 hinfo.max_cpus = 1;
585 cacheconfig[0] = hinfo.max_cpus;
595 packages = roundup(hinfo.max_cpus, 2) / 2;
597 packages = hinfo.max_cpus;