sig 55 daemons/execd/remoted_pidone.c int sig; sig 287 daemons/execd/remoted_pidone.c int sig; sig 290 daemons/execd/remoted_pidone.c sigwait(&set, &sig); sig 292 daemons/execd/remoted_pidone.c if (sigmap[i].sig == sig) { sig 51 include/crm/common/mainloop.h sighandler_t crm_signal_handler(int sig, sighandler_t dispatch); sig 53 include/crm/common/mainloop.h gboolean mainloop_add_signal(int sig, void (*dispatch) (int sig)); sig 55 include/crm/common/mainloop.h gboolean mainloop_destroy_signal(int sig); sig 159 include/crm/common/mainloop.h gboolean crm_signal(int sig, void (*dispatch) (int sig)); // deprecated sig 206 lib/common/mainloop.c void (*handler) (int sig); // signal handler sig 227 lib/common/mainloop.c crm_signal_t *sig = (crm_signal_t *) source; sig 229 lib/common/mainloop.c if(sig->signal != SIGCHLD) { sig 231 lib/common/mainloop.c strsignal(sig->signal), sig->signal, sig 232 lib/common/mainloop.c (sig->handler? "invoking" : "no")); sig 235 lib/common/mainloop.c sig->trigger.trigger = FALSE; sig 236 lib/common/mainloop.c if (sig->handler) { sig 237 lib/common/mainloop.c sig->handler(sig->signal); sig 252 lib/common/mainloop.c mainloop_signal_handler(int sig) sig 254 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { sig 255 lib/common/mainloop.c mainloop_set_trigger((crm_trigger_t *) crm_signals[sig]); sig 280 lib/common/mainloop.c crm_signal_handler(int sig, sighandler_t dispatch) sig 288 lib/common/mainloop.c sig, pcmk_strerror(errno)); sig 297 lib/common/mainloop.c if (sigaction(sig, &sa, &old) < 0) { sig 299 lib/common/mainloop.c sig, pcmk_strerror(errno)); sig 306 lib/common/mainloop.c mainloop_destroy_signal_entry(int sig) sig 308 lib/common/mainloop.c crm_signal_t *tmp = crm_signals[sig]; sig 310 lib/common/mainloop.c crm_signals[sig] = NULL; sig 312 lib/common/mainloop.c crm_trace("Destroying signal %d", sig); sig 328 lib/common/mainloop.c mainloop_add_signal(int sig, void (*dispatch) (int sig)) sig 333 lib/common/mainloop.c if (sig == SIGTERM) { sig 341 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 342 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 345 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { sig 346 lib/common/mainloop.c crm_trace("Signal handler for %d is already installed", sig); sig 349 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { sig 350 lib/common/mainloop.c crm_err("Different signal handler for %d is already installed", sig); sig 357 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); sig 358 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); sig 360 lib/common/mainloop.c crm_signals[sig]->handler = dispatch; sig 361 lib/common/mainloop.c crm_signals[sig]->signal = sig; sig 363 lib/common/mainloop.c if (crm_signal_handler(sig, mainloop_signal_handler) == SIG_ERR) { sig 364 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 373 lib/common/mainloop.c if (siginterrupt(sig, 1) < 0) { sig 374 lib/common/mainloop.c crm_perror(LOG_INFO, "Could not enable system call interruptions for signal %d", sig); sig 382 lib/common/mainloop.c mainloop_destroy_signal(int sig) sig 384 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 385 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 388 lib/common/mainloop.c } else if (crm_signal_handler(sig, NULL) == SIG_ERR) { sig 389 lib/common/mainloop.c crm_perror(LOG_ERR, "Could not uninstall signal handler for signal %d", sig); sig 392 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { sig 395 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 408 lib/common/mainloop.c for (int sig = 0; sig < NSIG; ++sig) { sig 409 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 1440 lib/common/mainloop.c gboolean crm_signal(int sig, void (*dispatch) (int sig)); sig 1447 lib/common/mainloop.c crm_signal(int sig, void (*dispatch) (int sig)) sig 1449 lib/common/mainloop.c return crm_signal_handler(sig, dispatch) != SIG_ERR; sig 351 lib/services/dbus.c char *sig = NULL; sig 355 lib/services/dbus.c (sig = dbus_message_iter_get_signature(&args))); sig 356 lib/services/dbus.c if (sig != NULL) { sig 357 lib/services/dbus.c dbus_free(sig); sig 540 lib/services/dbus.c char *sig; sig 543 lib/services/dbus.c sig = dbus_message_iter_get_signature(&args); sig 547 lib/services/dbus.c expected, dtype, sig); sig 548 lib/services/dbus.c dbus_free(sig);