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 193 daemons/pacemakerd/pacemakerd.c struct rlimit cores; cores 196 daemons/pacemakerd/pacemakerd.c if (getrlimit(RLIMIT_CORE, &cores) < 0) { cores 204 daemons/pacemakerd/pacemakerd.c if (cores.rlim_max == 0) { cores 209 daemons/pacemakerd/pacemakerd.c cores.rlim_max = RLIM_INFINITY; // Yes, but we're root, so enable them cores 213 daemons/pacemakerd/pacemakerd.c if (cores.rlim_cur != cores.rlim_max) { cores 214 daemons/pacemakerd/pacemakerd.c cores.rlim_cur = cores.rlim_max; cores 215 daemons/pacemakerd/pacemakerd.c if (setrlimit(RLIMIT_CORE, &cores) < 0) { cores 223 daemons/pacemakerd/pacemakerd.c if (cores.rlim_cur == RLIM_INFINITY) { cores 227 daemons/pacemakerd/pacemakerd.c (unsigned long long) cores.rlim_cur); cores 125 include/crm/common/unittest_internal.h struct rlimit cores = { 0, 0 }; \ cores 126 include/crm/common/unittest_internal.h setrlimit(RLIMIT_CORE, &cores); \ cores 171 include/crm/common/unittest_internal.h struct rlimit cores = { 0, 0 }; \ cores 172 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;