Home
last modified time | relevance | path

Searched refs:cur_cpu (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/usr.bin/ctlstat/
H A Dctlstat.c122 struct ctl_cpu_stats cur_cpu, prev_cpu; member
393 if (F_CPU(ctx) && (getcpu(&ctx->cur_cpu) != 0)) in ctlstat_standard()
401 ctx->cur_total_jiffies = ctx->cur_cpu.user + in ctlstat_standard()
402 ctx->cur_cpu.nice + ctx->cur_cpu.system + in ctlstat_standard()
403 ctx->cur_cpu.intr + ctx->cur_cpu.idle; in ctlstat_standard()
408 ctx->cur_idle = ctx->cur_cpu.idle; in ctlstat_standard()
700 ctx.prev_cpu = ctx.cur_cpu; in main()
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_hpet.c478 int i, j, num_msi, num_timers, num_percpu_et, num_percpu_t, cur_cpu; in hpet_attach() local
705 cur_cpu = CPU_FIRST(); in hpet_attach()
709 if (cur_cpu == CPU_FIRST()) in hpet_attach()
711 t->pcpu_cpu = cur_cpu; in hpet_attach()
714 pcpu_slaves[cur_cpu] = i; in hpet_attach()
715 bus_bind_intr(dev, t->intr_res, cur_cpu); in hpet_attach()
716 cur_cpu = CPU_NEXT(cur_cpu); in hpet_attach()