sig 50 include/crm/common/mainloop.h gboolean crm_signal(int sig, void (*dispatch) (int sig)); sig 52 include/crm/common/mainloop.h gboolean mainloop_add_signal(int sig, void (*dispatch) (int sig)); sig 54 include/crm/common/mainloop.h gboolean mainloop_destroy_signal(int sig); sig 474 lib/ais/plugin.c int sig = WTERMSIG(status); sig 478 lib/ais/plugin.c pcmk_children[lpc].name, sig, pid, sig 261 lib/common/mainloop.c void (*handler) (int sig); sig 271 lib/common/mainloop.c crm_signal_t *sig = (crm_signal_t *) source; sig 273 lib/common/mainloop.c if(sig->signal != SIGCHLD) { sig 275 lib/common/mainloop.c strsignal(sig->signal), sig->signal, sig 276 lib/common/mainloop.c (sig->handler? "invoking" : "no")); sig 279 lib/common/mainloop.c sig->trigger.trigger = FALSE; sig 280 lib/common/mainloop.c if (sig->handler) { sig 281 lib/common/mainloop.c sig->handler(sig->signal); sig 287 lib/common/mainloop.c mainloop_signal_handler(int sig) sig 289 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { sig 290 lib/common/mainloop.c mainloop_set_trigger((crm_trigger_t *) crm_signals[sig]); sig 302 lib/common/mainloop.c crm_signal(int sig, void (*dispatch) (int sig)) sig 318 lib/common/mainloop.c if (sigaction(sig, &sa, &old) < 0) { sig 319 lib/common/mainloop.c crm_perror(LOG_ERR, "Could not install signal handler for signal %d", sig); sig 327 lib/common/mainloop.c mainloop_add_signal(int sig, void (*dispatch) (int sig)) sig 332 lib/common/mainloop.c if (sig == SIGTERM) { sig 340 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 341 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 344 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { sig 345 lib/common/mainloop.c crm_trace("Signal handler for %d is already installed", sig); sig 348 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { sig 349 lib/common/mainloop.c crm_err("Different signal handler for %d is already installed", sig); sig 356 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); sig 357 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); sig 359 lib/common/mainloop.c crm_signals[sig]->handler = dispatch; sig 360 lib/common/mainloop.c crm_signals[sig]->signal = sig; sig 362 lib/common/mainloop.c if (crm_signal(sig, mainloop_signal_handler) == FALSE) { sig 363 lib/common/mainloop.c crm_signal_t *tmp = crm_signals[sig]; sig 365 lib/common/mainloop.c crm_signals[sig] = NULL; sig 376 lib/common/mainloop.c if (siginterrupt(sig, 1) < 0) { sig 377 lib/common/mainloop.c crm_perror(LOG_INFO, "Could not enable system call interruptions for signal %d", sig); sig 385 lib/common/mainloop.c mainloop_destroy_signal(int sig) sig 389 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 390 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 393 lib/common/mainloop.c } else if (crm_signal(sig, NULL) == FALSE) { sig 394 lib/common/mainloop.c crm_perror(LOG_ERR, "Could not uninstall signal handler for signal %d", sig); sig 397 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { sig 401 lib/common/mainloop.c crm_trace("Destroying signal %d", sig); sig 402 lib/common/mainloop.c tmp = crm_signals[sig]; sig 403 lib/common/mainloop.c crm_signals[sig] = NULL; sig 85 lib/services/dbus.c char *sig; sig 90 lib/services/dbus.c sig = dbus_message_iter_get_signature(&args); sig 91 lib/services/dbus.c crm_trace("DBus call returned output args '%s'", sig); sig 92 lib/services/dbus.c dbus_free(sig); sig 269 lib/services/dbus.c char *sig; sig 272 lib/services/dbus.c sig = dbus_message_iter_get_signature(&args); sig 275 lib/services/dbus.c expected, sig, dtype); sig 276 lib/services/dbus.c dbus_free(sig); sig 430 lrmd/main.c int sig; sig 498 lrmd/main.c int sig; sig 501 lrmd/main.c sigwait(&set, &sig); sig 503 lrmd/main.c if (sigmap[i].sig == sig) {