/freebsd-11.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | pcpu.h | 26 * $FreeBSD: releng/11.0/sys/cddl/compat/opensolaris/sys/pcpu.h 179202 2008-05-22 08:33:24Z jb $ 33 #include_next <sys/pcpu.h> 35 typedef struct pcpu pcpu_t;
|
/freebsd-11.0-release/sys/pc98/include/ |
H A D | pcpu.h | 4 /* $FreeBSD: releng/11.0/sys/pc98/include/pcpu.h 144513 2005-04-01 23:19:43Z imp $ */ 6 #include <i386/pcpu.h>
|
/freebsd-11.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...] |
/freebsd-11.0-release/sys/contrib/ncsw/user/env/ |
H A D | core.c | 29 #include <sys/pcpu.h> 31 #include <machine/pcpu.h>
|
/freebsd-11.0-release/sys/riscv/include/ |
H A D | pcpu.h | 36 * $FreeBSD: releng/11.0/sys/riscv/include/pcpu.h 298580 2016-04-25 14:47:51Z br $ 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.0-release/sys/arm64/include/ |
H A D | pcpu.h | 27 * $FreeBSD: releng/11.0/sys/arm64/include/pcpu.h 285311 2015-07-09 11:32:29Z zbb $ 46 struct pcpu; 48 static inline struct pcpu * 51 struct pcpu *pcpu; local 53 __asm __volatile("mov %0, x18" : "=&r"(pcpu)); 54 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.0-release/sys/amd64/vmm/amd/ |
H A D | svm.h | 32 struct pcpu; 54 void svm_launch(uint64_t pa, struct svm_regctx *gctx, struct pcpu *pcpu);
|
/freebsd-11.0-release/sys/sys/ |
H A D | pcpu.h | 30 * $FreeBSD: releng/11.0/sys/sys/pcpu.h 299108 2016-05-05 02:51:31Z ngie $ 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 structur [all...] |
/freebsd-11.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 28 * $FreeBSD: releng/11.0/sys/mips/include/pcpu.h 283645 2015-05-28 12:33:21Z bz $ 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.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-11.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-11.0-release/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.0-release/sys/arm/include/ |
H A D | counter.h | 32 #include <sys/pcpu.h> 47 return (atomic_load_64((uint64_t *)((char *)p + sizeof(struct pcpu) * 68 atomic_store_64((uint64_t *)((char *)arg + sizeof(struct pcpu) *
|
/freebsd-11.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-11.0-release/sys/i386/include/ |
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-11.0-release/sys/amd64/vmm/ |
H A D | vmm_host.h | 73 struct pcpu; 74 extern struct pcpu __pcpu[];
|
/freebsd-11.0-release/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.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-11.0-release/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));
|