Searched refs:pcpup (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/sys/powerpc/booke/
H A Dmp_cpudep.c73 pcpup->pc_curthread = pcpup->pc_idlethread;
75 __asm __volatile("mr 13,%0" :: "r"(pcpup->pc_curthread));
77 __asm __volatile("mr 2,%0" :: "r"(pcpup->pc_curthread));
79 pcpup->pc_curpcb = pcpup->pc_curthread->td_pcb;
80 sp = pcpup->pc_curpcb->pcb_sp;
H A Dpmap.c450 if (pc != pcpup) {
476 if (pc != pcpup) {
/freebsd-11-stable/sys/sparc64/include/
H A Dpcpu.h75 register struct pcpu *pcpup __asm__(__XSTRING(PCPU_REG));
77 #define PCPU_GET(member) (pcpup->pc_ ## member)
93 #define PCPU_ADD(member, value) (pcpup->pc_ ## member += (value))
95 #define PCPU_PTR(member) (&pcpup->pc_ ## member)
96 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value))
/freebsd-11-stable/sys/arm/include/
H A Dpcpu.h80 extern struct pcpu *pcpup;
86 #define get_pcpu() (pcpup)
91 (pcpup + (id & CPU_MASK)); \
140 #define get_pcpu() pcpup
/freebsd-11-stable/sys/mips/include/
H A Dpcpu.h65 extern struct pcpu *pcpup;
66 #define PCPUP pcpup
77 * Instantiate the wired TLB entry at PCPU_TLB_ENTRY to map 'pcpu' at 'pcpup'.
H A Dasm.h616 PTR_L reg, _C_LABEL(pcpup);
/freebsd-11-stable/sys/riscv/riscv/
H A Dmp_machdep.c216 struct pcpu *pcpup; local
219 pcpup = &__pcpu[cpu];
220 __asm __volatile("mv gp, %0" :: "r"(pcpup));
228 pcpup->pc_curthread = pcpup->pc_idlethread;
229 pcpup->pc_curpcb = pcpup->pc_idlethread->td_pcb;
360 struct pcpu *pcpup; local
381 pcpup = &__pcpu[id];
385 pcpup
[all...]
H A Dmachdep.c120 struct pcpu *pcpup; variable in typeref:struct:pcpu
569 pcpup = &__pcpu[0];
575 pcpup->pc_curpcb = thread0.td_pcb;
766 pcpup = &__pcpu[0];
767 pcpu_init(pcpup, 0, sizeof(struct pcpu));
770 __asm __volatile("mv gp, %0" :: "r"(pcpup));
/freebsd-11-stable/sys/powerpc/include/
H A Dpcpu.h145 #define pcpup ((struct pcpu *) powerpc_get_pcpup()) macro
160 #define PCPU_GET(member) (pcpup->pc_ ## member)
166 #define PCPU_ADD(member, value) (pcpup->pc_ ## member += (value))
168 #define PCPU_PTR(member) (&pcpup->pc_ ## member)
169 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value))
/freebsd-11-stable/sys/powerpc/aim/
H A Dmp_cpudep.c98 pcpup->pc_curthread = pcpup->pc_idlethread;
100 __asm __volatile("mr 13,%0" :: "r"(pcpup->pc_curthread));
102 __asm __volatile("mr 2,%0" :: "r"(pcpup->pc_curthread));
104 pcpup->pc_curpcb = pcpup->pc_curthread->td_pcb;
105 sp = pcpup->pc_curpcb->pcb_sp;
H A Daim_machdep.c585 ap_pcpu = pcpup;
H A Dmmu_oea64.c825 pcpup->pc_slb[i].slbv = 0;
826 pcpup->pc_slb[i].slbe = 0;
/freebsd-11-stable/sys/riscv/include/
H A Dpcpu.h56 extern struct pcpu *pcpup;
/freebsd-11-stable/sys/arm64/arm64/
H A Dmp_machdep.c244 struct pcpu *pcpup; local
246 pcpup = &__pcpu[cpu];
253 "msr tpidr_el1, %0" :: "r"(pcpup));
261 pcpup->pc_curthread = pcpup->pc_idlethread;
262 pcpup->pc_curpcb = pcpup->pc_idlethread->td_pcb;
433 struct pcpu *pcpup; local
459 pcpup = &__pcpu[cpuid];
460 pcpu_init(pcpup, cpui
[all...]
H A Dmachdep.c635 struct pcpu *pcpup = &__pcpu[0]; local
643 pcpup->pc_curpcb = thread0.td_pcb;
890 struct pcpu *pcpup; local
946 pcpup = &__pcpu[0];
947 pcpu_init(pcpup, 0, sizeof(struct pcpu));
955 "msr tpidr_el1, %0" :: "r"(pcpup));
/freebsd-11-stable/sys/i386/include/
H A Dpcpu.h82 extern struct pcpu *pcpup;
84 #define get_pcpu() (pcpup)
85 #define PCPU_GET(member) (pcpup->pc_ ## member)
86 #define PCPU_ADD(member, val) (pcpup->pc_ ## member += (val))
88 #define PCPU_PTR(member) (&pcpup->pc_ ## member)
89 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val))
/freebsd-11-stable/sys/amd64/include/
H A Dpcpu.h91 extern struct pcpu *pcpup;
93 #define PCPU_GET(member) (pcpup->pc_ ## member)
94 #define PCPU_ADD(member, val) (pcpup->pc_ ## member += (val))
96 #define PCPU_PTR(member) (&pcpup->pc_ ## member)
97 #define PCPU_SET(member, val) (pcpup->pc_ ## member = (val))
/freebsd-11-stable/sys/mips/mips/
H A Dmachdep.c139 struct pcpu *pcpup = (struct pcpu *)pcpu_space; variable in typeref:struct:pcpu
458 * Map the pcpu structure at the virtual address 'pcpup'.
463 tlb_insert_wired(PCPU_TLB_ENTRY, (vm_offset_t)pcpup,
479 if ((vm_offset_t)pcpup >= VM_MIN_KERNEL_ADDRESS &&
480 (vm_offset_t)pcpup <= VM_MAX_KERNEL_ADDRESS) {
H A Dpmap.c567 pcpup = (struct pcpu *)virtual_avail;
572 * the BSP at 'pcpup'. Up until this point we were operating
573 * with the 'pcpup' for the BSP pointing to a virtual address
579 printf("pcpu is available at virtual address %p.\n", pcpup);
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dmp_machdep.c170 pc = pcpup;
283 ipimask = atomic_readandclear_32(&(pcpup->pc_ipimask));
370 if (pc != pcpup)
/freebsd-11-stable/sys/arm/xscale/i8134x/
H A Dcrb_machdep.c171 pcpu_init(pcpup, 0, sizeof(struct pcpu));
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Davila_machdep.c209 pcpu_init(pcpup, 0, sizeof(struct pcpu));
/freebsd-11-stable/sys/arm/xscale/pxa/
H A Dpxa_machdep.c158 pcpu_init(pcpup, 0, sizeof(struct pcpu));
/freebsd-11-stable/usr.bin/vmstat/
H A Dvmstat.c431 fill_pcpu(struct pcpu ***pcpup, int* maxcpup) argument
436 *pcpup = NULL;
457 *pcpup = pcpu;
/freebsd-11-stable/sys/arm/arm/
H A Dmachdep.c108 struct pcpu *pcpup = &__pcpu[0]; variable in typeref:struct:pcpu
729 pcpu_init(pcpup, 0, sizeof(struct pcpu));
747 pcpup->pc_curpcb = thread0.td_pcb;

Completed in 324 milliseconds