Lines Matching full:callback
167 .callback = set_kbd_reboot,
175 .callback = set_efi_reboot,
185 .callback = set_pci_reboot,
193 .callback = set_pci_reboot,
201 .callback = set_pci_reboot,
209 .callback = set_pci_reboot,
217 .callback = set_pci_reboot,
225 .callback = set_pci_reboot,
235 .callback = set_pci_reboot,
245 .callback = set_bios_reboot,
253 .callback = set_acpi_reboot,
261 .callback = set_acpi_reboot,
271 .callback = set_pci_reboot,
281 .callback = set_bios_reboot,
289 .callback = set_bios_reboot,
297 .callback = set_pci_reboot,
305 .callback = set_pci_reboot,
313 .callback = set_pci_reboot,
321 .callback = set_pci_reboot,
329 .callback = set_bios_reboot,
338 .callback = set_bios_reboot,
347 .callback = set_bios_reboot,
355 .callback = set_bios_reboot,
364 .callback = set_bios_reboot,
373 .callback = set_bios_reboot,
382 .callback = set_pci_reboot,
391 .callback = set_bios_reboot,
399 .callback = set_bios_reboot,
407 .callback = set_bios_reboot,
415 .callback = set_pci_reboot,
423 .callback = set_pci_reboot,
431 .callback = set_bios_reboot,
439 .callback = set_bios_reboot,
447 .callback = set_bios_reboot,
455 .callback = set_acpi_reboot,
465 .callback = set_bios_reboot,
474 .callback = set_pci_reboot,
484 .callback = set_bios_reboot,
534 /* RCU-protected callback to disable virtualization prior to reboot. */
537 void cpu_emergency_register_virt_callback(cpu_emergency_virt_cb *callback) in cpu_emergency_register_virt_callback() argument
542 rcu_assign_pointer(cpu_emergency_virt_callback, callback); in cpu_emergency_register_virt_callback()
546 void cpu_emergency_unregister_virt_callback(cpu_emergency_virt_cb *callback) in cpu_emergency_unregister_virt_callback() argument
548 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback) != callback)) in cpu_emergency_unregister_virt_callback()
563 cpu_emergency_virt_cb *callback; in cpu_emergency_disable_virtualization() local
573 callback = rcu_dereference(cpu_emergency_virt_callback); in cpu_emergency_disable_virtualization()
574 if (callback) in cpu_emergency_disable_virtualization()
575 callback(); in cpu_emergency_disable_virtualization()
877 * Prepare the CPU for reboot _after_ invoking the callback so that the in crash_nmi_callback()
878 * callback can safely use virtualization instructions, e.g. VMCLEAR. in crash_nmi_callback()
899 * @callback: Optional callback to be invoked from the NMI handler
901 * The NMI handler on the remote CPUs invokes @callback, if not
909 void nmi_shootdown_cpus(nmi_shootdown_cb callback) in nmi_shootdown_cpus() argument
917 * the NMI handler will cause list corruption, modifying the callback in nmi_shootdown_cpus()
923 /* Make a note of crashing cpu. Will be used in NMI callback. */ in nmi_shootdown_cpus()
926 shootdown_callback = callback; in nmi_shootdown_cpus()
934 * Ensure the new callback function is set before sending in nmi_shootdown_cpus()
951 * Leave the nmi callback set, shootdown is a one-time thing. Clearing in nmi_shootdown_cpus()
952 * the callback could result in a NULL pointer dereference if a CPU in nmi_shootdown_cpus()
964 * Check if the crash dumping IPI got issued and if so, call its callback
985 void nmi_shootdown_cpus(nmi_shootdown_cb callback) in nmi_shootdown_cpus() argument