Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/xen/
H A 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()
/kernel/linux/linux-6.6/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()

Completed in 2 milliseconds