/freebsd-10.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | pcpu.h | 33 #include_next <sys/pcpu.h> 35 typedef struct pcpu pcpu_t;
|
/freebsd-10.0-release/sys/pc98/include/ |
H A D | pcpu.h | 6 #include <i386/pcpu.h>
|
/freebsd-10.0-release/sys/i386/include/ |
H A D | privatespace.h | 39 struct pcpu pcpu; member in struct:privatespace 40 char __filler0[PAGE_SIZE - sizeof(struct pcpu)];
|
H A D | counter.h | 32 #include <sys/pcpu.h> 49 extern struct pcpu __pcpu[MAXCPU]; 103 sizeof(struct pcpu) * i); 109 sizeof(struct pcpu) * i)); 136 p = (uint64_t *)((char *)arg + sizeof(struct pcpu) * PCPU_GET(cpuid)); 148 *(uint64_t *)((char *)c + sizeof(struct pcpu) * i) = 0;
|
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | cache.c | 78 #include <sys/pcpu.h> 114 cache_init(struct pcpu *pcpu) argument 123 if (pcpu->pc_cpuid == 0 && pcpu->pc_impl == CPU_IMPL_SPARC64V) 126 use_new_prop = cache_new_prop(pcpu->pc_impl); 127 if (OF_GET(pcpu->pc_node, !use_new_prop ? "icache-size" : 128 "l1-icache-size", pcpu->pc_cache.ic_size) == -1 || 129 OF_GET(pcpu->pc_node, !use_new_prop ? "icache-line-size" : 130 "l1-icache-line-size", pcpu [all...] |
H A D | clock.c | 32 #include <sys/pcpu.h>
|
/freebsd-10.0-release/sys/arm/include/ |
H A D | pcpu.h | 61 struct pcpu; 63 extern struct pcpu *pcpup; 66 static inline struct pcpu * 69 void *pcpu; local 71 __asm __volatile("mrc p15, 0, %0, c13, c0, 4" : "=r" (pcpu)); 72 return (pcpu); 76 set_pcpu(void *pcpu) argument 79 __asm __volatile("mcr p15, 0, %0, c13, c0, 4" : : "r" (pcpu));
|
H A D | counter.h | 32 #include <sys/pcpu.h> 46 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 67 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-10.0-release/sys/powerpc/include/ |
H A D | platform.h | 39 #include <machine/pcpu.h> 54 int platform_smp_start_cpu(struct pcpu *);
|
H A D | counter.h | 32 #include <sys/pcpu.h> 47 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 67 *((uint64_t *)((char *)arg + sizeof(struct pcpu) * 82 extern struct pcpu __pcpu[MAXCPU]; 112 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 133 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-10.0-release/sys/sys/ |
H A D | pcpu.h | 48 #include <machine/pcpu.h> 56 * Define a set for pcpu data. 64 * Array of dynamic pcpu base offsets. Indexed by id. 147 * macros defined in <machine/pcpu.h>. Machine dependent fields are 148 * defined in the PCPU_MD_FIELDS macro defined in <machine/pcpu.h>. 150 struct pcpu { struct 159 STAILQ_ENTRY(pcpu) pc_allcpu; 173 * the machine-independent fields of the pcpu. Even though 174 * the pcpu structure is private to the kernel, some ports 185 * To minimize memory waste in per-cpu UMA zones, size of struct pcpu [all...] |
/freebsd-10.0-release/sys/amd64/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 34 extern struct pcpu __pcpu[1]; 44 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 64 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-10.0-release/sys/mips/include/ |
H A D | pcpu.h | 27 * from: src/sys/alpha/include/pcpu.h,v 1.15 2004/11/05 19:16:44 jhb 62 #define PCPU_ADDR(cpu) (struct pcpu *)(pcpu_space[(cpu)]) 64 extern struct pcpu *pcpup; 76 * Instantiate the wired TLB entry at PCPU_TLB_ENTRY to map 'pcpu' at 'pcpup'. 78 void mips_pcpu_tlb_init(struct pcpu *pcpu);
|
H A D | counter.h | 32 #include <sys/pcpu.h> 46 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 67 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_pcpu.c | 58 #include <sys/pcpu.h> 76 struct pcpu *cpuid_to_pcpu[MAXCPU]; 80 * Initialize the MI portions of a struct pcpu. 83 pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) argument 86 bzero(pcpu, size); 89 pcpu->pc_cpuid = cpuid; 90 cpuid_to_pcpu[cpuid] = pcpu; 91 STAILQ_INSERT_TAIL(&cpuhead, pcpu, pc_allcpu); 92 cpu_pcpu_init(pcpu, cpui 100 struct pcpu *pcpu; local 241 pcpu_destroy(struct pcpu *pcpu) argument [all...] |
/freebsd-10.0-release/sys/ia64/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 45 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 66 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
H A D | smp.h | 20 struct pcpu; 34 struct pcpu *as_pcpu; 52 void ipi_send(struct pcpu *, int ipi);
|
H A D | intr.h | 38 struct pcpu; 80 int sapic_bind_intr(u_int, struct pcpu *);
|
/freebsd-10.0-release/sys/sparc64/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 45 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 66 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
H A D | md_var.h | 47 struct pcpu; 53 void cpu_setregs(struct pcpu *pc);
|
H A D | cache.h | 94 struct pcpu; 101 void cache_init(struct pcpu *pcpu);
|
/freebsd-10.0-release/sys/amd64/vmm/ |
H A D | vmm_host.h | 65 struct pcpu; 66 extern struct pcpu __pcpu[];
|
/freebsd-10.0-release/etc/ |
H A D | ddb.conf | 12 script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
|
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | genassym.c | 214 ASSYM(PC_SIZEOF, sizeof(struct pcpu)); 215 ASSYM(PC_PRVSPACE, offsetof(struct pcpu, pc_prvspace)); 216 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); 217 ASSYM(PC_FPCURTHREAD, offsetof(struct pcpu, pc_fpcurthread)); 218 ASSYM(PC_IDLETHREAD, offsetof(struct pcpu, pc_idlethread)); 219 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 220 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); 221 ASSYM(PC_SCRATCH_RSP, offsetof(struct pcpu, pc_scratch_rsp)); 222 ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); 223 ASSYM(PC_TSSP, offsetof(struct pcpu, pc_tss [all...] |
/freebsd-10.0-release/sys/mips/mips/ |
H A D | machdep.c | 123 * struct pcpu for cpu 'n' pcpu_space[n] 127 * use enough stack space to trample over the 'struct pcpu' that is at 130 * The array is aligned on a (PAGE_SIZE * 2) boundary so that the 'struct pcpu' 139 struct pcpu *pcpup = (struct pcpu *)pcpu_space; 272 /* Initialize pcpu info of cpu-zero */ 273 pcpu_init(PCPU_ADDR(0), 0, sizeof(struct pcpu)); 452 mips_pcpu_tlb_init(struct pcpu *pcpu) argument 458 * Map the pcpu structur 473 cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) argument [all...] |