/haiku/headers/private/kernel/ |
H A D | ksystem_info.h | 25 status_t _user_get_cpu_info(uint32 firstCPU, uint32 cpuCount, cpu_info* info);
|
/haiku/src/apps/showimage/ |
H A D | Filter.cpp | 259 int32 cpuCount = 0; local 262 cpuCount++; 264 if (cpuCount == 0) 265 cpuCount = 1; 267 return cpuCount;
|
/haiku/src/system/kernel/ |
H A D | UserTimer.cpp | 635 int32 cpuCount = smp_get_num_cpus(); local 636 for (int32 i = 0; i < cpuCount; i++) {
|
H A D | heap.cpp | 1919 int32 cpuCount = MIN(smp_get_num_cpus(), local 1922 for (int32 i = 0; i < cpuCount; i++) { 1923 uint32 heapIndex = heap_index_for(size, cpuNumber++ % cpuCount); 2285 int32 cpuCount = MIN(smp_get_num_cpus(), local 2288 for (int32 i = 0; i < cpuCount; i++) { 2289 uint32 heapIndex = heap_index_for(size, cpuNumber++ % cpuCount);
|
/haiku/src/system/kernel/arch/x86/32/ |
H A D | syscalls.cpp | 41 int cpuCount = smp_get_num_cpus(); local 43 for (i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/slab/ |
H A D | ObjectDepot.cpp | 214 int cpuCount = smp_get_num_cpus(); local 216 sizeof(depot_cpu_store) * cpuCount, flags); 222 for (int i = 0; i < cpuCount; i++) { 341 int cpuCount = smp_get_num_cpus(); local 342 for (int i = 0; i < cpuCount; i++) { 386 int cpuCount = smp_get_num_cpus(); local 387 for (int i = 0; i < cpuCount; i++) { 425 int cpuCount = smp_get_num_cpus(); local 427 for (int i = 0; i < cpuCount; i++) {
|
/haiku/headers/os/kernel/ |
H A D | OS.h | 549 extern status_t _get_cpu_info_etc(uint32 firstCPU, uint32 cpuCount, 551 #define get_cpu_info(firstCPU, cpuCount, info) \ 552 _get_cpu_info_etc((firstCPU), (cpuCount), (info), sizeof(*(info)))
|
/haiku/headers/private/system/ |
H A D | syscalls.h | 544 extern status_t _kern_get_cpu_info(uint32 firstCPU, uint32 cpuCount,
|
/haiku/src/add-ons/kernel/power/cpufreq/amd_pstates/ |
H A D | amd_pstates.cpp | 91 int32 cpuCount = smp_get_num_cpus(); 92 for (int32 i = 0; i < cpuCount; i++) {
|
/haiku/src/add-ons/kernel/power/cpufreq/intel_pstates/ |
H A D | intel_pstates.cpp | 240 int32 cpuCount = smp_get_num_cpus(); 241 for (int32 i = 0; i < cpuCount; i++) { 266 sCPUEntries = new(std::nothrow) CPUEntry[cpuCount];
|
/haiku/src/apps/debuganalyzer/gui/main_window/ |
H A D | SchedulingPage.cpp | 821 int32 cpuCount = fModel->CountCPUs(); local 822 int32 missingThreads = cpuCount; 823 Model::Thread* runningThreads[cpuCount]; 824 memset(runningThreads, 0, sizeof(Model::Thread*) * cpuCount); 903 for (int32 i = 0; i < cpuCount; i++) {
|
/haiku/src/apps/text_search/ |
H A D | Grepper.cpp | 259 char cpuCount[8]; local 262 snprintf(cpuCount, sizeof(cpuCount), "%" B_PRIu32, sys_info.cpu_count); 264 argv[argc++] = cpuCount;
|
/haiku/src/system/boot/platform/openfirmware/arch/ppc/ |
H A D | cpu.cpp | 49 int cpuCount = 0; local 56 if (cpuCount == 0) { 96 cpuCount++; 99 if (cpuCount == 0) { 104 gKernelArgs.num_cpus = cpuCount; 109 cpuCount * (KERNEL_STACK_SIZE + KERNEL_STACK_GUARD_PAGES * B_PAGE_SIZE), 116 for (int i = 0; i < cpuCount; i++) {
|
/haiku/src/system/boot/platform/openfirmware/arch/sparc/ |
H A D | cpu.cpp | 41 int cpuCount = 0; local 48 if (cpuCount == 0) { 80 cpuCount++; 83 if (cpuCount == 0) { 88 gKernelArgs.num_cpus = cpuCount; 93 cpuCount * (KERNEL_STACK_SIZE + KERNEL_STACK_GUARD_PAGES * B_PAGE_SIZE), 100 for (int i = 0; i < cpuCount; i++) {
|
/haiku/src/system/boot/platform/u-boot/arch/ppc/ |
H A D | arch_cpu.cpp | 59 int cpuCount = 0; local 66 if (cpuCount == 0) { 106 cpuCount++; 109 if (cpuCount == 0) { 114 gKernelArgs.num_cpus = cpuCount; 137 cpuCount * (KERNEL_STACK_SIZE + KERNEL_STACK_GUARD_PAGES * B_PAGE_SIZE), 144 for (int i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/arch/arm/paging/ |
H A D | arm_physical_page_mapper_large_memory.cpp | 456 int32 cpuCount = smp_get_num_cpus(); local 457 for (int32 i = 0; i < cpuCount; i++)
|
/haiku/src/system/kernel/arch/m68k/paging/ |
H A D | m68k_physical_page_mapper_large_memory.cpp | 455 int32 cpuCount = smp_get_num_cpus(); local 456 for (int32 i = 0; i < cpuCount; i++)
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_int.cpp | 314 int cpuCount = smp_get_num_cpus(); local 315 for (int i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | RISCV64VMTranslationMap.cpp | 929 int32 cpuCount = smp_get_num_cpus(); local 930 for (int32 i = 0; i < cpuCount; i++) {
|
H A D | arch_smp.cpp | 48 int32 cpuCount = smp_get_num_cpus(); local 49 for (int32 i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_smp.cpp | 139 int32 cpuCount = smp_get_num_cpus(); local 142 for (int32 i = 0; i < cpuCount; i++) { 179 int32 cpuCount = smp_get_num_cpus(); local 187 for (int32 i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/arch/x86/paging/ |
H A D | x86_physical_page_mapper_large_memory.cpp | 452 int32 cpuCount = smp_get_num_cpus(); local 453 for (int32 i = 0; i < cpuCount; i++)
|
/haiku/src/system/kernel/debug/ |
H A D | system_profiler.cpp | 518 int32 cpuCount = smp_get_num_cpus(); local 519 for (int32 i = 0; i < cpuCount; i++) {
|
/haiku/src/system/kernel/scheduler/ |
H A D | scheduler.cpp | 615 build_topology_mappings(int32& cpuCount, int32& coreCount, int32& packageCount) argument 617 cpuCount = smp_get_num_cpus(); 619 sCPUToCore = new(std::nothrow) int32[cpuCount]; 624 sCPUToPackage = new(std::nothrow) int32[cpuCount]; 630 for (int32 i = 0; i < cpuCount; i++) { 636 for (int32 i = 0; i < cpuCount; i++) { 656 int32 cpuCount, coreCount, packageCount; local 657 status_t result = build_topology_mappings(cpuCount, coreCount, 669 gCPUEntries = new(std::nothrow) CPUEntry[cpuCount]; 689 for (int32 i = 0; i < cpuCount; 711 int32 cpuCount = smp_get_num_cpus(); local [all...] |
H A D | scheduler_cpu.cpp | 368 CPUPriorityHeap::CPUPriorityHeap(int32 cpuCount) argument 370 Heap<CPUEntry, int32>(cpuCount) 751 int32 cpuCount = smp_get_num_cpus(); local 759 for (int32 i = 0; i < cpuCount; i++)
|