Symbol: MAXCPU
sys/cpu/x86_64/include/segments.h
253
extern struct gate_descriptor idt_arr[MAXCPU][NIDT];
sys/dev/acpica/acpi_cpu_pstate.c
850
if (nproc > MAXCPU) {
sys/dev/powermng/amdtemp/amdtemp.c
552
if (sc->sc_ncores > MAXCPU)
sys/dev/powermng/amdtemp/amdtemp.c
95
struct sysctl_oid *sc_sysctl_cpu[MAXCPU];
sys/dev/virtual/hyperv/vmbus/vmbus_var.h
68
struct vmbus_pcpu_data vmbus_pcpu[MAXCPU];
sys/kern/kern_clock.c
121
struct kinfo_cputime cputime_percpu[MAXCPU];
sys/kern/kern_clock.c
124
struct kinfo_pctrack cputime_pctrack[MAXCPU][PCTRACK_SIZE];
sys/kern/kern_event.c
192
static struct knote_cache_list knote_cache_lists[MAXCPU];
sys/kern/kern_exit.c
95
static struct task *deadlwp_task[MAXCPU];
sys/kern/kern_exit.c
96
static struct lwplist deadlwp_list[MAXCPU];
sys/kern/kern_exit.c
97
static struct lwkt_token deadlwp_token[MAXCPU];
sys/kern/kern_intr.c
138
static struct systimer emergency_intr_timer[MAXCPU];
sys/kern/kern_intr.c
139
static struct thread *emergency_intr_thread[MAXCPU];
sys/kern/kern_intr.c
79
struct intr_info ary[MAXCPU][MAX_INTS];
sys/kern/kern_intr.c
85
static int max_installed_hard_intr[MAXCPU];
sys/kern/kern_ktr.c
207
struct ktr_cpu ktr_cpu[MAXCPU] = {
sys/kern/kern_ktr.c
564
struct tstate tstate[MAXCPU];
sys/kern/kern_sensors.c
74
static struct sensor_taskthr sensor_task_threads[MAXCPU];
sys/kern/kern_sysref.c
72
} sysref_array[MAXCPU];
sys/kern/kern_timeout.c
157
static softclock_pcpu_t softclock_pcpu_ary[MAXCPU];
sys/kern/lwkt_ipiq.c
1052
static struct lwkt_ipiq_latency_log lwkt_ipiq_latency_logs[MAXCPU];
sys/kern/lwkt_ipiq.c
78
static struct ipiq_stats ipiq_stats_percpu[MAXCPU];
sys/kern/subr_cpu_topology.c
286
int visited[MAXCPU], i, j, pos, cpuid;
sys/kern/subr_cpu_topology.c
289
bzero(visited, MAXCPU * sizeof(int));
sys/kern/subr_cpu_topology.c
560
pcpu_sysctl = kmalloc(sizeof(*pcpu_sysctl) * MAXCPU, M_PCPUSYS,
sys/kern/subr_cpu_topology.c
57
char physical_siblings[8*MAXCPU];
sys/kern/subr_cpu_topology.c
58
char core_siblings[8*MAXCPU];
sys/kern/subr_cpu_topology.c
63
__read_frequently static cpu_node_t cpu_topology_nodes[MAXCPU];
sys/kern/subr_cpu_topology.c
69
static char cpu_topology_members[8*MAXCPU];
sys/kern/subr_cpu_topology.c
800
for (i = 0 ; i < MAXCPU && cpu_root_node->child_node[i]; ++i) {
sys/kern/subr_cpuhelper.c
42
static struct thread *cpuhelper[MAXCPU];
sys/kern/subr_gtaskqueue.c
574
struct taskqgroup_cpu tqg_queue[MAXCPU];
sys/kern/subr_taskqueue.c
655
struct taskqueue *taskqueue_thread[MAXCPU];
sys/kern/usched_bsd4.c
1432
u_int32_t min_level = MAXCPU; /* number of levels < MAXCPU */
sys/kern/usched_bsd4.c
167
static struct usched_bsd4_pcpu bsd4_pcpu[MAXCPU];
sys/kern/usched_dfly.c
123
static struct usched_dfly_pcpu dfly_pcpu[MAXCPU];
sys/kern/usched_dummy.c
103
static struct usched_dummy_pcpu dummy_pcpu[MAXCPU];
sys/kern/vfs_bio.c
1896
static char flushingbufs[MAXCPU];
sys/kern/vfs_bio.c
95
struct bufpcpu bufpcpu[MAXCPU];
sys/kern/vfs_cache.c
355
static struct mntcache pcpu_mntcache[MAXCPU];
sys/libkern/arc4random.c
33
static struct arc4_data *arc4_data_pcpu[MAXCPU];
sys/net/if.c
197
static struct ifsubq_stage_head ifsubq_stage_heads[MAXCPU];
sys/net/if_poll.c
255
static struct poll_comm *poll_common[MAXCPU];
sys/net/if_poll.c
256
static struct iopoll_ctx *rxpoll_context[MAXCPU];
sys/net/if_poll.c
257
static struct iopoll_ctx *txpoll_context[MAXCPU];
sys/net/if_poll.h
57
struct ifpoll_io ifpi_rx[MAXCPU];
sys/net/if_poll.h
58
struct ifpoll_io ifpi_tx[MAXCPU];
sys/net/ipfw/ip_fw2.c
651
static struct ipfw_context *ipfw_ctx[MAXCPU];
sys/net/ipfw3/ip_fw3.c
137
extern struct ipfw3_state_context *fw3_state_ctx[MAXCPU];
sys/net/ipfw3/ip_fw3.c
165
struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3/ip_fw3_set.c
82
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_basic.c
85
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_basic.c
87
extern struct ipfw3_state_context *fw3_state_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_state.c
78
struct ipfw3_state_context *fw3_state_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_state.c
79
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_sync.c
83
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_basic/ip_fw3_table.c
78
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_layer2/ip_fw3_layer2.c
63
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/ipfw3_nat/ip_fw3_nat.c
104
struct ip_fw3_nat_context *ip_fw3_nat_ctx[MAXCPU];
sys/net/ipfw3_nat/ip_fw3_nat.c
106
extern struct ipfw3_context *fw3_ctx[MAXCPU];
sys/net/netisr.c
107
static struct netisr_data *netisr_data[MAXCPU];
sys/net/netisr.c
113
struct thread *netisr_threads[MAXCPU];
sys/net/netisr.c
95
struct netmsg_barrier *br_msgs[MAXCPU];
sys/net/netisr2.h
78
extern struct thread *netisr_threads[MAXCPU];
sys/net/radix.c
78
static struct radix_mask *rn_mkfreelist[MAXCPU];
sys/net/radix.c
79
static struct radix_node_head *mask_rnheads[MAXCPU];
sys/net/route.c
96
static struct rtstatistics rtstatistics_percpu[MAXCPU] __cachealign;
sys/net/route.c
99
struct radix_node_head *rt_tables[MAXCPU][AF_MAX+1];
sys/net/route.h
340
extern struct radix_node_head *rt_tables[MAXCPU][AF_MAX+1];
sys/netgraph7/netgraph/ng_base.c
166
struct lwkt_port *ng_msgport[MAXCPU];
sys/netgraph7/netgraph2.h
48
extern struct lwkt_port *ng_msgport[MAXCPU];
sys/netinet/if_ether.c
178
static struct arp_pcpu_data *arp_data[MAXCPU];
sys/netinet/in_rmx.c
86
static struct in_rtq_pcpu in_rtq_pcpu[MAXCPU];
sys/netinet/ip_demux.c
65
static struct initport_index initport_indices[MAXCPU];
sys/netinet/ip_flow.c
111
static struct ipflow_pcpu *ipflow_pcpu_data[MAXCPU];
sys/netinet/ip_id.c
62
struct iprandinfo iprandcpu[MAXCPU];
sys/netinet/ip_input.c
204
struct in_ifaddrhead in_ifaddrheads[MAXCPU]; /* first inet address */
sys/netinet/ip_input.c
205
struct in_ifaddrhashhead *in_ifaddrhashtbls[MAXCPU];
sys/netinet/ip_input.c
209
static struct mbuf *ipforward_mtemp[MAXCPU];
sys/netinet/ip_input.c
211
struct ip_stats ipstats_percpu[MAXCPU] __cachealign;
sys/netinet/ip_input.c
249
static struct ipfrag_queue ipfrag_queue_pcpu[MAXCPU];
sys/netinet/ip_var.h
158
extern struct ip_stats ipstats_percpu[MAXCPU];
sys/netinet/tcp_subr.c
147
struct inpcbinfo tcbinfo[MAXCPU];
sys/netinet/tcp_subr.c
148
struct tcpcbackq tcpcbackq[MAXCPU];
sys/netinet/tcp_subr.c
149
struct tcp_reass_pcpu tcp_reassq[MAXCPU];
sys/netinet/tcp_subr.c
1677
struct tcp_isn tcp_isn_ary[MAXCPU];
sys/netinet/tcp_subr.c
292
struct tcp_stats tcpstats_percpu[MAXCPU] __cachealign;
sys/netinet/tcp_subr.c
293
struct tcp_state_count tcpstate_count[MAXCPU] __cachealign;
sys/netinet/tcp_syncache.c
173
static struct tcp_syncache_percpu *tcp_syncache_percpu[MAXCPU];
sys/netinet/tcp_var.h
472
extern struct tcp_stats tcpstats_percpu[MAXCPU];
sys/netinet/tcp_var.h
473
extern struct tcp_state_count tcpstate_count[MAXCPU];
sys/netinet/udp_usrreq.c
171
struct inpcbinfo udbinfo[MAXCPU];
sys/netinet/udp_usrreq.c
178
struct udpstat udpstat_percpu[MAXCPU] __cachealign;
sys/netinet/udp_var.h
143
extern struct inpcbinfo udbinfo[MAXCPU];
sys/netinet/udp_var.h
146
extern struct udpstat udpstat_percpu[MAXCPU];
sys/netinet6/in6_rmx.c
114
static struct in6_rttimo_ctx in6_rtqtimo_ctx[MAXCPU];
sys/netinet6/in6_rmx.c
115
static struct in6_rttimo_ctx in6_mtutimo_ctx[MAXCPU];
sys/netinet6/ip6_forward.c
73
struct route_in6 ip6_forward_rt_array[MAXCPU];
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
1093
static char ethstr[MAXCPU][ETHER_ADDRSTRLEN + 1];
sys/netproto/mpls/mpls_input.c
48
struct mpls_stats mplsstats_percpu[MAXCPU];
sys/netproto/mpls/mpls_input.c
49
struct route mplsforward_rt[MAXCPU];
sys/netproto/mpls/mpls_var.h
54
extern struct mpls_stats mplsstats_percpu[MAXCPU];
sys/platform/pc64/apic/ioapic_abi.c
1205
KASSERT(rm->rm_cpuid >= 0 && rm->rm_cpuid < MAXCPU,
sys/platform/pc64/apic/ioapic_abi.c
469
} ioapic_irqmaps[MAXCPU][IOAPIC_HWI_VECTORS];
sys/platform/pc64/apic/ioapic_abi.c
759
for (cpu = 0; cpu < MAXCPU; ++cpu) {
sys/platform/pc64/apic/lapic.c
1183
ap_max = MAXCPU - 1;
sys/platform/pc64/apic/lapic.c
1185
if (ap_max > MAXCPU - 1)
sys/platform/pc64/apic/lapic.c
1186
ap_max = MAXCPU - 1;
sys/platform/pc64/icu/icu_abi.c
329
for (cpu = 0; cpu < MAXCPU; ++cpu) {
sys/platform/pc64/icu/icu_abi.c
410
KASSERT(rm->rm_cpuid >= 0 && rm->rm_cpuid < MAXCPU,
sys/platform/pc64/icu/icu_abi.c
88
} icu_irqmaps[MAXCPU][IDT_HWI_VECTORS];
sys/platform/pc64/isa/clock.c
1400
} tsc_saved[MAXCPU];
sys/platform/pc64/x86_64/machdep.c
155
struct privatespace *CPU_prvspace[MAXCPU] = { &CPU_prvspace_bsp };
sys/platform/pc64/x86_64/machdep.c
160
int64_t tsc_offsets[MAXCPU];
sys/platform/pc64/x86_64/machdep.c
1624
struct gate_descriptor idt_arr[MAXCPU][NIDT];
sys/platform/pc64/x86_64/machdep.c
1631
struct region_descriptor r_idt_arr[MAXCPU];
sys/platform/pc64/x86_64/machdep.c
1730
for (cpu = 0; cpu < MAXCPU; ++cpu) {
sys/platform/pc64/x86_64/machdep.c
2752
for (cpu = 0; cpu < MAXCPU; ++cpu) {
sys/platform/pc64/x86_64/machdep.c
2969
eaddr <= (vm_offset_t)&CPU_prvspace[MAXCPU]) {
sys/platform/pc64/x86_64/machdep.c
529
static struct cpu_idle_stat cpu_idle_stats[MAXCPU];
sys/platform/pc64/x86_64/mp_machdep.c
151
struct pcb stoppcbs[MAXCPU];
sys/platform/pc64/x86_64/mptable.c
446
for (id = 0; id < MAXCPU; ++id) {
sys/platform/pc64/x86_64/mptable.c
487
for (id = 0; id < MAXCPU; id++) {
sys/platform/pc64/x86_64/mptable.c
571
else if (cpu < MAXCPU) {
sys/platform/pc64/x86_64/nexus.c
84
static struct rman irq_rman[MAXCPU], drq_rman, port_rman, mem_rman;
sys/platform/pc64/x86_64/pmap_inval.c
102
static pmap_inval_info_t invinfo[MAXCPU];
sys/platform/pc64/x86_64/pmap_inval.c
679
KKASSERT(n >= 0 && n < MAXCPU);
sys/platform/pc64/x86_64/trap.c
172
struct syscallwc SysCallsWorstCase[MAXCPU];
sys/platform/vkernel64/include/md_var.h
81
extern pthread_t ap_tids[MAXCPU];
sys/platform/vkernel64/platform/globaldata.c
85
eaddr <= (vm_offset_t)&CPU_prvspace[MAXCPU]) {
sys/platform/vkernel64/platform/init.c
396
if (optcpus < 1 || optcpus > MAXCPU)
sys/platform/vkernel64/platform/init.c
397
usage_err("Bad ncpus, valid range is 1-%d", MAXCPU);
sys/platform/vkernel64/platform/systimer.c
79
static sysclock_t vktimer_reload[MAXCPU];
sys/platform/vkernel64/x86_64/cpu_regs.c
104
int64_t tsc_offsets[MAXCPU];
sys/platform/vkernel64/x86_64/mp.c
144
pthread_t ap_tids[MAXCPU];
sys/sys/cpu_topology.h
43
struct cpu_node * child_node[MAXCPU];
sys/sys/kinfo.h
264
extern struct kinfo_cputime cputime_percpu[MAXCPU];
sys/vm/vm_map.c
127
#define MAPENTRYBSP_CACHE (MAXCPU+1)
sys/vm/vm_map.c
145
static struct vm_map_entry cpu_map_entry_init_ap[MAXCPU][MAPENTRYAP_CACHE];
sys/vm/vm_page.c
733
for (i = 0; i < MAXCPU && cpup->child_node[i]; ++i)
tools/tools/netrate/pktgen/pktgen.c
116
struct pktgen_pcpu pktg_pcpu[MAXCPU];
usr.sbin/powerd/powerd.c
136
static struct cpu_state pcpu_state[MAXCPU];
usr.sbin/powerd/powerd.c
144
static int cpu2pwrdom[MAXCPU]; /* cpu to cpu power domain map */
usr.sbin/powerd/powerd.c
534
static struct kinfo_cputime ocpu_time[MAXCPU];
usr.sbin/powerd/powerd.c
535
static struct kinfo_cputime ncpu_time[MAXCPU];
usr.sbin/powerd/powerd.c
64
#define MAXDOM MAXCPU /* worst case, 1 cpu per domain */