Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/xen/
Dmanage.c211 static const struct shutdown_handler shutdown_handlers[] = { variable
243 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in shutdown_handler()
244 if (strcmp(str, shutdown_handlers[idx].command) == 0) in shutdown_handler()
249 if (idx < ARRAY_SIZE(shutdown_handlers)) in shutdown_handler()
258 if (idx < ARRAY_SIZE(shutdown_handlers)) { in shutdown_handler()
259 shutdown_handlers[idx].cb(); in shutdown_handler()
351 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in setup_shutdown_watcher()
352 if (!shutdown_handlers[idx].flag) in setup_shutdown_watcher()
355 shutdown_handlers[idx].command); in setup_shutdown_watcher()