/freebsd-11-stable/sys/i386/i386/ |
H A D | db_interface.c | 37 #include <sys/pcpu.h> 163 db_show_mdpcpu(struct pcpu *pc)
|
/freebsd-11-stable/usr.bin/vmstat/ |
H A D | vmstat.c | 58 #include <sys/pcpu.h> 431 fill_pcpu(struct pcpu ***pcpup, int* maxcpup) 433 struct pcpu **pcpu; local 446 pcpu = calloc(maxcpu, sizeof(struct pcpu *)); 447 if (pcpu == NULL) 451 pcpu[i] = kvm_getpcpu(kd, i); 452 if (pcpu[i] == (struct pcpu *) 461 free_pcpu(struct pcpu **pcpu, int maxcpu) argument 473 struct pcpu **pcpu; local [all...] |
/freebsd-11-stable/sys/arm/qemu/ |
H A D | virt_mp.c | 34 #include <sys/pcpu.h>
|
/freebsd-11-stable/sys/powerpc/booke/ |
H A D | booke_machdep.c | 341 /* Initialise a struct pcpu. */ 343 cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t sz) argument 346 pcpu->pc_tid_next = TID_MIN; 353 pcpu->pc_booke_tlb_lock = ptr;
|
H A D | mp_cpudep.c | 34 #include <sys/pcpu.h> 72 /* Assign pcpu fields, return ptr to this AP's idle thread kstack */
|
H A D | platform_bare.c | 34 #include <sys/pcpu.h>
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | genassym.c | 78 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 79 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
|
H A D | mp_machdep.c | 75 extern struct pcpu __pcpu[]; 216 struct pcpu *pcpup; 218 /* Setup the pcpu pointer */ 360 struct pcpu *pcpup; 389 pcpu_init(pcpup, id, sizeof(struct pcpu));
|
H A D | identcpu.c | 39 #include <sys/pcpu.h>
|
H A D | machdep.c | 54 #include <sys/pcpu.h> 95 struct pcpu __pcpu[MAXCPU]; 120 struct pcpu *pcpup; 390 cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) argument 765 /* Set the pcpu data, this is needed by pmap_bootstrap */ 767 pcpu_init(pcpup, 0, sizeof(struct pcpu)); 769 /* Set the pcpu pointer */
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | gdb_machdep.c | 98 #include <sys/pcpu.h>
|
H A D | mp_machdep.c | 39 #include <sys/pcpu.h> 65 ipi_send(struct pcpu *pc, int ipi) 90 struct pcpu *pc; 295 pcpu_init(PCPU_ADDR(cpuid), cpuid, sizeof(struct pcpu));
|
H A D | genassym.c | 81 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 82 ASSYM(PC_SEGBASE, offsetof(struct pcpu, pc_segbase)); 83 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); 84 ASSYM(PC_FPCURTHREAD, offsetof(struct pcpu, pc_fpcurthread)); 85 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_idle.c | 55 struct pcpu *pc;
|
H A D | kern_rmlock.c | 139 struct pcpu *pc; 201 rm_tracker_add(struct pcpu *pc, struct rm_priotracker *tracker) 222 rm_trackers_present(const struct pcpu *pc, const struct rmlock *rm, 240 rm_tracker_remove(struct pcpu *pc, struct rm_priotracker *tracker) 257 struct pcpu *pc; 348 struct pcpu *pc; 434 struct pcpu *pc; 508 struct pcpu *pc; 836 struct pcpu *pc;
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_meter.c | 224 struct pcpu *pcpu; local 230 pcpu = pcpu_find(i); 231 count += *(u_int *)((char *)&pcpu->pc_cnt + offset);
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_host.c | 33 #include <sys/pcpu.h>
|
H A D | vmm_ktr.h | 33 #include <sys/pcpu.h>
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | gic_v3.c | 47 #include <sys/pcpu.h> 178 return (bus_read_4(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset)); 187 return (bus_read_8(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset)); 196 bus_write_4(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset, val); 205 bus_write_8(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset, val); 336 free(sc->gic_redists.pcpu[i], M_GIC_V3); 357 sc->gic_redists.pcpu[PCPU_GET(cpuid)]); 901 res = sc->gic_redists.pcpu[cpuid]; 1038 sc->gic_redists.pcpu[cpuid] = 1039 malloc(sizeof(*sc->gic_redists.pcpu[ [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | machdep.c | 65 #include <sys/pcpu.h> 167 CTASSERT(sizeof(struct pcpu) <= ((PCPU_PAGES * PAGE_SIZE) / 2)); 200 cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) argument 205 pcpu->pc_irtail = &pcpu->pc_irhead; 207 ir = &pcpu->pc_irpool[i]; 208 ir->ir_next = pcpu->pc_irfree; 209 pcpu->pc_irfree = ir; 329 struct pcpu *p [all...] |
/freebsd-11-stable/bin/ps/ |
H A D | extern.h | 69 char *pcpu(KINFO *, VARENT *);
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | pvcpu_enum.c | 36 #include <sys/pcpu.h> 258 struct pcpu *pc;
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_includes.h | 57 #include <sys/pcpu.h>
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | mp_machdep.c | 38 #include <sys/pcpu.h> 66 extern struct pcpu __pcpu[]; 153 struct pcpu *pc; 176 pcpu_init(pc, cpu, sizeof(struct pcpu));
|
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | platform_ps3.c | 34 #include <sys/pcpu.h> 70 static int ps3_smp_start_cpu(platform_t, struct pcpu *cpu); 219 ps3_smp_start_cpu(platform_t plat, struct pcpu *pc)
|