Searched refs:num_cpus (Results 1 - 14 of 14) sorted by relevance
/fuchsia/zircon/kernel/tests/ |
H A D | sync_ipi_tests.cpp | 84 uint num_cpus = arch_max_num_cpus(); local 86 if (online != (1U << num_cpus) - 1) { 97 for (uint i = 0; i < num_cpus; ++i) { 105 LTRACEF("Counter test (%u CPUs)\n", num_cpus); 116 ASSERT((uint)counter == num_cpus - 1);
|
/fuchsia/zircon/kernel/platform/pc/include/platform/pc/ |
H A D | acpi.h | 29 uint32_t* num_cpus);
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | proc_trace.cpp | 190 uint32_t num_cpus = arch_max_num_cpus(); local 192 reinterpret_cast<ipt_trace_state_t*>(calloc(num_cpus, 270 uint32_t num_cpus = arch_max_num_cpus(); local 271 for (uint32_t cpu = 0; cpu < num_cpus; ++cpu) { 347 uint32_t num_cpus = arch_max_num_cpus(); local 348 for (uint32_t cpu = 0; cpu < num_cpus; ++cpu) { 371 uint32_t num_cpus = arch_max_num_cpus(); 372 if (descriptor >= num_cpus) 398 uint32_t num_cpus = arch_max_num_cpus(); 399 if (descriptor >= num_cpus) [all...] |
H A D | smp.cpp | 26 void x86_init_smp(uint32_t* apic_ids, uint32_t num_cpus) { argument 27 DEBUG_ASSERT(num_cpus <= UINT8_MAX); 28 zx_status_t status = x86_allocate_ap_structures(apic_ids, (uint8_t)num_cpus); 34 lk_init_secondary_cpus(num_cpus - 1);
|
H A D | mmu_mem_types.cpp | 296 uint num_cpus = arch_max_num_cpus(); local 297 for (uint i = 0; i < num_cpus; ++i) {
|
H A D | perf_mon.cpp | 291 const unsigned num_cpus; member in struct:PerfmonState 356 : num_cpus(n_cpus) { } 361 for (unsigned cpu = 0; cpu < num_cpus; ++cpu) { 636 if (cpu >= perfmon_state->num_cpus) 1311 unsigned num_cpus = state->num_cpus; 1312 for (unsigned cpu = 0; cpu < num_cpus; ++cpu) { 1398 unsigned num_cpus = state->num_cpus; 1400 for (unsigned cpu = 0; cpu < num_cpus; 1309 unsigned num_cpus = state->num_cpus; local 1396 unsigned num_cpus = state->num_cpus; local [all...] |
/fuchsia/zircon/kernel/arch/arm64/hypervisor/ |
H A D | el2_cpu_state.cpp | 96 size_t num_cpus = arch_max_num_cpus(); 97 El2Stack* stacks = new (&ac) El2Stack[num_cpus]; 100 fbl::Array<El2Stack> el2_stacks(stacks, num_cpus);
|
/fuchsia/zircon/kernel/arch/x86/hypervisor/ |
H A D | vmx_cpu_state.cpp | 168 size_t num_cpus = arch_max_num_cpus(); local 169 VmxPage* pages_ptr = new (&ac) VmxPage[num_cpus]; 172 fbl::Array<VmxPage> pages(pages_ptr, num_cpus);
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | platform.cpp | 797 uint32_t num_cpus = 0; local 799 zx_status_t status = platform_enumerate_cpus(NULL, 0, &num_cpus); 808 fbl::unique_ptr<uint32_t[]>(new (&ac) uint32_t[num_cpus * 2]); 815 uint32_t* apic_ids_temp = &apic_ids[num_cpus]; 819 status = platform_enumerate_cpus(apic_ids_temp, num_cpus, &real_num_cpus); 820 if (status != ZX_OK || num_cpus != real_num_cpus) { 835 for (uint32_t i = 0; i < num_cpus; ++i) { 855 num_cpus = using_count; 864 dprintf(INFO, "Found %u cpu%c\n", num_cpus, (num_cpus > [all...] |
H A D | acpi.cpp | 86 * via num_cpus. 90 * @param num_cpus Output for the number of logical processors detected. 92 * @return ZX_OK on success. Note that if len < *num_cpus, not all 98 uint32_t* num_cpus) { 99 if (num_cpus == NULL) { 132 *num_cpus = count; 95 platform_enumerate_cpus( uint32_t* apic_ids, uint32_t len, uint32_t* num_cpus) argument
|
/fuchsia/zircon/kernel/kernel/ |
H A D | mp.cpp | 114 uint num_cpus = arch_max_num_cpus(); local 148 for (uint i = 0; i < num_cpus; ++i) { 157 while (remaining && cpu_id < num_cpus) { 214 for (uint i = 0; i < num_cpus; ++i) {
|
/fuchsia/zircon/system/dev/misc/cpu-trace/ |
H A D | intel-pm.c | 333 uint32_t num_cpus = zx_system_get_num_cpus(); 334 if (alloc.num_buffers != num_cpus) // TODO(dje): for now 347 per_trace->buffers = calloc(num_cpus, sizeof(per_trace->buffers[0])); 355 for ( ; i < num_cpus; ++i) { 361 if (i != num_cpus) { 813 uint32_t num_cpus = zx_system_get_num_cpus(); 814 for (uint32_t cpu = 0; cpu < num_cpus; ++cpu) {
|
/fuchsia/zircon/kernel/arch/x86/include/arch/ |
H A D | x86.h | 71 * @param num_cpus The number of entries in the apic_ids list. 73 void x86_init_smp(uint32_t* apic_ids, uint32_t num_cpus);
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | object.cpp | 442 size_t num_cpus = arch_max_num_cpus(); 444 size_t num_to_copy = MIN(num_cpus, num_space_for); 499 zx_status_t status = _avail.copy_to_user(num_cpus);
|
Completed in 162 milliseconds