| /xnu-12377.41.6/pexpert/pexpert/arm64/ |
| H A D | board_config.h | 57 #define MAX_CPUS 20 macro 81 #define MAX_CPUS 24 macro 114 #define MAX_CPUS 8 macro 128 #define MAX_CPUS 8 macro 143 #define MAX_CPUS 8 /* Actually has 6 CPUs, see doc/building/xnu_build_consoli… macro 162 #define MAX_CPUS 8 macro 184 #define MAX_CPUS 10 macro 208 #define MAX_CPUS 10 macro 239 #define MAX_CPUS 12 macro 261 #define MAX_CPUS 32 macro [all …]
|
| /xnu-12377.41.6/osfmk/i386/ |
| H A D | lapic.c | 52 int cpu_to_lapic[MAX_CPUS]; 59 for (i = 0; i < MAX_CPUS; i++) { in lapic_cpu_map_init() 71 assert(cpu < MAX_CPUS); in lapic_cpu_map() 86 if (cpu >= (uint32_t)MAX_CPUS) { in ml_get_apicid()
|
| H A D | mp.h | 70 #define MAX_CPUS 64 /* 8 * sizeof(cpumask_t) */ macro 160 static_assert(sizeof(cpumask_t) * CHAR_BIT >= MAX_CPUS, "cpumask_t bitvector is too small for curre… 165 return (cpu < MAX_CPUS) ? (1ULL << cpu) : 0; in cpu_to_cpumask()
|
| H A D | mp_desc.c | 176 cpu_data_t cpshadows[MAX_CPUS] __attribute__((aligned(64))) __attribute__((section("__HIB, __desc")… 177 cpu_data_t scdatas[MAX_CPUS] __attribute__((aligned(64))) = { 185 cpu_data_t *cpu_data_ptr[MAX_CPUS] = {[0] = &scdatas[0] }; 191 unsigned int max_ncpus = MAX_CPUS; 201 cpu_desc_table64_t scdtables[MAX_CPUS] __attribute__((aligned(64))) __attribute__((section("__HIB, … 202 cpu_fault_stack_t scfstks[MAX_CPUS] __attribute__((aligned(64))) __attribute__((section("__HIB, __d… 621 …vm_offset_t ldtalloc = 0, ldtallocsz = round_page_64(MAX_CPUS * sizeof(struct real_descriptor) * L… in cpu_data_alloc()
|
| H A D | cpu_data.h | 232 uint16_t cpu_tlb_gen_counts_local[MAX_CPUS]; 233 uint16_t cpu_tlb_gen_counts_global[MAX_CPUS]; 342 extern cpu_data_t *__single cpu_data_ptr[MAX_CPUS];
|
| H A D | mp.c | 486 cpu_signal_event_log_t *cpu_signal[MAX_CPUS]; 487 cpu_signal_event_log_t *cpu_handle[MAX_CPUS]; 1064 #define MP_CPUS_CALL_BUFS_PER_CPU MAX_CPUS 1066 static mp_call_queue_t mp_cpus_call_head[MAX_CPUS];
|
| H A D | machine_routines.c | 811 static_assert(MAX_CPUS <= 256, "MAX_CPUS must fit in _COMM_PAGE_CPU_TO_CLUSTER; Increase table size… 839 if (max_cpus > 0 && max_cpus <= MAX_CPUS) { in ml_set_max_cpus()
|
| H A D | proc_reg.h | 201 #define MAX_CPUS 64 macro
|
| /xnu-12377.41.6/osfmk/arm/ |
| H A D | cpu_data_internal.h | 63 static_assert(sizeof(cpumap_t) * CHAR_BIT >= MAX_CPUS, "cpumap_t bitvector is too small for current… 67 #define CPUWINDOWS_TOP (CPUWINDOWS_BASE + (MAX_CPUS * CPUWINDOWS_MAX * ARM_PGBYTES… 301 extern cpu_data_entry_t CpuDataEntries[MAX_CPUS];
|
| /xnu-12377.41.6/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | misc_needed_defines.h | 23 #define MAX_CPUS 64 macro
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | affinity.c | 531 unsigned short set_occupancy[MAX_CPUS] = { 0 }; in affinity_set_place() 536 if (__improbable(num_cpu_asets > MAX_CPUS)) { in affinity_set_place() 538 panic("num_cpu_asets = %d > %d too big in %s", num_cpu_asets, MAX_CPUS, __FUNCTION__); in affinity_set_place()
|
| H A D | sched_amp_common.c | 332 sched_ipi_type_t ipi_type[MAX_CPUS] = {SCHED_IPI_NONE}; in sched_amp_balance() 371 sched_ipi_type_t ipi_type[MAX_CPUS] = {SCHED_IPI_NONE}; in sched_amp_bounce_thread_group_from_ecores()
|
| /xnu-12377.41.6/tests/ktrace/ |
| H A D | kperf_tests.c | 25 #define MAX_CPUS 64 macro 142 T_ASSERT_LT(ncpus, MAX_CPUS, 143 "only supports up to %d CPUs", MAX_CPUS); 159 static uint64_t idle_tids[MAX_CPUS] = { 0 }; 206 static uint64_t tids_on_cpu[MAX_CPUS] = { 0 }; 245 static bool sample_missing[MAX_CPUS] = { false }; 246 static uint64_t tids_snap[MAX_CPUS] = { 0 };
|
| /xnu-12377.41.6/osfmk/console/ |
| H A D | serial_console.c | 108 #define KERN_CONSOLE_RING_SIZE vm_map_round_page(CPU_CONS_BUF_SIZE * (MAX_CPUS + 1), PAGE_SIZE - 1) 111 #define MAX_TOTAL_FLUSH_SIZE (MAX(2, MAX_CPUS) * CPU_CONS_BUF_SIZE)
|
| /xnu-12377.41.6/osfmk/arm64/ |
| H A D | cpu.c | 199 *ipi_test_data = cpu_data->cpu_number + MAX_CPUS; in arm64_immediate_ipi_test_callback() 202 uint64_t arm64_ipi_test_data[MAX_CPUS * 2]; 226 immediate_ipi_test_data = &arm64_ipi_test_data[i + MAX_CPUS]; in arm64_ipi_test() 248 while ((*ipi_test_data != i) || (*immediate_ipi_test_data != (i + MAX_CPUS))) { in arm64_ipi_test()
|
| H A D | machine_routines.c | 161 SECURITY_READ_ONLY_LATE(static ml_topology_cpu_t) topology_cpu_array[MAX_CPUS]; 1135 uint32_t cpu_boot_arg = MAX_CPUS; in ml_parse_cpu_topology() 1194 assert(cpu->cpu_id < MAX_CPUS); in ml_parse_cpu_topology() 1303 assert(cur_cluster_offset <= MAX_CPUS); in ml_parse_cpu_topology() 1466 static_assert(MAX_CPUS <= 256, "MAX_CPUS must fit in _COMM_PAGE_CPU_TO_CLUSTER; Increase table size… 3104 (addr < SPTMArgs->txm_thread_stacks[MAX_CPUS - 1])) { in ml_addr_in_non_xnu_stack()
|
| H A D | exception_asm.h | 87 cmp $0, MAX_CPUS
|
| H A D | hibernate_restore.c | 54 extern struct pmap_cpu_data_array_entry pmap_cpu_data_array[MAX_CPUS] __attribute__((visibility("hi…
|
| /xnu-12377.41.6/tests/sched/sched_test_harness/ |
| H A D | sched_clutch_harness_impl.c | 47 static struct processor *cpus[MAX_CPUS]; 135 assert((total_cpus + hw_topology.psets[i].num_cpus) <= MAX_CPUS); in clutch_impl_init_topology()
|
| /xnu-12377.41.6/osfmk/arm64/sptm/ |
| H A D | start_sptm.s | 208 mov x4, MAX_CPUS
|
| /xnu-12377.41.6/osfmk/arm/pmap/ |
| H A D | pmap_data.c | 213 uint32_t pv_alloc_initial_target MARK_AS_PMAP_DATA = PV_ALLOC_CHUNK_INITIAL * MAX_CPUS; 527 struct pmap_cpu_data_array_entry pmap_cpu_data_array[MAX_CPUS] MARK_AS_PMAP_DATA; 4114 for (unsigned int cpu_num = 0; cpu_num < MAX_CPUS; cpu_num++) { in pmap_cpu_data_array_init() 4177 for (unsigned int cpu_num = 0; cpu_num < MAX_CPUS; cpu_num++) { in pmap_cpu_data_array_init() 4208 for (unsigned int cpu_num = 0; cpu_num < MAX_CPUS; cpu_num++) { in pmap_cpu_data_array_init() 4252 for (unsigned int cpu_num = 0; cpu_num < MAX_CPUS; cpu_num++) { in pmap_cpu_data_array_init() 4296 assert(cpu < MAX_CPUS); in pmap_get_remote_cpu_data()
|
| H A D | pmap.h | 826 #define PPL_STACK_REGION_SIZE ((MAX_CPUS * (PPL_STACK_SIZE + ARM_PGBYTES)) + ARM_PGBYTES) 832 #define IOFILTER_STACK_REGION_SIZE ((MAX_CPUS * (IOFILTER_STACK_SIZE + ARM_PGBYTES)) + ARM_PGBYTES)
|
| /xnu-12377.41.6/osfmk/x86_64/ |
| H A D | pmap_pcid.c | 62 pcid_cdata_t pcid_data[MAX_CPUS] __attribute__((aligned(64)));
|
| /xnu-12377.41.6/osfmk/prng/ |
| H A D | prng_random.c | 398 …prng_funcs.init_with_getentropy(prng_ctx, MAX_CPUS, sizeof(prngseed), prngseed, sizeof(nonce), &no… in register_and_init_prng()
|
| /xnu-12377.41.6/osfmk/tests/ |
| H A D | pmap_tests.c | 409 #if TEST_NEST_THREADS >= MAX_CPUS in test_pmap_nesting() 411 #define TEST_NEST_THREADS MAX_CPUS - 1 in test_pmap_nesting()
|