infos 1398 opal/mca/hwloc/base/hwloc_base_util.c if (0 == strncmp(osdev->infos[i].name, "MICSerialNumber", strlen("MICSerialNumber"))) { infos 1401 opal/mca/hwloc/base/hwloc_base_util.c osdev->infos[i].value)); infos 1402 opal/mca/hwloc/base/hwloc_base_util.c opal_argv_append_nosize(&cps, osdev->infos[i].value); infos 2068 opal/mca/hwloc/base/hwloc_base_util.c if (0 == strcmp(obj->infos[i].name, "Architecture")) { infos 2069 opal/mca/hwloc/base/hwloc_base_util.c arch = obj->infos[i].value; infos 218 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c struct hwloc_info_s *info1 = &obj1->infos[i], *info2 = &obj2->infos[i]; infos 221 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c if (strcmp(obj1->infos[i].value, obj2->infos[i].value)) { infos 429 opal/mca/hwloc/hwloc201/hwloc/hwloc/diff.c struct hwloc_info_s *info = &obj->infos[i]; infos 2082 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s *infos; infos 3550 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__move_infos(&package->infos, &package->infos_count, infos 3551 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c &cpuinfo_Lprocs[j].infos, &cpuinfo_Lprocs[j].infos_count); infos 3795 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s **infos, unsigned *infos_count, infos 3800 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUVendor", value); infos 3803 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModel", value); infos 3806 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModelNumber", value); infos 3809 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUFamilyNumber", value); infos 3812 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUStepping", value); infos 3819 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s **infos, unsigned *infos_count, infos 3824 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUVendor", value); infos 3827 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModel", value); infos 3830 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModelNumber", value); infos 3833 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUFamilyNumber", value); infos 3840 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s **infos, unsigned *infos_count, infos 3846 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModel", value); infos 3849 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUImplementer", value); infos 3852 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUArchitecture", value); infos 3855 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUVariant", value); infos 3858 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUPart", value); infos 3861 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPURevision", value); infos 3864 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "HardwareName", value); infos 3867 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "HardwareRevision", value); infos 3870 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "HardwareSerial", value); infos 3877 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s **infos, unsigned *infos_count, infos 3883 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "CPUModel", value); infos 3886 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "PlatformName", value); infos 3889 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "PlatformModel", value); infos 3894 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "PlatformVendor", value); infos 3897 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "PlatformBoardID", value); infos 3902 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info_nodup(infos, infos_count, "PlatformModel", value, 1); infos 3906 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, is_global ? "PlatformRevision" : "CPURevision", value); infos 3909 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "SystemVersionRegister", value); infos 3912 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(infos, infos_count, "ProcessorVersionRegister", value); infos 3942 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s **infos, unsigned *infos_count, infos 3954 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info_nodup(infos, infos_count, "CPUModel", value, 1); infos 4052 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c Lprocs[curproc].infos = NULL; infos 4085 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c curproc >= 0 ? &Lprocs[curproc].infos : global_infos, infos 4116 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__free_infos(Lprocs[i].infos, Lprocs[i].infos_count); infos 4201 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__move_infos(&obj->infos, &obj->infos_count, &Lprocs[j].infos, &Lprocs[j].infos_count); infos 4525 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!strcmp(Lprocs[0].infos[i].name, "CPUVendor")) { infos 4526 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpuvendor = Lprocs[0].infos[i].value; infos 4527 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c } else if (!strcmp(Lprocs[0].infos[i].name, "CPUFamilyNumber")) { infos 4528 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpufamilynumber = Lprocs[0].infos[i].value; infos 4529 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c } else if (!strcmp(Lprocs[0].infos[i].name, "CPUModelNumber")) { infos 4530 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cpumodelnumber = Lprocs[0].infos[i].value; infos 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, infos 5552 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c struct hwloc_info_s *infos = NULL; infos 5579 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "Vendor", buffer+boff); infos 5584 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "SerialNumber", buffer+boff); infos 5589 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "AssetTag", buffer+boff); infos 5594 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "PartNumber", buffer+boff); infos 5599 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "DeviceLocation", buffer+boff); infos 5604 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__add_info(&infos, &infos_count, "BankLocation", buffer+boff); infos 5636 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__move_infos(&misc->infos, &misc->infos_count, &infos, &infos_count); infos 5647 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc__free_infos(infos, infos_count); infos 216 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c static void fill_amd_cache(struct procinfo *infos, unsigned level, hwloc_obj_cache_type_t type, unsigned nbthreads_sharing, unsigned cpuid) infos 231 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c tmpcaches = realloc(infos->cache, (infos->numcaches+1)*sizeof(*infos->cache)); infos 235 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cache = tmpcaches; infos 236 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cachenum = infos->numcaches++; infos 238 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = &infos->cache[cachenum]; infos 265 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c static void look_proc(struct hwloc_backend *backend, struct procinfo *infos, unsigned highest_cpuid, unsigned highest_ext_cpuid, unsigned *features, enum cpuid_type cpuid_type, struct cpuiddump *src_cpuiddump) infos 276 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->present = 1; infos 281 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->apicid = ebx >> 24; infos 286 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("APIC ID 0x%02x legacy_max_log_proc %u\n", infos->apicid, legacy_max_log_proc); infos 287 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->packageid = infos->apicid / legacy_max_log_proc; infos 288 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c legacy_log_proc_id = infos->apicid % legacy_max_log_proc; infos 289 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("phys %u legacy thread %u\n", infos->packageid, legacy_log_proc_id); infos 297 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cpufamilynumber = _family + _extendedfamily; infos 299 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cpufamilynumber = _family; infos 304 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cpumodelnumber = _model + (_extendedmodel << 4); infos 306 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cpumodelnumber = _model; infos 308 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cpustepping = eax & 0xf; infos 310 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (cpuid_type == intel && infos->cpufamilynumber == 0x6 && infos 311 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c (infos->cpumodelnumber == 0x57 || infos->cpumodelnumber == 0x85)) infos 318 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c memcpy(infos->cpuvendor, regs+1, 4*3); infos 326 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c memcpy(infos->cpumodel, regs, 4*4); infos 329 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c memcpy(infos->cpumodel + 4*4, regs, 4*4); infos 332 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c memcpy(infos->cpumodel + 4*4*2, regs, 4*4); infos 361 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->packageid = infos->apicid / max_nbcores; infos 362 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c logprocid = infos->apicid % max_nbcores; infos 363 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->threadid = logprocid % max_nbthreads; infos 364 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->coreid = logprocid / max_nbthreads; infos 365 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid); infos 368 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->numcaches = 0; infos 369 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cache = NULL; infos 379 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c assert(!infos->numcaches); infos 383 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->apicid = apic_id = eax; infos 385 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos->cpufamilynumber == 0x16) { infos 393 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->nodeid = node_id; infos 394 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if ((infos->cpufamilynumber == 0x15 && nodes_per_proc > 2) infos 395 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c || (infos->cpufamilynumber == 0x17 && nodes_per_proc > 4)) { infos 399 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos->cpufamilynumber <= 0x16) { /* topoext appeared in 0x15 and compute-units were only used in 0x15 and 0x16 */ infos 401 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->unitid = unit_id = ebx & 0xff; infos 410 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->coreid = core_id = ebx & 0xff; infos 421 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->numcaches++; infos 424 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = infos->cache = malloc(infos->numcaches * sizeof(*infos->cache)); infos 465 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->numcaches = 0; infos 475 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fill_amd_cache(infos, 1, HWLOC_OBJ_CACHE_DATA, 1, ecx); /* private L1d */ infos 476 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fill_amd_cache(infos, 1, HWLOC_OBJ_CACHE_INSTRUCTION, 1, edx); /* private L1i */ infos 486 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fill_amd_cache(infos, 2, HWLOC_OBJ_CACHE_UNIFIED, 1, ecx); /* private L2u */ infos 488 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c fill_amd_cache(infos, 3, HWLOC_OBJ_CACHE_UNIFIED, legacy_max_log_proc, edx); /* package-wide L3u */ infos 500 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned oldnumcaches = infos->numcaches; /* in case we got caches above */ infos 514 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->numcaches++; infos 521 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->threadid = legacy_log_proc_id % max_nbthreads; infos 522 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->coreid = legacy_log_proc_id / max_nbthreads; infos 523 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid); infos 527 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c tmpcaches = realloc(infos->cache, infos->numcaches * sizeof(*infos->cache)); infos 529 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->cache = tmpcaches; infos 530 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = &infos->cache[oldnumcaches]; infos 587 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->otherids = malloc(level * sizeof(*infos->otherids)); infos 588 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos->otherids) { infos 589 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->levels = level; infos 602 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->apicid = apic_id; infos 603 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->otherids[level] = UINT_MAX; infos 606 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->threadid = id; infos 610 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->coreid = id; infos 615 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->otherids[level] = apic_id >> apic_shift; infos 620 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->apicid = apic_id; infos 621 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos->packageid = apic_id >> apic_shift; infos 622 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("x2APIC remainder: %u\n", infos->packageid); infos 623 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid); infos 629 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c for (cachenum = 0; cachenum < infos->numcaches; cachenum++) { infos 630 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache = &infos->cache[cachenum]; infos 633 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->cacheid = infos->apicid / cache->nbthreads_sharing; infos 637 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos->cpufamilynumber == 0x17 infos 643 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->cacheid = infos->apicid / 8; infos 645 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c } else if (infos->cpufamilynumber== 0x10 && infos->cpumodelnumber == 0x9 infos 663 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->cacheid = (infos->apicid % legacy_max_log_proc) / cache->nbthreads_sharing /* cacheid within the package */ infos 664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c + 2 * (infos->apicid / legacy_max_log_proc); /* add 2 caches per previous package */ infos 666 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c } else if (infos->cpufamilynumber == 0x15 infos 667 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c && (infos->cpumodelnumber == 0x1 /* Bulldozer */ || infos->cpumodelnumber == 0x2 /* Piledriver */) infos 672 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->cacheid = (infos->apicid % legacy_max_log_proc) / cache->nbthreads_sharing /* cacheid within the package */ infos 673 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c + 2 * (infos->apicid / legacy_max_log_proc); /* add 2 cache per previous package */ infos 678 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (hwloc_bitmap_isset(data->apicid_set, infos->apicid)) infos 681 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_bitmap_set(data->apicid_set, infos->apicid); infos 689 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc__add_info_nodup(&obj->infos, &obj->infos_count, "CPUVendor", info->cpuvendor, replace); infos 691 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc__add_info_nodup(&obj->infos, &obj->infos_count, "CPUFamilyNumber", number, replace); infos 693 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc__add_info_nodup(&obj->infos, &obj->infos_count, "CPUModelNumber", number, replace); infos 698 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc__add_info_nodup(&obj->infos, &obj->infos_count, "CPUModel", c, replace); infos 701 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc__add_info_nodup(&obj->infos, &obj->infos_count, "CPUStepping", number, replace); infos 705 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c static void summarize(struct hwloc_backend *backend, struct procinfo *infos, int fulldiscovery) infos 717 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[i].present) { infos 741 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned packageid = infos[i].packageid; infos 745 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].packageid == packageid) { infos 753 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_x86_add_cpuinfos(package, &infos[i], 0); infos 767 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_x86_add_cpuinfos(package, &infos[i], 1); infos 771 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_x86_add_cpuinfos(hwloc_get_root_obj(topology), &infos[i], 1); infos 787 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned packageid = infos[i].packageid; infos 788 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned nodeid = infos[i].nodeid; infos 797 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].nodeid == (unsigned) -1) { infos 802 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].packageid == packageid && infos[j].nodeid == nodeid) { infos 826 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned packageid = infos[i].packageid; infos 827 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned unitid = infos[i].unitid; infos 836 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].unitid == (unsigned) -1) { infos 841 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].packageid == packageid && infos[j].unitid == unitid) { infos 857 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[one].otherids) { infos 858 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c for (level = infos[one].levels-1; level <= infos[one].levels-1; level--) { infos 859 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[one].otherids[level] != UINT_MAX) { infos 865 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned unknownid = infos[i].otherids[level]; infos 869 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].otherids[level] == unknownid) { infos 895 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned packageid = infos[i].packageid; infos 896 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned nodeid = infos[i].nodeid; infos 897 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned coreid = infos[i].coreid; infos 906 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].coreid == (unsigned) -1) { infos 911 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].packageid == packageid && infos[j].nodeid == nodeid && infos[j].coreid == coreid) { infos 929 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if(infos[i].present) { /* Only add present PU. We don't know if others actually exist */ infos 942 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c for (j = 0; j < infos[i].numcaches; j++) infos 943 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[i].cache[j].level > level) infos 944 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c level = infos[i].cache[j].level; infos 964 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c for (l = 0; l < infos[i].numcaches; l++) { infos 965 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[i].cache[l].level == level && infos[i].cache[l].type == type) infos 968 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (l == infos[i].numcaches) { infos 982 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(cache, "Inclusive", infos[i].cache[l].inclusive ? "1" : "0"); infos 987 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned packageid = infos[i].packageid; infos 988 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c unsigned cacheid = infos[i].cache[l].cacheid; infos 993 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c for (l2 = 0; l2 < infos[j].numcaches; l2++) { infos 994 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].cache[l2].level == level && infos[j].cache[l2].type == type) infos 997 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (l2 == infos[j].numcaches) { infos 1002 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (infos[j].packageid == packageid && infos[j].cache[l2].cacheid == cacheid) { infos 1009 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->attr->cache.size = infos[i].cache[l].size; infos 1010 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->attr->cache.linesize = infos[i].cache[l].linesize; infos 1011 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->attr->cache.associativity = infos[i].cache[l].ways; infos 1012 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c cache->attr->cache.type = infos[i].cache[l].type; infos 1014 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c hwloc_obj_add_info(cache, "Inclusive", infos[i].cache[l].inclusive ? "1" : "0"); infos 1034 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c look_procs(struct hwloc_backend *backend, struct procinfo *infos, int fulldiscovery, infos 1070 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c look_proc(backend, &infos[i], highest_cpuid, highest_ext_cpuid, features, cpuid_type, src_cpuiddump); infos 1086 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c summarize(backend, infos, fulldiscovery); infos 1159 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c struct procinfo *infos = NULL; infos 1203 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos = calloc(nbprocs, sizeof(struct procinfo)); infos 1204 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (NULL == infos) infos 1207 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos[i].nodeid = (unsigned) -1; infos 1208 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos[i].packageid = (unsigned) -1; infos 1209 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos[i].unitid = (unsigned) -1; infos 1210 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos[i].coreid = (unsigned) -1; infos 1211 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c infos[i].threadid = (unsigned) -1; infos 1257 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c ret = look_procs(backend, infos, fulldiscovery, infos 1266 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c look_proc(backend, &infos[0], highest_cpuid, highest_ext_cpuid, features, cpuid_type, src_cpuiddump); infos 1267 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c summarize(backend, infos, fulldiscovery); infos 1275 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (NULL != infos) { infos 1277 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c free(infos[i].cache); infos 1278 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c free(infos[i].otherids); infos 1280 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c free(infos); infos 1133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c struct hwloc_info_s *info = &obj->infos[i]; infos 2090 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c char *name = hwloc__xml_export_safestrdup(obj->infos[i].name); infos 2091 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-xml.c char *value = hwloc__xml_export_safestrdup(obj->infos[i].value); infos 295 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c void hwloc__free_infos(struct hwloc_info_s *infos, unsigned count) infos 299 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(infos[i].name); infos 300 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(infos[i].value); infos 302 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(infos); infos 308 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c struct hwloc_info_s *infos = *infosp; infos 313 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c struct hwloc_info_s *tmpinfos = realloc(infos, alloccount*sizeof(*infos)); infos 317 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c *infosp = infos = tmpinfos; infos 319 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c infos[count].name = strdup(name); infos 320 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!infos[count].name) infos 322 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c infos[count].value = strdup(value); infos 323 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!infos[count].value) infos 329 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(infos[count].name); infos 339 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c struct hwloc_info_s *infos = *infosp; infos 343 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!strcmp(infos[i].name, name)) { infos 348 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(infos[i].value); infos 349 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c infos[i].value = new; infos 400 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return hwloc__add_info(&obj->infos, &obj->infos_count, name, value); infos 407 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c new->infos = hwloc_tma_calloc(tma, src->infos_count * sizeof(*src->infos)); infos 408 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!new->infos) infos 411 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c new->infos[i].name = hwloc_tma_strdup(tma, src->infos[i].name); infos 412 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c new->infos[i].value = hwloc_tma_strdup(tma, src->infos[i].value); infos 413 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (!new->infos[i].name || !new->infos[i].value) infos 422 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(new->infos[i].name); infos 423 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(new->infos[i].value); infos 425 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c free(new->infos); infos 426 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c new->infos = NULL; infos 440 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__free_infos(obj->infos, obj->infos_count); infos 1236 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc__move_infos(&old->infos, &old->infos_count, infos 1237 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c &new->infos, &new->infos_count); infos 597 opal/mca/hwloc/hwloc201/hwloc/hwloc/traversal.c struct hwloc_info_s *info = &obj->infos[i]; infos 527 opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h struct hwloc_info_s *infos; /**< \brief Array of stringified info type=name. */ infos 115 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/inlines.h struct hwloc_info_s *info = &obj->infos[i]; infos 227 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern void hwloc__free_infos(struct hwloc_info_s *infos, unsigned count); infos 591 opal/mca/pmix/pmix4x/pmix/src/mca/pnet/opa/pnet_opa.c pmix_output(0, "\t\t%s: %s", obj->infos[n].name, obj->infos[n].value); infos 613 opal/mca/pmix/pmix4x/pmix/src/mca/pnet/opa/pnet_opa.c PMIX_BFROPS_PACK(rc, pmix_globals.mypeer, &pbkt, &obj->infos[n].name, 1, PMIX_STRING); infos 620 opal/mca/pmix/pmix4x/pmix/src/mca/pnet/opa/pnet_opa.c PMIX_BFROPS_PACK(rc, pmix_globals.mypeer, &pbkt, &obj->infos[n].value, 1, PMIX_STRING); infos 164 orte/mca/ess/base/ess_base_std_orted.c if (NULL == obj->infos[i].name || infos 165 orte/mca/ess/base/ess_base_std_orted.c NULL == obj->infos[i].value) { infos 168 orte/mca/ess/base/ess_base_std_orted.c if (0 == strncmp(obj->infos[i].name, "HostName", strlen("HostName"))) { infos 169 orte/mca/ess/base/ess_base_std_orted.c free(obj->infos[i].name); infos 170 orte/mca/ess/base/ess_base_std_orted.c free(obj->infos[i].value); infos 173 orte/mca/ess/base/ess_base_std_orted.c obj->infos[j] = obj->infos[j+1]; infos 175 orte/mca/ess/base/ess_base_std_orted.c obj->infos[obj->infos_count-1].name = NULL; infos 176 orte/mca/ess/base/ess_base_std_orted.c obj->infos[obj->infos_count-1].value = NULL; infos 160 orte/mca/ras/simulator/ras_sim_module.c if (NULL == obj->infos[k].name || infos 161 orte/mca/ras/simulator/ras_sim_module.c NULL == obj->infos[k].value) { infos 164 orte/mca/ras/simulator/ras_sim_module.c if (0 == strncmp(obj->infos[k].name, "HostName", strlen("HostName"))) { infos 165 orte/mca/ras/simulator/ras_sim_module.c free(obj->infos[k].name); infos 166 orte/mca/ras/simulator/ras_sim_module.c free(obj->infos[k].value); infos 169 orte/mca/ras/simulator/ras_sim_module.c obj->infos[j] = obj->infos[j+1]; infos 171 orte/mca/ras/simulator/ras_sim_module.c obj->infos[obj->infos_count-1].name = NULL; infos 172 orte/mca/ras/simulator/ras_sim_module.c obj->infos[obj->infos_count-1].value = NULL; infos 220 orte/mca/ras/simulator/ras_sim_module.c if (NULL == obj->infos[k].name || infos 221 orte/mca/ras/simulator/ras_sim_module.c NULL == obj->infos[k].value) { infos 224 orte/mca/ras/simulator/ras_sim_module.c if (0 == strncmp(obj->infos[k].name, "HostName", strlen("HostName"))) { infos 225 orte/mca/ras/simulator/ras_sim_module.c free(obj->infos[k].name); infos 226 orte/mca/ras/simulator/ras_sim_module.c free(obj->infos[k].value); infos 229 orte/mca/ras/simulator/ras_sim_module.c obj->infos[j] = obj->infos[j+1]; infos 231 orte/mca/ras/simulator/ras_sim_module.c obj->infos[obj->infos_count-1].name = NULL; infos 232 orte/mca/ras/simulator/ras_sim_module.c obj->infos[obj->infos_count-1].value = NULL; infos 91 orte/test/system/opal_hwloc.c if (NULL == obj->infos[k].name || infos 92 orte/test/system/opal_hwloc.c NULL == obj->infos[k].value) { infos 95 orte/test/system/opal_hwloc.c if (0 == strncmp(obj->infos[k].name, "HostName", strlen("HostName"))) { infos 96 orte/test/system/opal_hwloc.c free(obj->infos[k].name); infos 97 orte/test/system/opal_hwloc.c free(obj->infos[k].value); infos 100 orte/test/system/opal_hwloc.c obj->infos[j] = obj->infos[j+1]; infos 102 orte/test/system/opal_hwloc.c obj->infos[obj->infos_count-1].name = NULL; infos 103 orte/test/system/opal_hwloc.c obj->infos[obj->infos_count-1].value = NULL;