cpus 994 opal/mca/event/libevent2022/libevent/event.c event_config_set_num_cpus_hint(struct event_config *cfg, int cpus) cpus 998 opal/mca/event/libevent2022/libevent/event.c cfg->n_cpus_hint = cpus; cpus 545 opal/mca/event/libevent2022/libevent/include/event2/event.h int event_config_set_num_cpus_hint(struct event_config *cfg, int cpus); cpus 953 opal/mca/hwloc/base/hwloc_base_util.c static int socket_to_cpu_set(char *cpus, cpus 964 opal/mca/hwloc/base/hwloc_base_util.c if ('*' == cpus[0]) { cpus 974 opal/mca/hwloc/base/hwloc_base_util.c range = opal_argv_split(cpus,'-'); cpus 2667 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c add_device_tree_cpus_node(device_tree_cpus_t *cpus, hwloc_bitmap_t cpuset, cpus 2670 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (cpus->n == cpus->allocated) { cpus 2673 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!cpus->allocated) cpus 2676 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c allocated = 2 * cpus->allocated; cpus 2677 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c tmp = realloc(cpus->p, allocated * sizeof(cpus->p[0])); cpus 2680 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p = tmp; cpus 2681 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->allocated = allocated; cpus 2683 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p[cpus->n].phandle = phandle; cpus 2684 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p[cpus->n].cpuset = (NULL == cpuset)?NULL:hwloc_bitmap_dup(cpuset); cpus 2685 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p[cpus->n].l2_cache = l2_cache; cpus 2686 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p[cpus->n].name = strdup(name); cpus 2687 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c ++cpus->n; cpus 2692 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_powerpc_device_tree_discover_cache(device_tree_cpus_t *cpus, cpus 2699 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for (i = 0; i < cpus->n; ++i) { cpus 2700 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (phandle != cpus->p[i].l2_cache) cpus 2702 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (NULL != cpus->p[i].cpuset) { cpus 2703 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_or(cpuset, cpuset, cpus->p[i].cpuset); cpus 2707 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (0 == look_powerpc_device_tree_discover_cache(cpus, cpus 2708 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus->p[i].phandle, level, cpuset)) cpus 2803 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c device_tree_cpus_t cpus; cpus 2819 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus.n = 0; cpus 2820 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus.p = NULL; cpus 2821 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus.allocated = 0; cpus 2848 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c add_device_tree_cpus_node(&cpus, NULL, l2_cache, phandle, dirent->d_name); cpus 2877 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c add_device_tree_cpus_node(&cpus, cpuset, l2_cache, phandle, dirent->d_name); cpus 2897 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (0 == cpus.n) { cpus 2903 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for (i = 0; i < cpus.n; ++i) { cpus 2905 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c i, cpus.p[i].name, cpus.p[i].phandle, cpus.p[i].l2_cache); cpus 2906 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (NULL == cpus.p[i].cpuset) { cpus 2909 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_debug_bitmap("cpuset %s\n", cpus.p[i].cpuset); cpus 2915 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for (i = 0; i < cpus.n; ++i) { cpus 2919 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (NULL != cpus.p[i].cpuset) cpus 2924 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (0 == look_powerpc_device_tree_discover_cache(&cpus, cpus 2925 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpus.p[i].phandle, &level, cpuset)) { cpus 2927 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c snprintf(cpu, sizeof(cpu), "%s/%s", ofroot, cpus.p[i].name); cpus 2934 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for (i = 0; i < cpus.n; ++i) { cpus 2935 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_free(cpus.p[i].cpuset); cpus 2936 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c free(cpus.p[i].name); cpus 2938 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c free(cpus.p); cpus 49 orte/mca/ess/base/ess_base_fns.c hwloc_cpuset_t cpus, nodeset; cpus 117 orte/mca/ess/base/ess_base_fns.c cpus = hwloc_bitmap_alloc(); cpus 118 orte/mca/ess/base/ess_base_fns.c if (hwloc_get_cpubind(opal_hwloc_topology, cpus, HWLOC_CPUBIND_PROCESS) < 0) { cpus 122 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 131 orte/mca/ess/base/ess_base_fns.c if (0 != hwloc_bitmap_compare(cpus, nodeset) || cpus 133 orte/mca/ess/base/ess_base_fns.c opal_hwloc_base_single_cpu(cpus)) { cpus 138 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_list_asprintf(&orte_process_info.cpuset, cpus); cpus 139 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 149 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_zero(cpus); cpus 153 orte/mca/ess/base/ess_base_fns.c OPAL_HWLOC_LOGICAL, cpus))) { cpus 155 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 158 orte/mca/ess/base/ess_base_fns.c if (0 > hwloc_set_cpubind(opal_hwloc_topology, cpus, 0)) { cpus 160 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 163 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_list_asprintf(&orte_process_info.cpuset, cpus); cpus 164 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 171 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_free(cpus); cpus 193 orte/mca/ess/base/ess_base_fns.c cpus = obj->cpuset; cpus 194 orte/mca/ess/base/ess_base_fns.c if (0 > hwloc_set_cpubind(opal_hwloc_topology, cpus, 0)) { cpus 199 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_list_asprintf(&orte_process_info.cpuset, cpus); cpus 213 orte/mca/ess/base/ess_base_fns.c cpus = obj->cpuset; cpus 214 orte/mca/ess/base/ess_base_fns.c if (0 > hwloc_set_cpubind(opal_hwloc_topology, cpus, 0)) { cpus 219 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_list_asprintf(&orte_process_info.cpuset, cpus); cpus 259 orte/mca/ess/base/ess_base_fns.c cpus = obj->cpuset; cpus 260 orte/mca/ess/base/ess_base_fns.c if (0 > hwloc_set_cpubind(opal_hwloc_topology, cpus, 0)) { cpus 265 orte/mca/ess/base/ess_base_fns.c hwloc_bitmap_list_asprintf(&orte_process_info.cpuset, cpus); cpus 21 orte/test/mpi/binding.c hwloc_cpuset_t cpus; cpus 35 orte/test/mpi/binding.c cpus = hwloc_bitmap_alloc(); cpus 36 orte/test/mpi/binding.c rc = hwloc_get_cpubind(opal_hwloc_topology, cpus, HWLOC_CPUBIND_PROCESS); cpus 37 orte/test/mpi/binding.c hwloc_bitmap_list_asprintf(&bindings, cpus); cpus 17 orte/test/mpi/hello.c hwloc_cpuset_t cpus; cpus 29 orte/test/mpi/hello.c cpus = hwloc_bitmap_alloc(); cpus 30 orte/test/mpi/hello.c rc = hwloc_get_cpubind(opal_hwloc_topology, cpus, HWLOC_CPUBIND_PROCESS); cpus 31 orte/test/mpi/hello.c hwloc_bitmap_list_asprintf(&bindings, cpus); cpus 236 orte/test/mpi/interlib.c hwloc_cpuset_t cpus; cpus 266 orte/test/mpi/interlib.c cpus = hwloc_bitmap_alloc(); cpus 267 orte/test/mpi/interlib.c rc = hwloc_get_cpubind(opal_hwloc_topology, cpus, HWLOC_CPUBIND_PROCESS); cpus 268 orte/test/mpi/interlib.c hwloc_bitmap_list_asprintf(&bindings, cpus);