Searched refs:shutdown_handlers (Results 1 – 1 of 1) sorted by relevance
209 static struct shutdown_handler shutdown_handlers[] = { variable241 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in shutdown_handler()242 if (strcmp(str, shutdown_handlers[idx].command) == 0) in shutdown_handler()247 if (idx < ARRAY_SIZE(shutdown_handlers)) in shutdown_handler()256 if (idx < ARRAY_SIZE(shutdown_handlers)) { in shutdown_handler()257 shutdown_handlers[idx].cb(); in shutdown_handler()349 for (idx = 0; idx < ARRAY_SIZE(shutdown_handlers); idx++) { in setup_shutdown_watcher()350 if (!shutdown_handlers[idx].flag) in setup_shutdown_watcher()353 shutdown_handlers[idx].command); in setup_shutdown_watcher()