/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | pcpu.h | 33 #include_next <sys/pcpu.h> 35 typedef struct pcpu pcpu_t;
|
/freebsd-11-stable/sys/pc98/include/ |
H A D | pcpu.h | 6 #include <i386/pcpu.h>
|
/freebsd-11-stable/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...] |
/freebsd-11-stable/sys/contrib/ncsw/user/env/ |
H A D | core.c | 29 #include <sys/pcpu.h> 31 #include <machine/pcpu.h>
|
/freebsd-11-stable/sys/riscv/include/ |
H A D | pcpu.h | 55 struct pcpu; 56 extern struct pcpu *pcpup; 58 static inline struct pcpu * 61 struct pcpu *pcpu; local 63 __asm __volatile("mv %0, gp" : "=&r"(pcpu)); 65 return (pcpu);
|
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) *
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | pcpu.h | 27 * $FreeBSD: stable/11/sys/arm64/include/pcpu.h 306085 2016-09-21 09:45:14Z andrew $ 47 struct pcpu; 49 static inline struct pcpu * 52 struct pcpu *pcpu; local 54 __asm __volatile("mov %0, x18" : "=&r"(pcpu)); 55 return (pcpu);
|
H A D | counter.h | 32 #include <sys/pcpu.h> 43 return (*(uint64_t *)((char *)p + sizeof(struct pcpu) * cpu)); 63 *((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-11-stable/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-11-stable/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 63 #define PCPU_ADDR(cpu) (struct pcpu *)(pcpu_space[(cpu)]) 65 extern struct pcpu *pcpup; 77 * Instantiate the wired TLB entry at PCPU_TLB_ENTRY to map 'pcpu' at 'pcpup'. 79 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-11-stable/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-11-stable/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-11-stable/sys/kern/ |
H A D | subr_pcpu.c | 58 #include <sys/pcpu.h> 77 struct pcpu *cpuid_to_pcpu[MAXCPU]; 81 * Initialize the MI portions of a struct pcpu. 84 pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) argument 87 bzero(pcpu, size); 90 pcpu->pc_cpuid = cpuid; 91 cpuid_to_pcpu[cpuid] = pcpu; 92 STAILQ_INSERT_TAIL(&cpuhead, pcpu, pc_allcpu); 93 cpu_pcpu_init(pcpu, cpui 101 struct pcpu *pcpu; local 266 pcpu_destroy(struct pcpu *pcpu) argument [all...] |
/freebsd-11-stable/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);
|
/freebsd-11-stable/sys/amd64/vmm/amd/ |
H A D | svm.h | 34 struct pcpu; 68 void svm_launch(uint64_t pa, struct svm_regctx *gctx, struct pcpu *pcpu);
|
/freebsd-11-stable/sys/arm/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 44 return (atomic_load_64((uint64_t *)((char *)p + sizeof(struct pcpu) * 65 atomic_store_64((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_host.h | 73 struct pcpu; 74 extern struct pcpu __pcpu[];
|
/freebsd-11-stable/sys/cddl/dev/profile/ |
H A D | profile.c | 271 profile_probe_percpu_t *pcpu = arg; local 272 profile_probe_t *prof = pcpu->profc_probe; 278 late = gethrtime() - pcpu->profc_expected; 280 late = sbt_to_nsec(sbinuptime() - pcpu->profc_expected); 300 pcpu->profc_expected += pcpu->profc_interval; 301 callout_schedule_sbt_curcpu(&pcpu->profc_cyclic, 302 pcpu->profc_expected, 0, C_DIRECT_EXEC | C_ABSOLUTE); 521 profile_probe_percpu_t *pcpu; local 523 pcpu 540 profile_probe_percpu_t *pcpu = oarg; local 596 profile_probe_percpu_t *pcpu; local 616 profile_probe_percpu_t *pcpu; local [all...] |
/freebsd-11-stable/sys/i386/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 49 extern struct pcpu __pcpu[MAXCPU]; 99 sizeof(struct pcpu) * PCPU_GET(cpuid))); 121 sizeof(struct pcpu) * i); 155 p = (uint64_t *)((char *)arg + sizeof(struct pcpu) * PCPU_GET(cpuid)); 167 *(uint64_t *)((char *)c + sizeof(struct pcpu) * i) = 0;
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | genassym.c | 209 ASSYM(PC_SIZEOF, sizeof(struct pcpu)); 210 ASSYM(PC_PRVSPACE, offsetof(struct pcpu, pc_prvspace)); 211 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); 212 ASSYM(PC_FPCURTHREAD, offsetof(struct pcpu, pc_fpcurthread)); 213 ASSYM(PC_IDLETHREAD, offsetof(struct pcpu, pc_idlethread)); 214 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 215 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); 216 ASSYM(PC_SCRATCH_RSP, offsetof(struct pcpu, pc_scratch_rsp)); 217 ASSYM(PC_SCRATCH_RAX, offsetof(struct pcpu, pc_scratch_rax)); 218 ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpma [all...] |
/freebsd-11-stable/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-11-stable/sys/arm64/arm64/ |
H A D | genassym.c | 33 #include <sys/pcpu.h> 43 ASSYM(PCPU_SIZE, sizeof(struct pcpu)); 44 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 45 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
|