Home
last modified time | relevance | path

Searched refs:__pcpu (Results 1 – 24 of 24) sorted by relevance

/freebsd/lib/libkvm/
H A Dkvm_pcpu.c80 static unsigned long __pcpu; variable
119 if (kvm_read(kd, kvm_pcpu_nl[NL___PCPU].n_value, &__pcpu, in _kvm_pcpu_init()
120 sizeof(__pcpu)) != sizeof(__pcpu)) { in _kvm_pcpu_init()
356 base += __pcpu; in kvm_read_zpcpu()
/freebsd/sys/powerpc/include/
H A Dcounter.h37 #define EARLY_COUNTER &__pcpu[0].pc_early_dummy_counter
97 : "r" ((char *)c - (char *)&__pcpu[0]), "r" (inc) in counter_u64_add()
H A Dpcpu_aux.h48 extern struct pcpu __pcpu[];
/freebsd/sys/i386/include/
H A Dcounter.h40 #define EARLY_COUNTER &__pcpu[0].pc_early_dummy_counter
67 : "S" ((char *)p - (char *)&__pcpu[0]), "D" (&inc) in counter_64_inc_8b()
H A Dpcpu_aux.h45 extern struct pcpu __pcpu[];
/freebsd/sys/amd64/include/
H A Dpcpu.h270 #define zpcpu_offset_cpu(cpu) ((uintptr_t)&__pcpu[0] + UMA_PCPU_ALLOC_SIZE * cpu)
271 #define zpcpu_base_to_offset(base) (void *)((uintptr_t)(base) - (uintptr_t)&__pcpu[0])
272 #define zpcpu_offset_to_base(base) (void *)((uintptr_t)(base) + (uintptr_t)&__pcpu[0])
H A Dpcpu_aux.h49 extern struct pcpu *__pcpu;
/freebsd/sys/arm/include/
H A Dpcpu_aux.h48 extern struct pcpu __pcpu[];
H A Dcounter.h35 #define EARLY_COUNTER &__pcpu[0].pc_early_dummy_counter
/freebsd/sys/riscv/include/
H A Dpcpu_aux.h51 extern struct pcpu __pcpu[];
H A Dcounter.h33 #define EARLY_COUNTER &__pcpu[0].pc_early_dummy_counter
/freebsd/sys/riscv/riscv/
H A Dmachdep.c105 struct pcpu __pcpu[MAXCPU]; variable
295 pcpup = &__pcpu[0]; in init_proc0()
571 pcpup = &__pcpu[0]; in initriscv()
H A Dmp_machdep.c163 pcpup = &__pcpu[cpuid]; in init_secondary()
395 pcpup = &__pcpu[cpuid]; in cpu_init_fdt()
/freebsd/sys/arm/arm/
H A Dmachdep.c112 struct pcpu __pcpu[MAXCPU]; variable
113 struct pcpu *pcpup = &__pcpu[0];
H A Dmp_machdep.c152 pc = &__pcpu[cpu]; in init_secondary()
H A Dswtch-v6.S107 .word _C_LABEL(__pcpu)
/freebsd/sys/i386/i386/
H A Dmp_machdep.c287 pc = &__pcpu[myid]; in init_secondary()
295 pc->pc_common_tssp = common_tssp = &(__pcpu[0].pc_common_tssp)[myid]; in init_secondary()
H A Dmachdep.c182 struct pcpu __pcpu[MAXCPU]; variable
1441 pc = &__pcpu[0]; in init386()
/freebsd/sys/powerpc/powerpc/
H A Dmachdep.c151 struct pcpu __pcpu[MAXCPU] __aligned(PAGE_SIZE);
451 pc = &__pcpu[bsp.cr_cpuid]; in powerpc_init()
H A Dmp_machdep.c175 pc = &__pcpu[cpu.cr_cpuid]; in cpu_mp_start()
H A Dopenpic.c263 mask = (1 << __pcpu[cpu].pc_pic); in openpic_bind()
/freebsd/sys/amd64/amd64/
H A Dmp_machdep.c238 pc->pc_common_tss = __pcpu[0].pc_common_tss; in init_secondary()
358 pmap_qenter(&__pcpu[cpu], &m, 1); in amd64_mp_alloc_pcpu()
478 bootpcpu = &__pcpu[cpu]; in start_all_aps()
H A Dpmap.c2198 SYSMAP(struct pcpu *, pcpu_pte, __pcpu, MAXCPU); in pmap_bootstrap()
2218 wrmsr(MSR_GSBASE, (uint64_t)&__pcpu[0]); in pmap_bootstrap()
2219 pcpu_init(&__pcpu[0], 0, sizeof(struct pcpu)); in pmap_bootstrap()
2220 amd64_bsp_pcpu_init1(&__pcpu[0]); in pmap_bootstrap()
2221 amd64_bsp_ist_init(&__pcpu[0]); in pmap_bootstrap()
2222 __pcpu[0].pc_common_tss.tss_iobase = sizeof(struct amd64tss) + in pmap_bootstrap()
2224 memcpy(__pcpu[0].pc_gdt, temp_bsp_pcpu.pc_gdt, NGDT * in pmap_bootstrap()
2226 gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&__pcpu[0].pc_common_tss; in pmap_bootstrap()
2228 (struct system_segment_descriptor *)&__pcpu[0].pc_gdt[GPROC0_SEL]); in pmap_bootstrap()
2230 r_gdt.rd_base = (long)__pcpu[ in pmap_bootstrap()
[all...]
H A Dmachdep.c226 struct pcpu *__pcpu;
217 struct pcpu *__pcpu; global() variable