Lines Matching defs:patient
494 * The patient CPU ci's heart has stopped beating after d seconds.
495 * Force the patient CPU ci to panic, or panic on this CPU if the
496 * patient CPU doesn't respond within 1sec.
511 * First notify the console that the patient CPU's heart seems
518 * Next, give the patient CPU a chance to panic, so we get a
524 * Busy-wait up to 1sec for the patient CPU to print a stack
525 * trace and panic. If the patient CPU acknowledges the IPI,
536 * The patient CPU failed to acknowledge the panic request.
554 struct cpu_info *first = NULL, *patient = NULL, *ci;
571 * Found the patient right after curcpu().
573 KASSERT(patient != ci);
574 patient = ci;
602 if (patient == NULL) {
604 patient = first;
607 return patient;
634 struct cpu_info *patient;
713 * Select a patient to check the heartbeat of. If there's no
716 patient = select_patient();
717 if (patient == NULL)
721 * Verify that time is advancing on the patient CPU. If the
734 d = uptime - atomic_load_relaxed(&patient->ci_heartbeat_uptime_cache);
737 atomic_load_relaxed(&patient->ci_heartbeat_suspend) == 0)
738 defibrillate(patient, d);