cores 278 daemons/controld/controld_throttle.c throttle_handle_load(float load, const char *desc, int cores) cores 283 daemons/controld/controld_throttle.c if (cores == 1) { cores 289 daemons/controld/controld_throttle.c normalize = cores; cores 306 daemons/controld/controld_throttle.c unsigned int cores; cores 310 daemons/controld/controld_throttle.c cores = pcmk__procfs_num_cores(); cores 325 daemons/controld/controld_throttle.c if(cores == 1) { cores 349 daemons/controld/controld_throttle.c cpu_load = throttle_handle_load(load, "CPU load", cores); cores 353 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 190 daemons/pacemakerd/pacemakerd.c if (getrlimit(RLIMIT_CORE, &cores) < 0) { cores 198 daemons/pacemakerd/pacemakerd.c if (cores.rlim_max == 0) { cores 203 daemons/pacemakerd/pacemakerd.c cores.rlim_max = RLIM_INFINITY; // Yes, but we're root, so enable them cores 207 daemons/pacemakerd/pacemakerd.c if (cores.rlim_cur != cores.rlim_max) { cores 208 daemons/pacemakerd/pacemakerd.c cores.rlim_cur = cores.rlim_max; cores 209 daemons/pacemakerd/pacemakerd.c if (setrlimit(RLIMIT_CORE, &cores) < 0) { cores 217 daemons/pacemakerd/pacemakerd.c if (cores.rlim_cur == RLIM_INFINITY) { cores 221 daemons/pacemakerd/pacemakerd.c (unsigned long long) cores.rlim_cur); cores 51 include/crm/common/unittest_internal.h struct rlimit cores = { 0, 0 }; \ cores 52 include/crm/common/unittest_internal.h setrlimit(RLIMIT_CORE, &cores); \ cores 87 include/crm/common/unittest_internal.h struct rlimit cores = { 0, 0 }; \ cores 88 include/crm/common/unittest_internal.h 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;