Symbol: pcpu
bin/ps/extern.h
77
void pcpu(struct pinfo *, VARENT *, enum mode);
bin/ps/keyword.c
106
VAR6("%cpu", "%CPU", 0, pcpu, 0, PCPU),
bin/ps/print.c
1092
dbl = pi->pcpu;
bin/ps/ps.c
631
pi[i].pcpu = 0.0;
bin/ps/ps.c
634
pi[i].pcpu = 100.0 * (double)ki[i].p_pctcpu / fscale;
bin/ps/ps.c
636
pi[i].pcpu /= 1.0 - exp(ki[i].p_swtime * log_ccpu);
bin/ps/ps.c
743
i = pb->pcpu - pa->pcpu;
bin/ps/ps.h
64
double pcpu;
sys/arch/arm/pic/pic.c
1071
struct pic_percpu * const pcpu = v0;
sys/arch/arm/pic/pic.c
1077
arg->count = pcpu->pcpu_evs[arg->is->is_irq].ev_count;
sys/arch/arm/pic/pic.c
384
struct pic_percpu * const pcpu = percpu_getref(is->is_pic->pic_percpu);
sys/arch/arm/pic/pic.c
385
KASSERT(pcpu->pcpu_magic == PICPERCPU_MAGIC);
sys/arch/arm/pic/pic.c
386
pcpu->pcpu_evs[is->is_irq].ev_count++;
sys/arch/arm/pic/pic.c
598
struct pic_percpu * const pcpu = v0;
sys/arch/arm/pic/pic.c
601
pcpu->pcpu_evs = kmem_zalloc(pic->pic_maxsources * sizeof(pcpu->pcpu_evs[0]),
sys/arch/arm/pic/pic.c
603
KASSERT(pcpu->pcpu_evs != NULL);
sys/arch/arm/pic/pic.c
609
pcpu->pcpu_name = kmem_alloc(PCPU_NAMELEN, KM_SLEEP);
sys/arch/arm/pic/pic.c
611
snprintf(pcpu->pcpu_name, PCPU_NAMELEN,
sys/arch/arm/pic/pic.c
614
strlcpy(pcpu->pcpu_name, pic->pic_name, PCPU_NAMELEN);
sys/arch/arm/pic/pic.c
616
pcpu->pcpu_magic = PICPERCPU_MAGIC;
sys/arch/arm/pic/pic.c
620
pcpu->pcpu_name);
sys/arch/arm/pic/pic.c
725
struct pic_percpu * const pcpu = v0;
sys/arch/arm/pic/pic.c
728
KASSERT(pcpu->pcpu_magic == PICPERCPU_MAGIC);
sys/arch/arm/pic/pic.c
729
evcnt_attach_dynamic(&pcpu->pcpu_evs[is->is_irq], EVCNT_TYPE_INTR, NULL,
sys/arch/arm/pic/pic.c
730
pcpu->pcpu_name, is->is_source);
sys/arch/arm/pic/pic.c
844
struct pic_percpu * const pcpu = v0;
sys/arch/arm/pic/pic.c
847
KASSERT(pcpu->pcpu_magic == PICPERCPU_MAGIC);
sys/arch/arm/pic/pic.c
848
evcnt_detach(&pcpu->pcpu_evs[is->is_irq]);
sys/arch/ia64/include/pcb.h
47
struct pcpu *pcb_fpcpu;
sys/kern/subr_psref.c
176
const struct psref_cpu *pcpu = p;
sys/kern/subr_psref.c
179
if (!SLIST_EMPTY(&pcpu->pcpu_head))
sys/kern/subr_psref.c
231
psref_exist(struct psref_cpu *pcpu, struct psref *psref)
sys/kern/subr_psref.c
235
SLIST_FOREACH(_psref, &pcpu->pcpu_head, psref_entry) {
sys/kern/subr_psref.c
243
psref_check_duplication(struct psref_cpu *pcpu, struct psref *psref,
sys/kern/subr_psref.c
248
found = psref_exist(pcpu, psref);
sys/kern/subr_psref.c
256
psref_check_existence(struct psref_cpu *pcpu, struct psref *psref,
sys/kern/subr_psref.c
261
found = psref_exist(pcpu, psref);
sys/kern/subr_psref.c
287
struct psref_cpu *pcpu;
sys/kern/subr_psref.c
303
pcpu = percpu_getref(class->prc_percpu);
sys/kern/subr_psref.c
307
psref_check_duplication(pcpu, psref, target);
sys/kern/subr_psref.c
311
SLIST_INSERT_HEAD(&pcpu->pcpu_head, psref, psref_entry);
sys/kern/subr_psref.c
341
struct psref_cpu *pcpu;
sys/kern/subr_psref.c
371
pcpu = percpu_getref(class->prc_percpu);
sys/kern/subr_psref.c
374
psref_check_existence(pcpu, psref, target);
sys/kern/subr_psref.c
376
SLIST_REMOVE(&pcpu->pcpu_head, psref, psref, psref_entry);
sys/kern/subr_psref.c
408
struct psref_cpu *pcpu;
sys/kern/subr_psref.c
433
pcpu = percpu_getref(class->prc_percpu);
sys/kern/subr_psref.c
436
SLIST_INSERT_HEAD(&pcpu->pcpu_head, pto, psref_entry);
sys/kern/subr_psref.c
549
const struct psref_cpu *pcpu;
sys/kern/subr_psref.c
565
pcpu = percpu_getref(class->prc_percpu);
sys/kern/subr_psref.c
568
SLIST_FOREACH(psref, &pcpu->pcpu_head, psref_entry) {
tests/kernel/threadpool_tester/threadpool_tester.c
195
struct threadpool_percpu *pcpu, *opcpu = NULL;
tests/kernel/threadpool_tester/threadpool_tester.c
211
error = threadpool_percpu_get(&pcpu, val);
tests/kernel/threadpool_tester/threadpool_tester.c
220
ctx->ctx_percpu[pri_to_idx(val)] = pcpu;
tests/kernel/threadpool_tester/threadpool_tester.c
228
__func__, val, opcpu == pcpu ? "match" : "NO MATCH"));
tests/kernel/threadpool_tester/threadpool_tester.c
229
KASSERT(opcpu == pcpu);
tests/kernel/threadpool_tester/threadpool_tester.c
230
threadpool_percpu_put(pcpu, val);
tests/kernel/threadpool_tester/threadpool_tester.c
244
struct threadpool_percpu *pcpu;
tests/kernel/threadpool_tester/threadpool_tester.c
262
pcpu = ctx->ctx_percpu[pri_to_idx(val)];
tests/kernel/threadpool_tester/threadpool_tester.c
266
if (pcpu == NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
272
threadpool_percpu_put(pcpu, val);
tests/kernel/threadpool_tester/threadpool_tester.c
283
struct threadpool_percpu *pcpu;
tests/kernel/threadpool_tester/threadpool_tester.c
301
pcpu = ctx->ctx_percpu[pri_to_idx(val)];
tests/kernel/threadpool_tester/threadpool_tester.c
302
if (pcpu == NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
309
pool = threadpool_percpu_ref(pcpu);
tests/kernel/threadpool_tester/threadpool_tester.c
452
struct threadpool_percpu *pcpu =
tests/kernel/threadpool_tester/threadpool_tester.c
466
if (pcpu != NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
467
pool = threadpool_percpu_ref(pcpu);
tests/kernel/threadpool_tester/threadpool_tester.c
469
threadpool_percpu_put(pcpu, pri);
tests/modules/threadpool_tester/threadpool_tester.c
195
struct threadpool_percpu *pcpu, *opcpu = NULL;
tests/modules/threadpool_tester/threadpool_tester.c
211
error = threadpool_percpu_get(&pcpu, val);
tests/modules/threadpool_tester/threadpool_tester.c
220
ctx->ctx_percpu[pri_to_idx(val)] = pcpu;
tests/modules/threadpool_tester/threadpool_tester.c
228
__func__, val, opcpu == pcpu ? "match" : "NO MATCH"));
tests/modules/threadpool_tester/threadpool_tester.c
229
KASSERT(opcpu == pcpu);
tests/modules/threadpool_tester/threadpool_tester.c
230
threadpool_percpu_put(pcpu, val);
tests/modules/threadpool_tester/threadpool_tester.c
244
struct threadpool_percpu *pcpu;
tests/modules/threadpool_tester/threadpool_tester.c
262
pcpu = ctx->ctx_percpu[pri_to_idx(val)];
tests/modules/threadpool_tester/threadpool_tester.c
266
if (pcpu == NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
272
threadpool_percpu_put(pcpu, val);
tests/modules/threadpool_tester/threadpool_tester.c
283
struct threadpool_percpu *pcpu;
tests/modules/threadpool_tester/threadpool_tester.c
301
pcpu = ctx->ctx_percpu[pri_to_idx(val)];
tests/modules/threadpool_tester/threadpool_tester.c
302
if (pcpu == NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
309
pool = threadpool_percpu_ref(pcpu);
tests/modules/threadpool_tester/threadpool_tester.c
452
struct threadpool_percpu *pcpu =
tests/modules/threadpool_tester/threadpool_tester.c
466
if (pcpu != NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
467
pool = threadpool_percpu_ref(pcpu);
tests/modules/threadpool_tester/threadpool_tester.c
469
threadpool_percpu_put(pcpu, pri);
tests/rump/kernspace/threadpool.c
183
struct threadpool_percpu *pcpu;
tests/rump/kernspace/threadpool.c
187
error = threadpool_percpu_get(&pcpu, PRI_NONE);
tests/rump/kernspace/threadpool.c
190
pool = threadpool_percpu_ref(pcpu);
tests/rump/kernspace/threadpool.c
204
threadpool_percpu_put(pcpu, PRI_NONE);