topology 496 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c constraint_t *split_constraints (int *constraints, int nb_constraints, int k, tm_topology_t *topology, int depth, int N) topology 508 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c nb_leaves = compute_nb_leaves_from_level( depth + 1, topology ); topology 721 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c tm_topology_t *topology, int *local_vertices, topology 726 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c int k = topology->arity[depth]; topology 736 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c if ( depth == topology->nb_levels - 1 ){ topology 764 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c const_tab = split_constraints (constraints, nb_constraints, k, topology, depth, N); topology 776 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c topology, tab_local_vertices[i], topology 793 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c tm_tree_t *kpartition_build_tree_from_topology(tm_topology_t *topology,double **comm,int N, int *constraints, int nb_constraints, double *obj_weight, double *com_speed) topology 804 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c nb_cores=nb_processing_units(topology)*topology->oversub_fact; topology 862 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c kpartition_build_level_topology(root, &com_mat, N+K, depth, topology, local_vertices, topology 9 ompi/mca/topo/treematch/treematch/tm_kpartitioning.h tm_tree_t * kpartition_build_tree_from_topology(tm_topology_t *topology,double **com_mat,int N, int *constraints, int nb_constraints, double *obj_weight, double *com_speed); topology 51 ompi/mca/topo/treematch/treematch/tm_mapping.c int compute_nb_leaves_from_level(int depth,tm_topology_t *topology); topology 55 ompi/mca/topo/treematch/treematch/tm_mapping.c void map_topology(tm_topology_t *topology,tm_tree_t *comm_tree, int level, topology 60 ompi/mca/topo/treematch/treematch/tm_mapping.c tm_solution_t * tm_compute_mapping(tm_topology_t *topology,tm_tree_t *comm_tree); topology 68 ompi/mca/topo/treematch/treematch/tm_mapping.c int compute_nb_leaves_from_level(int depth,tm_topology_t *topology) topology 72 ompi/mca/topo/treematch/treematch/tm_mapping.c while(depth < topology->nb_levels-1) topology 73 ompi/mca/topo/treematch/treematch/tm_mapping.c res *= topology->arity[depth++]; topology 457 ompi/mca/topo/treematch/treematch/tm_mapping.c void map_topology(tm_topology_t *topology,tm_tree_t *comm_tree, int level, topology 466 ompi/mca/topo/treematch/treematch/tm_mapping.c nodes_id = topology->node_id; topology 467 ompi/mca/topo/treematch/treematch/tm_mapping.c N = topology->nb_nodes[level]; topology 476 ompi/mca/topo/treematch/treematch/tm_mapping.c assert(N==nb_compute_units*topology->oversub_fact); topology 487 ompi/mca/topo/treematch/treematch/tm_mapping.c for( i = 0 ; i < nb_processing_units(topology) ; i++ ) topology 488 ompi/mca/topo/treematch/treematch/tm_mapping.c for(j = 0 ; j < topology->oversub_fact ; j++){ topology 499 ompi/mca/topo/treematch/treematch/tm_mapping.c set_val(k[nodes_id[i/block_size]], proc_list[i], topology->oversub_fact); topology 516 ompi/mca/topo/treematch/treematch/tm_mapping.c for( i = 0 ; i < nb_processing_units(topology) ; i++ ){ topology 518 ompi/mca/topo/treematch/treematch/tm_mapping.c for (j = 0 ; j<topology->oversub_fact; j++){ topology 530 ompi/mca/topo/treematch/treematch/tm_mapping.c tm_solution_t * tm_compute_mapping(tm_topology_t *topology,tm_tree_t *comm_tree) topology 536 ompi/mca/topo/treematch/treematch/tm_mapping.c size_t k_length = nb_processing_units(topology); topology 542 ompi/mca/topo/treematch/treematch/tm_mapping.c k[i] = (int*) MALLOC(sizeof(int) * topology->oversub_fact); topology 545 ompi/mca/topo/treematch/treematch/tm_mapping.c map_topology(topology, comm_tree, topology->nb_levels-1, sigma, sigma_length ,k, k_length); topology 551 ompi/mca/topo/treematch/treematch/tm_mapping.c solution->oversub_fact = topology->oversub_fact; topology 9 ompi/mca/topo/treematch/treematch/tm_mapping.h void build_synthetic_proc_id(tm_topology_t *topology); topology 11 ompi/mca/topo/treematch/treematch/tm_mapping.h int compute_nb_leaves_from_level(int depth,tm_topology_t *topology); topology 15 ompi/mca/topo/treematch/treematch/tm_mapping.h void map_topology(tm_topology_t *topology,tm_tree_t *comm_tree, int level, topology 19 ompi/mca/topo/treematch/treematch/tm_mapping.h int nb_processing_units(tm_topology_t *topology); topology 21 ompi/mca/topo/treematch/treematch/tm_mapping.h tm_solution_t * tm_compute_mapping(tm_topology_t *topology,tm_tree_t *comm_tree); topology 15 ompi/mca/topo/treematch/treematch/tm_solution.c int distance(tm_topology_t *topology,int i, int j); topology 16 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma); topology 17 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric); topology 18 ompi/mca/topo/treematch/treematch/tm_solution.c double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, topology 20 ompi/mca/topo/treematch/treematch/tm_solution.c void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); topology 22 ompi/mca/topo/treematch/treematch/tm_solution.c void map_Packed(tm_topology_t *topology, int N, int *sigma); topology 23 ompi/mca/topo/treematch/treematch/tm_solution.c void map_RR(tm_topology_t * topology, int N, int *sigma); topology 25 ompi/mca/topo/treematch/treematch/tm_solution.c int *generate_random_sol(tm_topology_t *topology,int N, int seed); topology 31 ompi/mca/topo/treematch/treematch/tm_solution.c void map_MPIPP(tm_topology_t *topology,int nb_seed,int N,int *sigma,double **comm, double **arch); topology 57 ompi/mca/topo/treematch/treematch/tm_solution.c int distance(tm_topology_t *topology,int i, int j) topology 63 ompi/mca/topo/treematch/treematch/tm_solution.c int depth = topology->nb_levels-1; topology 65 ompi/mca/topo/treematch/treematch/tm_solution.c f_i = topology->node_rank[i]; topology 66 ompi/mca/topo/treematch/treematch/tm_solution.c f_j = topology->node_rank[j]; topology 74 ompi/mca/topo/treematch/treematch/tm_solution.c arity = topology->arity[level]; topology 82 ompi/mca/topo/treematch/treematch/tm_solution.c printf("distance(%d,%d):%d\n",topology->node_rank[i], topology->node_rank[j], level); topology 87 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) topology 91 ompi/mca/topo/treematch/treematch/tm_solution.c double *cost = topology->cost; topology 94 ompi/mca/topo/treematch/treematch/tm_solution.c int depth = topology->nb_levels - 1; topology 106 ompi/mca/topo/treematch/treematch/tm_solution.c a = cost[depth-distance(topology,sigma[i],sigma[j])]; topology 123 ompi/mca/topo/treematch/treematch/tm_solution.c static double display_sol_max_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) topology 127 ompi/mca/topo/treematch/treematch/tm_solution.c double *cost = topology->cost; topology 131 ompi/mca/topo/treematch/treematch/tm_solution.c int depth = topology->nb_levels - 1; topology 142 ompi/mca/topo/treematch/treematch/tm_solution.c a = cost[depth-distance(topology,sigma[i],sigma[j])]; topology 159 ompi/mca/topo/treematch/treematch/tm_solution.c static double display_sol_hop_byte(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma) topology 171 ompi/mca/topo/treematch/treematch/tm_solution.c nb_hops = 2*distance(topology,sigma[i],sigma[j]); topology 189 ompi/mca/topo/treematch/treematch/tm_solution.c double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric){ topology 192 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_sum_com(topology, aff_mat, sigma); topology 194 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_max_com(topology, aff_mat, sigma); topology 196 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol_hop_byte(topology, aff_mat, sigma); topology 206 ompi/mca/topo/treematch/treematch/tm_solution.c double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, topology 215 ompi/mca/topo/treematch/treematch/tm_solution.c for( i = 0 ; i < nb_processing_units(topology) ; i++ ){ topology 218 ompi/mca/topo/treematch/treematch/tm_solution.c for (j = 0 ; j<topology->oversub_fact; j++){ topology 229 ompi/mca/topo/treematch/treematch/tm_solution.c return display_sol(topology, aff_mat, sol->sigma, metric); topology 232 ompi/mca/topo/treematch/treematch/tm_solution.c void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric) topology 239 ompi/mca/topo/treematch/treematch/tm_solution.c map_Packed(topology, N, sigma); topology 241 ompi/mca/topo/treematch/treematch/tm_solution.c display_sol(topology, aff_mat, sigma, metric); topology 243 ompi/mca/topo/treematch/treematch/tm_solution.c map_RR(topology, N, sigma); topology 245 ompi/mca/topo/treematch/treematch/tm_solution.c display_sol(topology, aff_mat, sigma, metric); topology 284 ompi/mca/topo/treematch/treematch/tm_solution.c void map_Packed(tm_topology_t *topology, int N, int *sigma) topology 290 ompi/mca/topo/treematch/treematch/tm_solution.c depth = topology->nb_levels-1; topology 292 ompi/mca/topo/treematch/treematch/tm_solution.c for( i = 0 ; i < topology->nb_nodes[depth] ; i++){ topology 294 ompi/mca/topo/treematch/treematch/tm_solution.c if((!topology->constraints) || (in_tab(topology->constraints, topology->nb_constraints, topology->node_id[i]))){ topology 296 ompi/mca/topo/treematch/treematch/tm_solution.c printf ("%lu: %d -> %d\n", i, j, topology->node_id[i]); topology 297 ompi/mca/topo/treematch/treematch/tm_solution.c sigma[j++]=topology->node_id[i]; topology 304 ompi/mca/topo/treematch/treematch/tm_solution.c void map_RR(tm_topology_t *topology, int N,int *sigma) topology 310 ompi/mca/topo/treematch/treematch/tm_solution.c if(topology->constraints) topology 311 ompi/mca/topo/treematch/treematch/tm_solution.c sigma[i]=topology->constraints[i%topology->nb_constraints]; topology 313 ompi/mca/topo/treematch/treematch/tm_solution.c sigma[i]=i%topology->nb_proc_units; topology 315 ompi/mca/topo/treematch/treematch/tm_solution.c printf ("%d -> %d (%d)\n",i,sigma[i],topology->nb_proc_units); topology 330 ompi/mca/topo/treematch/treematch/tm_solution.c int *generate_random_sol(tm_topology_t *topology,int N, int seed) topology 337 ompi/mca/topo/treematch/treematch/tm_solution.c nodes_id = topology->node_id; topology 432 ompi/mca/topo/treematch/treematch/tm_solution.c void map_MPIPP(tm_topology_t *topology,int nb_seed,int N,int *sigma,double **comm, double **arch) topology 452 ompi/mca/topo/treematch/treematch/tm_solution.c sol = generate_random_sol(topology, N, seed++); topology 512 ompi/mca/topo/treematch/treematch/tm_solution.c sol=generate_random_sol(topology, N, seed++); topology 7 ompi/mca/topo/treematch/treematch/tm_solution.h int distance(tm_topology_t *topology,int i, int j); topology 8 ompi/mca/topo/treematch/treematch/tm_solution.h double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma); topology 9 ompi/mca/topo/treematch/treematch/tm_solution.h double display_sol(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, int *sigma, tm_metric_t metric); topology 10 ompi/mca/topo/treematch/treematch/tm_solution.h double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, topology 12 ompi/mca/topo/treematch/treematch/tm_solution.h void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); topology 14 ompi/mca/topo/treematch/treematch/tm_solution.h void map_Packed(tm_topology_t *topology, int N, int *sigma); topology 15 ompi/mca/topo/treematch/treematch/tm_solution.h void map_RR(tm_topology_t *topology, int N, int *sigma); topology 17 ompi/mca/topo/treematch/treematch/tm_solution.h int *generate_random_sol(tm_topology_t *topology,int N, int seed); topology 23 ompi/mca/topo/treematch/treematch/tm_solution.h void map_MPIPP(tm_topology_t *topology,int nb_seed,int N,int *sigma,double **comm, double **arch); topology 19 ompi/mca/topo/treematch/treematch/tm_thread_pool.c static int bind_myself_to_core(hwloc_topology_t topology, int id); topology 40 ompi/mca/topo/treematch/treematch/tm_thread_pool.c int bind_myself_to_core(hwloc_topology_t topology, int id){ topology 45 ompi/mca/topo/treematch/treematch/tm_thread_pool.c int depth = hwloc_topology_get_depth(topology); topology 46 ompi/mca/topo/treematch/treematch/tm_thread_pool.c int nb_cores = hwloc_get_nbobjs_by_depth(topology, depth-1); topology 68 ompi/mca/topo/treematch/treematch/tm_thread_pool.c obj = hwloc_get_obj_by_depth(topology, depth-1, my_core); topology 84 ompi/mca/topo/treematch/treematch/tm_thread_pool.c binding_res = hwloc_set_cpubind(topology, cpuset, HWLOC_CPUBIND_THREAD); topology 109 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_topology_t topology= local->topology; topology 116 ompi/mca/topo/treematch/treematch/tm_thread_pool.c bind_myself_to_core(topology,id); topology 177 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_topology_t topology; topology 188 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_topology_init(&topology); topology 192 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_topology_load(topology); topology 193 ompi/mca/topo/treematch/treematch/tm_thread_pool.c depth = hwloc_topology_get_depth(topology); topology 203 ompi/mca/topo/treematch/treematch/tm_thread_pool.c nb_cores = hwloc_get_nbobjs_by_depth(topology, depth-1); topology 210 ompi/mca/topo/treematch/treematch/tm_thread_pool.c pool -> topology = topology; topology 221 ompi/mca/topo/treematch/treematch/tm_thread_pool.c local[i].topology = topology; topology 266 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_topology_destroy(pool->topology); topology 21 ompi/mca/topo/treematch/treematch/tm_thread_pool.h hwloc_topology_t topology; topology 35 ompi/mca/topo/treematch/treematch/tm_thread_pool.h hwloc_topology_t topology; topology 14 ompi/mca/topo/treematch/treematch/tm_topology.c int symetric(hwloc_topology_t topology); topology 16 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_display_arity(tm_topology_t *topology); topology 17 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_display_topology(tm_topology_t *topology); topology 18 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_free_topology(tm_topology_t *topology); topology 20 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_optimize_topology(tm_topology_t **topology); topology 21 ompi/mca/topo/treematch/treematch/tm_topology.c int tm_topology_add_binding_constraints(char *constraints_filename, tm_topology_t *topology); topology 22 ompi/mca/topo/treematch/treematch/tm_topology.c int topo_nb_proc(hwloc_topology_t topology,int N); topology 23 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_arity_cpy(tm_topology_t *topology,int **arity,int *nb_levels); topology 24 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_constraints_cpy(tm_topology_t *topology,int **constraints,int *nb_constraints); topology 25 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_cost_cpy(tm_topology_t *topology,double **cost); topology 26 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_numbering_cpy(tm_topology_t *topology,int **numbering,int *nb_nodes); topology 27 ompi/mca/topo/treematch/treematch/tm_topology.c double ** topology_to_arch(hwloc_topology_t topology); topology 28 ompi/mca/topo/treematch/treematch/tm_topology.c void build_synthetic_proc_id(tm_topology_t *topology); topology 51 ompi/mca/topo/treematch/treematch/tm_topology.c tm_topology_t *topology = NULL; topology 85 ompi/mca/topo/treematch/treematch/tm_topology.c topology = (tm_topology_t*)MALLOC(sizeof(tm_topology_t)); topology 86 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_constraints = 0; topology 87 ompi/mca/topo/treematch/treematch/tm_topology.c topology->oversub_fact = 1; topology 88 ompi/mca/topo/treematch/treematch/tm_topology.c topology->constraints = NULL; topology 89 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_levels = atoi(strtok(s," "))+1; topology 90 ompi/mca/topo/treematch/treematch/tm_topology.c topology->arity = (int*)MALLOC(sizeof(int)*topology->nb_levels); topology 92 ompi/mca/topo/treematch/treematch/tm_topology.c cost = (double*)CALLOC(topology->nb_levels,sizeof(double)); topology 94 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = 0 ; i < topology->nb_levels-1 ; i++ ){ topology 95 ompi/mca/topo/treematch/treematch/tm_topology.c topology->arity[i] = atoi(strtok(NULL," ")); topology 99 ompi/mca/topo/treematch/treematch/tm_topology.c topology->arity[topology->nb_levels-1] = 0; topology 103 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = topology->nb_levels-2 ; i >= 0 ; i-- ) topology 106 ompi/mca/topo/treematch/treematch/tm_topology.c build_synthetic_proc_id(topology); topology 111 ompi/mca/topo/treematch/treematch/tm_topology.c topology->cost=cost; topology 114 ompi/mca/topo/treematch/treematch/tm_topology.c return topology; topology 119 ompi/mca/topo/treematch/treematch/tm_topology.c int nb_processing_units(tm_topology_t *topology) topology 121 ompi/mca/topo/treematch/treematch/tm_topology.c return topology->nb_proc_units; topology 124 ompi/mca/topo/treematch/treematch/tm_topology.c int topo_nb_proc(hwloc_topology_t topology,int N) topology 130 ompi/mca/topo/treematch/treematch/tm_topology.c objs[0] = hwloc_get_next_obj_by_type(topology,HWLOC_OBJ_PU,NULL); topology 131 ompi/mca/topo/treematch/treematch/tm_topology.c nb_proc = 1 + hwloc_get_closest_objs(topology,objs[0],objs+1,N-1); topology 155 ompi/mca/topo/treematch/treematch/tm_topology.c double ** topology_to_arch(hwloc_topology_t topology) topology 161 ompi/mca/topo/treematch/treematch/tm_topology.c nb_proc = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PU); topology 164 ompi/mca/topo/treematch/treematch/tm_topology.c obj_proc1 = hwloc_get_obj_by_type(topology,HWLOC_OBJ_PU,i); topology 167 ompi/mca/topo/treematch/treematch/tm_topology.c obj_proc2 = hwloc_get_obj_by_type(topology,HWLOC_OBJ_PU,j); topology 168 ompi/mca/topo/treematch/treematch/tm_topology.c obj_res = hwloc_get_common_ancestor_obj(topology,obj_proc1,obj_proc2); topology 176 ompi/mca/topo/treematch/treematch/tm_topology.c int symetric(hwloc_topology_t topology) topology 178 ompi/mca/topo/treematch/treematch/tm_topology.c int depth,i,topodepth = hwloc_topology_get_depth(topology); topology 182 ompi/mca/topo/treematch/treematch/tm_topology.c int N = hwloc_get_nbobjs_by_depth(topology, depth); topology 183 ompi/mca/topo/treematch/treematch/tm_topology.c obj = hwloc_get_next_obj_by_depth (topology,depth,NULL); topology 188 ompi/mca/topo/treematch/treematch/tm_topology.c obj = hwloc_get_next_obj_by_depth (topology,depth,obj); topology 198 ompi/mca/topo/treematch/treematch/tm_topology.c static void build_process_tab_id(tm_topology_t *topology, hwloc_obj_t *objs, char* filename){ topology 200 ompi/mca/topo/treematch/treematch/tm_topology.c unsigned int nb_nodes = topology->nb_proc_units; topology 206 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id[i] = i; topology 207 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank[i] = i; topology 219 ompi/mca/topo/treematch/treematch/tm_topology.c if((unsigned int)topology->node_id[j] == objs[i]->os_index){ topology 226 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id[i] = objs[i]->os_index; topology 227 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank[objs[i]->os_index] = i; topology 240 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_t topology; topology 250 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_init(&topology); topology 251 ompi/mca/topo/treematch/treematch/tm_topology.c err = hwloc_topology_set_xml(topology, filename); topology 259 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_ignore_all_keep_structure(topology); topology 261 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_set_all_types_filter(topology, HWLOC_TYPE_FILTER_KEEP_STRUCTURE); topology 264 ompi/mca/topo/treematch/treematch/tm_topology.c err = hwloc_topology_load(topology); topology 273 ompi/mca/topo/treematch/treematch/tm_topology.c if(!symetric(topology)){ topology 280 ompi/mca/topo/treematch/treematch/tm_topology.c topodepth = hwloc_topology_get_depth(topology); topology 295 ompi/mca/topo/treematch/treematch/tm_topology.c nb_nodes = hwloc_get_nbobjs_by_depth(topology, depth); topology 299 ompi/mca/topo/treematch/treematch/tm_topology.c objs[0] = hwloc_get_next_obj_by_depth(topology, depth, NULL); topology 300 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_get_closest_objs(topology, objs[0], objs+1, nb_nodes-1); topology 329 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_destroy(topology); topology 340 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_t topology; topology 347 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_init(&topology); topology 350 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_ignore_all_keep_structure(topology); topology 352 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_set_all_types_filter(topology, HWLOC_TYPE_FILTER_KEEP_STRUCTURE); topology 355 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_load(topology); topology 358 ompi/mca/topo/treematch/treematch/tm_topology.c if(!symetric(topology)){ topology 365 ompi/mca/topo/treematch/treematch/tm_topology.c topodepth = hwloc_topology_get_depth(topology); topology 378 ompi/mca/topo/treematch/treematch/tm_topology.c nb_nodes = hwloc_get_nbobjs_by_depth(topology, depth); topology 382 ompi/mca/topo/treematch/treematch/tm_topology.c objs[0] = hwloc_get_next_obj_by_depth(topology,depth,NULL); topology 383 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_get_closest_objs(topology,objs[0],objs+1,nb_nodes-1); topology 403 ompi/mca/topo/treematch/treematch/tm_topology.c hwloc_topology_destroy(topology); topology 410 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_free_topology(tm_topology_t *topology) topology 412 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->node_id); topology 413 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->node_rank); topology 414 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->constraints); topology 415 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->nb_nodes); topology 416 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->arity); topology 417 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->cost); topology 418 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology); topology 436 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_display_topology(tm_topology_t *topology) topology 440 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = 0 ; i < topology->nb_levels ; i++ ){ topology 441 ompi/mca/topo/treematch/treematch/tm_topology.c printf("Level %d with arity %d ", i, topology->arity[i]); topology 446 ompi/mca/topo/treematch/treematch/tm_topology.c for(id = 0; id < topology->nb_nodes[topology->nb_levels-1]/topology->oversub_fact; id++) topology 447 ompi/mca/topo/treematch/treematch/tm_topology.c printf("%d ",topology->node_rank[id]); topology 451 ompi/mca/topo/treematch/treematch/tm_topology.c if(topology->constraints){ topology 453 ompi/mca/topo/treematch/treematch/tm_topology.c for(i = 0; i < topology->nb_constraints; i++) topology 454 ompi/mca/topo/treematch/treematch/tm_topology.c printf("%d ",topology->constraints[i]); topology 459 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_levels, topology->nb_constraints, topology->oversub_fact, topology->nb_proc_units); topology 464 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_display_arity(tm_topology_t *topology){ topology 466 ompi/mca/topo/treematch/treematch/tm_topology.c for(depth=0; depth < topology->nb_levels; depth++){ topology 467 ompi/mca/topo/treematch/treematch/tm_topology.c printf("%d",topology->arity[depth]); topology 468 ompi/mca/topo/treematch/treematch/tm_topology.c if(topology->cost) topology 469 ompi/mca/topo/treematch/treematch/tm_topology.c printf("(%lf)",topology->cost[depth]); topology 482 ompi/mca/topo/treematch/treematch/tm_topology.c static int topo_check_constraints(tm_topology_t *topology){ topology 483 ompi/mca/topo/treematch/treematch/tm_topology.c int n = topology->nb_constraints; topology 485 ompi/mca/topo/treematch/treematch/tm_topology.c int depth = topology->nb_levels-1; topology 487 ompi/mca/topo/treematch/treematch/tm_topology.c if(!in_tab(topology->node_id, topology->nb_nodes[depth], topology->constraints[i])){ topology 489 ompi/mca/topo/treematch/treematch/tm_topology.c fprintf(stderr,"Error! Incompatible constraint with the topology: rank %d in the constraints is not a valid id of any nodes of the topology.\n",topology->constraints[i]); topology 502 ompi/mca/topo/treematch/treematch/tm_topology.c static int tm_topology_set_binding_constraints_cpy(int *constraints, int nb_constraints, tm_topology_t *topology, int cpy_flag){ topology 504 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> nb_constraints = nb_constraints; topology 506 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> constraints = (int*)MALLOC(nb_constraints*sizeof(int)); topology 507 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(topology -> constraints, constraints, nb_constraints*sizeof(int)); topology 509 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> constraints = constraints; topology 512 ompi/mca/topo/treematch/treematch/tm_topology.c return topo_check_constraints(topology); topology 515 ompi/mca/topo/treematch/treematch/tm_topology.c int tm_topology_set_binding_constraints(int *constraints, int nb_constraints, tm_topology_t *topology){ topology 516 ompi/mca/topo/treematch/treematch/tm_topology.c return tm_topology_set_binding_constraints_cpy(constraints, nb_constraints, topology, 1); topology 519 ompi/mca/topo/treematch/treematch/tm_topology.c int tm_topology_add_binding_constraints(char *constraints_filename, tm_topology_t *topology) topology 574 ompi/mca/topo/treematch/treematch/tm_topology.c return tm_topology_set_binding_constraints_cpy(tab, n, topology, 0); topology 578 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_numbering_cpy(tm_topology_t *topology,int **numbering,int *nb_nodes) topology 583 ompi/mca/topo/treematch/treematch/tm_topology.c nb_levels = topology->nb_levels; topology 584 ompi/mca/topo/treematch/treematch/tm_topology.c *nb_nodes = topology->nb_nodes[nb_levels-1]; topology 588 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(*numbering,topology->node_id,sizeof(int)*(*nb_nodes)); topology 591 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_arity_cpy(tm_topology_t *topology,int **arity,int *nb_levels) topology 593 ompi/mca/topo/treematch/treematch/tm_topology.c *nb_levels = topology->nb_levels; topology 595 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(*arity,topology->arity,sizeof(int)*(*nb_levels)); topology 598 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_constraints_cpy(tm_topology_t *topology,int **constraints,int *nb_constraints) topology 600 ompi/mca/topo/treematch/treematch/tm_topology.c *nb_constraints = topology->nb_constraints; topology 601 ompi/mca/topo/treematch/treematch/tm_topology.c if(topology->constraints){ topology 603 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(*constraints,topology->constraints,sizeof(int)*(*nb_constraints)); topology 609 ompi/mca/topo/treematch/treematch/tm_topology.c void topology_cost_cpy(tm_topology_t *topology,double **cost) topology 611 ompi/mca/topo/treematch/treematch/tm_topology.c *cost = (double*)MALLOC(sizeof(double)*(topology->nb_levels)); topology 612 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(*cost,topology->cost,sizeof(double)*(topology->nb_levels)); topology 700 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_optimize_topology(tm_topology_t **topology){ topology 710 ompi/mca/topo/treematch/treematch/tm_topology.c tm_display_arity(*topology); topology 712 ompi/mca/topo/treematch/treematch/tm_topology.c topology_arity_cpy(*topology,&arity,&nb_levels); topology 713 ompi/mca/topo/treematch/treematch/tm_topology.c topology_numbering_cpy(*topology,&numbering,&nb_nodes); topology 714 ompi/mca/topo/treematch/treematch/tm_topology.c topology_constraints_cpy(*topology,&constraints,&nb_constraints); topology 715 ompi/mca/topo/treematch/treematch/tm_topology.c topology_cost_cpy(*topology,&cost); topology 723 ompi/mca/topo/treematch/treematch/tm_topology.c new_topo->nb_proc_units = (*topology)->nb_proc_units; topology 724 ompi/mca/topo/treematch/treematch/tm_topology.c new_topo->oversub_fact = (*topology)->oversub_fact; topology 740 ompi/mca/topo/treematch/treematch/tm_topology.c tm_free_topology(*topology); topology 742 ompi/mca/topo/treematch/treematch/tm_topology.c *topology = new_topo; topology 768 ompi/mca/topo/treematch/treematch/tm_topology.c tm_topology_t *topology = NULL; topology 772 ompi/mca/topo/treematch/treematch/tm_topology.c topology = (tm_topology_t*)MALLOC(sizeof(tm_topology_t)); topology 773 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_constraints = 0; topology 774 ompi/mca/topo/treematch/treematch/tm_topology.c topology->oversub_fact = 1; topology 775 ompi/mca/topo/treematch/treematch/tm_topology.c topology->constraints = NULL; topology 776 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_levels = nb_levels; topology 777 ompi/mca/topo/treematch/treematch/tm_topology.c topology->arity = (int*)MALLOC(sizeof(int)*topology->nb_levels); topology 778 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_nodes = (size_t *)MALLOC(sizeof(size_t)*topology->nb_levels); topology 780 ompi/mca/topo/treematch/treematch/tm_topology.c topology->cost = (double*)CALLOC(topology->nb_levels,sizeof(double)); topology 782 ompi/mca/topo/treematch/treematch/tm_topology.c topology->cost = NULL; topology 784 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(topology->arity, arity, sizeof(int)*nb_levels); topology 786 ompi/mca/topo/treematch/treematch/tm_topology.c memcpy(topology->cost, cost, sizeof(double)*nb_levels); topology 789 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = 0 ; i < topology->nb_levels ; i++ ){ topology 790 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_nodes[i] = n; topology 791 ompi/mca/topo/treematch/treematch/tm_topology.c if (i == topology->nb_levels-1){ topology 792 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id = (int*)MALLOC(sizeof(int)*n); topology 793 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank = (int*)MALLOC(sizeof(int)*n); topology 794 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_constraints = n; topology 795 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_proc_units = n; topology 798 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id[j] = id; topology 799 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank[id] = j; topology 802 ompi/mca/topo/treematch/treematch/tm_topology.c n *= topology->arity[i]; topology 806 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = topology->nb_levels-2 ; i >= 0 ; i-- ) topology 807 ompi/mca/topo/treematch/treematch/tm_topology.c topology->cost[i] += topology->cost[i+1]; topology 810 ompi/mca/topo/treematch/treematch/tm_topology.c return topology; topology 814 ompi/mca/topo/treematch/treematch/tm_topology.c void build_synthetic_proc_id(tm_topology_t *topology) topology 819 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_nodes = (size_t*) MALLOC(sizeof(size_t)*topology->nb_levels); topology 821 ompi/mca/topo/treematch/treematch/tm_topology.c for( i = 0 ; i < topology->nb_levels ; i++ ){ topology 823 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_nodes[i] = n; topology 825 ompi/mca/topo/treematch/treematch/tm_topology.c if (i == topology->nb_levels-1){ topology 826 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank = (int*)MALLOC(sizeof(int)*n); topology 827 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id = (int*)MALLOC(sizeof(int)*n); topology 828 ompi/mca/topo/treematch/treematch/tm_topology.c if ( !topology->node_id ){ topology 834 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_constraints = n; topology 835 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_proc_units = n; topology 838 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id[j] = j; topology 839 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank[j] = j; topology 843 ompi/mca/topo/treematch/treematch/tm_topology.c n *= topology->arity[i]; topology 850 ompi/mca/topo/treematch/treematch/tm_topology.c void tm_enable_oversubscribing(tm_topology_t *topology, unsigned int oversub_fact){ topology 858 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> nb_levels ++; topology 859 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> arity = (int*) REALLOC(topology->arity, sizeof(int)*topology->nb_levels); topology 860 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> cost = (double*) REALLOC(topology->cost, sizeof(double)*topology->nb_levels); topology 861 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> nb_nodes = (size_t *)REALLOC(topology->nb_nodes, sizeof(size_t)*topology->nb_levels); topology 862 ompi/mca/topo/treematch/treematch/tm_topology.c topology -> oversub_fact = oversub_fact; topology 864 ompi/mca/topo/treematch/treematch/tm_topology.c i = topology->nb_levels - 1; topology 865 ompi/mca/topo/treematch/treematch/tm_topology.c n = topology->nb_nodes[i-1] * oversub_fact; topology 866 ompi/mca/topo/treematch/treematch/tm_topology.c topology->arity[i-1] = oversub_fact; topology 867 ompi/mca/topo/treematch/treematch/tm_topology.c topology->cost[i-1] = 0; topology 870 ompi/mca/topo/treematch/treematch/tm_topology.c topology->nb_nodes[i] = n; topology 873 ompi/mca/topo/treematch/treematch/tm_topology.c int id = topology->node_id[j/oversub_fact]; topology 877 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->node_id); topology 878 ompi/mca/topo/treematch/treematch/tm_topology.c FREE(topology->node_rank); topology 879 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_id = node_id; topology 880 ompi/mca/topo/treematch/treematch/tm_topology.c topology->node_rank = node_rank; topology 8 ompi/mca/topo/treematch/treematch/tm_topology.h int symetric(hwloc_topology_t topology); topology 10 ompi/mca/topo/treematch/treematch/tm_topology.h void tm_display_arity(tm_topology_t *topology); topology 11 ompi/mca/topo/treematch/treematch/tm_topology.h void tm_display_topology(tm_topology_t *topology); topology 12 ompi/mca/topo/treematch/treematch/tm_topology.h void tm_free_topology(tm_topology_t *topology); topology 14 ompi/mca/topo/treematch/treematch/tm_topology.h void tm_optimize_topology(tm_topology_t **topology); topology 15 ompi/mca/topo/treematch/treematch/tm_topology.h int tm_topology_add_binding_constraints(char *constraints_filename, tm_topology_t *topology); topology 16 ompi/mca/topo/treematch/treematch/tm_topology.h int topo_nb_proc(hwloc_topology_t topology,int N); topology 17 ompi/mca/topo/treematch/treematch/tm_topology.h void topology_arity(tm_topology_t *topology,int **arity,int *nb_levels); topology 18 ompi/mca/topo/treematch/treematch/tm_topology.h void topology_constraints(tm_topology_t *topology,int **constraints,int *nb_constraints); topology 19 ompi/mca/topo/treematch/treematch/tm_topology.h void topology_cost(tm_topology_t *topology,double **cost); topology 20 ompi/mca/topo/treematch/treematch/tm_topology.h void topology_numbering(tm_topology_t *topology,int **numbering,int *nb_nodes); topology 21 ompi/mca/topo/treematch/treematch/tm_topology.h double ** topology_to_arch(hwloc_topology_t topology); topology 22 ompi/mca/topo/treematch/treematch/tm_topology.h int nb_processing_units(tm_topology_t *topology); topology 2005 ompi/mca/topo/treematch/treematch/tm_tree.c void create_dumb_tree(tm_tree_t *node, int depth, tm_topology_t *topology) topology 2010 ompi/mca/topo/treematch/treematch/tm_tree.c if( depth == topology->nb_levels-1) { topology 2015 ompi/mca/topo/treematch/treematch/tm_tree.c arity = topology->arity[depth]; topology 2020 ompi/mca/topo/treematch/treematch/tm_tree.c create_dumb_tree(list_child[i], depth+1, topology); topology 2029 ompi/mca/topo/treematch/treematch/tm_tree.c void complete_tab_node(tm_tree_t **tab, int mat_order, int K, int depth, tm_topology_t *topology) topology 2047 ompi/mca/topo/treematch/treematch/tm_tree.c create_dumb_tree(&new_tab[i], depth, topology); topology 2076 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t *build_level_topology(tm_tree_t *tab_node, tm_affinity_mat_t *aff_mat, int arity, int depth, tm_topology_t *topology, topology 2115 ompi/mca/topo/treematch/treematch/tm_tree.c complete_tab_node(&tab_node, mat_order, K, depth, topology); topology 2174 ompi/mca/topo/treematch/treematch/tm_tree.c arity = topology->arity[depth-1]; topology 2178 ompi/mca/topo/treematch/treematch/tm_tree.c res = build_level_topology(new_tab_node, new_aff_mat, arity, depth, topology, new_obj_weight, comm_speed); topology 2197 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t *bottom_up_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, topology 2204 ompi/mca/topo/treematch/treematch/tm_tree.c depth = topology->nb_levels; topology 2212 ompi/mca/topo/treematch/treematch/tm_tree.c res = build_level_topology(tab_node, aff_mat , topology->arity[depth-2], depth-1, topology, obj_weight, comm_speed); topology 2234 ompi/mca/topo/treematch/treematch/tm_tree.c int check_constraints(tm_topology_t *topology, int **constraints) topology 2240 ompi/mca/topo/treematch/treematch/tm_tree.c int nb_constraints = topology->nb_constraints*topology->oversub_fact; topology 2241 ompi/mca/topo/treematch/treematch/tm_tree.c if(nb_constraints && topology->constraints){ topology 2251 ompi/mca/topo/treematch/treematch/tm_tree.c shift = 1 + i%topology->oversub_fact - topology->oversub_fact; topology 2252 ompi/mca/topo/treematch/treematch/tm_tree.c (*constraints)[i] = topology->node_rank[topology->constraints[i/topology->oversub_fact]] +shift; topology 2273 ompi/mca/topo/treematch/treematch/tm_tree.c tm_tree_t * tm_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, double *obj_weight, double *com_speed) topology 2281 ompi/mca/topo/treematch/treematch/tm_tree.c oversub_fact = topology->oversub_fact; topology 2283 ompi/mca/topo/treematch/treematch/tm_tree.c nb_constraints = check_constraints (topology, &constraints); topology 2285 ompi/mca/topo/treematch/treematch/tm_tree.c npu = nb_processing_units(topology); topology 2320 ompi/mca/topo/treematch/treematch/tm_tree.c result = kpartition_build_tree_from_topology(topology, aff_mat->mat, nb_processes, constraints, nb_constraints, topology 2331 ompi/mca/topo/treematch/treematch/tm_tree.c result = bottom_up_build_tree_from_topology(topology, aff_mat, obj_weight, com_speed); topology 149 ompi/mca/topo/treematch/treematch/treematch.h int tm_topology_add_binding_constraints(char *bind_filename, tm_topology_t *topology); topology 156 ompi/mca/topo/treematch/treematch/treematch.h int tm_topology_set_binding_constraints(int *constraints, int nb_constraints, tm_topology_t *topology); topology 158 ompi/mca/topo/treematch/treematch/treematch.h void tm_display_arity(tm_topology_t *topology); topology 160 ompi/mca/topo/treematch/treematch/treematch.h void tm_display_topology(tm_topology_t *topology); topology 162 ompi/mca/topo/treematch/treematch/treematch.h void tm_optimize_topology(tm_topology_t **topology); topology 164 ompi/mca/topo/treematch/treematch/treematch.h void tm_enable_oversubscribing(tm_topology_t *topology, unsigned int oversub_fact); topology 166 ompi/mca/topo/treematch/treematch/treematch.h tm_tree_t *tm_build_tree_from_topology(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, double *obj_weight, double *com_speed); topology 168 ompi/mca/topo/treematch/treematch/treematch.h tm_solution_t *tm_compute_mapping(tm_topology_t *topology, tm_tree_t *comm_tree); topology 170 ompi/mca/topo/treematch/treematch/treematch.h double tm_display_solution(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_solution_t *sol, tm_metric_t metric); topology 172 ompi/mca/topo/treematch/treematch/treematch.h void tm_display_other_heuristics(tm_topology_t *topology, tm_affinity_mat_t *aff_mat, tm_metric_t metric); topology 174 ompi/mca/topo/treematch/treematch/treematch.h void tm_free_topology(tm_topology_t *topology); topology 303 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_base_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlpath, int *buflen); topology 305 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_base_topology_set_flags (hwloc_topology_t topology, unsigned long flags, bool io); topology 2381 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_base_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlpath, int *buflen) { topology 2383 opal/mca/hwloc/base/hwloc_base_util.c return hwloc_topology_export_xmlbuffer(topology, xmlpath, buflen); topology 2385 opal/mca/hwloc/base/hwloc_base_util.c return hwloc_topology_export_xmlbuffer(topology, xmlpath, buflen, 0); topology 2389 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_base_topology_set_flags (hwloc_topology_t topology, unsigned long flags, bool io) { topology 2394 opal/mca/hwloc/base/hwloc_base_util.c int ret = hwloc_topology_set_io_types_filter(topology, HWLOC_TYPE_FILTER_KEEP_IMPORTANT); topology 2398 opal/mca/hwloc/base/hwloc_base_util.c return hwloc_topology_set_flags(topology, flags); topology 36 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_fix_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t set) topology 38 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t topology_set = hwloc_topology_get_topology_cpuset(topology); topology 39 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t complete_set = hwloc_topology_get_complete_cpuset(topology); topology 58 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t set, int flags) topology 65 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c set = hwloc_fix_cpubind(topology, set); topology 70 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisproc_cpubind) topology 71 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisproc_cpubind(topology, set, flags); topology 73 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisthread_cpubind) topology 74 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisthread_cpubind(topology, set, flags); topology 76 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisproc_cpubind) { topology 77 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c int err = topology->binding_hooks.set_thisproc_cpubind(topology, set, flags); topology 82 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisthread_cpubind) topology 83 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisthread_cpubind(topology, set, flags); topology 91 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_cpubind(hwloc_topology_t topology, hwloc_bitmap_t set, int flags) topology 99 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_cpubind) topology 100 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisproc_cpubind(topology, set, flags); topology 102 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_cpubind) topology 103 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_cpubind(topology, set, flags); topology 105 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_cpubind) { topology 106 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c int err = topology->binding_hooks.get_thisproc_cpubind(topology, set, flags); topology 111 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_cpubind) topology 112 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_cpubind(topology, set, flags); topology 120 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, int flags) topology 127 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c set = hwloc_fix_cpubind(topology, set); topology 131 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_proc_cpubind) topology 132 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_proc_cpubind(topology, pid, set, flags); topology 139 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, int flags) topology 146 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_proc_cpubind) topology 147 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_proc_cpubind(topology, pid, set, flags); topology 155 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_const_bitmap_t set, int flags) topology 162 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c set = hwloc_fix_cpubind(topology, set); topology 166 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thread_cpubind) topology 167 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thread_cpubind(topology, tid, set, flags); topology 174 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_bitmap_t set, int flags) topology 181 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thread_cpubind) topology 182 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thread_cpubind(topology, tid, set, flags); topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t set, int flags) topology 198 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_last_cpu_location) topology 199 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisproc_last_cpu_location(topology, set, flags); topology 201 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_last_cpu_location) topology 202 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_last_cpu_location(topology, set, flags); topology 204 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_last_cpu_location) { topology 205 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c int err = topology->binding_hooks.get_thisproc_last_cpu_location(topology, set, flags); topology 210 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_last_cpu_location) topology 211 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_last_cpu_location(topology, set, flags); topology 219 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_proc_last_cpu_location(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, int flags) topology 226 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_proc_last_cpu_location) topology 227 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_proc_last_cpu_location(topology, pid, set, flags); topology 236 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_fix_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset) topology 238 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t topology_nodeset = hwloc_topology_get_topology_nodeset(topology); topology 239 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t complete_nodeset = hwloc_topology_get_complete_nodeset(topology); topology 258 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_fix_membind_cpuset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_const_cpuset_t cpuset) topology 260 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t topology_set = hwloc_topology_get_topology_cpuset(topology); topology 261 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t complete_set = hwloc_topology_get_complete_cpuset(topology); topology 262 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_const_bitmap_t complete_nodeset = hwloc_topology_get_complete_nodeset(topology); topology 279 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_cpuset_to_nodeset(topology, cpuset, nodeset); topology 295 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_membind_by_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 302 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c nodeset = hwloc_fix_membind(topology, nodeset); topology 307 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisproc_membind) topology 308 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisproc_membind(topology, nodeset, policy, flags); topology 310 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisthread_membind) topology 311 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisthread_membind(topology, nodeset, policy, flags); topology 313 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisproc_membind) { topology 314 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c int err = topology->binding_hooks.set_thisproc_membind(topology, nodeset, policy, flags); topology 319 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_thisthread_membind) topology 320 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_thisthread_membind(topology, nodeset, policy, flags); topology 328 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_membind(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) topology 333 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_membind_by_nodeset(topology, set, policy, flags); topology 336 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (hwloc_fix_membind_cpuset(topology, nodeset, set)) topology 339 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_membind_by_nodeset(topology, nodeset, policy, flags); topology 346 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_membind_by_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 354 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_membind) topology 355 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisproc_membind(topology, nodeset, policy, flags); topology 357 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_membind) topology 358 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_membind(topology, nodeset, policy, flags); topology 360 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisproc_membind) { topology 361 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c int err = topology->binding_hooks.get_thisproc_membind(topology, nodeset, policy, flags); topology 366 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_thisthread_membind) topology 367 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_thisthread_membind(topology, nodeset, policy, flags); topology 375 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_membind(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags) topology 380 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_membind_by_nodeset(topology, set, policy, flags); topology 383 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_membind_by_nodeset(topology, nodeset, policy, flags); topology 385 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_cpuset_from_nodeset(topology, set, nodeset); topology 393 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_proc_membind_by_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 400 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c nodeset = hwloc_fix_membind(topology, nodeset); topology 404 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_proc_membind) topology 405 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_proc_membind(topology, pid, nodeset, policy, flags); topology 413 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) topology 418 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_proc_membind_by_nodeset(topology, pid, set, policy, flags); topology 421 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (hwloc_fix_membind_cpuset(topology, nodeset, set)) topology 424 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_proc_membind_by_nodeset(topology, pid, nodeset, policy, flags); topology 432 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_proc_membind_by_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 439 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_proc_membind) topology 440 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_proc_membind(topology, pid, nodeset, policy, flags); topology 447 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags) topology 452 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_proc_membind_by_nodeset(topology, pid, set, policy, flags); topology 455 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_proc_membind_by_nodeset(topology, pid, nodeset, policy, flags); topology 457 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_cpuset_from_nodeset(topology, set, nodeset); topology 465 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_area_membind_by_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 476 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c nodeset = hwloc_fix_membind(topology, nodeset); topology 480 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_area_membind) topology 481 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.set_area_membind(topology, addr, len, nodeset, policy, flags); topology 488 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) topology 493 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_area_membind_by_nodeset(topology, addr, len, set, policy, flags); topology 496 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (hwloc_fix_membind_cpuset(topology, nodeset, set)) topology 499 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_set_area_membind_by_nodeset(topology, addr, len, nodeset, policy, flags); topology 507 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_area_membind_by_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 520 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_area_membind) topology 521 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_area_membind(topology, addr, len, nodeset, policy, flags); topology 528 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags) topology 533 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_area_membind_by_nodeset(topology, addr, len, set, policy, flags); topology 536 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_area_membind_by_nodeset(topology, addr, len, nodeset, policy, flags); topology 538 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_cpuset_from_nodeset(topology, set, nodeset); topology 546 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_area_memlocation_by_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags) topology 557 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.get_area_memlocation) topology 558 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.get_area_memlocation(topology, addr, len, nodeset, flags); topology 565 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_get_area_memlocation(hwloc_topology_t topology, const void *addr, size_t len, hwloc_cpuset_t set, int flags) topology 570 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_area_memlocation_by_nodeset(topology, addr, len, set, flags); topology 573 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_get_area_memlocation_by_nodeset(topology, addr, len, nodeset, flags); topology 575 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_cpuset_from_nodeset(topology, set, nodeset); topology 583 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_alloc_heap(hwloc_topology_t topology __hwloc_attribute_unused, size_t len) topology 600 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_alloc_mmap(hwloc_topology_t topology __hwloc_attribute_unused, size_t len) topology 608 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_free_heap(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len __hwloc_attribute_unused) topology 616 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_free_mmap(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len) topology 625 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_alloc(hwloc_topology_t topology, size_t len) topology 627 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.alloc) topology 628 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.alloc(topology, len); topology 629 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return hwloc_alloc_heap(topology, len); topology 633 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_alloc_membind_by_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 642 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c nodeset = hwloc_fix_membind(topology, nodeset); topology 650 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.alloc_membind) topology 651 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.alloc_membind(topology, len, nodeset, policy, flags); topology 652 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c else if (topology->binding_hooks.set_area_membind) { topology 653 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c p = hwloc_alloc(topology, len); topology 656 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.set_area_membind(topology, p, len, nodeset, policy, flags) && flags & HWLOC_MEMBIND_STRICT) { topology 672 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return hwloc_alloc(topology, len); topology 676 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) topology 681 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_alloc_membind_by_nodeset(topology, len, set, policy, flags); topology 684 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (hwloc_fix_membind_cpuset(topology, nodeset, set)) { topology 688 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_alloc(topology, len); topology 690 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c ret = hwloc_alloc_membind_by_nodeset(topology, len, nodeset, policy, flags); topology 698 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_free(hwloc_topology_t topology, void *addr, size_t len) topology 700 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.free_membind) topology 701 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return topology->binding_hooks.free_membind(topology, addr, len); topology 702 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return hwloc_free_heap(topology, addr, len); topology 709 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_return_complete_cpuset(hwloc_topology_t topology, hwloc_cpuset_t set) topology 711 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 715 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 719 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused) topology 721 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_cpuset(topology, set); topology 723 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_thisproc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 727 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_thisproc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused) topology 729 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_cpuset(topology, set); topology 731 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 735 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_bitmap_t cpuset, int flags __hwloc_attribute_unused) topology 737 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_cpuset(topology, cpuset); topology 740 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 744 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid __hwloc_attribute_unused, hwloc_bitmap_t cpuset, int flags __hwloc_attribute_unused) topology 746 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_cpuset(topology, cpuset); topology 750 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_return_complete_nodeset(hwloc_topology_t topology, hwloc_nodeset_t set, hwloc_membind_policy_t *policy) topology 752 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_bitmap_copy(set, hwloc_topology_get_complete_nodeset(topology)); topology 757 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_thisproc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 761 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_thisproc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused) topology 763 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_nodeset(topology, set, policy); topology 766 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_thisthread_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 770 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_thisthread_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused) topology 772 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_nodeset(topology, set, policy); topology 775 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_proc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 779 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_proc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused) topology 781 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_nodeset(topology, set, policy); topology 784 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontset_area_membind(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 788 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_area_membind(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused) topology 790 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_nodeset(topology, set, policy); topology 792 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontget_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused) topology 795 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c return dontset_return_complete_nodeset(topology, set, &policy); topology 798 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static void * dontalloc_membind(hwloc_topology_t topology __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused) topology 802 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c static int dontfree_membind(hwloc_topology_t topology __hwloc_attribute_unused, void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused) topology 880 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_binding_hooks(struct hwloc_topology *topology) topology 882 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->is_thissystem) { topology 883 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_native_binding_hooks(&topology->binding_hooks, &topology->support); topology 887 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c hwloc_set_dummy_hooks(&topology->binding_hooks, &topology->support); topology 894 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->is_thissystem) { topology 896 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c if (topology->binding_hooks.kind) \ topology 897 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c topology->support.which##bind->kind = 1; topology 418 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backends_init(struct hwloc_topology *topology) topology 420 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backends = NULL; topology 421 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backend_excludes = 0; topology 440 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_component_force_enable(struct hwloc_topology *topology, topology 448 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (topology->is_loaded) { topology 462 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (topology->backends) topology 463 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backends_disable_all(topology); topology 464 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c return hwloc_backend_enable(topology, backend); topology 470 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_component_try_enable(struct hwloc_topology *topology, topology 477 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (topology->backend_excludes & comp->type) { topology 482 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_component_type_string(comp->type), comp->name, topology->backend_excludes); topology 494 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c return hwloc_backend_enable(topology, backend); topology 498 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_components_enable_others(struct hwloc_topology *topology) topology 546 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_component_try_enable(topology, comp, NULL, 1 /* envvar forced */); topology 588 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_disc_component_try_enable(topology, comp, NULL, 0 /* defaults, not envvar forced */); topology 597 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c backend = topology->backends; topology 668 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backend_enable(struct hwloc_topology *topology, struct hwloc_backend *backend) topology 680 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c pprev = &topology->backends; topology 698 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c pprev = &topology->backends; topology 704 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c backend->topology = topology; topology 705 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backend_excludes |= backend->component->excludes; topology 710 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backends_is_thissystem(struct hwloc_topology *topology) topology 722 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->is_thissystem = 1; topology 725 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c backend = topology->backends; topology 729 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->is_thissystem = 0; topology 735 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (topology->flags & HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM) topology 736 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->is_thissystem = 1; topology 739 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c backend = topology->backends; topology 743 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->is_thissystem = 0; topology 751 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->is_thissystem = atoi(local_env); topology 755 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backends_find_callbacks(struct hwloc_topology *topology) topology 757 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c struct hwloc_backend *backend = topology->backends; topology 759 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->get_pci_busid_cpuset_backend = NULL; topology 762 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->get_pci_busid_cpuset_backend = backend; topology 771 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_backends_disable_all(struct hwloc_topology *topology) topology 775 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c while (NULL != (backend = topology->backends)) { topology 781 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backends = next; topology 783 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backends = NULL; topology 784 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c topology->backend_excludes = 0; topology 382 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c hwloc_apply_diff_one(hwloc_topology_t topology, topology 391 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, obj_attr->obj_depth, obj_attr->obj_index); topology 455 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c int hwloc_topology_diff_apply(hwloc_topology_t topology, topology 462 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c if (!topology->is_loaded) { topology 476 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c err = hwloc_apply_diff_one(topology, tmpdiff, flags); topology 487 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c hwloc_apply_diff_one(topology, tmpdiff, flags ^ HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE); topology 22 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c void hwloc_internal_distances_init(struct hwloc_topology *topology) topology 24 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->first_dist = topology->last_dist = NULL; topology 25 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->next_dist_id = 0; topology 29 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c void hwloc_internal_distances_prepare(struct hwloc_topology *topology) topology 34 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping = 1; topology 35 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (topology->type_filter[HWLOC_OBJ_GROUP] == HWLOC_TYPE_FILTER_KEEP_NONE) topology 36 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping = 0; topology 39 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping = 0; topology 41 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (topology->grouping) { topology 42 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_next_subkind = 0; topology 44 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c HWLOC_BUILD_ASSERT(sizeof(topology->grouping_accuracies)/sizeof(*topology->grouping_accuracies) == 5); topology 45 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[0] = 0.0f; topology 46 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[1] = 0.01f; topology 47 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[2] = 0.02f; topology 48 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[3] = 0.05f; topology 49 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[4] = 0.1f; topology 50 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_nbaccuracies = 5; topology 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_nbaccuracies = 1; topology 59 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_nbaccuracies = 1; topology 60 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_accuracies[0] = (float) atof(env); topology 64 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_verbose = 0; topology 67 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_verbose = atoi(env); topology 80 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c void hwloc_internal_distances_destroy(struct hwloc_topology * topology) topology 82 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c struct hwloc_internal_distances_s *dist, *next = topology->first_dist; topology 87 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->first_dist = topology->last_dist = NULL; topology 147 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int hwloc_distances_remove(hwloc_topology_t topology) topology 149 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (!topology->is_loaded) { topology 153 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances_destroy(topology); topology 157 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int hwloc_distances_remove_by_depth(hwloc_topology_t topology, int depth) topology 162 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (!topology->is_loaded) { topology 168 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c type = hwloc_get_depth_type(topology, depth); topology 174 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c next = topology->first_dist; topology 181 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->last_dist = dist->prev; topology 185 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->first_dist = dist->next; topology 198 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc__groups_by_distances(struct hwloc_topology *topology, unsigned nbobjs, struct hwloc_obj **objs, uint64_t *values, unsigned long kind, unsigned nbaccuracies, float *accuracies, int needcheck); topology 204 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances__add(hwloc_topology_t topology, topology 245 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c dist->id = topology->next_dist_id++; topology 247 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (topology->last_dist) topology 248 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->last_dist->next = dist; topology 250 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->first_dist = dist; topology 251 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c dist->prev = topology->last_dist; topology 253 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->last_dist = dist; topology 265 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int hwloc_internal_distances_add_by_index(hwloc_topology_t topology, topology 282 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c return hwloc_internal_distances__add(topology, type, nbobjs, NULL, indexes, values, kind); topology 290 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int hwloc_internal_distances_add(hwloc_topology_t topology, topology 299 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (topology->grouping && (flags & HWLOC_DISTANCES_ADD_FLAG_GROUP)) { topology 305 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c accuracies = topology->grouping_accuracies; topology 306 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c nbaccuracies = topology->grouping_nbaccuracies; topology 312 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (topology->grouping_verbose) { topology 328 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc__groups_by_distances(topology, nbobjs, objs, values, topology 332 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c return hwloc_internal_distances__add(topology, objs[0]->type, nbobjs, objs, NULL, values, kind); topology 347 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int hwloc_distances_add(hwloc_topology_t topology, topology 357 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (nbobjs < 2 || !objs || !values || !topology->is_loaded) { topology 392 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c err = hwloc_internal_distances_add(topology, nbobjs, _objs, _values, kind, flags); topology 397 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_topology_reconnect(topology, 0); topology 412 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c static hwloc_obj_t hwloc_find_obj_by_type_and_gp_index(hwloc_topology_t topology, hwloc_obj_type_t type, uint64_t gp_index) topology 414 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_obj_t obj = hwloc_get_obj_by_type(topology, type, 0); topology 453 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances_refresh_one(hwloc_topology_t topology, topology 472 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c obj = hwloc_get_pu_obj_by_os_index(topology, (unsigned) indexes[i]); topology 474 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c obj = hwloc_get_numanode_obj_by_os_index(topology, (unsigned) indexes[i]); topology 476 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c obj = hwloc_find_obj_by_type_and_gp_index(topology, type, indexes[i]); topology 495 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances_refresh(hwloc_topology_t topology) topology 499 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c for(dist = topology->first_dist; dist; dist = next) { topology 502 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (hwloc_internal_distances_refresh_one(topology, dist) < 0) { topology 503 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c assert(!topology->tma || !topology->tma->dontfree); /* this tma cannot fail to allocate */ topology 507 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->first_dist = next; topology 511 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->last_dist = dist->prev; topology 519 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances_invalidate_cached_objs(hwloc_topology_t topology) topology 522 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c for(dist = topology->first_dist; dist; dist = dist->next) topology 531 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_distances_release(hwloc_topology_t topology __hwloc_attribute_unused, topology 540 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_distances_get_one(hwloc_topology_t topology __hwloc_attribute_unused, topology 573 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc__distances_get(hwloc_topology_t topology, topology 599 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_internal_distances_refresh(topology); topology 601 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c for(dist = topology->first_dist; dist; dist = dist->next) { topology 614 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c struct hwloc_distances_s *distances = hwloc_distances_get_one(topology, dist); topology 629 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_distances_release(topology, distancesp[i]); topology 634 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_distances_get(hwloc_topology_t topology, topology 638 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (flags || !topology->is_loaded) { topology 643 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c return hwloc__distances_get(topology, HWLOC_OBJ_TYPE_NONE, nrp, distancesp, kind, flags); topology 647 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc_distances_get_by_depth(hwloc_topology_t topology, int depth, topology 653 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (flags || !topology->is_loaded) { topology 659 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c type = hwloc_get_depth_type(topology, depth); topology 665 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c return hwloc__distances_get(topology, type, nrp, distancesp, kind, flags); topology 815 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc__groups_by_distances(struct hwloc_topology *topology, topology 827 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c int verbose = topology->grouping_verbose; topology 861 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c group_obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 864 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c group_obj->attr->group.subkind = topology->grouping_next_subkind; topology 873 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c res_obj = hwloc__insert_object_by_cpuset(topology, NULL, group_obj, topology 881 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c topology->grouping_next_subkind++; topology 916 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c hwloc__groups_by_distances(topology, nbgroups, groupobjs, groupvalues, kind, nbaccuracies, accuracies, 0 /* no need to check generated matrix */); topology 96 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c void hwloc_add_uname_info(struct hwloc_topology *topology __hwloc_attribute_unused, topology 102 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c if (hwloc_obj_get_info_by_name(topology->levels[0][0], "OSName")) topology 115 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_obj_add_info(topology->levels[0][0], "OSName", utsname->sysname); topology 117 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_obj_add_info(topology->levels[0][0], "OSRelease", utsname->release); topology 119 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_obj_add_info(topology->levels[0][0], "OSVersion", utsname->version); topology 121 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_obj_add_info(topology->levels[0][0], "HostName", utsname->nodename); topology 123 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_obj_add_info(topology->levels[0][0], "Architecture", utsname->machine); topology 128 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c hwloc_progname(struct hwloc_topology *topology __hwloc_attribute_unused) topology 27 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_forced_locality_parse_one(struct hwloc_topology *topology, topology 31 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c unsigned nr = topology->pci_forced_locality_nr; topology 55 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality = malloc(sizeof(*topology->pci_forced_locality)); topology 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (!topology->pci_forced_locality) topology 61 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c tmplocs = realloc(topology->pci_forced_locality, topology 62 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c 2 * *allocated * sizeof(*topology->pci_forced_locality)); topology 65 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality = tmplocs; topology 69 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality[nr].domain = domain; topology 70 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality[nr].bus_first = bus_first; topology 71 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality[nr].bus_last = bus_last; topology 72 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality[nr].cpuset = set; topology 73 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality_nr++; topology 82 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_forced_locality_parse(struct hwloc_topology *topology, const char *_env) topology 98 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_forced_locality_parse_one(topology, tmp, &allocated); topology 110 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_discovery_init(struct hwloc_topology *topology) topology 112 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->need_pci_belowroot_apply_locality = 0; topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_has_forced_locality = 0; topology 115 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality_nr = 0; topology 116 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_forced_locality = NULL; topology 120 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_discovery_prepare(struct hwloc_topology *topology) topology 128 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->pci_has_forced_locality = 1; topology 140 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_forced_locality_parse(topology, buffer); topology 150 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_forced_locality_parse(topology, env); topology 155 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_discovery_exit(struct hwloc_topology *topology __hwloc_attribute_unused) topology 158 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c for(i=0; i<topology->pci_forced_locality_nr; i++) topology 159 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_bitmap_free(topology->pci_forced_locality[i].cpuset); topology 160 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c free(topology->pci_forced_locality); topology 162 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_discovery_init(topology); topology 328 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pcidisc_tree_attach(struct hwloc_topology *topology, struct hwloc_obj *old_tree) topology 343 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c next_hb_p = &hwloc_get_root_obj(topology)->io_first_child; topology 347 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c bfilter = topology->type_filter[HWLOC_OBJ_BRIDGE]; topology 350 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->modified = 1; topology 361 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c struct hwloc_obj *hostbridge = hwloc_alloc_setup_object(topology, HWLOC_OBJ_BRIDGE, HWLOC_UNKNOWN_INDEX); topology 403 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->modified = 1; /* needed in case somebody reconnects levels before the core calls hwloc_pci_belowroot_apply_locality() topology 409 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->need_pci_belowroot_apply_locality = 1; topology 414 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_fixup_busid_parent(struct hwloc_topology *topology __hwloc_attribute_unused, topology 452 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc__pci_find_busid_parent(struct hwloc_topology *topology, struct hwloc_pcidev_attr_s *busid) topology 462 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (topology->pci_has_forced_locality) { topology 463 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c for(i=0; i<topology->pci_forced_locality_nr; i++) { topology 464 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (busid->domain == topology->pci_forced_locality[i].domain topology 465 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && busid->bus >= topology->pci_forced_locality[i].bus_first topology 466 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && busid->bus <= topology->pci_forced_locality[i].bus_last) { topology 467 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_bitmap_copy(cpuset, topology->pci_forced_locality[i].cpuset); topology 486 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (!topology->pci_has_forced_locality && !reported) { topology 503 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c struct hwloc_backend *backend = topology->get_pci_busid_cpuset_backend; topology 510 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_bitmap_copy(cpuset, hwloc_topology_get_topology_cpuset(topology)); topology 515 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c parent = hwloc_find_insert_io_parent_by_complete_cpuset(topology, cpuset); topology 519 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c parent = hwloc_pci_fixup_busid_parent(topology, busid, parent); topology 522 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c parent = hwloc_get_root_obj(topology); topology 530 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pcidisc_find_busid_parent(struct hwloc_topology *topology, topology 538 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c return hwloc__pci_find_busid_parent(topology, &busid); topology 542 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_belowroot_apply_locality(struct hwloc_topology *topology) topology 544 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c struct hwloc_obj *root = hwloc_get_root_obj(topology); topology 547 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (!topology->need_pci_belowroot_apply_locality) topology 549 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c topology->need_pci_belowroot_apply_locality = 0; topology 583 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c parent = hwloc__pci_find_busid_parent(topology, busid); topology 591 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_insert_object_by_parent(topology, parent, obj); topology 643 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pcidisc_find_by_busid(struct hwloc_topology *topology, topology 646 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_obj_t root = hwloc_get_root_obj(topology); topology 49 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc_shmem_topology_get_length(hwloc_topology_t topology, topology 68 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c err = hwloc__topology_dup(&new, topology, &tma); topology 78 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc_shmem_topology_write(hwloc_topology_t topology, topology 97 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc_internal_distances_refresh(topology); topology 128 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c err = hwloc__topology_dup(&new, topology, &tma); topology 239 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc__topology_disadopt(hwloc_topology_t topology) topology 242 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c munmap(topology->adopted_shmem_addr, topology->adopted_shmem_length); topology 243 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c free(topology->support.discovery); topology 244 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c free(topology->support.cpubind); topology 245 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c free(topology->support.membind); topology 246 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c free(topology); topology 252 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc_shmem_topology_get_length(hwloc_topology_t topology __hwloc_attribute_unused, topology 261 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc_shmem_topology_write(hwloc_topology_t topology __hwloc_attribute_unused, topology 281 opal/mca/hwloc/hwloc201/hwloc/hwloc/shmem.c hwloc__topology_disadopt(hwloc_topology_t topology __hwloc_attribute_unused) topology 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_sth_cpubind(hwloc_topology_t topology, rstype_t what, rsid_t who, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 69 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) { topology 95 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_sth_rset_cpubind(hwloc_topology_t topology, rstype_t what, rsid_t who, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused, int *boundp) topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_bitmap_and(hwloc_set, hwloc_set, hwloc_topology_get_complete_cpuset(topology)); topology 124 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_pid_getthrds_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t pid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 154 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_tid_getthrds_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, tid_t tid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 188 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 192 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_cpubind(topology, R_PROCESS, who, who.at_pid, hwloc_set, flags); topology 196 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 201 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_sth_rset_cpubind(topology, R_PROCESS, who, hwloc_set, flags, &bound); topology 204 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_pid_getthrds_cpubind(topology, who.at_pid, hwloc_set, flags); topology 211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 215 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_cpubind(topology, R_THREAD, who, getpid(), hwloc_set, flags); topology 219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 224 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_sth_rset_cpubind(topology, R_THREAD, who, hwloc_set, flags, &bound); topology 227 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_tid_getthrds_cpubind(topology, who.at_tid, hwloc_set, flags); topology 234 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags) topology 238 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_cpubind(topology, R_PROCESS, who, pid, hwloc_set, flags); topology 242 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, int flags) topology 247 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_sth_rset_cpubind(topology, R_PROCESS, who, hwloc_set, flags, &bound); topology 250 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_pid_getthrds_cpubind(topology, who.at_pid, hwloc_set, flags); topology 258 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, int flags) topology 267 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_cpubind(topology, R_THREAD, who, getpid(), hwloc_set, flags); topology 272 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_bitmap_t hwloc_set, int flags) topology 282 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_sth_rset_cpubind(topology, R_THREAD, who, hwloc_set, flags, &bound); topology 285 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c ret = hwloc_aix_get_tid_getthrds_cpubind(topology, who.at_tid, hwloc_set, flags); topology 294 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thisthread_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 298 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (topology->pid) { topology 335 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_prepare_membind(hwloc_topology_t topology, rsethandle_t *rad, hwloc_const_nodeset_t nodeset, int flags __hwloc_attribute_unused) topology 342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if ((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) topology 362 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_sth_membind(hwloc_topology_t topology, rstype_t what, rsid_t who, pid_t pid, hwloc_const_bitmap_t _nodeset, hwloc_membind_policy_t policy, int flags) topology 374 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c nodeset = hwloc_topology_get_complete_nodeset(topology); topology 387 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_aix_prepare_membind(topology, &rad, nodeset, flags)) topology 405 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_sth_membind(hwloc_topology_t topology, rstype_t what, rsid_t who, hwloc_bitmap_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused) topology 413 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 426 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_bitmap_and(hwloc_set, hwloc_set, hwloc_topology_get_complete_cpuset(topology)); topology 430 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 446 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags) topology 450 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_membind(topology, R_PROCESS, who, who.at_pid, hwloc_set, policy, flags); topology 454 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thisproc_membind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags) topology 458 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_get_sth_membind(topology, R_PROCESS, who, hwloc_set, policy, flags); topology 463 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags) topology 467 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_membind(topology, R_THREAD, who, getpid(), hwloc_set, policy, flags); topology 471 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thisthread_membind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags) topology 475 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_get_sth_membind(topology, R_THREAD, who, hwloc_set, policy, flags); topology 480 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags) topology 484 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_membind(topology, R_PROCESS, who, pid, hwloc_set, policy, flags); topology 488 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags) topology 492 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_get_sth_membind(topology, R_PROCESS, who, hwloc_set, policy, flags); topology 498 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_thread_membind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags) topology 507 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_set_sth_membind(topology, R_THREAD, who, getpid(), hwloc_set, policy, flags); topology 512 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_get_thread_membind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags) topology 521 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_aix_get_sth_membind(topology, R_THREAD, who, hwloc_set, policy, flags); topology 531 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t _nodeset, hwloc_membind_policy_t policy, int flags) topology 547 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c nodeset = hwloc_topology_get_complete_nodeset(topology); topology 558 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_aix_prepare_membind(topology, &subrange.su_rsid.at_rset, nodeset, flags)) topology 580 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_aix_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t _nodeset, hwloc_membind_policy_t policy, int flags) topology 588 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c nodeset = hwloc_topology_get_complete_nodeset(topology); topology 593 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_alloc_or_fail(topology, len, flags); topology 595 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_aix_prepare_membind(topology, &rsid.at_rset, nodeset, flags)) topology 596 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c return hwloc_alloc_or_fail(topology, len, flags); topology 606 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(int sdl, hwloc_obj_type_t type, struct hwloc_topology *topology, int level) topology 613 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if ((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) topology 653 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c obj = hwloc_alloc_setup_object(topology, type, os_index); topology 689 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c obj2 = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 704 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 705 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c obj3 = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 713 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_insert_object_by_cpuset(topology, obj3); topology 716 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) topology 717 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_insert_object_by_cpuset(topology, obj2); topology 728 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (hwloc_filter_check_keep_object_type(topology, obj->type)) topology 729 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_insert_object_by_cpuset(topology, obj); topology 741 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c struct hwloc_topology *topology = backend->topology; topology 744 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c if (topology->levels[0][0]->cpuset) topology 748 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 768 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_MACHINE, topology, i); topology 775 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_NUMANODE, topology, i); topology 777 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c topology->support.discovery->numa = 1; topology 783 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_L2CACHE, topology, i); topology 791 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_CORE, topology, i); topology 798 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_PU, topology, i); topology 800 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c topology->support.discovery->pu = 1; topology 807 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c look_rset(i, HWLOC_OBJ_GROUP, topology, i); topology 811 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "AIX"); topology 812 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-aix.c hwloc_add_uname_info(topology, NULL); topology 23 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq__get_allowed_resources(struct hwloc_topology *topology) topology 29 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bitmap_clr_range(topology->allowed_cpuset, (HWLOC_BGQ_CORES-1)*4, HWLOC_BGQ_CORES*4-1); topology 31 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (topology->is_thissystem) { /* don't call CNK unless thissystem */ topology 39 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bitmap_clr(topology->allowed_cpuset, 63-i); topology 48 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c struct hwloc_topology *topology = backend->topology; topology 53 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (topology->levels[0][0]->cpuset) topology 57 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 59 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq__get_allowed_resources(topology); topology 62 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, 0); topology 70 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 71 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c topology->support.discovery->numa = 1; topology 72 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c topology->support.discovery->numa_memory = 1; topology 78 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2CACHE)) { topology 79 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 86 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 90 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 91 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, 0); topology 94 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 104 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) { topology 105 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 112 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 115 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 128 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 129 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, i); topology 131 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_insert_object_by_cpuset(topology, obj); topology 137 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c topology->support.discovery->pu = 1; topology 138 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_setup_pu_level(topology, HWLOC_BGQ_CORES*4); topology 142 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "BGQ"); topology 143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_add_uname_info(topology, NULL); topology 148 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq_get_thread_cpubind(hwloc_topology_t topology, pthread_t thread, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 154 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (topology->pid) { topology 173 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (topology->pid) { topology 184 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq_set_thread_cpubind(hwloc_topology_t topology, pthread_t thread, hwloc_const_bitmap_t hwloc_set, int flags) topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c if (topology->pid) { topology 215 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 217 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c return hwloc_bgq_set_thread_cpubind(topology, pthread_self(), hwloc_set, flags); topology 221 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c hwloc_bgq_get_allowed_resources(struct hwloc_topology *topology) topology 232 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-bgq.c return hwloc_bgq__get_allowed_resources(topology); topology 57 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c struct hwloc_topology *topology = backend->topology; topology 62 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_OS_DEVICE, &filter); topology 78 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c cuda_device = hwloc_alloc_setup_object(topology, HWLOC_OBJ_OS_DEVICE, HWLOC_UNKNOWN_INDEX); topology 112 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c parent = hwloc_pcidisc_find_by_busid(topology, domain, bus, dev, 0); topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c parent = hwloc_pcidisc_find_busid_parent(topology, domain, bus, dev, 0); topology 117 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c parent = hwloc_get_root_obj(topology); topology 119 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-cuda.c hwloc_insert_object_by_parent(topology, parent, cuda_device); topology 28 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c struct hwloc_topology *topology = backend->topology; topology 48 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c if (topology->levels[0][0]->cpuset) topology 52 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 67 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c topology->support.discovery->pu = 1; topology 117 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) topology 119 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, i); topology 138 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_insert_object_by_cpuset(topology, obj); topology 142 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUVendor", cpuvendor); topology 144 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUModel", cpumodel); topology 146 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUFamilyNumber", cpufamilynumber); topology 148 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUModelNumber", cpumodelnumber); topology 150 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUStepping", cpustepping); topology 166 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 171 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, i); topology 180 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_insert_object_by_cpuset(topology, obj); topology 185 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUVendor", cpuvendor); topology 187 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUModel", cpumodel); topology 189 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUFamilyNumber", cpufamilynumber); topology 191 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUModelNumber", cpumodelnumber); topology 193 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "CPUStepping", cpustepping); topology 266 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, j); topology 271 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE+i-1, HWLOC_UNKNOWN_INDEX); topology 280 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 283 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_t l1i = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 293 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_insert_object_by_cpuset(topology, l1i); topology 325 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c if (hwloc_filter_check_keep_object_type(topology, obj->type)) topology 326 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_insert_object_by_cpuset(topology, obj); topology 335 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c topology->support.discovery->numa = 1; topology 337 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c topology->support.discovery->numa = 1; topology 340 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_setup_pu_level(topology, nprocs); topology 342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "Darwin"); topology 343 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-darwin.c hwloc_add_uname_info(topology, NULL); topology 52 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_set_sth_affinity(hwloc_topology_t topology __hwloc_attribute_unused, cpulevel_t level, cpuwhich_t which, id_t id, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 65 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_get_sth_affinity(hwloc_topology_t topology __hwloc_attribute_unused, cpulevel_t level, cpuwhich_t which, id_t id, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 77 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags) topology 79 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, hwloc_cpuset, flags); topology 83 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags) topology 85 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, hwloc_cpuset, flags); topology 89 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags) topology 91 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_TID, -1, hwloc_cpuset, flags); topology 95 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags) topology 97 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_TID, -1, hwloc_cpuset, flags); topology 101 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_cpuset, int flags) topology 103 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, hwloc_cpuset, flags); topology 107 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_cpuset, int flags) topology 109 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, hwloc_cpuset, flags); topology 117 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 169 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_node_meminfo_info(struct hwloc_topology *topology) topology 175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c topology->machine_memory.local_memory = physmem; topology 184 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c struct hwloc_topology *topology = backend->topology; topology 186 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c if (!topology->levels[0][0]->cpuset) { topology 188 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c int nbprocs = hwloc_fallback_nbprocessors(topology); topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c topology->support.discovery->pu = 1; topology 193 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 194 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_setup_pu_level(topology, nbprocs); topology 199 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_freebsd_node_meminfo_info(topology); topology 201 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "FreeBSD"); topology 202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-freebsd.c hwloc_add_uname_info(topology, NULL); topology 27 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c struct hwloc_topology *topology = backend->topology; topology 32 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_OS_DEVICE, &filter); topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c osdev = hwloc_alloc_setup_object(topology, HWLOC_OBJ_OS_DEVICE, HWLOC_UNKNOWN_INDEX); topology 122 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c parent = hwloc_pcidisc_find_by_busid(topology, (unsigned)nv_ctrl_pci_domain, (unsigned)nv_ctrl_pci_bus, (unsigned)nv_ctrl_pci_device, (unsigned)nv_ctrl_pci_func); topology 124 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c parent = hwloc_pcidisc_find_busid_parent(topology, (unsigned)nv_ctrl_pci_domain, (unsigned)nv_ctrl_pci_bus, (unsigned)nv_ctrl_pci_device, (unsigned)nv_ctrl_pci_func); topology 126 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c parent = hwloc_get_root_obj(topology); topology 128 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-gl.c hwloc_insert_object_by_parent(topology, parent, osdev); topology 11 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c int hwloc_look_hardwired_fujitsu_k(struct hwloc_topology *topology) topology 24 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 25 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 32 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 34 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) { topology 35 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 42 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 44 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 45 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, i); topology 47 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 55 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2CACHE)) { topology 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 63 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 65 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 66 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, 0); topology 70 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 74 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c topology->support.discovery->pu = 1; topology 75 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_setup_pu_level(topology, 8); topology 80 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c int hwloc_look_hardwired_fujitsu_fx10(struct hwloc_topology *topology) topology 93 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 94 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 101 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 103 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) { topology 104 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 111 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 113 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, i); topology 116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 124 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2CACHE)) { topology 125 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 134 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 135 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, 0); topology 139 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c topology->support.discovery->pu = 1; topology 144 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_setup_pu_level(topology, 16); topology 149 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c int hwloc_look_hardwired_fujitsu_fx100(struct hwloc_topology *topology) topology 162 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) { topology 163 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 170 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 172 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) { topology 173 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 180 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 182 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 183 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, i); topology 185 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2CACHE)) { topology 191 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 200 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 213 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 214 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, 0); topology 219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_insert_object_by_cpuset(topology, obj); topology 222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c topology->support.discovery->pu = 1; topology 223 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hardwired.c hwloc_setup_pu_level(topology, 34); topology 37 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_find_ldom(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set) topology 45 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c obj = hwloc_get_first_largest_obj_inside_cpuset(topology, hwloc_set); topology 63 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_find_spu(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t hwloc_set) topology 75 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags) topology 84 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) topology 87 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c ldom = hwloc_hpux_find_ldom(topology, hwloc_set); topology 91 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c cpu = hwloc_hpux_find_spu(topology, hwloc_set); topology 100 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 102 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c return hwloc_hpux_set_proc_cpubind(topology, MPC_SELFPID, hwloc_set, flags); topology 107 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, int flags) topology 116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) topology 119 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c ldom = hwloc_hpux_find_ldom(topology, hwloc_set); topology 123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c cpu = hwloc_hpux_find_spu(topology, hwloc_set); topology 132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 134 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c return hwloc_hpux_set_thread_cpubind(topology, PTHREAD_SELFTID_NP, hwloc_set, flags); topology 142 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_hpux_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t _nodeset, hwloc_membind_policy_t policy, int flags) topology 149 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c nodeset = hwloc_topology_get_complete_nodeset(topology); topology 153 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c return hwloc_alloc_or_fail(topology, len, flags); topology 180 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c struct hwloc_topology *topology = backend->topology; topology 186 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c if (topology->levels[0][0]->cpuset) topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 193 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? topology 202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c currentnode = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? topology 206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c nodes[i] = obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, (unsigned) currentnode); topology 213 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c currentnode = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? topology 220 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c currentcpu = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? topology 223 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, (unsigned) currentcpu); topology 246 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_insert_object_by_cpuset(topology, obj); topology 248 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c currentcpu = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ? topology 255 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_insert_object_by_cpuset(topology, nodes[i]); topology 258 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c topology->support.discovery->pu = 1; topology 260 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c topology->support.discovery->numa = 1; topology 262 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "HP-UX"); topology 263 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-hpux.c hwloc_add_uname_info(topology, NULL); topology 790 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_tid_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid __hwloc_attribute_unused, hwloc_const_bitmap_t hwloc_set __hwloc_attribute_unused) topology 855 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_find_kernel_nr_cpus(hwloc_topology_t topology) topology 865 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->levels[0][0]->complete_cpuset) topology 867 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c nr_cpus = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset) + 1; topology 904 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_tid_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid __hwloc_attribute_unused, hwloc_bitmap_t hwloc_set __hwloc_attribute_unused) topology 916 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c kernel_nr_cpus = hwloc_linux_find_kernel_nr_cpus(topology); topology 928 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->levels[0][0]->complete_cpuset) topology 929 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c last = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset); topology 1021 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c typedef int (*hwloc_linux_foreach_proc_tid_cb_t)(hwloc_topology_t topology, pid_t tid, void *data, int idx); topology 1024 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_foreach_proc_tid(hwloc_topology_t topology, topology 1057 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = cb(topology, tids[i], data, i); topology 1105 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_foreach_proc_tid_set_cpubind_cb(hwloc_topology_t topology, pid_t tid, void *data, int idx __hwloc_attribute_unused) topology 1107 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_tid_cpubind(topology, tid, (hwloc_bitmap_t) data); topology 1111 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_pid_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1113 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_foreach_proc_tid(topology, pid, topology 1126 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_foreach_proc_tid_get_cpubind_cb(hwloc_topology_t topology, pid_t tid, void *_data, int idx) topology 1133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_linux_get_tid_cpubind(topology, tid, tidset)) topology 1158 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_pid_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags) topology 1167 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c ret = hwloc_linux_foreach_proc_tid(topology, pid, topology 1175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_proc_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags) topology 1178 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c pid = topology->pid; topology 1180 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_tid_cpubind(topology, pid, hwloc_set); topology 1182 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_pid_cpubind(topology, pid, hwloc_set, flags); topology 1186 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_proc_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags) topology 1189 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c pid = topology->pid; topology 1191 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_tid_cpubind(topology, pid, hwloc_set); topology 1193 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_pid_cpubind(topology, pid, hwloc_set, flags); topology 1197 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 1199 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_pid_cpubind(topology, topology->pid, hwloc_set, flags); topology 1203 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 1205 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_pid_cpubind(topology, topology->pid, hwloc_set, flags); topology 1209 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->pid) { topology 1215 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_tid_cpubind(topology, 0, hwloc_set); topology 1219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1221 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->pid) { topology 1225 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_tid_cpubind(topology, 0, hwloc_set); topology 1233 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_thread_cpubind(hwloc_topology_t topology, pthread_t tid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1237 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->pid) { topology 1248 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_set_tid_cpubind(topology, 0, hwloc_set); topology 1327 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thread_cpubind(hwloc_topology_t topology, pthread_t tid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1331 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->pid) { topology 1342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_tid_cpubind(topology, 0, hwloc_set); topology 1358 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c last = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset); topology 1425 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid, hwloc_bitmap_t set) topology 1501 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb(hwloc_topology_t topology, pid_t tid, void *_data, int idx) topology 1507 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_linux_get_tid_last_cpu_location(topology, tid, tidset)) topology 1519 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_pid_last_cpu_location(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1527 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c ret = hwloc_linux_foreach_proc_tid(topology, pid, topology 1535 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_proc_last_cpu_location(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags) topology 1538 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c pid = topology->pid; topology 1540 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_tid_last_cpu_location(topology, pid, hwloc_set); topology 1542 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_pid_last_cpu_location(topology, pid, hwloc_set, flags); topology 1546 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thisproc_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 1548 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_pid_last_cpu_location(topology, topology->pid, hwloc_set, flags); topology 1552 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thisthread_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 1554 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->pid) { topology 1569 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_linux_get_tid_last_cpu_location(topology, 0, hwloc_set); topology 1606 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_membind_mask_from_nodeset(hwloc_topology_t topology __hwloc_attribute_unused, topology 1647 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_membind_mask_to_nodeset(hwloc_topology_t topology __hwloc_attribute_unused, topology 1664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 1686 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) { topology 1694 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_linux_membind_mask_from_nodeset(topology, nodeset, &max_os_index, &linuxmask); topology 1718 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 1723 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c buffer = hwloc_alloc_mmap(topology, len); topology 1727 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_linux_set_area_membind(topology, buffer, len, nodeset, policy, flags); topology 1737 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 1753 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) { topology 1761 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = hwloc_linux_membind_mask_from_nodeset(topology, nodeset, &max_os_index, &linuxmask); topology 1793 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_find_kernel_max_numnodes(hwloc_topology_t topology __hwloc_attribute_unused) topology 1848 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused) topology 1854 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c max_os_index = hwloc_linux_find_kernel_max_numnodes(topology); topology 1867 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_copy(nodeset, hwloc_topology_get_topology_nodeset(topology)); topology 1869 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_membind_mask_to_nodeset(topology, nodeset, max_os_index, linuxmask); topology 1883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused) topology 1895 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c max_os_index = hwloc_linux_find_kernel_max_numnodes(topology); topology 1938 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_copy(nodeset, hwloc_topology_get_topology_nodeset(topology)); topology 1940 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_membind_mask_to_nodeset(topology, nodeset, max_os_index, globallinuxmask); topology 1950 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux_get_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags __hwloc_attribute_unused) topology 1990 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c static void hwloc_linux__get_allowed_resources(hwloc_topology_t topology, const char *root_path, int root_fd, char **cpuset_namep); topology 1992 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c static int hwloc_linux_get_allowed_resources_hook(hwloc_topology_t topology) topology 2021 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux__get_allowed_resources(topology, fsroot_path, root_fd, &cpuset_name); topology 2023 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(topology->levels[0][0], "LinuxCgroup", cpuset_name); topology 2337 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_get_procfs_meminfo_info(struct hwloc_topology *topology, topology 2354 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->is_thissystem || pagesize_env) { topology 2362 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->is_thissystem) { topology 2407 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_sysfs_node_meminfo_info(struct hwloc_topology *topology, topology 2428 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->is_thissystem) { topology 2448 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c meminfo_hugepages_size = topology->machine_memory.page_types[1].size; topology 2716 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try__add_cache_from_device_tree_cpu(struct hwloc_topology *topology, topology 2730 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!hwloc_filter_check_keep_object_type(topology, otype)) topology 2733 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c c = hwloc_alloc_setup_object(topology, otype, HWLOC_UNKNOWN_INDEX); topology 2749 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, c); topology 2753 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try_add_cache_from_device_tree_cpu(struct hwloc_topology *topology, topology 2789 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try__add_cache_from_device_tree_cpu(topology, level, HWLOC_OBJ_CACHE_INSTRUCTION, topology 2791 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try__add_cache_from_device_tree_cpu(topology, level, unified ? HWLOC_OBJ_CACHE_UNIFIED : HWLOC_OBJ_CACHE_DATA, topology 2800 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_powerpc_device_tree(struct hwloc_topology *topology, topology 2860 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_bitmap_isset(topology->levels[0][0]->complete_cpuset, ntohl(threads[i]))) topology 2879 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 2881 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c core = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, (unsigned) reg); topology 2883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, core); topology 2887 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try_add_cache_from_device_tree_cpu(topology, data, cpu, 1, cpuset); topology 2928 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c try_add_cache_from_device_tree_cpu(topology, data, cpu, level, cpuset); topology 3182 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_sysfsnode(struct hwloc_topology *topology, topology 3221 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c node = hwloc_get_numanode_obj_by_os_index(topology, osnode); topology 3244 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c node = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, osnode); topology 3249 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_sysfs_node_meminfo_info(topology, data, path, osnode, &node->attr->numanode); topology 3255 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c topology->support.discovery->numa = 1; topology 3256 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c topology->support.discovery->numa_memory = 1; topology 3281 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c int noquirk = (env && !atoi(env)) || !distances || !hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP); topology 3304 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c mscache = knl_hwdata.mcdram_cache_size > 0 && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L3CACHE); topology 3307 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(topology->levels[0][0], "ClusterMode", knl_hwdata.cluster_mode); topology 3309 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(topology->levels[0][0], "MemoryMode", knl_hwdata.memory_mode); topology 3315 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_t cache = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L3CACHE, HWLOC_UNKNOWN_INDEX); topology 3326 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, cache); topology 3356 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_t cluster = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 3379 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c knl_clusters[i] = hwloc_insert_object_by_cpuset(topology, knl_clusters[i]); topology 3392 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c res_obj = hwloc__attach_memory_object(topology, parent, node, hwloc_report_os_error); topology 3395 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c res_obj = hwloc__insert_object_by_cpuset(topology, NULL, node, hwloc_report_os_error); topology 3411 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_internal_distances_add(topology, nbnodes, nodes, distances, topology 3424 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_sysfscpu(struct hwloc_topology *topology, topology 3455 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_set(topology->levels[0][0]->complete_cpuset, cpu); topology 3479 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c topology->support.discovery->pu = 1; topology 3489 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 3542 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c package = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, mypackageid); topology 3567 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 3605 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c core = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, mycoreid); topology 3612 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, core); topology 3619 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) { topology 3633 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c book = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, mybookid); topology 3639 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, book); topology 3650 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_obj *thread = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, (unsigned) i); topology 3656 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, thread); topology 3709 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c || !hwloc_filter_check_keep_object_type(topology, otype)) { topology 3747 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cache = hwloc_alloc_setup_object(topology, otype, HWLOC_UNKNOWN_INDEX); topology 3761 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, cache); topology 3775 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, packages); topology 3780 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_powerpc_device_tree(topology, data); topology 4124 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_cpuinfo(struct hwloc_topology *topology, topology 4152 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_t obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, (unsigned)Pproc); topology 4157 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, obj); topology 4160 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c topology->support.discovery->pu = 1; topology 4192 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 4194 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_obj *obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, Lpkg_to_Ppkg[i]); topology 4206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, obj); topology 4237 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 4239 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_obj *obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, Lcore_to_Pcore[i]); topology 4245 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_cpuset(topology, obj); topology 4263 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__linux_get_mic_sn(struct hwloc_topology *topology, struct hwloc_linux_backend_data_s *data) topology 4277 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(hwloc_get_root_obj(topology), "MICSerialNumber", tmp); topology 4281 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_gather_system_info(struct hwloc_topology *topology, topology 4294 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->is_thissystem) { topology 4296 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c data->fallback_nbprocessors = hwloc_fallback_nbprocessors(topology); /* errors managed in hwloc_linux_fallback_pu_level() */ topology 4368 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (topology->is_thissystem) topology 4390 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 4415 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_look_hardwired_fujitsu_k(topology); topology 4417 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_look_hardwired_fujitsu_fx10(topology); topology 4419 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_look_hardwired_fujitsu_fx100(topology); topology 4424 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c static void hwloc_linux__get_allowed_resources(hwloc_topology_t topology, const char *root_path, int root_fd, char **cpuset_namep) topology 4429 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpuset_name = hwloc_read_linux_cpuset_name(root_fd, topology->pid); topology 4431 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_admin_disable_set_from_cpuset(root_fd, cgroup_mntpnt, cpuset_mntpnt, cpuset_name, "cpus", topology->allowed_cpuset); topology 4432 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_admin_disable_set_from_cpuset(root_fd, cgroup_mntpnt, cpuset_mntpnt, cpuset_name, "mems", topology->allowed_nodeset); topology 4443 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 4447 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c topology->support.discovery->pu = 1; topology 4450 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_setup_pu_level(topology, data->fallback_nbprocessors); topology 4456 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 4490 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c already_pus = (topology->levels[0][0]->complete_cpuset != NULL topology 4491 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_bitmap_iszero(topology->levels[0][0]->complete_cpuset)); topology 4496 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c already_numanodes = (topology->levels[0][0]->complete_nodeset != NULL topology 4497 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && !hwloc_bitmap_iszero(topology->levels[0][0]->complete_nodeset)); topology 4502 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_reconnect(topology, 0); topology 4504 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 4509 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_gather_system_info(topology, data); topology 4548 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_linux__get_allowed_resources(topology, data->root_path, data->root_fd, &cpuset_name); topology 4564 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__move_infos(&hwloc_get_root_obj(topology)->infos, &hwloc_get_root_obj(topology)->infos_count, topology 4571 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c err = look_cpuinfo(topology, Lprocs, numprocs); topology 4576 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_powerpc_device_tree(topology, data); topology 4580 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (look_sysfscpu(topology, data, sysfs_cpu_path, Lprocs, numprocs) < 0) topology 4592 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_get_procfs_meminfo_info(topology, data, &topology->machine_memory); topology 4596 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c look_sysfsnode(topology, data, sysfs_node_path, &nbnodes); topology 4605 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_dmi_id_info(data, topology->levels[0][0]); topology 4607 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "Linux"); topology 4609 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_add_info(topology->levels[0][0], "LinuxCgroup", cpuset_name); topology 4613 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__linux_get_mic_sn(topology, data); topology 4616 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_add_uname_info(topology, &data->utsname); topology 4792 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 4858 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_pcidisc_find_by_busid(topology, pcidomain, pcibus, pcidev, pcifunc); topology 4862 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_pcidisc_find_busid_parent(topology, pcidomain, pcibus, pcidev, pcifunc); topology 4877 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_get_numanode_obj_by_os_index(topology, (unsigned) node); topology 4892 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c parent = hwloc_find_insert_io_parent_by_complete_cpuset(topology, cpuset); topology 4905 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c return hwloc_get_root_obj(topology); topology 4911 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 4912 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_obj *obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_OS_DEVICE, HWLOC_UNKNOWN_INDEX); topology 4916 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_parent(topology, pcidev, obj); topology 5543 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_firmware_dmi_memory_info_one(struct hwloc_topology *topology, topology 5630 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c misc = hwloc_alloc_setup_object(topology, HWLOC_OBJ_MISC, idx); topology 5643 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_insert_object_by_parent(topology, hwloc_get_root_obj(topology), misc); topology 5652 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_firmware_dmi_memory_info(struct hwloc_topology *topology, topology 5679 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_firmware_dmi_memory_info_one(topology, i, path, fd, &header); topology 5697 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 5754 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_PCI_DEVICE, &filter); topology 5762 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_BRIDGE, &filter); topology 5768 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c obj = hwloc_alloc_setup_object(topology, type, HWLOC_UNKNOWN_INDEX); topology 5826 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_pcidisc_tree_attach(backend->topology, tree); topology 5874 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 5894 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_obj_t obj = hwloc_linuxfs_pci_find_pcislot_obj(hwloc_get_root_obj(topology)->io_first_child, domain, bus, dev); topology 5913 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_topology *topology = backend->topology; topology 5923 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_PCI_DEVICE, &pfilter); topology 5924 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_BRIDGE, &bfilter); topology 5925 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_OS_DEVICE, &ofilter); topology 5926 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_MISC, &mfilter); topology 5934 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c tmpbackend = topology->backends; topology 5957 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c for_each_io_child(tmp, hwloc_get_root_obj(topology)) { topology 5990 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__get_firmware_dmi_memory_info(topology, data); topology 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_set_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 67 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_get_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 79 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags) topology 81 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c return hwloc_netbsd_set_proc_cpubind(topology, 0, hwloc_cpuset, flags); topology 85 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags) topology 87 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c return hwloc_netbsd_get_proc_cpubind(topology, 0, hwloc_cpuset, flags); topology 92 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 108 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused) topology 125 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags) topology 127 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c return hwloc_netbsd_set_thread_cpubind(topology, pthread_self(), hwloc_cpuset, flags); topology 131 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags) topology 133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c return hwloc_netbsd_get_thread_cpubind(topology, pthread_self(), hwloc_cpuset, flags); topology 138 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_node_meminfo_info(struct hwloc_topology *topology) topology 144 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c topology->machine_memory.local_memory = physmem; topology 151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c struct hwloc_topology *topology = backend->topology; topology 153 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c if (!topology->levels[0][0]->cpuset) { topology 155 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c int nbprocs = hwloc_fallback_nbprocessors(topology); topology 157 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c topology->support.discovery->pu = 1; topology 160 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 161 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_setup_pu_level(topology, nbprocs); topology 166 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_netbsd_node_meminfo_info(topology); topology 168 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "NetBSD"); topology 169 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-netbsd.c hwloc_add_uname_info(topology, NULL); topology 16 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c struct hwloc_topology *topology = backend->topology; topology 19 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c if (topology->levels[0][0]->cpuset) topology 23 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c nbprocs = hwloc_fallback_nbprocessors(topology); topology 25 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c topology->support.discovery->pu = 1; topology 29 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 30 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c hwloc_setup_pu_level(topology, nbprocs); topology 31 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-noos.c hwloc_add_uname_info(topology, NULL); topology 19 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c struct hwloc_topology *topology = backend->topology; topology 24 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_OS_DEVICE, &filter); topology 46 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c osdev = hwloc_alloc_setup_object(topology, HWLOC_OBJ_OS_DEVICE, HWLOC_UNKNOWN_INDEX); topology 72 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c parent = hwloc_pcidisc_find_by_busid(topology, pci.domain, pci.bus, pci.device, 0); topology 74 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c parent = hwloc_pcidisc_find_busid_parent(topology, pci.domain, pci.bus, pci.device, 0); topology 93 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c parent = hwloc_get_root_obj(topology); topology 95 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-nvml.c hwloc_insert_object_by_parent(topology, parent, osdev); topology 24 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c struct hwloc_topology *topology = backend->topology; topology 30 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_OS_DEVICE, &filter); topology 75 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c osdev = hwloc_alloc_setup_object(topology, HWLOC_OBJ_OS_DEVICE, HWLOC_UNKNOWN_INDEX); topology 137 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c parent = hwloc_pcidisc_find_by_busid(topology, 0, (unsigned)amdtopo.pcie.bus, (unsigned)amdtopo.pcie.device, (unsigned)amdtopo.pcie.function); topology 139 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c parent = hwloc_pcidisc_find_busid_parent(topology, 0, (unsigned)amdtopo.pcie.bus, (unsigned)amdtopo.pcie.device, (unsigned)amdtopo.pcie.function); topology 145 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c parent = hwloc_get_root_obj(topology); topology 147 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-opencl.c hwloc_insert_object_by_parent(topology, parent, osdev); topology 93 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c struct hwloc_topology *topology = backend->topology; topology 100 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_PCI_DEVICE, &pfilter); topology 101 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_BRIDGE, &bfilter); topology 109 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c tmp = hwloc_get_root_obj(topology)->io_first_child; topology 167 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_PCI_DEVICE, &filter); topology 175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c hwloc_topology_get_type_filter(topology, HWLOC_OBJ_BRIDGE, &filter); topology 233 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c obj = hwloc_alloc_setup_object(topology, type, HWLOC_UNKNOWN_INDEX); topology 290 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-pci.c hwloc_pcidisc_tree_attach(topology, tree); topology 36 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_sth_cpubind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_const_bitmap_t hwloc_set, int flags) topology 42 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) { topology 48 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 50 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 61 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 64 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 76 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 108 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags) topology 110 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_cpubind(topology, P_PID, pid, hwloc_set, flags); topology 114 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_cpubind(topology, P_PID, P_MYID, hwloc_set, flags); topology 120 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 122 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_cpubind(topology, P_LWPID, P_MYID, hwloc_set, flags); topology 127 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_sth_cpubind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 141 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_copy(hwloc_set, hwloc_topology_get_complete_cpuset(topology)); topology 157 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, int flags) topology 159 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_cpubind(topology, P_PID, pid, hwloc_set, flags); topology 163 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 165 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_cpubind(topology, P_PID, P_MYID, hwloc_set, flags); topology 169 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags) topology 171 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_cpubind(topology, P_LWPID, P_MYID, hwloc_set, flags); topology 178 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_sth_membind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_const_nodeset_t _nodeset, hwloc_membind_policy_t policy, int flags) topology 198 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c nodeset = hwloc_topology_get_complete_nodeset(topology); topology 202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 205 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 220 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_membind(topology, P_PID, pid, nodeset, policy, flags); topology 226 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 228 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_membind(topology, P_PID, P_MYID, nodeset, policy, flags); topology 232 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 234 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_set_sth_membind(topology, P_LWPID, P_MYID, nodeset, policy, flags); topology 238 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_sth_membind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused) topology 244 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c n = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE); topology 247 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, i); topology 255 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_copy(nodeset, hwloc_topology_get_complete_nodeset(topology)); topology 262 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags) topology 264 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_membind(topology, P_PID, pid, nodeset, policy, flags); topology 268 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_thisproc_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags) topology 270 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_membind(topology, P_PID, P_MYID, nodeset, policy, flags); topology 274 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags) topology 276 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c return hwloc_solaris_get_sth_membind(topology, P_LWPID, P_MYID, nodeset, policy, flags); topology 283 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags __hwloc_attribute_unused) topology 290 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c && !hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) { topology 323 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c lgrp_list_allowed(struct hwloc_topology *topology) topology 355 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_zero(topology->allowed_cpuset); topology 359 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_set(topology->allowed_cpuset, pids[i]); topology 379 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_zero(topology->allowed_nodeset); topology 383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_set(topology->allowed_nodeset, nids[i]); topology 395 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c lgrp_build_numanodes(struct hwloc_topology *topology, topology 441 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, (unsigned) nids[i]); topology 470 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, obj); topology 472 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c topology->support.discovery->numa = 1; topology 473 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c topology->support.discovery->numa_memory = 1; topology 482 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_look_lgrp(struct hwloc_topology *topology) topology 489 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c lgrp_list_allowed(topology); topology 502 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c lgrp_build_numanodes(topology, cookie, root, glob_lgrps, &curlgrp); topology 519 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_internal_distances_add(topology, curlgrp, glob_lgrps, distances, topology 536 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_look_kstat(struct hwloc_topology *topology) topology 600 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1ICACHE)) topology 602 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L1CACHE)) topology 604 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2ICACHE)) topology 606 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L2CACHE)) topology 608 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_L3CACHE)) topology 642 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_set(topology->levels[0][0]->complete_cpuset, cpuid); topology 807 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t l3 = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L3CACHE, HWLOC_UNKNOWN_INDEX); topology 814 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, l3); topology 820 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t l2i = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2ICACHE, HWLOC_UNKNOWN_INDEX); topology 827 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, l2i); topology 830 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t l2 = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L2CACHE, HWLOC_UNKNOWN_INDEX); topology 837 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, l2); topology 841 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c else if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) { topology 842 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_t group = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 848 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, group); topology 858 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 863 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, Lpkg[j].Ppkg); topology 873 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, obj); topology 896 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c struct hwloc_obj *l1 = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1CACHE, HWLOC_UNKNOWN_INDEX); topology 903 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, l1); topology 906 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c struct hwloc_obj *l1i = hwloc_alloc_setup_object(topology, HWLOC_OBJ_L1ICACHE, HWLOC_UNKNOWN_INDEX); topology 913 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, l1i); topology 915 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 916 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c struct hwloc_obj *obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, Lcore[j].Pcore); topology 918 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, obj); topology 931 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, Lproc[j].Pproc); topology 937 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_insert_object_by_cpuset(topology, obj); topology 940 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c topology->support.discovery->pu = 1; topology 965 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c struct hwloc_topology *topology = backend->topology; topology 968 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (topology->levels[0][0]->cpuset) topology 972 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 975 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_look_lgrp(topology); topology 978 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c if (hwloc_look_kstat(topology) > 0) topology 983 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c int nbprocs = hwloc_fallback_nbprocessors (topology); topology 985 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c topology->support.discovery->pu = 1; topology 988 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_setup_pu_level(topology, nbprocs); topology 991 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "Solaris"); topology 992 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_add_uname_info(topology, NULL); topology 997 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c static int hwloc_solaris_get_allowed_hook(hwloc_topology_t topology) topology 999 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c lgrp_list_allowed(topology); topology 1005 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_solaris_get_thisthread_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused) topology 868 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_synthetic_insert_attached(struct hwloc_topology *topology, topology 883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c child = hwloc_alloc_setup_object(topology, attached->attr.type, attached_os_index); topology 891 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_insert_object_by_cpuset(topology, child); topology 893 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_synthetic_insert_attached(topology, data, attached->next, set); topology 905 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__look_synthetic(struct hwloc_topology *topology, topology 927 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__look_synthetic(topology, data, level + 1, set); topology 932 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c if (hwloc_filter_check_keep_object_type(topology, type)) { topology 933 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c obj = hwloc_alloc_setup_object(topology, type, os_index); topology 943 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_insert_object_by_cpuset(topology, obj); topology 946 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_synthetic_insert_attached(topology, data, curlevel->attached, set); topology 954 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c struct hwloc_topology *topology = backend->topology; topology 959 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c assert(!topology->levels[0][0]->cpuset); topology 961 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 963 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c topology->support.discovery->pu = 1; topology 964 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c topology->support.discovery->numa = 1; /* we add a single NUMA node if none is given */ topology 965 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c topology->support.discovery->numa_memory = 1; /* specified or default size */ topology 975 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c topology->levels[0][0]->type = data->level[0].attr.type; topology 976 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_synthetic_set_attr(&data->level[0].attr, topology->levels[0][0]); topology 979 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__look_synthetic(topology, data, 1, cpuset); topology 981 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_synthetic_insert_attached(topology, data, data->level[0].attached, cpuset); topology 985 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "Synthetic"); topology 986 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_obj_add_info(topology->levels[0][0], "SyntheticDescription", data->string); topology 1175 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__export_synthetic_obj_attr(struct hwloc_topology * topology, topology 1221 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c total = topology->slevels[HWLOC_SLEVEL_NUMANODE].nbobjs; topology 1222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c level = topology->slevels[HWLOC_SLEVEL_NUMANODE].objs; topology 1224 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c total = topology->level_nbobjects[obj->depth]; topology 1225 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c level = topology->levels[obj->depth]; topology 1243 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__export_synthetic_obj(struct hwloc_topology * topology, unsigned long flags, topology 1279 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_obj_attr(topology, obj, tmp, tmplen); topology 1288 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc__export_synthetic_memory_children(struct hwloc_topology * topology, unsigned long flags, topology 1315 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_obj(topology, flags, mchild, 1, tmp, tmplen); topology 1331 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_obj(topology, flags, mchild, (unsigned)-1, tmp, tmplen); topology 1345 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_check_memory_symmetric(struct hwloc_topology * topology) topology 1349 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c remaining_nodes = hwloc_bitmap_dup(hwloc_get_root_obj(topology)->nodeset); topology 1361 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c node = hwloc_get_numanode_obj_by_os_index(topology, idx); topology 1368 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c for(i=0; i<hwloc_get_nbobjs_by_depth(topology, first_parent->depth); i++) { topology 1371 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c parent = hwloc_get_obj_by_depth(topology, first_parent->depth, i); topology 1397 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_topology_export_synthetic(struct hwloc_topology * topology, topology 1401 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c hwloc_obj_t obj = hwloc_get_root_obj(topology); topology 1413 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c if (!topology->is_loaded) { topology 1447 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c && hwloc_check_memory_symmetric(topology) < 0) { topology 1459 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c node = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 0); topology 1478 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_obj_attr(topology, obj, tmp, tmplen); topology 1486 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_memory_children(topology, flags, obj, tmp, tmplen, needprefix, verbose); topology 1501 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_obj(topology, flags, obj, arity, tmp, tmplen); topology 1506 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-synthetic.c res = hwloc__export_synthetic_memory_children(topology, flags, obj, tmp, tmplen, 1, verbose); topology 368 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thisthread_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t set, int flags __hwloc_attribute_unused) topology 397 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t thread, hwloc_const_bitmap_t hwloc_set, int flags) topology 432 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 434 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_set_thread_cpubind(topology, GetCurrentThread(), hwloc_set, flags); topology 438 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 451 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c cpuset = hwloc_topology_get_complete_cpuset(topology); topology 454 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_cpuset_from_nodeset(topology, _cpuset, nodeset); topology 457 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c ret = hwloc_win_set_thisthread_cpubind(topology, cpuset, topology 469 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t thread, hwloc_cpuset_t set, int flags __hwloc_attribute_unused) topology 482 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t set, int flags __hwloc_attribute_unused) topology 484 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_get_thread_cpubind(topology, GetCurrentThread(), set, flags); topology 488 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 492 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c ret = hwloc_win_get_thread_cpubind(topology, GetCurrentThread(), cpuset, flags); topology 495 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_cpuset_to_nodeset(topology, cpuset, nodeset); topology 507 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t proc, hwloc_const_bitmap_t hwloc_set, int flags) topology 536 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags) topology 538 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_set_proc_cpubind(topology, GetCurrentProcess(), hwloc_set, flags); topology 542 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 555 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c cpuset = hwloc_topology_get_complete_cpuset(topology); topology 558 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_cpuset_from_nodeset(topology, _cpuset, nodeset); topology 561 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c ret = hwloc_win_set_proc_cpubind(topology, pid, cpuset, topology 568 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 570 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_set_proc_membind(topology, GetCurrentProcess(), nodeset, policy, flags); topology 579 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t proc, hwloc_bitmap_t hwloc_set, int flags) topology 607 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 611 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c ret = hwloc_win_get_proc_cpubind(topology, pid, cpuset, topology 615 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_cpuset_to_nodeset(topology, cpuset, nodeset); topology 622 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags) topology 624 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_get_proc_cpubind(topology, GetCurrentProcess(), hwloc_cpuset, flags); topology 628 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_thisproc_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 630 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_get_proc_membind(topology, GetCurrentProcess(), nodeset, policy, flags); topology 639 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_alloc(hwloc_topology_t topology __hwloc_attribute_unused, size_t len) { topology 644 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_alloc_membind(hwloc_topology_t topology __hwloc_attribute_unused, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) { topology 653 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_alloc_or_fail(topology, len, flags); topology 662 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c || hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) topology 663 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_win_alloc(topology, len); topology 668 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c return hwloc_alloc_or_fail(topology, len, flags); topology 676 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_free_membind(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len __hwloc_attribute_unused) { topology 690 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_win_get_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags __hwloc_attribute_unused) topology 736 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c struct hwloc_topology *topology = backend->topology; topology 743 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c if (topology->levels[0][0]->cpuset) topology 747 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 809 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c if (!hwloc_filter_check_keep_object_type(topology, type)) topology 812 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c obj = hwloc_alloc_setup_object(topology, type, id); topology 874 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_insert_object_by_cpuset(topology, obj); topology 964 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) { topology 965 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, id); topology 968 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_insert_object_by_cpuset(topology, obj); topology 979 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c if (!hwloc_filter_check_keep_object_type(topology, type)) topology 982 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c obj = hwloc_alloc_setup_object(topology, type, id); topology 1042 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_insert_object_by_cpuset(topology, obj); topology 1047 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c topology->support.discovery->pu = 1; topology 1048 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c topology->support.discovery->numa = gotnuma; topology 1049 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c topology->support.discovery->numa_memory = gotnumamemory; topology 1058 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, idx); topology 1063 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_insert_object_by_cpuset(topology, obj); topology 1074 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, idx); topology 1079 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_insert_object_by_cpuset(topology, obj); topology 1084 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "Windows"); topology 1085 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_add_uname_info(topology, NULL); topology 1171 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-windows.c hwloc_fallback_nbprocessors(struct hwloc_topology *topology __hwloc_attribute_unused) { topology 707 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c struct hwloc_topology *topology = backend->topology; topology 734 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_PACKAGE)) { topology 750 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c package = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PACKAGE, packageid); topology 757 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, package); topology 763 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c package = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_PACKAGE, NULL); topology 771 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_x86_add_cpuinfos(hwloc_get_root_obj(topology), &infos[i], 1); topology 807 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c node = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, nodeid); topology 813 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, node); topology 818 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) { topology 846 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unit = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, unitid); topology 852 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, unit); topology 874 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unknown_obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, unknownid); topology 880 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, unknown_obj); topology 887 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_CORE)) { topology 916 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c core = hwloc_alloc_setup_object(topology, HWLOC_OBJ_CORE, coreid); topology 920 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, core); topology 930 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c struct hwloc_obj *obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, i); topology 934 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, obj); topology 957 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (!hwloc_filter_check_keep_object_type(topology, otype)) topology 976 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = hwloc_get_next_obj_covering_cpuset_by_type(topology, puset, otype, NULL); topology 1007 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = hwloc_alloc_setup_object(topology, otype, HWLOC_UNKNOWN_INDEX); topology 1017 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_insert_object_by_cpuset(topology, cache); topology 1030 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c topology->support.discovery->numa = 1; topology 1036 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c int (*get_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags), topology 1037 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c int (*set_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags)) topology 1040 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c struct hwloc_topology *topology = backend->topology; topology 1048 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (get_cpubind(topology, orig_cpuset, HWLOC_CPUBIND_STRICT)) { topology 1064 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (set_cpubind(topology, set, HWLOC_CPUBIND_STRICT)) { topology 1078 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c set_cpubind(topology, orig_cpuset, 0); topology 1135 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c static int fake_get_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, topology 1141 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c static int fake_set_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, topology 1165 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c int (*get_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags) = NULL; topology 1166 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c int (*set_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags) = NULL; topology 1293 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c struct hwloc_topology *topology = backend->topology; topology 1308 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c topology->support.discovery->pu = 1; topology 1310 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c int nbprocs = hwloc_fallback_nbprocessors(topology); topology 1312 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c topology->support.discovery->pu = 1; topology 1318 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (topology->levels[0][0]->cpuset) { topology 1320 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (topology->nb_levels == 2 && topology->level_nbobjects[1] == data->nbprocs) { topology 1327 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_topology_reconnect(topology, 0); topology 1330 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "x86"); topology 1334 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_alloc_root_sets(topology->levels[0][0]); topology 1341 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_setup_pu_level(topology, data->nbprocs); topology 1344 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(topology->levels[0][0], "Backend", "x86"); topology 1348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_add_uname_info(topology, NULL); /* we already know is_thissystem() is true */ topology 1352 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(topology->levels[0][0], "Architecture", "x86_64"); topology 1354 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(topology->levels[0][0], "Architecture", "x86"); topology 435 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c hwloc__libxml2_prepare_export(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 467 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c hwloc__xml_export_topology (&state, topology, flags); topology 473 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c hwloc_libxml_export_file(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 481 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c doc = hwloc__libxml2_prepare_export(topology, edata, flags); topology 496 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c hwloc_libxml_export_buffer(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 501 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-libxml.c doc = hwloc__libxml2_prepare_export(topology, edata, flags); topology 683 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c hwloc___nolibxml_prepare_export(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 714 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c hwloc__xml_export_topology (&childstate, topology, flags); topology 721 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c hwloc_nolibxml_export_buffer(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 731 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c res = hwloc___nolibxml_prepare_export(topology, edata, buffer, (int)bufferlen, flags); topology 740 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c hwloc___nolibxml_prepare_export(topology, edata, buffer, (int)res, flags); topology 749 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c hwloc_nolibxml_export_file(hwloc_topology_t topology, struct hwloc__xml_export_data_s *edata, topology 757 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml-nolibxml.c ret = hwloc_nolibxml_export_buffer(topology, edata, &buffer, &bufferlen, flags); topology 106 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_object_attr(struct hwloc_topology *topology, topology 123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (obj->gp_index >= topology->next_gp_index) topology 124 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->next_gp_index = obj->gp_index + 1; topology 136 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_bitmap_sscanf(topology->allowed_cpuset, value); topology 148 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_bitmap_sscanf(topology->allowed_nodeset, value); topology 206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->machine_memory.local_memory = lvalue; topology 407 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->machine_memory.local_memory = lvalue << 10; topology 415 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_numanode_attr_s *memory = obj->type == HWLOC_OBJ_NUMANODE ? &obj->attr->numanode : &topology->machine_memory; topology 429 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_numanode_attr_s *memory = obj->type == HWLOC_OBJ_NUMANODE ? &obj->attr->numanode : &topology->machine_memory; topology 495 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_pagetype(hwloc_topology_t topology __hwloc_attribute_unused, struct hwloc_numanode_attr_s *memory, topology 641 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_userdata(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, topology 663 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (!topology->userdata_import_cb) { topology 670 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c } else if (topology->userdata_not_decoded) { topology 680 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_import_cb(topology, obj, fakename, buffer, length); topology 699 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_import_cb(topology, obj, name, decoded_buffer, length); topology 710 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_import_cb(topology, obj, name, buffer, length); topology 717 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c static void hwloc__xml_import_report_outoforder(hwloc_topology_t topology, hwloc_obj_t new, hwloc_obj_t old) topology 719 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c char *progname = hwloc_progname(topology); topology 720 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c const char *origversion = hwloc_obj_get_info_by_name(topology->levels[0][0], "hwlocVersion"); topology 721 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c const char *origprogname = hwloc_obj_get_info_by_name(topology->levels[0][0], "ProcessName"); topology 762 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_object(hwloc_topology_t topology, topology 818 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_object_attr(topology, data, obj, attrname, attrvalue, state); topology 839 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_import_pagetype(topology, &obj->attr->numanode, &childstate); topology 841 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_import_pagetype(topology, &topology->machine_memory, &childstate); topology 854 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_import_userdata(topology, obj, &childstate); topology 934 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_obj_t machine = hwloc_alloc_setup_object(topology, HWLOC_OBJ_MACHINE, HWLOC_UNKNOWN_INDEX); topology 939 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->levels[0][0] = machine; topology 965 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c && hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) { topology 966 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_obj_t group = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 973 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_insert_object_by_parent(topology, parent, group); topology 1083 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (!hwloc_filter_check_keep_object(topology, obj)) { topology 1095 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_insert_object_by_parent(topology, parent, obj); topology 1104 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_obj_t childobj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_TYPE_MAX, HWLOC_UNKNOWN_INDEX); topology 1106 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_import_object(topology, data, ignored ? parent : obj, childobj, topology 1162 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_import_report_outoforder(topology, next, cur); topology 1186 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2import_distances(hwloc_topology_t topology, topology 1383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_internal_distances_add_by_index(topology, type, nbobjs, indexes, u64values, kind, 0); topology 1552 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_convert_from_v1dist_floats(hwloc_topology_t topology, unsigned nbobjs, float *floats, uint64_t *u64s) topology 1595 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_obj_add_info(hwloc_get_root_obj(topology), "xmlv1DistancesScale", scalestring); topology 1602 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_topology *topology = backend->topology; topology 1605 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_obj *root = topology->levels[0][0]; topology 1636 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_import_object(topology, data, NULL /* no parent */, root, topology 1645 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c root = topology->levels[0][0]; topology 1661 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc__xml_v2import_distances(topology, &childstate); topology 1685 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c node->parent->gp_index = topology->next_gp_index++; topology 1713 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_convert_from_v1dist_floats(topology, nbobjs, v1dist->floats, values); topology 1714 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_internal_distances_add(topology, nbobjs, objs, values, v1dist->kind, 0); topology 1761 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->support.discovery->pu = 1; topology 1763 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->support.discovery->numa = 1; topology 1764 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->support.discovery->numa_memory = 1; // FIXME topology 1917 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents (hwloc__xml_export_state_t state, hwloc_topology_t topology, hwloc_obj_t obj, unsigned long flags) topology 1959 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_bitmap_and(allowed_cpuset, allowed_cpuset, topology->allowed_cpuset); topology 1980 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_bitmap_and(allowed_nodeset, allowed_nodeset, topology->allowed_nodeset); topology 2115 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_internal_distances_refresh(topology); topology 2116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c for(dist = topology->first_dist; dist; dist = dist->next) { topology 2121 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (nbobjs != (unsigned) hwloc_get_nbobjs_by_type(topology, dist->type)) topology 2155 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c depth = hwloc_get_type_depth(topology, dist->type) + parent_with_memory; topology 2181 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (obj->userdata && topology->userdata_export_cb) topology 2182 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_export_cb((void*) state, topology, obj); topology 2186 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, hwloc_obj_t obj, unsigned long flags) topology 2193 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents(&state, topology, obj, flags); topology 2196 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (&state, topology, child, flags); topology 2198 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (&state, topology, child, flags); topology 2200 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (&state, topology, child, flags); topology 2202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (&state, topology, child, flags); topology 2208 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, hwloc_obj_t obj, unsigned long flags); topology 2211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object_with_memory(hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, hwloc_obj_t obj, unsigned long flags) topology 2224 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents (&gstate, topology, group, flags); topology 2236 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents (&mstate, topology, child, flags); topology 2240 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents (&ostate, topology, obj, flags); topology 2244 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&ostate, topology, child, flags); topology 2246 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&ostate, topology, child, flags); topology 2248 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&ostate, topology, child, flags); topology 2257 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (state, topology, child, flags); topology 2266 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, hwloc_obj_t obj, unsigned long flags) topology 2273 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_object_contents(&state, topology, obj, flags); topology 2278 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&state, topology, child, flags); topology 2280 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object_with_memory(&state, topology, child, flags); topology 2285 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&state, topology, child, flags); topology 2287 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (&state, topology, child, flags); topology 2314 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_distances(hwloc__xml_export_state_t parentstate, hwloc_topology_t topology) topology 2317 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c for(dist = topology->first_dist; dist; dist = dist->next) { topology 2340 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_export_topology(hwloc__xml_export_state_t state, hwloc_topology_t topology, unsigned long flags) topology 2343 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v1export_object (state, topology, hwloc_get_root_obj(topology), flags); topology 2345 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_object (state, topology, hwloc_get_root_obj(topology), flags); topology 2346 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc__xml_v2export_distances (state, topology); topology 2405 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c int hwloc_topology_export_xml(hwloc_topology_t topology, const char *filename, unsigned long flags) topology 2412 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (!topology->is_loaded) { topology 2424 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_internal_distances_refresh(topology); topology 2431 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c edata.v1_memory_group = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 2436 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc_nolibxml_callbacks->export_file(topology, &edata, filename, flags); topology 2438 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc_libxml_callbacks->export_file(topology, &edata, filename, flags); topology 2453 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen, unsigned long flags) topology 2460 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (!topology->is_loaded) { topology 2472 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_internal_distances_refresh(topology); topology 2479 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c edata.v1_memory_group = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 2484 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc_nolibxml_callbacks->export_buffer(topology, &edata, xmlbuffer, buflen, flags); topology 2486 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c ret = hwloc_libxml_callbacks->export_buffer(topology, &edata, xmlbuffer, buflen, flags); topology 2582 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c void hwloc_free_xmlbuffer(hwloc_topology_t topology __hwloc_attribute_unused, char *xmlbuffer) topology 2596 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology, topology 2597 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c void (*export)(void *reserved, struct hwloc_topology *topology, struct hwloc_obj *obj)) topology 2599 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_export_cb = export; topology 2622 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_topology *topology, struct hwloc_obj *obj __hwloc_attribute_unused, topology 2638 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c if (topology->userdata_not_decoded) { topology 2666 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_topology *topology __hwloc_attribute_unused, struct hwloc_obj *obj __hwloc_attribute_unused, topology 2679 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c assert(!topology->userdata_not_decoded); topology 2703 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology, topology 2704 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c void (*import)(struct hwloc_topology *topology, struct hwloc_obj *obj, const char *name, const void *buffer, size_t length)) topology 2706 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c topology->userdata_import_cb = import; topology 57 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c int hwloc_topology_abi_check(hwloc_topology_t topology) topology 59 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->topology_abi != HWLOC_TOPOLOGY_ABI ? -1 : 0; topology 143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_fallback_nbprocessors(struct hwloc_topology *topology __hwloc_attribute_unused) { topology 181 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_setup_pu_level(struct hwloc_topology *topology, topology 190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_PU, oscpu); topology 196 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_insert_object_by_cpuset(topology, obj); topology 1333 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc___insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t cur, hwloc_obj_t obj, topology 1374 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc___insert_object_by_cpuset(topology, child, obj, report_error); topology 1423 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 1453 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__find_obj_covering_memory_cpuset(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_bitmap_t cpuset) topology 1455 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t child = hwloc_get_child_covering_cpuset(topology, cpuset, parent); topology 1460 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc__find_obj_covering_memory_cpuset(topology, child, cpuset); topology 1464 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__find_insert_memory_parent(struct hwloc_topology *topology, hwloc_obj_t obj, topology 1471 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c parent = topology->levels[0][0]; topology 1475 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c parent = hwloc__find_obj_covering_memory_cpuset(topology, topology->levels[0][0], obj->cpuset); topology 1478 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c parent = hwloc_get_root_obj(topology); topology 1488 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (parent != topology->levels[0][0] && hwloc_bitmap_isequal(parent->cpuset, obj->cpuset)) topology 1493 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) topology 1498 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c group = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 1517 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c result = hwloc__insert_object_by_cpuset(topology, parent, group, report_error); topology 1529 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__attach_memory_object(struct hwloc_topology *topology, hwloc_obj_t parent, topology 1569 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->nodeset, obj->os_index); topology 1570 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->complete_nodeset, obj->os_index); topology 1573 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 1579 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t root, topology 1598 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c root = hwloc__find_insert_memory_parent(topology, obj, report_error); topology 1604 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc__attach_memory_object(topology, root, obj, report_error); topology 1609 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c root = topology->levels[0][0]; topology 1611 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c result = hwloc___insert_object_by_cpuset(topology, root, obj, report_error); topology 1615 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->cpuset, result->os_index); topology 1616 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->complete_cpuset, result->os_index); topology 1628 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj) topology 1630 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc__insert_object_by_cpuset(topology, NULL, obj, hwloc_report_os_error); topology 1634 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj) topology 1650 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->nodeset, obj->os_index); topology 1651 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->complete_nodeset, obj->os_index); topology 1664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->cpuset, obj->os_index); topology 1665 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_set(topology->levels[0][0]->complete_cpuset, obj->os_index); topology 1672 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 1676 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_alloc_setup_object(hwloc_topology_t topology, topology 1679 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c struct hwloc_obj *obj = hwloc_tma_malloc(topology->tma, sizeof(*obj)); topology 1683 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj->gp_index = topology->next_gp_index++; topology 1684 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj->attr = hwloc_tma_malloc(topology->tma, sizeof(*obj->attr)); topology 1691 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_alloc_group_object(struct hwloc_topology *topology) topology 1693 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->is_loaded) { topology 1698 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 1701 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c static void hwloc_propagate_symmetric_subtree(hwloc_topology_t topology, hwloc_obj_t root); topology 1703 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c static void hwloc_set_group_depth(hwloc_topology_t topology); topology 1706 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_insert_group_object(struct hwloc_topology *topology, hwloc_obj_t obj) topology 1710 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->is_loaded) { topology 1717 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_filter[HWLOC_OBJ_GROUP] == HWLOC_TYPE_FILTER_KEEP_NONE) { topology 1723 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c root = hwloc_get_root_obj(topology); topology 1742 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c res = hwloc__insert_object_by_cpuset(topology, NULL, obj, NULL /* do not show errors on stdout */); topology 1751 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_topology_reconnect(topology, 0) < 0) topology 1754 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_propagate_symmetric_subtree(topology, topology->levels[0][0]); topology 1755 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_set_group_depth(topology); topology 1760 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(topology); topology 1766 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_insert_misc_object(struct hwloc_topology *topology, hwloc_obj_t parent, const char *name) topology 1770 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_filter[HWLOC_OBJ_MISC] == HWLOC_TYPE_FILTER_KEEP_NONE) { topology 1775 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->is_loaded) { topology 1780 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_MISC, HWLOC_UNKNOWN_INDEX); topology 1784 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_insert_object_by_parent(topology, parent, obj); topology 1789 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_reconnect(topology, 0); topology 1794 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(topology); topology 1805 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_get_highest_obj_covering_complete_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) topology 1807 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t current = hwloc_get_root_obj(topology); topology 1834 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_find_insert_io_parent_by_complete_cpuset(struct hwloc_topology *topology, hwloc_cpuset_t cpuset) topology 1839 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(cpuset, cpuset, hwloc_topology_get_complete_cpuset(topology)); topology 1844 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c largeparent = hwloc_get_highest_obj_covering_complete_cpuset(topology, cpuset); topology 1846 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c || !hwloc_filter_check_keep_object_type(topology, HWLOC_OBJ_GROUP)) topology 1851 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c group_obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_GROUP, HWLOC_UNKNOWN_INDEX); topology 1857 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(cpuset, cpuset, hwloc_topology_get_topology_cpuset(topology)); topology 1860 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c parent = hwloc__insert_object_by_cpuset(topology, largeparent, group_obj, hwloc_report_os_error); topology 2080 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_unused_sets(hwloc_topology_t topology, hwloc_obj_t obj) topology 2084 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(obj->cpuset, obj->cpuset, topology->allowed_cpuset); topology 2085 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(obj->nodeset, obj->nodeset, topology->allowed_nodeset); topology 2088 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_unused_sets(topology, child); topology 2090 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_unused_sets(topology, child); topology 2095 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__filter_bridges(hwloc_topology_t topology, hwloc_obj_t root, unsigned depth) topology 2101 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c enum hwloc_type_filter_e filter = topology->type_filter[child->type]; topology 2104 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__filter_bridges(topology, child, depth+1); topology 2112 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 2118 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_bridges(hwloc_topology_t topology, hwloc_obj_t parent) topology 2122 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_bridges(topology, child); topology 2126 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__filter_bridges(topology, parent, 0); topology 2155 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_empty(hwloc_topology_t topology, hwloc_obj_t *pobj) topology 2160 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_empty(topology, pchild); topology 2162 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_empty(topology, pchild); topology 2183 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 2188 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_reset_normal_type_depths(hwloc_topology_t topology) topology 2192 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[i] = HWLOC_TYPE_DEPTH_UNKNOWN; topology 2198 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_compare_levels_structure(hwloc_topology_t topology, unsigned i) topology 2200 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c int checkmemory = (topology->levels[i][0]->type == HWLOC_OBJ_PU); topology 2203 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->level_nbobjects[i-1] != topology->level_nbobjects[i]) topology 2206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(j=0; j<topology->level_nbobjects[i]; j++) { topology 2207 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->levels[i-1][j]->arity != 1) topology 2209 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (checkmemory && topology->levels[i-1][j]->memory_arity) topology 2219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_levels_keep_structure(hwloc_topology_t topology) topology 2225 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(i=topology->nb_levels-1; i>0; i--) { topology 2227 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t obj1 = topology->levels[i-1][0]; topology 2228 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t obj2 = topology->levels[i][0]; topology 2233 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_filter[type1] == HWLOC_TYPE_FILTER_KEEP_STRUCTURE) topology 2236 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_filter[type2] == HWLOC_TYPE_FILTER_KEEP_STRUCTURE) topology 2251 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_compare_levels_structure(topology, i) < 0) topology 2257 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(j=0; j<topology->level_nbobjects[i]; j++) { topology 2258 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t parent = topology->levels[i-1][j]; topology 2259 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t child = topology->levels[i][j]; topology 2309 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[0][0] = child; topology 2331 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(j=0; j<topology->level_nbobjects[i]; j++) { topology 2332 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t child = topology->levels[i][j]; topology 2342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->levels[i-1]); topology 2343 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memmove(&topology->levels[i-1], topology 2344 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c &topology->levels[i], topology 2345 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c (topology->nb_levels-i)*sizeof(topology->levels[i])); topology 2346 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memmove(&topology->level_nbobjects[i-1], topology 2347 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c &topology->level_nbobjects[i], topology 2348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c (topology->nb_levels-i)*sizeof(topology->level_nbobjects[i])); topology 2353 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->levels[i]); topology 2354 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memmove(&topology->levels[i], topology 2355 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c &topology->levels[i+1], topology 2356 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c (topology->nb_levels-1-i)*sizeof(topology->levels[i])); topology 2357 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memmove(&topology->level_nbobjects[i], topology 2358 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c &topology->level_nbobjects[i+1], topology 2359 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c (topology->nb_levels-1-i)*sizeof(topology->level_nbobjects[i])); topology 2363 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects[topology->nb_levels-1] = 0; topology 2364 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[topology->nb_levels-1] = NULL; topology 2365 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels--; topology 2372 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_reset_normal_type_depths(topology); topology 2373 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(i=0; i<topology->nb_levels; i++) { topology 2374 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_type_t type = topology->levels[i][0]->type; topology 2375 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(j=0; j<topology->level_nbobjects[i]; j++) topology 2376 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[i][j]->depth = (int)i; topology 2377 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_depth[type] == HWLOC_TYPE_DEPTH_UNKNOWN) topology 2378 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[type] = (int)i; topology 2380 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[type] = HWLOC_TYPE_DEPTH_MULTIPLE; topology 2386 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_propagate_symmetric_subtree(hwloc_topology_t topology, hwloc_obj_t root) topology 2406 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_propagate_symmetric_subtree(topology, child); topology 2446 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c static void hwloc_set_group_depth(hwloc_topology_t topology) topology 2450 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(i=0; i<topology->nb_levels; i++) topology 2451 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->levels[i][0]->type == HWLOC_OBJ_GROUP) { topology 2452 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for (j = 0; j < topology->level_nbobjects[i]; j++) topology 2453 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[i][j]->attr->group.depth = groupdepth; topology 2655 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(hwloc_topology_t topology, hwloc_obj_t obj) topology 2663 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_append_special_object(&topology->slevels[HWLOC_SLEVEL_NUMANODE], obj); topology 2667 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2669 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2675 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_append_special_object(&topology->slevels[HWLOC_SLEVEL_MISC], obj); topology 2678 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2686 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_append_special_object(&topology->slevels[HWLOC_SLEVEL_BRIDGE], obj); topology 2691 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_append_special_object(&topology->slevels[HWLOC_SLEVEL_PCIDEV], obj); topology 2696 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_append_special_object(&topology->slevels[HWLOC_SLEVEL_OSDEV], obj); topology 2700 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2702 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2707 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2709 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2711 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2713 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, child); topology 2719 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_connect_io_misc_levels(hwloc_topology_t topology) topology 2724 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->slevels[i].objs); topology 2725 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(&topology->slevels, 0, sizeof(topology->slevels)); topology 2727 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_list_special_objects(topology, topology->levels[0][0]); topology 2730 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_build_level_from_list(&topology->slevels[i]); topology 2738 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_connect_levels(hwloc_topology_t topology) topology 2745 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(l=1; l<topology->nb_levels; l++) topology 2746 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->levels[l]); topology 2747 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->levels+1, 0, (topology->nb_levels-1)*sizeof(*topology->levels)); topology 2748 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->level_nbobjects+1, 0, (topology->nb_levels-1)*sizeof(*topology->level_nbobjects)); topology 2749 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels = 1; topology 2752 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_reset_normal_type_depths(topology); topology 2755 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c root = topology->levels[0][0]; topology 2757 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[root->type] = 0; topology 2769 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c n_objs = topology->levels[0][0]->arity; topology 2775 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memcpy(objs, topology->levels[0][0]->children, n_objs*sizeof(objs[0])); topology 2834 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c taken_objs[i]->depth = (int) topology->nb_levels; topology 2846 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug(" has number %u\n\n", topology->nb_levels); topology 2848 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->type_depth[top_obj->type] == HWLOC_TYPE_DEPTH_UNKNOWN) topology 2849 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[top_obj->type] = (int) topology->nb_levels; topology 2851 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[top_obj->type] = HWLOC_TYPE_DEPTH_MULTIPLE; /* mark as unknown */ topology 2855 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->nb_levels == topology->nb_levels_allocated) { topology 2858 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c tmplevels = realloc(topology->levels, topology 2859 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c 2 * topology->nb_levels_allocated * sizeof(*topology->levels)); topology 2860 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c tmpnbobjs = realloc(topology->level_nbobjects, topology 2861 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c 2 * topology->nb_levels_allocated * sizeof(*topology->level_nbobjects)); topology 2863 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c fprintf(stderr, "hwloc failed to realloc level arrays to %u\n", topology->nb_levels_allocated * 2); topology 2867 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels = tmplevels; topology 2869 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects = tmpnbobjs; topology 2878 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels = tmplevels; topology 2879 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects = tmpnbobjs; topology 2880 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->levels + topology->nb_levels_allocated, topology 2881 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c 0, topology->nb_levels_allocated * sizeof(*topology->levels)); topology 2882 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->level_nbobjects + topology->nb_levels_allocated, topology 2883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c 0, topology->nb_levels_allocated * sizeof(*topology->level_nbobjects)); topology 2884 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels_allocated *= 2; topology 2887 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects[topology->nb_levels] = n_taken_objs; topology 2888 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[topology->nb_levels] = taken_objs; topology 2890 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels++; topology 2906 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_reconnect(struct hwloc_topology *topology, unsigned long flags) topology 2912 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->modified) topology 2915 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_connect_children(topology->levels[0][0]); topology 2917 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_connect_levels(topology) < 0) topology 2920 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_connect_io_misc_levels(topology); topology 2922 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 0; topology 2950 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_discover(struct hwloc_topology *topology) topology 2954 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 0; /* no need to reconnect yet */ topology 2956 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->allowed_cpuset = hwloc_bitmap_alloc_full(); topology 2957 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->allowed_nodeset = hwloc_bitmap_alloc_full(); topology 2997 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c backend = topology->backends; topology 3006 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3015 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->levels[0][0]->cpuset || hwloc_bitmap_iszero(topology->levels[0][0]->cpuset)) { topology 3021 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->binding_hooks.get_allowed_resources && topology->is_thissystem) { topology 3024 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c || (topology->flags & HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES)) topology 3025 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->binding_hooks.get_allowed_resources(topology); topology 3033 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_bitmap_iszero(topology->levels[0][0]->complete_nodeset)) { topology 3036 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c node = hwloc_alloc_setup_object(topology, HWLOC_OBJ_NUMANODE, 0); topology 3037 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c node->cpuset = hwloc_bitmap_dup(topology->levels[0][0]->cpuset); topology 3041 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memcpy(&node->attr->numanode, &topology->machine_memory, sizeof(topology->machine_memory)); topology 3042 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(&topology->machine_memory, 0, sizeof(topology->machine_memory)); topology 3043 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_insert_object_by_cpuset(topology, node); topology 3048 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->machine_memory.page_types); topology 3049 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(&topology->machine_memory, 0, sizeof(topology->machine_memory)); topology 3053 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(topology->levels[0][0]->cpuset, topology->levels[0][0]->cpuset, topology->levels[0][0]->complete_cpuset); topology 3054 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(topology->levels[0][0]->nodeset, topology->levels[0][0]->nodeset, topology->levels[0][0]->complete_nodeset); topology 3056 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(topology->allowed_cpuset, topology->allowed_cpuset, topology->levels[0][0]->cpuset); topology 3057 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_and(topology->allowed_nodeset, topology->allowed_nodeset, topology->levels[0][0]->nodeset); topology 3063 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c propagate_nodeset(topology->levels[0][0]); topology 3065 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c fixup_sets(topology->levels[0][0]); topology 3067 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3069 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) { topology 3071 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_unused_sets(topology, topology->levels[0][0]); topology 3072 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3076 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!hwloc_filter_check_keep_object(topology, topology->levels[0][0]) topology 3077 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c && topology->levels[0][0]->first_child && !topology->levels[0][0]->first_child->next_sibling) { topology 3078 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t oldroot = topology->levels[0][0]; topology 3082 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[0][0] = newroot; topology 3100 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_topology_reconnect(topology, 0) < 0) topology 3102 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3108 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c backend = topology->backends; topology 3117 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_pci_belowroot_apply_locality(topology); topology 3126 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3131 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_bridges(topology, topology->levels[0][0]); topology 3132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3135 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c remove_empty(topology, &topology->levels[0][0]); topology 3136 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->levels[0][0]) { topology 3140 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3146 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_topology_reconnect(topology, 0) < 0) topology 3150 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_levels_keep_structure(topology); topology 3151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_debug_print_objects(0, topology->levels[0][0]); topology 3155 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c propagate_total_memory(topology->levels[0][0]); topology 3158 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_propagate_symmetric_subtree(topology, topology->levels[0][0]); topology 3161 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_set_group_depth(topology); topology 3164 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->backends topology 3165 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c && strcmp(topology->backends->component->name, "xml")) { topology 3168 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion", HWLOC_VERSION); topology 3170 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c value = hwloc_progname(topology); topology 3172 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_add_info(topology->levels[0][0], "ProcessName", value); topology 3184 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_setup_defaults(struct hwloc_topology *topology) topology 3189 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(&topology->binding_hooks, 0, sizeof(topology->binding_hooks)); topology 3190 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->support.discovery, 0, sizeof(*topology->support.discovery)); topology 3191 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->support.cpubind, 0, sizeof(*topology->support.cpubind)); topology 3192 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(topology->support.membind, 0, sizeof(*topology->support.membind)); topology 3195 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->next_gp_index = 1; /* keep 0 as an invalid value */ topology 3196 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels = 1; /* there's at least SYSTEM */ topology 3197 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[0] = hwloc_tma_malloc (topology->tma, sizeof (hwloc_obj_t)); topology 3198 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects[0] = 1; topology 3201 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->machine_memory.local_memory = 0; topology 3202 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->machine_memory.page_types_len = 0; topology 3203 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->machine_memory.page_types = NULL; topology 3206 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->allowed_cpuset = NULL; topology 3207 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->allowed_nodeset = NULL; topology 3210 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c memset(&topology->slevels, 0, sizeof(topology->slevels)); topology 3219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_reset_normal_type_depths(topology); topology 3220 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[HWLOC_OBJ_NUMANODE] = HWLOC_TYPE_DEPTH_NUMANODE; topology 3221 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[HWLOC_OBJ_MISC] = HWLOC_TYPE_DEPTH_MISC; topology 3222 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[HWLOC_OBJ_BRIDGE] = HWLOC_TYPE_DEPTH_BRIDGE; topology 3223 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[HWLOC_OBJ_PCI_DEVICE] = HWLOC_TYPE_DEPTH_PCI_DEVICE; topology 3224 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_depth[HWLOC_OBJ_OS_DEVICE] = HWLOC_TYPE_DEPTH_OS_DEVICE; topology 3230 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c root_obj = hwloc_alloc_setup_object(topology, HWLOC_OBJ_MACHINE, 0); topology 3231 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels[0][0] = root_obj; topology 3234 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c static void hwloc__topology_filter_init(struct hwloc_topology *topology); topology 3242 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c struct hwloc_topology *topology; topology 3244 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology = hwloc_tma_malloc (tma, sizeof (struct hwloc_topology)); topology 3245 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if(!topology) topology 3248 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->tma = tma; topology 3251 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_backends_init(topology); topology 3252 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_pci_discovery_init(topology); /* make sure both dup() and load() get sane variables */ topology 3255 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->is_loaded = 0; topology 3256 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->flags = 0; topology 3257 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->is_thissystem = 1; topology 3258 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->pid = 0; topology 3259 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata = NULL; topology 3260 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->topology_abi = HWLOC_TOPOLOGY_ABI; topology 3261 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->adopted_shmem_addr = NULL; topology 3262 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->adopted_shmem_length = 0; topology 3264 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->support.discovery = hwloc_tma_malloc(tma, sizeof(*topology->support.discovery)); topology 3265 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->support.cpubind = hwloc_tma_malloc(tma, sizeof(*topology->support.cpubind)); topology 3266 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->support.membind = hwloc_tma_malloc(tma, sizeof(*topology->support.membind)); topology 3268 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->nb_levels_allocated = nblevels; /* enough for default 9 levels = Mach+Pack+NUMA+L3+L2+L1d+L1i+Co+PU */ topology 3269 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->levels = hwloc_tma_calloc(tma, topology->nb_levels_allocated * sizeof(*topology->levels)); topology 3270 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->level_nbobjects = hwloc_tma_calloc(tma, topology->nb_levels_allocated * sizeof(*topology->level_nbobjects)); topology 3272 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__topology_filter_init(topology); topology 3274 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_init(topology); topology 3276 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata_export_cb = NULL; topology 3277 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata_import_cb = NULL; topology 3278 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata_not_decoded = 0; topology 3281 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_setup_defaults(topology); topology 3283 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c *topologyp = topology; topology 3296 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_pid(struct hwloc_topology *topology __hwloc_attribute_unused, topology 3299 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3306 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->pid = pid; topology 3315 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_synthetic(struct hwloc_topology *topology, const char *description) topology 3317 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3322 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_disc_component_force_enable(topology, topology 3329 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_xml(struct hwloc_topology *topology, topology 3332 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3337 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_disc_component_force_enable(topology, topology 3344 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_xmlbuffer(struct hwloc_topology *topology, topology 3348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3353 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_disc_component_force_enable(topology, topology 3360 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_flags (struct hwloc_topology *topology, unsigned long flags) topology 3362 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3373 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->flags = flags; topology 3378 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_flags (struct hwloc_topology *topology) topology 3380 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->flags; topology 3384 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__topology_filter_init(struct hwloc_topology *topology) topology 3389 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[type] = HWLOC_TYPE_FILTER_KEEP_ALL; topology 3390 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_L1ICACHE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3391 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_L2ICACHE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3392 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_L3ICACHE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3393 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_GROUP] = HWLOC_TYPE_FILTER_KEEP_STRUCTURE; topology 3394 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_MISC] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3395 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_BRIDGE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3396 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_PCI_DEVICE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3397 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[HWLOC_OBJ_OS_DEVICE] = HWLOC_TYPE_FILTER_KEEP_NONE; topology 3401 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__topology_set_type_filter(struct hwloc_topology *topology, hwloc_obj_type_t type, enum hwloc_type_filter_e filter) topology 3427 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->type_filter[type] = filter; topology 3432 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(struct hwloc_topology *topology, hwloc_obj_type_t type, enum hwloc_type_filter_e filter) topology 3439 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3443 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc__topology_set_type_filter(topology, type, filter); topology 3447 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_all_types_filter(struct hwloc_topology *topology, enum hwloc_type_filter_e filter) topology 3450 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3455 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__topology_set_type_filter(topology, type, filter); topology 3460 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_cache_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter) topology 3464 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(topology, (hwloc_obj_type_t) i, filter); topology 3469 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_icache_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter) topology 3473 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(topology, (hwloc_obj_type_t) i, filter); topology 3478 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_io_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter) topology 3480 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(topology, HWLOC_OBJ_BRIDGE, filter); topology 3481 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(topology, HWLOC_OBJ_PCI_DEVICE, filter); topology 3482 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_set_type_filter(topology, HWLOC_OBJ_OS_DEVICE, filter); topology 3487 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_type_filter(struct hwloc_topology *topology, hwloc_obj_type_t type, enum hwloc_type_filter_e *filterp) topology 3494 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c *filterp = topology->type_filter[type]; topology 3499 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_clear (struct hwloc_topology *topology) topology 3503 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_destroy(topology); topology 3504 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_free_object_and_children(topology->levels[0][0]); topology 3505 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_free(topology->allowed_cpuset); topology 3506 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_free(topology->allowed_nodeset); topology 3507 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for (l=0; l<topology->nb_levels; l++) topology 3508 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->levels[l]); topology 3510 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->slevels[l].objs); topology 3511 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->machine_memory.page_types); topology 3515 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_destroy (struct hwloc_topology *topology) topology 3517 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->adopted_shmem_addr) { topology 3518 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__topology_disadopt(topology); topology 3522 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_backends_disable_all(topology); topology 3525 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_clear(topology); topology 3527 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->levels); topology 3528 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->level_nbobjects); topology 3530 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->support.discovery); topology 3531 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->support.cpubind); topology 3532 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology->support.membind); topology 3533 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(topology); topology 3537 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_load (struct hwloc_topology *topology) topology 3541 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->is_loaded) { topology 3546 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_prepare(topology); topology 3549 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata_not_decoded = 1; topology 3560 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->backends) { topology 3563 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_disc_component_force_enable(topology, topology 3568 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->backends) { topology 3571 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_disc_component_force_enable(topology, topology 3576 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->backends) { topology 3579 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_disc_component_force_enable(topology, topology 3584 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->backends) { topology 3587 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_disc_component_force_enable(topology, topology 3595 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_disc_components_enable_others(topology); topology 3597 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_backends_is_thissystem(topology); topology 3598 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_backends_find_callbacks(topology); topology 3603 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_set_binding_hooks(topology); topology 3605 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_pci_discovery_prepare(topology); topology 3608 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c err = hwloc_discover(topology); topology 3612 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_pci_discovery_exit(topology); topology 3617 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(topology); topology 3623 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_invalidate_cached_objs(topology); topology 3627 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_refresh(topology); topology 3629 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->is_loaded = 1; topology 3633 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_pci_discovery_exit(topology); topology 3634 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_clear(topology); topology 3635 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_setup_defaults(topology); topology 3636 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_backends_disable_all(topology); topology 3645 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c restrict_object_by_cpuset(hwloc_topology_t topology, unsigned long flags, hwloc_obj_t *pobj, topology 3673 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c restrict_object_by_cpuset(topology, flags, pchild, droppedcpuset, droppednodeset); topology 3675 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c restrict_object_by_cpuset(topology, flags, pchild, droppedcpuset, droppednodeset); topology 3697 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->modified = 1; topology 3702 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_restrict(struct hwloc_topology *topology, hwloc_const_cpuset_t cpuset, unsigned long flags) topology 3706 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!topology->is_loaded) { topology 3718 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!hwloc_bitmap_intersects(cpuset, topology->allowed_cpuset)) { topology 3735 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_obj_t node = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 0); topology 3745 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_bitmap_isincluded(topology->allowed_nodeset, droppednodeset)) { topology 3760 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c restrict_object_by_cpuset(topology, flags, &topology->levels[0][0], droppedcpuset, droppednodeset); topology 3761 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_andnot(topology->allowed_cpuset, topology->allowed_cpuset, droppedcpuset); topology 3763 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_andnot(topology->allowed_nodeset, topology->allowed_nodeset, droppednodeset); topology 3768 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (hwloc_topology_reconnect(topology, 0) < 0) topology 3772 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_internal_distances_invalidate_cached_objs(topology); topology 3774 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_filter_levels_keep_structure(topology); topology 3775 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_propagate_symmetric_subtree(topology, topology->levels[0][0]); topology 3776 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c propagate_total_memory(topology->levels[0][0]); topology 3781 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(topology); topology 3787 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_clear(topology); topology 3788 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_setup_defaults(topology); topology 3793 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_is_thissystem(struct hwloc_topology *topology) topology 3795 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->is_thissystem; topology 3799 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_depth(struct hwloc_topology *topology) topology 3801 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return (int) topology->nb_levels; topology 3805 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_support(struct hwloc_topology * topology) topology 3807 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return &topology->support; topology 3810 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c void hwloc_topology_set_userdata(struct hwloc_topology * topology, const void *userdata) topology 3812 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c topology->userdata = (void *) userdata; topology 3815 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c void * hwloc_topology_get_userdata(struct hwloc_topology * topology) topology 3817 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->userdata; topology 3821 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_complete_cpuset(hwloc_topology_t topology) topology 3823 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_get_root_obj(topology)->complete_cpuset; topology 3827 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_topology_cpuset(hwloc_topology_t topology) topology 3829 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_get_root_obj(topology)->cpuset; topology 3833 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_allowed_cpuset(hwloc_topology_t topology) topology 3835 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->allowed_cpuset; topology 3839 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_complete_nodeset(hwloc_topology_t topology) topology 3841 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_get_root_obj(topology)->complete_nodeset; topology 3845 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_topology_nodeset(hwloc_topology_t topology) topology 3847 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc_get_root_obj(topology)->nodeset; topology 3851 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_get_allowed_nodeset(hwloc_topology_t topology) topology 3853 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return topology->allowed_nodeset; topology 3890 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t obj); topology 3894 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_normal_children(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t parent) topology 3922 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(topology, gp_indexes, child); topology 3936 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_children_cpusets(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj) topology 3948 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) { topology 3949 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isset(topology->allowed_cpuset, (int) obj->os_index)); topology 3990 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_memory_children(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t parent) topology 4012 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(topology, gp_indexes, child); topology 4023 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_io_children(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t parent) topology 4046 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(topology, gp_indexes, child); topology 4053 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_misc_children(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t parent) topology 4077 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(topology, gp_indexes, child); topology 4084 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(hwloc_topology_t topology, hwloc_bitmap_t gp_indexes, hwloc_obj_t obj) topology 4092 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_filter_check_keep_object(topology, obj)); topology 4142 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_normal_children(topology, gp_indexes, obj); topology 4143 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_memory_children(topology, gp_indexes, obj); topology 4144 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_io_children(topology, gp_indexes, obj); topology 4145 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_misc_children(topology, gp_indexes, obj); topology 4146 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_children_cpusets(topology, obj); topology 4151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_nodesets(hwloc_topology_t topology, hwloc_obj_t obj, hwloc_bitmap_t parentset) topology 4162 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) { topology 4163 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isset(topology->allowed_nodeset, (int) obj->os_index)); topology 4188 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_nodesets(topology, child, set); topology 4216 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_level(struct hwloc_topology *topology, int depth, topology 4219 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c unsigned width = hwloc_get_nbobjs_by_depth(topology, depth); topology 4226 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_obj_by_depth(topology, depth, j); topology 4250 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_obj_by_depth(topology, depth, 0); topology 4254 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, depth) == obj->type); topology 4255 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(depth == hwloc_get_type_depth(topology, obj->type) topology 4256 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c || HWLOC_TYPE_DEPTH_MULTIPLE == hwloc_get_type_depth(topology, obj->type)); topology 4258 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_obj_by_depth(topology, depth, width-1); topology 4264 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(first == hwloc_get_obj_by_depth(topology, depth, 0)); topology 4265 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(last == hwloc_get_obj_by_depth(topology, depth, width-1)); topology 4272 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_obj_by_depth(topology, depth, width); topology 4278 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(struct hwloc_topology *topology) topology 4313 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(topology->type_filter[HWLOC_OBJ_GROUP] != HWLOC_TYPE_FILTER_KEEP_ALL); topology 4321 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c depth = hwloc_topology_get_depth(topology); topology 4323 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(!topology->modified); topology 4329 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, 0) == HWLOC_OBJ_MACHINE); topology 4332 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, depth-1) == HWLOC_OBJ_PU); topology 4333 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_nbobjs_by_depth(topology, depth-1) > 0); topology 4334 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c for(i=0; i<hwloc_get_nbobjs_by_depth(topology, depth-1); i++) { topology 4335 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_obj_by_depth(topology, depth-1, i); topology 4342 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, j) != HWLOC_OBJ_PU); topology 4343 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, j) != HWLOC_OBJ_MACHINE); topology 4347 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE) == HWLOC_TYPE_DEPTH_NUMANODE); topology 4348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_NUMANODE) == HWLOC_OBJ_NUMANODE); topology 4351 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_depth_type(topology, j) != HWLOC_OBJ_NUMANODE); topology 4354 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_get_nbobjs_by_depth(topology, 0) == 1); topology 4355 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c obj = hwloc_get_root_obj(topology); topology 4362 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) { topology 4363 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isincluded(topology->allowed_cpuset, obj->cpuset)); topology 4364 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isincluded(topology->allowed_nodeset, obj->nodeset)); topology 4366 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isequal(topology->allowed_cpuset, obj->cpuset)); topology 4367 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c assert(hwloc_bitmap_isequal(topology->allowed_nodeset, obj->nodeset)); topology 4372 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_level(topology, j, NULL, NULL); topology 4374 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_level(topology, HWLOC_SLEVEL_TO_DEPTH(j), topology->slevels[j].first, topology->slevels[j].last); topology 4378 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_object(topology, gp_indexes, obj); topology 4383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__check_nodesets(topology, obj, set); topology 4390 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_topology_check(struct hwloc_topology *topology __hwloc_attribute_unused) topology 19 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_type_depth (struct hwloc_topology *topology, hwloc_obj_type_t type) topology 25 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return topology->type_depth[type]; topology 29 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_depth_type (hwloc_topology_t topology, int depth) topology 31 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c if ((unsigned)depth >= topology->nb_levels) topology 46 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return topology->levels[depth][0]->type; topology 50 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_memory_parents_depth (hwloc_topology_t topology) topology 54 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_obj_t numa = hwloc_get_obj_by_depth(topology, HWLOC_TYPE_DEPTH_NUMANODE, 0); topology 75 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_nbobjs_by_depth (struct hwloc_topology *topology, int depth) topology 77 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c if ((unsigned)depth >= topology->nb_levels) { topology 80 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return topology->slevels[l].nbobjs; topology 84 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return topology->level_nbobjects[depth]; topology 88 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_obj_by_depth (struct hwloc_topology *topology, int depth, unsigned idx) topology 90 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c if ((unsigned)depth >= topology->nb_levels) { topology 93 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return idx < topology->slevels[l].nbobjs ? topology->slevels[l].objs[idx] : NULL; topology 97 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c if (idx >= topology->level_nbobjects[depth]) topology 99 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c return topology->levels[depth][idx]; topology 138 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c unsigned hwloc_get_closest_objs (struct hwloc_topology *topology, struct hwloc_obj *src, struct hwloc_obj **objs, unsigned max) topology 147 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c src_nbobjects = topology->level_nbobjects[src->depth]; topology 148 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c src_objs = topology->levels[src->depth]; topology 218 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_get_largest_objs_inside_cpuset (struct hwloc_topology *topology, hwloc_const_bitmap_t set, topology 221 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c struct hwloc_obj *current = topology->levels[0][0]; topology 374 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c hwloc_topology_t topology, int *depthp) topology 385 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c depth = hwloc_get_type_depth(topology, type); topology 391 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c for(l=0; l<topology->nb_levels; l++) { topology 392 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c if (topology->levels[l][0]->type == HWLOC_OBJ_GROUP topology 393 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c && topology->levels[l][0]->attr->group.depth == attr.group.depth) { topology 662 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_load(hwloc_topology_t topology); topology 668 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void hwloc_topology_destroy (hwloc_topology_t topology); topology 699 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_abi_check(hwloc_topology_t topology); topology 712 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void hwloc_topology_check(hwloc_topology_t topology); topology 734 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_get_depth(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure; topology 759 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_type_depth (hwloc_topology_t topology, hwloc_obj_type_t type); topology 790 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_memory_parents_depth (hwloc_topology_t topology); topology 806 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_type_or_below_depth (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure; topology 822 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_type_or_above_depth (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure; topology 830 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC hwloc_obj_type_t hwloc_get_depth_type (hwloc_topology_t topology, int depth) __hwloc_attribute_pure; topology 834 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC unsigned hwloc_get_nbobjs_by_depth (hwloc_topology_t topology, int depth) __hwloc_attribute_pure; topology 842 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_nbobjs_by_type (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure; topology 849 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_root_obj (hwloc_topology_t topology) __hwloc_attribute_pure; topology 852 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC hwloc_obj_t hwloc_get_obj_by_depth (hwloc_topology_t topology, int depth, unsigned idx) __hwloc_attribute_pure; topology 861 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx) __hwloc_attribute_pure; topology 868 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_next_obj_by_depth (hwloc_topology_t topology, int depth, hwloc_obj_t prev); topology 877 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_get_next_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, topology 984 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_topology_t topology, int *depthp); topology 1147 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags); topology 1154 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_cpubind(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 1167 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags); topology 1180 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags); topology 1190 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t set, int flags); topology 1201 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_cpuset_t set, int flags); topology 1217 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_last_cpu_location(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 1235 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_proc_last_cpu_location(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags); topology 1445 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_membind(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags); topology 1491 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_membind(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags); topology 1505 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags); topology 1546 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags); topology 1558 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags); topology 1587 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags); topology 1608 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_get_area_memlocation(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, int flags); topology 1617 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void *hwloc_alloc(hwloc_topology_t topology, size_t len); topology 1633 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void *hwloc_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc; topology 1645 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h hwloc_alloc_membind_policy(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc; topology 1650 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_free(hwloc_topology_t topology, void *addr, size_t len); topology 1688 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_pid(hwloc_topology_t __hwloc_restrict topology, hwloc_pid_t pid); topology 1718 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_synthetic(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict description); topology 1746 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_xml(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict xmlpath); topology 1774 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_xmlbuffer(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict buffer, int size); topology 1869 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_flags (hwloc_topology_t topology, unsigned long flags); topology 1877 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC unsigned long hwloc_topology_get_flags (hwloc_topology_t topology); topology 1886 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_is_thissystem(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure; topology 1987 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC const struct hwloc_topology_support *hwloc_topology_get_support(hwloc_topology_t __hwloc_restrict topology); topology 2046 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_type_filter(hwloc_topology_t topology, hwloc_obj_type_t type, enum hwloc_type_filter_e filter); topology 2050 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_get_type_filter(hwloc_topology_t topology, hwloc_obj_type_t type, enum hwloc_type_filter_e *filter); topology 2056 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_all_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter); topology 2060 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_cache_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter); topology 2064 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_icache_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter); topology 2068 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_set_io_types_filter(hwloc_topology_t topology, enum hwloc_type_filter_e filter); topology 2080 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void hwloc_topology_set_userdata(hwloc_topology_t topology, const void *userdata); topology 2087 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC void * hwloc_topology_get_userdata(hwloc_topology_t topology); topology 2139 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC int hwloc_topology_restrict(hwloc_topology_t __hwloc_restrict topology, hwloc_const_cpuset_t cpuset, unsigned long flags); topology 2162 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_misc_object(hwloc_topology_t topology, hwloc_obj_t parent, const char *name); topology 2184 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_alloc_group_object(hwloc_topology_t topology); topology 2219 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_group_object(hwloc_topology_t topology, hwloc_obj_t group); topology 47 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_cuda_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unused, topology 92 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_cuda_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 101 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domainid, &busid, &deviceid)) topology 104 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h if (!hwloc_topology_is_thissystem(topology)) { topology 112 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 115 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 131 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_cuda_get_device_pcidev(hwloc_topology_t topology, CUdevice cudevice) topology 135 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domain, &bus, &dev)) topology 138 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, 0); topology 157 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_cuda_get_device_osdev(hwloc_topology_t topology, CUdevice cudevice) topology 162 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domain, &bus, &dev)) topology 166 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 199 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h hwloc_cuda_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx) topology 202 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cuda.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 48 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_cudart_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unused, topology 89 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_cudart_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 98 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h if (hwloc_cudart_get_device_pci_ids(topology, idx, &domain, &bus, &dev)) topology 101 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h if (!hwloc_topology_is_thissystem(topology)) { topology 109 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 112 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 128 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_cudart_get_device_pcidev(hwloc_topology_t topology, int idx) topology 132 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h if (hwloc_cudart_get_device_pci_ids(topology, idx, &domain, &bus, &dev)) topology 135 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, 0); topology 156 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h hwloc_cudart_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx) topology 159 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/cudart.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 36 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_topology_insert_misc_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, const char *name) __hwloc_attribute_deprecated; topology 38 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_topology_insert_misc_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, const char *name) topology 40 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_topology_insert_misc_object(topology, parent, name); topology 98 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_membind_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_deprecated; topology 100 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_membind_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 102 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_set_membind(topology, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 109 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_membind_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) __hwloc_attribute_deprecated; topology 111 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_membind_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 113 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_get_membind(topology, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 120 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_deprecated; topology 122 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 124 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_set_proc_membind(topology, pid, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 131 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) __hwloc_attribute_deprecated; topology 133 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 135 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_get_proc_membind(topology, pid, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 142 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_deprecated; topology 144 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_set_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 146 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_set_area_membind(topology, addr, len, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 153 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) __hwloc_attribute_deprecated; topology 155 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_get_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags) topology 157 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_get_area_membind(topology, addr, len, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 163 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_alloc_membind_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc __hwloc_attribute_deprecated; topology 165 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_alloc_membind_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 167 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_alloc_membind(topology, len, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 173 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_alloc_membind_policy_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc __hwloc_attribute_deprecated; topology 175 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_alloc_membind_policy_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) topology 177 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h return hwloc_alloc_membind_policy(topology, len, nodeset, policy, flags | HWLOC_MEMBIND_BYNODESET); topology 183 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_to_nodeset_strict(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset) __hwloc_attribute_deprecated; topology 185 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_to_nodeset_strict(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset) topology 187 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_to_nodeset(topology, _cpuset, nodeset); topology 193 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_from_nodeset_strict(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset) __hwloc_attribute_deprecated; topology 195 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_from_nodeset_strict(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset) topology 197 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_cpuset_from_nodeset(topology, _cpuset, nodeset); topology 192 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/diff.h HWLOC_DECLSPEC int hwloc_topology_diff_build(hwloc_topology_t topology, hwloc_topology_t newtopology, unsigned long flags, hwloc_topology_diff_t *diff); topology 220 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/diff.h HWLOC_DECLSPEC int hwloc_topology_diff_apply(hwloc_topology_t topology, hwloc_topology_diff_t diff, unsigned long flags); topology 116 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h hwloc_distances_get(hwloc_topology_t topology, topology 125 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h hwloc_distances_get_by_depth(hwloc_topology_t topology, int depth, topology 134 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h hwloc_distances_get_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, topology 138 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h int depth = hwloc_get_type_depth(topology, type); topology 143 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h return hwloc_distances_get_by_depth(topology, depth, nr, distances, kind, flags); topology 148 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h hwloc_distances_release(hwloc_topology_t topology, struct hwloc_distances_s *distances); topology 229 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h HWLOC_DECLSPEC int hwloc_distances_add(hwloc_topology_t topology, topology 241 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h HWLOC_DECLSPEC int hwloc_distances_remove(hwloc_topology_t topology); topology 247 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h HWLOC_DECLSPEC int hwloc_distances_remove_by_depth(hwloc_topology_t topology, int depth); topology 254 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h hwloc_distances_remove_by_type(hwloc_topology_t topology, hwloc_obj_type_t type) topology 256 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h int depth = hwloc_get_type_depth(topology, type); topology 259 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/distances.h return hwloc_distances_remove_by_depth(topology, depth); topology 71 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC int hwloc_topology_export_xml(hwloc_topology_t topology, const char *xmlpath, unsigned long flags); topology 102 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen, unsigned long flags); topology 105 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC void hwloc_free_xmlbuffer(hwloc_topology_t topology, char *xmlbuffer); topology 125 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC void hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology, topology 126 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h void (*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)); topology 153 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC int hwloc_export_obj_userdata(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length); topology 168 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC int hwloc_export_obj_userdata_base64(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length); topology 192 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC void hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology, topology 193 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h void (*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)); topology 264 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/export.h HWLOC_DECLSPEC int hwloc_topology_export_synthetic(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags); topology 54 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/gl.h hwloc_gl_get_display_osdev_by_port_device(hwloc_topology_t topology, topology 59 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/gl.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 85 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/gl.h hwloc_gl_get_display_osdev_by_name(hwloc_topology_t topology, topology 89 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/gl.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 111 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/gl.h hwloc_gl_get_display_by_osdev(hwloc_topology_t topology __hwloc_attribute_unused, topology 56 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/glibc-sched.h hwloc_cpuset_to_glibc_sched_affinity(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t hwlocset, topology 84 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/glibc-sched.h hwloc_cpuset_from_glibc_sched_affinity(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t hwlocset, topology 42 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_first_largest_obj_inside_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set) topology 44 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t obj = hwloc_get_root_obj(topology); topology 69 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h HWLOC_DECLSPEC int hwloc_get_largest_objs_inside_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 85 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 88 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t next = hwloc_get_next_obj_by_depth(topology, depth, prev); topology 109 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 112 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, type); topology 115 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_next_obj_inside_cpuset_by_depth(topology, set, depth, prev); topology 127 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 130 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 133 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t obj = hwloc_get_obj_by_depth (topology, depth, 0); topology 161 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 164 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 167 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, type); topology 170 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_obj_inside_cpuset_by_depth(topology, set, depth, idx); topology 182 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_nbobjs_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 185 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_nbobjs_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 188 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t obj = hwloc_get_obj_by_depth (topology, depth, 0); topology 213 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_nbobjs_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 216 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_nbobjs_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 219 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, type); topology 224 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return (int) hwloc_get_nbobjs_inside_cpuset_by_depth(topology, set, depth); topology 241 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_index_inside_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set, topology 244 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_index_inside_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set, topology 272 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_child_covering_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set, topology 275 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_child_covering_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set, topology 295 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) __hwloc_attribute_pure; topology 297 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) topology 299 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h struct hwloc_obj *current = hwloc_get_root_obj(topology); topology 303 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t child = hwloc_get_child_covering_cpuset(topology, set, current); topology 321 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_obj_covering_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 324 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t next = hwloc_get_next_obj_by_depth(topology, depth, prev); topology 348 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_obj_covering_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set, topology 351 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, type); topology 354 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, depth, prev); topology 372 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_ancestor_obj_by_depth (hwloc_topology_t topology __hwloc_attribute_unused, int depth, hwloc_obj_t obj) __hwloc_attribute_pure; topology 374 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_ancestor_obj_by_depth (hwloc_topology_t topology __hwloc_attribute_unused, int depth, hwloc_obj_t obj) topology 386 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_ancestor_obj_by_type (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_type_t type, hwloc_obj_t obj) __hwloc_attribute_pure; topology 388 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_ancestor_obj_by_type (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_type_t type, hwloc_obj_t obj) topology 398 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_common_ancestor_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj1, hwloc_obj_t obj2) __hwloc_attribute_pure; topology 400 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_common_ancestor_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj1, hwloc_obj_t obj2) topology 426 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_is_in_subtree (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, hwloc_obj_t subtree_root) __hwloc_attribute_pure; topology 428 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_is_in_subtree (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, hwloc_obj_t subtree_root) topology 444 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_child (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t parent, hwloc_obj_t prev) topology 576 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_cache_type_depth (hwloc_topology_t topology, topology 582 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, 0); topology 610 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_cache_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) __hwloc_attribute_pure; topology 612 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_cache_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) topology 614 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t current = hwloc_get_obj_covering_cpuset(topology, set); topology 628 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj) __hwloc_attribute_pure; topology 630 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj) topology 667 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_pu_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) __hwloc_attribute_pure; topology 669 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_pu_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) topology 672 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PU, obj)) != NULL) topology 688 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_numanode_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) __hwloc_attribute_pure; topology 690 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_numanode_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) topology 693 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, obj)) != NULL) topology 711 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h HWLOC_DECLSPEC unsigned hwloc_get_closest_objs (hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t * __hwloc_restrict objs, unsigned max); topology 726 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_below_by_type (hwloc_topology_t topology, topology 730 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_below_by_type (hwloc_topology_t topology, topology 735 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h obj = hwloc_get_obj_by_type (topology, type1, idx1); topology 738 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_obj_inside_cpuset_by_type(topology, obj->cpuset, type2, idx2); topology 760 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_below_array_by_type (hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv) __hwloc_attribute_pure; topology 762 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_obj_below_array_by_type (hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv) topology 764 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_obj_t obj = hwloc_get_root_obj(topology); topology 769 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h obj = hwloc_get_obj_inside_cpuset_by_type(topology, obj->cpuset, typev[i], idxv[i]); topology 815 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_distrib(hwloc_topology_t topology, topology 866 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_distrib(topology, root->children, root->arity, cpusetp, chunk, until, flags); topology 894 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_complete_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 908 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_topology_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 927 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_allowed_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 939 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_complete_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 953 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_topology_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 972 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_topology_get_allowed_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure; topology 994 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_cpuset_to_nodeset(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset) topology 996 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 1000 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h while ((obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, _cpuset, depth, obj)) != NULL) topology 1015 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_cpuset_from_nodeset(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset) topology 1017 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 1021 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) { topology 1050 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_non_io_ancestor_obj(hwloc_topology_t topology __hwloc_attribute_unused, topology 1065 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_pcidev(hwloc_topology_t topology, hwloc_obj_t prev) topology 1067 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PCI_DEVICE, prev); topology 1074 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_pcidev_by_busid(hwloc_topology_t topology, topology 1078 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h while ((obj = hwloc_get_next_pcidev(topology, obj)) != NULL) { topology 1092 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_pcidev_by_busidstring(hwloc_topology_t topology, const char *busid) topology 1103 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, func); topology 1111 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev) topology 1113 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_OS_DEVICE, prev); topology 1121 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h hwloc_get_next_bridge(hwloc_topology_t topology, hwloc_obj_t prev) topology 1123 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/helper.h return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_BRIDGE, prev); topology 29 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_type_or_below_depth (hwloc_topology_t topology, hwloc_obj_type_t type) topology 31 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h int depth = hwloc_get_type_depth(topology, type); topology 37 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h for(depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU); ; depth--) topology 38 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h if (hwloc_compare_types(hwloc_get_depth_type(topology, depth), type) < 0) topology 46 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_type_or_above_depth (hwloc_topology_t topology, hwloc_obj_type_t type) topology 48 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h int depth = hwloc_get_type_depth(topology, type); topology 55 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h if (hwloc_compare_types(hwloc_get_depth_type(topology, depth), type) > 0) topology 63 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_nbobjs_by_type (hwloc_topology_t topology, hwloc_obj_type_t type) topology 65 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h int depth = hwloc_get_type_depth(topology, type); topology 70 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h return (int) hwloc_get_nbobjs_by_depth(topology, depth); topology 74 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx) topology 76 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h int depth = hwloc_get_type_depth(topology, type); topology 81 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h return hwloc_get_obj_by_depth(topology, depth, idx); topology 85 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_next_obj_by_depth (hwloc_topology_t topology, int depth, hwloc_obj_t prev) topology 88 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h return hwloc_get_obj_by_depth (topology, depth, 0); topology 95 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_next_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, topology 98 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h int depth = hwloc_get_type_depth(topology, type); topology 101 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h return hwloc_get_next_obj_by_depth (topology, depth, prev); topology 105 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_get_root_obj (hwloc_topology_t topology) topology 107 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h return hwloc_get_obj_by_depth (topology, 0, 0); topology 123 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h hwloc_alloc_membind_policy(hwloc_topology_t topology, size_t len, hwloc_const_cpuset_t set, hwloc_membind_policy_t policy, int flags) topology 125 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h void *p = hwloc_alloc_membind(topology, len, set, policy, flags); topology 129 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h if (hwloc_set_membind(topology, set, policy, flags) < 0) topology 133 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h p = hwloc_alloc(topology, len); topology 58 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h hwloc_intel_mic_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 70 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h if (!hwloc_topology_is_thissystem(topology)) { topology 85 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 93 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 112 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h hwloc_intel_mic_get_device_osdev_by_index(hwloc_topology_t topology, topology 116 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/intel-mic.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 54 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_cpuset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, topology 57 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 65 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_covering_cpuset_by_depth(topology, cpuset, depth, node)) != NULL) { topology 88 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_nodeset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, topology 91 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 99 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) { topology 123 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_cpuset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_cpuset_t cpuset, topology 126 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 129 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) topology 146 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_nodeset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_nodeset_t nodeset, topology 149 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 152 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) topology 189 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_cpuset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset) __hwloc_attribute_malloc; topology 191 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_cpuset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset) topology 193 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 198 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_covering_cpuset_by_depth(topology, cpuset, depth, node)) != NULL) topology 214 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_nodeset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset) __hwloc_attribute_malloc; topology 216 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_nodeset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset) topology 218 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 223 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) topology 235 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_cpuset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_cpuset_t cpuset, topology 238 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 241 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) topology 253 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h hwloc_nodeset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_nodeset_t nodeset, topology 256 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE); topology 259 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux-libnuma.h while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) topology 43 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux.h HWLOC_DECLSPEC int hwloc_linux_set_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set); topology 53 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux.h HWLOC_DECLSPEC int hwloc_linux_get_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set); topology 60 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/linux.h HWLOC_DECLSPEC int hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology, pid_t tid, hwloc_bitmap_t set); topology 56 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h hwloc_nvml_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 66 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h if (!hwloc_topology_is_thissystem(topology)) { topology 80 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 83 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 102 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h hwloc_nvml_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx) topology 105 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 129 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h hwloc_nvml_get_device_osdev(hwloc_topology_t topology, nvmlDevice_t device) topology 136 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h if (!hwloc_topology_is_thissystem(topology)) { topology 150 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/nvml.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 69 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_opencl_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 80 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h if (!hwloc_topology_is_thissystem(topology)) { topology 87 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 91 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 99 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 102 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 123 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_opencl_get_device_osdev_by_index(hwloc_topology_t topology, topology 128 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 159 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h hwloc_opencl_get_device_osdev(hwloc_topology_t topology __hwloc_attribute_unused, topology 178 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/opencl.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 62 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h hwloc_ibv_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused, topology 71 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h if (!hwloc_topology_is_thissystem(topology)) { topology 80 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 83 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology)); topology 105 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h hwloc_ibv_get_device_osdev_by_name(hwloc_topology_t topology, topology 109 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) { topology 132 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h hwloc_ibv_get_device_osdev(hwloc_topology_t topology, topology 135 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h if (!hwloc_topology_is_thissystem(topology)) { topology 139 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/openfabrics-verbs.h return hwloc_ibv_get_device_osdev_by_name(topology, ibv_get_device_name(ibdev)); topology 124 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h struct hwloc_topology * topology; topology 163 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC int hwloc_backend_enable(struct hwloc_topology *topology, struct hwloc_backend *backend); topology 267 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC struct hwloc_obj *hwloc_insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj); topology 282 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC struct hwloc_obj *hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t root, hwloc_obj_t obj, hwloc_report_error_t report_error); topology 300 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC void hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj); topology 306 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC hwloc_obj_t hwloc_alloc_setup_object(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned os_index); topology 325 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC int hwloc_topology_reconnect(hwloc_topology_t topology, unsigned long flags __hwloc_attribute_unused); topology 420 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h hwloc_filter_check_keep_object_type(hwloc_topology_t topology, hwloc_obj_type_t type) topology 423 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h hwloc_topology_get_type_filter(topology, type, &filter); topology 433 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h hwloc_filter_check_keep_object(hwloc_topology_t topology, hwloc_obj_t obj) topology 437 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h hwloc_topology_get_type_filter(topology, type, &filter); topology 499 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC int hwloc_pcidisc_tree_attach(struct hwloc_topology *topology, struct hwloc_obj *tree); topology 523 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC struct hwloc_obj * hwloc_pcidisc_find_by_busid(struct hwloc_topology *topology, unsigned domain, unsigned bus, unsigned dev, unsigned func); topology 535 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/plugins.h HWLOC_DECLSPEC struct hwloc_obj * hwloc_pcidisc_find_busid_parent(struct hwloc_topology *topology, unsigned domain, unsigned bus, unsigned dev, unsigned func); topology 42 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/rename.h #define hwloc_topology HWLOC_NAME(topology) topology 53 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/shmem.h HWLOC_DECLSPEC int hwloc_shmem_topology_get_length(hwloc_topology_t topology, topology 82 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/shmem.h HWLOC_DECLSPEC int hwloc_shmem_topology_write(hwloc_topology_t topology, topology 23 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern int hwloc_disc_component_force_enable(struct hwloc_topology *topology, topology 27 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern void hwloc_disc_components_enable_others(struct hwloc_topology *topology); topology 30 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern void hwloc_backends_is_thissystem(struct hwloc_topology *topology); topology 31 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern void hwloc_backends_find_callbacks(struct hwloc_topology *topology); topology 34 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern void hwloc_backends_init(struct hwloc_topology *topology); topology 36 opal/mca/hwloc/hwloc201/hwloc/include/private/components.h extern void hwloc_backends_disable_all(struct hwloc_topology *topology); topology 294 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h netloc_topology_t *topology; topology 332 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h int netloc_topology_destruct(netloc_topology_t *topology); topology 334 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h int netloc_topology_find_partition_idx(netloc_topology_t *topology, char *partition_name); topology 336 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h int netloc_topology_read_hwloc(netloc_topology_t *topology, int num_nodes, topology 339 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_topology_iter_partitions(topology,partition) \ topology 340 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h for ((partition) = (char **)utarray_front(topology->partitions); \ topology 342 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h (partition) = (char **)utarray_next(topology->partitions, partition)) topology 344 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_topology_iter_hwloctopos(topology,hwloctopo) \ topology 345 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h for ((hwloctopo) = (char **)utarray_front(topology->topos); \ topology 347 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h (hwloctopo) = (char **)utarray_next(topology->topos, hwloctopo)) topology 349 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_topology_find_node(topology,node_id,node) \ topology 350 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h HASH_FIND_STR(topology->nodes, node_id, node) topology 352 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_topology_iter_nodes(topology,node,_tmp) \ topology 353 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h HASH_ITER(hh, topology->nodes, node, _tmp) topology 355 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define netloc_topology_num_nodes(topology) \ topology 356 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h HASH_COUNT(topology->nodes) topology 89 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_thisproc_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags); topology 90 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisproc_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 91 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_thisthread_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags); topology 92 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisthread_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 93 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_proc_cpubind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags); topology 94 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_proc_cpubind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags); topology 96 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_thread_cpubind)(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_const_cpuset_t set, int flags); topology 97 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thread_cpubind)(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_cpuset_t set, int flags); topology 100 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisproc_last_cpu_location)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 101 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisthread_last_cpu_location)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags); topology 102 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_proc_last_cpu_location)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags); topology 104 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_thisproc_membind)(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags); topology 105 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisproc_membind)(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags); topology 106 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_thisthread_membind)(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags); topology 107 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_thisthread_membind)(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags); topology 108 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_proc_membind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags); topology 109 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_proc_membind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags); topology 110 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*set_area_membind)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags); topology 111 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_area_membind)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags); topology 112 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_area_memlocation)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags); topology 114 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void *(*alloc)(hwloc_topology_t topology, size_t len); topology 117 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void *(*alloc_membind)(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags); topology 118 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*free_membind)(hwloc_topology_t topology, void *addr, size_t len); topology 120 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int (*get_allowed_resources)(hwloc_topology_t topology); topology 125 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void (*userdata_export_cb)(void *reserved, struct hwloc_topology *topology, struct hwloc_obj *obj); topology 126 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void (*userdata_import_cb)(struct hwloc_topology *topology, struct hwloc_obj *obj, const char *name, const void *buffer, size_t length); topology 191 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_setup_pu_level(struct hwloc_topology *topology, unsigned nb_pus); topology 194 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_fallback_nbprocessors(struct hwloc_topology *topology); topology 199 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_topology_setup_defaults(struct hwloc_topology *topology); topology 200 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_topology_clear(struct hwloc_topology *topology); topology 203 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern struct hwloc_obj * hwloc__attach_memory_object(struct hwloc_topology *topology, hwloc_obj_t parent, topology 207 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_pci_discovery_init(struct hwloc_topology *topology); topology 208 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_pci_discovery_prepare(struct hwloc_topology *topology); topology 209 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_pci_discovery_exit(struct hwloc_topology *topology); topology 215 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern hwloc_obj_t hwloc_find_insert_io_parent_by_complete_cpuset(struct hwloc_topology *topology, hwloc_cpuset_t cpuset); topology 222 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_pci_belowroot_apply_locality(struct hwloc_topology *topology); topology 232 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_set_binding_hooks(struct hwloc_topology *topology); topology 270 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_look_hardwired_fujitsu_k(struct hwloc_topology *topology); topology 271 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_look_hardwired_fujitsu_fx10(struct hwloc_topology *topology); topology 272 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_look_hardwired_fujitsu_fx100(struct hwloc_topology *topology); topology 278 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_add_uname_info(struct hwloc_topology *topology, void *cached_uname); topology 290 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void *hwloc_alloc_heap(hwloc_topology_t topology, size_t len); topology 293 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h void *hwloc_alloc_mmap(hwloc_topology_t topology, size_t len); topology 296 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int hwloc_free_heap(hwloc_topology_t topology, void *addr, size_t len); topology 299 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h int hwloc_free_mmap(hwloc_topology_t topology, void *addr, size_t len); topology 304 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h hwloc_alloc_or_fail(hwloc_topology_t topology, size_t len, int flags) topology 308 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h return hwloc_alloc(topology, len); topology 311 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_internal_distances_init(hwloc_topology_t topology); topology 312 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_internal_distances_prepare(hwloc_topology_t topology); topology 313 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_internal_distances_destroy(hwloc_topology_t topology); topology 315 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_internal_distances_refresh(hwloc_topology_t topology); topology 316 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_internal_distances_add(hwloc_topology_t topology, unsigned nbobjs, hwloc_obj_t *objs, uint64_t *values, unsigned long kind, unsigned long flags); topology 317 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_internal_distances_add_by_index(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned nbobjs, uint64_t *indexes, uint64_t *values, unsigned long kind, unsigned long flags); topology 318 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc_internal_distances_invalidate_cached_objs(hwloc_topology_t topology); topology 344 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern char * hwloc_progname(struct hwloc_topology *topology); topology 412 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc__topology_disadopt(hwloc_topology_t topology); topology 81 opal/mca/hwloc/hwloc201/hwloc/include/private/xml.h HWLOC_DECLSPEC void hwloc__xml_export_topology(hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, unsigned long flags); topology 91 opal/mca/hwloc/hwloc201/hwloc/include/private/xml.h int (*export_file)(struct hwloc_topology *topology, struct hwloc__xml_export_data_s *edata, const char *filename, unsigned long flags); topology 92 opal/mca/hwloc/hwloc201/hwloc/include/private/xml.h int (*export_buffer)(struct hwloc_topology *topology, struct hwloc__xml_export_data_s *edata, char **xmlbuffer, int *buflen, unsigned long flags); topology 547 orte/mca/ess/hnp/ess_hnp_module.c node->topology = t; topology 91 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topology 92 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 97 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topology 98 orte/mca/plm/base/plm_base_launch_support.c if (0 == (node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 103 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 109 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topology 110 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 115 orte/mca/plm/base/plm_base_launch_support.c if (NULL != node->topology && NULL != node->topology->topo) { topology 116 orte/mca/plm/base/plm_base_launch_support.c node->slots = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 145 orte/mca/plm/base/plm_base_launch_support.c t = node->topology; topology 150 orte/mca/plm/base/plm_base_launch_support.c if (NULL == node->topology) { topology 151 orte/mca/plm/base/plm_base_launch_support.c node->topology = t; topology 1294 orte/mca/plm/base/plm_base_launch_support.c daemon->node->topology = t; topology 1329 orte/mca/plm/base/plm_base_launch_support.c daemon->node->topology = t; topology 268 orte/mca/ras/simulator/ras_sim_module.c node->topology = t; topology 71 orte/mca/rmaps/base/rmaps_base_binding.c opal_hwloc_base_clear_usage(node->topology->topo); topology 171 orte/mca/rmaps/base/rmaps_base_binding.c while (NULL != (tmp_obj = hwloc_get_next_obj_by_depth(node->topology->topo, target_depth, tmp_obj))) { topology 174 orte/mca/rmaps/base/rmaps_base_binding.c root = hwloc_get_root_obj(node->topology->topo); topology 217 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, trg_obj); topology 269 orte/mca/rmaps/base/rmaps_base_binding.c node->topology->topo, totalcpuset)) { topology 275 orte/mca/rmaps/base/rmaps_base_binding.c rc = opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), node->topology->topo, totalcpuset); topology 329 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topology 372 orte/mca/rmaps/base/rmaps_base_binding.c HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology->topo, HWLOC_OBJ_CORE)) { topology 401 orte/mca/rmaps/base/rmaps_base_binding.c if (UINT_MAX == (idx = opal_hwloc_base_get_obj_idx(node->topology->topo, locale, OPAL_HWLOC_AVAILABLE))) { topology 406 orte/mca/rmaps/base/rmaps_base_binding.c if (0 == (ncpus = opal_hwloc_base_get_npus(node->topology->topo, locale))) { topology 425 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, sib); topology 444 orte/mca/rmaps/base/rmaps_base_binding.c ncpus = opal_hwloc_base_get_npus(node->topology->topo, sib); topology 543 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topology 578 orte/mca/rmaps/base/rmaps_base_binding.c root = hwloc_get_root_obj(node->topology->topo); topology 777 orte/mca/rmaps/base/rmaps_base_binding.c support = (struct hwloc_topology_support*)hwloc_topology_get_support(node->topology->topo); topology 820 orte/mca/rmaps/base/rmaps_base_binding.c HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology->topo, HWLOC_OBJ_CORE)) { topology 839 orte/mca/rmaps/base/rmaps_base_binding.c bind_depth = hwloc_get_cache_type_depth(node->topology->topo, clvl, (hwloc_obj_cache_type_t)-1); topology 842 orte/mca/rmaps/base/rmaps_base_binding.c bind_depth = hwloc_get_type_depth(node->topology->topo, hwb); topology 114 orte/mca/rmaps/base/rmaps_base_map_job.c slots += ppx * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 344 orte/mca/rmaps/base/rmaps_base_map_job.c t0 = node->topology; topology 349 orte/mca/rmaps/base/rmaps_base_map_job.c if (NULL == node->topology) { topology 350 orte/mca/rmaps/base/rmaps_base_map_job.c node->topology = t0; topology 534 orte/mca/rmaps/base/rmaps_base_map_job.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2mapstr(tmp1, sizeof(tmp1), node->topology->topo, bd->cpuset)) { topology 564 orte/mca/rmaps/base/rmaps_base_map_job.c locality = opal_hwloc_base_get_relative_locality(node->topology->topo, topology 102 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topology 113 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topology 223 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topology 234 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topology 354 orte/mca/rmaps/base/rmaps_base_ranking.c num_objs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, topology 365 orte/mca/rmaps/base/rmaps_base_ranking.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, topology 239 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == node->topology || NULL == node->topology->topo) { topology 248 orte/mca/rmaps/mindist/rmaps_mindist_module.c obj = hwloc_get_root_obj(node->topology->topo); topology 260 orte/mca/rmaps/mindist/rmaps_mindist_module.c total_npus = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PU, 0, OPAL_HWLOC_AVAILABLE); topology 262 orte/mca/rmaps/mindist/rmaps_mindist_module.c total_npus = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_CORE, 0, OPAL_HWLOC_AVAILABLE); topology 336 orte/mca/rmaps/mindist/rmaps_mindist_module.c opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, OPAL_HWLOC_AVAILABLE); topology 338 orte/mca/rmaps/mindist/rmaps_mindist_module.c ret = opal_hwloc_get_sorted_numa_list(node->topology->topo, orte_rmaps_base.device, &numa_list); topology 357 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, numa->index, OPAL_HWLOC_AVAILABLE))) { topology 361 orte/mca/rmaps/mindist/rmaps_mindist_module.c npus = opal_hwloc_base_get_npus(node->topology->topo, obj); topology 393 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (hwloc_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_SOCKET) > 1) { topology 480 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == node->topology || NULL == node->topology->topo) { topology 488 orte/mca/rmaps/mindist/rmaps_mindist_module.c opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, OPAL_HWLOC_AVAILABLE); topology 490 orte/mca/rmaps/mindist/rmaps_mindist_module.c rc = opal_hwloc_get_sorted_numa_list(node->topology->topo, orte_rmaps_base.device, &numa_list); topology 507 orte/mca/rmaps/mindist/rmaps_mindist_module.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, HWLOC_OBJ_NODE, 0, numa->index, OPAL_HWLOC_AVAILABLE))) { topology 512 orte/mca/rmaps/mindist/rmaps_mindist_module.c npus = opal_hwloc_base_get_npus(node->topology->topo, obj); topology 270 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == node->topology || NULL == node->topology->topo) { topology 287 orte/mca/rmaps/ppr/rmaps_ppr.c obj = hwloc_get_root_obj(node->topology->topo); topology 298 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 306 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topology 485 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 493 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topology 542 orte/mca/rmaps/ppr/rmaps_ppr.c top = find_split(node->topology->topo, obj); topology 689 orte/mca/rmaps/ppr/rmaps_ppr.c if (NULL == node->topology || NULL == node->topology->topo) { topology 695 orte/mca/rmaps/ppr/rmaps_ppr.c obj = hwloc_get_root_obj(node->topology->topo); topology 707 orte/mca/rmaps/ppr/rmaps_ppr.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, topology 716 orte/mca/rmaps/ppr/rmaps_ppr.c obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, topology 322 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (NULL == node->topology || NULL == node->topology->topo) { topology 332 orte/mca/rmaps/rank_file/rmaps_rank_file.c if (ORTE_SUCCESS != (rc = opal_hwloc_base_cpu_list_parse(slots, node->topology->topo, rtype, bitmap))) { topology 60 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == node->topology || NULL == node->topology->topo) { topology 64 orte/mca/rmaps/round_robin/rmaps_rr_assign.c obj = hwloc_get_root_obj(node->topology->topo); topology 115 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == node->topology || NULL == node->topology->topo) { topology 121 orte/mca/rmaps/round_robin/rmaps_rr_assign.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topology 155 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, (j + start) % nobjs, OPAL_HWLOC_AVAILABLE))) { topology 159 orte/mca/rmaps/round_robin/rmaps_rr_assign.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topology 161 orte/mca/rmaps/round_robin/rmaps_rr_assign.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topology 79 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topology 80 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topology 93 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == node->topology) { topology 98 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c num_procs_to_assign = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topology 156 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topology 157 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topology 305 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topology 306 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topology 320 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c num_procs_to_assign = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topology 422 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL != node->topology && NULL != node->topology->topo) { topology 423 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c obj = hwloc_get_root_obj(node->topology->topo); topology 526 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == node->topology || NULL == node->topology->topo) { topology 533 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topology 555 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nprocs = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topology 592 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, (i+start) % nobjs, OPAL_HWLOC_AVAILABLE))) { topology 596 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topology 598 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topology 690 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == node->topology || NULL == node->topology->topo) { topology 696 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs += opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topology 732 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE); topology 738 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (NULL == (obj = opal_hwloc_base_get_obj_by_type(node->topology->topo, target, cache_level, i, OPAL_HWLOC_AVAILABLE))) { topology 742 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology->topo, obj)) { topology 744 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology->topo, obj), topology 757 orte/mca/rmaps/round_robin/rmaps_rr_mappers.c nprocs = orte_rmaps_base_n_persocket * opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, HWLOC_OBJ_PACKAGE, 0, OPAL_HWLOC_AVAILABLE); topology 445 orte/mca/rmaps/seq/rmaps_seq.c if (NULL == node->topology || NULL == node->topology->topo) { topology 463 orte/mca/rmaps/seq/rmaps_seq.c if (ORTE_SUCCESS != (rc = opal_hwloc_base_cpu_list_parse(sq->cpuset, node->topology->topo, rtype, bitmap))) { topology 493 orte/mca/rmaps/seq/rmaps_seq.c if (NULL != node->topology && NULL != node->topology->topo) { topology 494 orte/mca/rmaps/seq/rmaps_seq.c locale = hwloc_get_root_obj(node->topology->topo); topology 230 orte/mca/state/novm/state_novm.c node->topology = t; topology 77 orte/runtime/data_type_support/orte_dt_copy_fns.c node->topology = src->topology; topology 394 orte/runtime/data_type_support/orte_dt_print_fns.c if (orte_display_topo_with_map && NULL != src->topology) { topology 402 orte/runtime/data_type_support/orte_dt_print_fns.c opal_dss.print(&tmp2, pfx3, src->topology, OPAL_HWLOC_TOPO); topology 477 orte/runtime/data_type_support/orte_dt_print_fns.c NULL != src->node->topology && NULL != src->node->topology->topo) { topology 480 orte/runtime/data_type_support/orte_dt_print_fns.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2str(tmp1, sizeof(tmp1), src->node->topology->topo, mycpus)) { topology 483 orte/runtime/data_type_support/orte_dt_print_fns.c opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), src->node->topology->topo, mycpus); topology 518 orte/runtime/data_type_support/orte_dt_print_fns.c if (OPAL_ERR_NOT_BOUND == opal_hwloc_base_cset2mapstr(locale, sizeof(locale), src->node->topology->topo, loc->cpuset)) { topology 528 orte/runtime/data_type_support/orte_dt_print_fns.c NULL != src->node->topology && NULL != src->node->topology->topo) { topology 531 orte/runtime/data_type_support/orte_dt_print_fns.c opal_hwloc_base_cset2mapstr(tmp2, sizeof(tmp2), src->node->topology->topo, mycpus); topology 744 orte/runtime/orte_globals.c node->topology = NULL; topology 303 orte/runtime/orte_globals.h orte_topology_t *topology; topology 393 orte/util/nidmap.c nd->topology = t; topology 565 orte/util/nidmap.c i8 = nptr->topology->index; topology 889 orte/util/nidmap.c nptr->topology = opal_pointer_array_get_item(orte_node_topologies, index);