Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dmanage.c211 static 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()