Searched refs:pcpu (Results 51 - 75 of 250) sorted by relevance

12345678910

/freebsd-11-stable/sys/i386/i386/
H A Ddb_interface.c37 #include <sys/pcpu.h>
163 db_show_mdpcpu(struct pcpu *pc)
/freebsd-11-stable/usr.bin/vmstat/
H A Dvmstat.c58 #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 Dvirt_mp.c34 #include <sys/pcpu.h>
/freebsd-11-stable/sys/powerpc/booke/
H A Dbooke_machdep.c341 /* 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 Dmp_cpudep.c34 #include <sys/pcpu.h>
72 /* Assign pcpu fields, return ptr to this AP's idle thread kstack */
H A Dplatform_bare.c34 #include <sys/pcpu.h>
/freebsd-11-stable/sys/riscv/riscv/
H A Dgenassym.c78 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
79 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
H A Dmp_machdep.c75 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 Didentcpu.c39 #include <sys/pcpu.h>
H A Dmachdep.c54 #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 Dgdb_machdep.c98 #include <sys/pcpu.h>
H A Dmp_machdep.c39 #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 Dgenassym.c81 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 Dkern_idle.c55 struct pcpu *pc;
H A Dkern_rmlock.c139 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 Dvm_meter.c224 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 Dvmm_host.c33 #include <sys/pcpu.h>
H A Dvmm_ktr.h33 #include <sys/pcpu.h>
/freebsd-11-stable/sys/arm64/arm64/
H A Dgic_v3.c47 #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 Dmachdep.c65 #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 Dextern.h69 char *pcpu(KINFO *, VARENT *);
/freebsd-11-stable/sys/x86/xen/
H A Dpvcpu_enum.c36 #include <sys/pcpu.h>
258 struct pcpu *pc;
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_includes.h57 #include <sys/pcpu.h>
/freebsd-11-stable/sys/arm/arm/
H A Dmp_machdep.c38 #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 Dplatform_ps3.c34 #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)

Completed in 130 milliseconds

12345678910