Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/
Dmanage.c210 static struct shutdown_handler shutdown_handlers[] = { variable
242 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in shutdown_handler()
243 if (strcmp(str, shutdown_handlers[idx].command) == 0) in shutdown_handler()
248 if (idx < ARRAY_SIZE(shutdown_handlers)) in shutdown_handler()
257 if (idx < ARRAY_SIZE(shutdown_handlers)) { in shutdown_handler()
258 shutdown_handlers[idx].cb(); in shutdown_handler()
350 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in setup_shutdown_watcher()
351 if (!shutdown_handlers[idx].flag) in setup_shutdown_watcher()
354 shutdown_handlers[idx].command); in setup_shutdown_watcher()