opaque 182 include/crm/services.h svc_action_private_t *opaque; opaque 163 include/crm/stonith-ng.h void *opaque; opaque 172 include/crm/stonith-ng.h void *opaque; opaque 912 lib/fencing/st_client.c data.opaque = (void *) result; opaque 1420 lib/fencing/st_client.c event->opaque = pcmk__assert_alloc(1, sizeof(struct event_private)); opaque 1421 lib/fencing/st_client.c event_private = (struct event_private *) event->opaque; opaque 1474 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 1487 lib/fencing/st_client.c free(event->opaque); opaque 2539 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2542 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_status; opaque 2556 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2559 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->execution_status; opaque 2573 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2576 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_reason; opaque 2590 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2593 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2610 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2613 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2630 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2633 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 185 lib/services/services.c op->opaque = calloc(1, sizeof(svc_action_private_t)); opaque 186 lib/services/services.c if (op->opaque == NULL) { opaque 382 lib/services/services.c op->opaque->exec = strdup(exec); opaque 383 lib/services/services.c op->opaque->args[0] = strdup(exec); opaque 384 lib/services/services.c if ((op->opaque->exec == NULL) || (op->opaque->args[0] == NULL)) { opaque 397 lib/services/services.c if (cur_arg == PCMK__NELEM(op->opaque->args)) { opaque 405 lib/services/services.c op->opaque->args[cur_arg] = strdup(args[cur_arg - 1]); opaque 406 lib/services/services.c if (op->opaque->args[cur_arg] == NULL) { opaque 466 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); opaque 486 lib/services/services.c action->opaque->callback = cb; opaque 501 lib/services/services.c if (op->opaque->pending && (op->opaque->pending != pending)) { opaque 503 lib/services/services.c crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 505 lib/services/services.c crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 507 lib/services/services.c dbus_pending_call_unref(op->opaque->pending); opaque 509 lib/services/services.c op->opaque->pending = pending; opaque 521 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { opaque 526 lib/services/services.c if(op->opaque->timerid != 0) { opaque 528 lib/services/services.c g_source_remove(op->opaque->timerid); opaque 529 lib/services/services.c op->opaque->timerid = 0; opaque 532 lib/services/services.c if(op->opaque->pending) { opaque 533 lib/services/services.c if (dbus_pending_call_get_completed(op->opaque->pending)) { opaque 541 lib/services/services.c dbus_pending_call_cancel(op->opaque->pending); opaque 546 lib/services/services.c if (op->opaque->stderr_gsource) { opaque 547 lib/services/services.c mainloop_del_fd(op->opaque->stderr_gsource); opaque 548 lib/services/services.c op->opaque->stderr_gsource = NULL; opaque 551 lib/services/services.c if (op->opaque->stdout_gsource) { opaque 552 lib/services/services.c mainloop_del_fd(op->opaque->stdout_gsource); opaque 553 lib/services/services.c op->opaque->stdout_gsource = NULL; opaque 625 lib/services/services.c if (op->opaque->repeat_timer) { opaque 626 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 627 lib/services/services.c op->opaque->repeat_timer = 0; opaque 631 lib/services/services.c free(op->opaque->exec); opaque 633 lib/services/services.c for (i = 0; i < PCMK__NELEM(op->opaque->args); i++) { opaque 634 lib/services/services.c free(op->opaque->args[i]); opaque 637 lib/services/services.c free(op->opaque->exit_reason); opaque 638 lib/services/services.c free(op->opaque); opaque 666 lib/services/services.c if (op->opaque->repeat_timer) { opaque 667 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 668 lib/services/services.c op->opaque->repeat_timer = 0; opaque 737 lib/services/services.c if (op->opaque->callback) { opaque 738 lib/services/services.c op->opaque->callback(op); opaque 769 lib/services/services.c if (op->opaque->repeat_timer) { opaque 770 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 771 lib/services/services.c op->opaque->repeat_timer = 0; opaque 797 lib/services/services.c if (op->opaque->callback) { opaque 798 lib/services/services.c dup->opaque->callback = op->opaque->callback; opaque 804 lib/services/services.c if (op->opaque->repeat_timer) { opaque 805 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 806 lib/services/services.c op->opaque->repeat_timer = 0; opaque 895 lib/services/services.c op->opaque->callback = action_callback; opaque 898 lib/services/services.c op->opaque->fork_callback = action_fork_callback; opaque 1068 lib/services/services.c op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc); opaque 1332 lib/services/services.c if (!pcmk__str_eq(action->opaque->exit_reason, reason, opaque 1334 lib/services/services.c free(action->opaque->exit_reason); opaque 1335 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); opaque 1372 lib/services/services.c free(action->opaque->exit_reason); opaque 1373 lib/services/services.c action->opaque->exit_reason = reason; opaque 1389 lib/services/services.c free(action->opaque->exit_reason); opaque 1390 lib/services/services.c action->opaque->exit_reason = NULL; opaque 1429 lib/services/services.c return action->opaque->exit_reason; opaque 363 lib/services/services_linux.c return svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 371 lib/services/services_linux.c return svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 381 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; opaque 382 lib/services/services_linux.c if (op->opaque->stdout_fd > STDOUT_FILENO) { opaque 383 lib/services/services_linux.c close(op->opaque->stdout_fd); opaque 385 lib/services/services_linux.c op->opaque->stdout_fd = -1; opaque 393 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; opaque 394 lib/services/services_linux.c if (op->opaque->stderr_fd > STDERR_FILENO) { opaque 395 lib/services/services_linux.c close(op->opaque->stderr_fd); opaque 397 lib/services/services_linux.c op->opaque->stderr_fd = -1; opaque 501 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); opaque 535 lib/services/services_linux.c op->opaque->repeat_timer = 0; opaque 570 lib/services/services_linux.c op->opaque->repeat_timer = g_timeout_add(op->interval_ms, opaque 576 lib/services/services_linux.c if (op->opaque->callback != NULL) { opaque 577 lib/services/services_linux.c op->opaque->callback(op); opaque 597 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 598 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 609 lib/services/services_linux.c source = &(op->opaque->stderr_gsource); opaque 610 lib/services/services_linux.c fd = op->opaque->stderr_fd; opaque 612 lib/services/services_linux.c source = &(op->opaque->stdout_gsource); opaque 613 lib/services/services_linux.c fd = op->opaque->stdout_fd; opaque 685 lib/services/services_linux.c free(op->opaque->exit_reason); opaque 686 lib/services/services_linux.c op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start); opaque 917 lib/services/services_linux.c const char *name = op->opaque->exec; opaque 1030 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { opaque 1033 lib/services/services_linux.c if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) { opaque 1036 lib/services/services_linux.c op->id, op->opaque->gid, strerror(errno)); opaque 1051 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { opaque 1053 lib/services/services_linux.c "to %d: %s", op->id, op->opaque->uid, strerror(errno)); opaque 1060 lib/services/services_linux.c execvp(op->opaque->exec, op->opaque->args); opaque 1086 lib/services/services_linux.c fds[0].fd = op->opaque->stdout_fd; opaque 1090 lib/services/services_linux.c fds[1].fd = op->opaque->stderr_fd; opaque 1106 lib/services/services_linux.c svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 1110 lib/services/services_linux.c svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 1246 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { opaque 1249 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1257 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1268 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1281 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1306 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1324 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1332 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1341 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1361 lib/services/services_linux.c op->opaque->stdout_fd = stdout_fd[0]; opaque 1362 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdout_fd); opaque 1366 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1369 lib/services/services_linux.c op->opaque->stderr_fd = stderr_fd[0]; opaque 1370 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stderr_fd); opaque 1374 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1377 lib/services/services_linux.c op->opaque->stdin_fd = stdin_fd[1]; opaque 1378 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 1381 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdin_fd); opaque 1384 lib/services/services_linux.c CRM_XS " fd=%d,rc=%d", op->opaque->exec, opaque 1385 lib/services/services_linux.c pcmk_rc_str(rc), op->opaque->stdin_fd, rc); opaque 1389 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 1390 lib/services/services_linux.c op->opaque->stdin_fd = -1; opaque 1394 lib/services/services_linux.c if (op->opaque->fork_callback) { opaque 1395 lib/services/services_linux.c op->opaque->fork_callback(op); opaque 1404 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); opaque 1409 lib/services/services_linux.c op->opaque->stdout_gsource = mainloop_add_fd(op->id, opaque 1411 lib/services/services_linux.c op->opaque->stdout_fd, op, opaque 1413 lib/services/services_linux.c op->opaque->stderr_gsource = mainloop_add_fd(op->id, opaque 1415 lib/services/services_linux.c op->opaque->stderr_fd, op, opaque 274 lib/services/services_lsb.c op->opaque->exec = pcmk__full_path(op->agent, PCMK__LSB_INIT_DIR); opaque 275 lib/services/services_lsb.c op->opaque->args[0] = strdup(op->opaque->exec); opaque 276 lib/services/services_lsb.c op->opaque->args[1] = strdup(op->action); opaque 277 lib/services/services_lsb.c if ((op->opaque->args[0] == NULL) || (op->opaque->args[1] == NULL)) { opaque 46 lib/services/services_nagios.c op->opaque->exec = pcmk__full_path(op->agent, NAGIOS_PLUGIN_DIR); opaque 47 lib/services/services_nagios.c op->opaque->args[0] = strdup(op->opaque->exec); opaque 48 lib/services/services_nagios.c if (op->opaque->args[0] == NULL) { opaque 56 lib/services/services_nagios.c op->opaque->args[1] = strdup("--version"); opaque 57 lib/services/services_nagios.c if (op->opaque->args[1] == NULL) { opaque 72 lib/services/services_nagios.c if (index > (PCMK__NELEM(op->opaque->args) - 2)) { opaque 81 lib/services/services_nagios.c op->opaque->args[index++] = crm_strdup_printf("--%s", key); opaque 82 lib/services/services_nagios.c op->opaque->args[index++] = strdup(value); opaque 83 lib/services/services_nagios.c if (op->opaque->args[index - 1] == NULL) { opaque 137 lib/services/services_ocf.c op->opaque->exec = buf; opaque 144 lib/services/services_ocf.c if (op->opaque->exec == NULL) { opaque 148 lib/services/services_ocf.c op->opaque->args[0] = strdup(op->opaque->exec); opaque 149 lib/services/services_ocf.c op->opaque->args[1] = strdup(op->action); opaque 150 lib/services/services_ocf.c if ((op->opaque->args[0] == NULL) || (op->opaque->args[1] == NULL)) { opaque 42 lib/services/systemd.c op->opaque->exec = strdup("systemd-dbus"); opaque 43 lib/services/systemd.c if (op->opaque->exec == NULL) { opaque 410 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 789 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 1053 lib/services/systemd.c op->opaque->timerid = 0; opaque 1113 lib/services/systemd.c op->opaque->timerid = g_timeout_add(op->timeout + 5000, opaque 52 lib/services/upstart.c op->opaque->exec = strdup("upstart-dbus"); opaque 53 lib/services/upstart.c if (op->opaque->exec == NULL) { opaque 502 lib/services/upstart.c CRM_LOG_ASSERT(pending == op->opaque->pending);