Home | History | Annotate | Download | only in kern

Lines Matching refs:curcpu

149 	p = &curcpu()->ci_heartbeat_suspend;
169 KASSERT(__predict_false(cold) || ci == curcpu());
192 struct cpu_info *ci = curcpu();
255 heartbeat_resume_cpu(curcpu());
408 unsigned count = atomic_load_relaxed(&curcpu()->ci_heartbeat_count);
411 atomic_store_relaxed(&curcpu()->ci_heartbeat_uptime_stamp, count);
412 atomic_store_relaxed(&curcpu()->ci_heartbeat_uptime_cache, uptime);
486 panic("%s[%d %s]: heart stopped beating", cpu_name(curcpu()),
515 cpu_name(curcpu()), cpu_name(ci), d);
540 cpu_name(curcpu()), cpu_name(ci));
547 * there are no other online CPUs. Never returns curcpu().
561 * after curcpu(), or the first online one if curcpu() is last
569 * (...|curcpu()|ci|...)
571 * Found the patient right after curcpu().
577 if (ci == curcpu()) {
579 * (...|prev|ci=curcpu()|next|...)
582 * nothing after curcpu()).
589 * (ci|...|curcpu()|...)
592 * after curcpu().
647 __predict_false(curcpu()->ci_heartbeat_suspend) ||
654 count = curcpu()->ci_heartbeat_count++;
663 cache = atomic_load_relaxed(&curcpu()->ci_heartbeat_uptime_cache);
677 atomic_load_relaxed(&curcpu()->ci_heartbeat_uptime_stamp);
682 cpu_name(curcpu()), d);
702 cpu_name(curcpu()), d);