cores 277 daemons/controld/controld_throttle.c throttle_handle_load(float load, const char *desc, int cores) cores 282 daemons/controld/controld_throttle.c if (cores == 1) { cores 288 daemons/controld/controld_throttle.c normalize = cores; cores 305 daemons/controld/controld_throttle.c unsigned int cores; cores 309 daemons/controld/controld_throttle.c cores = pcmk__procfs_num_cores(); cores 324 daemons/controld/controld_throttle.c if(cores == 1) { cores 348 daemons/controld/controld_throttle.c cpu_load = throttle_handle_load(load, "CPU load", cores); cores 352 daemons/controld/controld_throttle.c crm_debug("Current load is %f across %u core(s)", load, cores); cores 187 daemons/pacemakerd/pacemakerd.c struct rlimit cores; cores 188 daemons/pacemakerd/pacemakerd.c int rc = getrlimit(RLIMIT_CORE, &cores); cores 196 daemons/pacemakerd/pacemakerd.c if ((cores.rlim_max == 0) && (geteuid() == 0)) { cores 197 daemons/pacemakerd/pacemakerd.c cores.rlim_max = RLIM_INFINITY; cores 200 daemons/pacemakerd/pacemakerd.c (unsigned long long) cores.rlim_max); cores 202 daemons/pacemakerd/pacemakerd.c cores.rlim_cur = cores.rlim_max; cores 204 daemons/pacemakerd/pacemakerd.c rc = setrlimit(RLIMIT_CORE, &cores); cores 147 lib/common/procfs.c int cores = 0; cores 159 lib/common/procfs.c ++cores; cores 164 lib/common/procfs.c return cores? cores : 1;