opaque 182 include/crm/services.h svc_action_private_t *opaque; opaque 133 include/crm/stonith-ng.h void *opaque; opaque 142 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 2538 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2541 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_status; opaque 2555 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2558 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->execution_status; opaque 2572 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2575 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_reason; opaque 2589 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2592 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2609 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2612 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2629 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2632 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 166 lib/services/services.c op->opaque = calloc(1, sizeof(svc_action_private_t)); opaque 167 lib/services/services.c if (op->opaque == NULL) { opaque 362 lib/services/services.c op->opaque->exec = strdup(exec); opaque 363 lib/services/services.c op->opaque->args[0] = strdup(exec); opaque 364 lib/services/services.c if ((op->opaque->exec == NULL) || (op->opaque->args[0] == NULL)) { opaque 377 lib/services/services.c if (cur_arg == PCMK__NELEM(op->opaque->args)) { opaque 385 lib/services/services.c op->opaque->args[cur_arg] = strdup(args[cur_arg - 1]); opaque 386 lib/services/services.c if (op->opaque->args[cur_arg] == NULL) { opaque 446 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); opaque 466 lib/services/services.c action->opaque->callback = cb; opaque 481 lib/services/services.c if (op->opaque->pending && (op->opaque->pending != pending)) { opaque 483 lib/services/services.c crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 485 lib/services/services.c crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 487 lib/services/services.c dbus_pending_call_unref(op->opaque->pending); opaque 489 lib/services/services.c op->opaque->pending = pending; opaque 501 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { opaque 506 lib/services/services.c if(op->opaque->timerid != 0) { opaque 508 lib/services/services.c g_source_remove(op->opaque->timerid); opaque 509 lib/services/services.c op->opaque->timerid = 0; opaque 512 lib/services/services.c if(op->opaque->pending) { opaque 513 lib/services/services.c if (dbus_pending_call_get_completed(op->opaque->pending)) { opaque 521 lib/services/services.c dbus_pending_call_cancel(op->opaque->pending); opaque 526 lib/services/services.c if (op->opaque->stderr_gsource) { opaque 527 lib/services/services.c mainloop_del_fd(op->opaque->stderr_gsource); opaque 528 lib/services/services.c op->opaque->stderr_gsource = NULL; opaque 531 lib/services/services.c if (op->opaque->stdout_gsource) { opaque 532 lib/services/services.c mainloop_del_fd(op->opaque->stdout_gsource); opaque 533 lib/services/services.c op->opaque->stdout_gsource = NULL; opaque 603 lib/services/services.c if (op->opaque->repeat_timer) { opaque 604 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 605 lib/services/services.c op->opaque->repeat_timer = 0; opaque 609 lib/services/services.c free(op->opaque->exec); opaque 611 lib/services/services.c for (i = 0; i < PCMK__NELEM(op->opaque->args); i++) { opaque 612 lib/services/services.c free(op->opaque->args[i]); opaque 615 lib/services/services.c free(op->opaque->exit_reason); opaque 616 lib/services/services.c free(op->opaque); opaque 644 lib/services/services.c if (op->opaque->repeat_timer) { opaque 645 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 646 lib/services/services.c op->opaque->repeat_timer = 0; opaque 715 lib/services/services.c if (op->opaque->callback) { opaque 716 lib/services/services.c op->opaque->callback(op); opaque 747 lib/services/services.c if (op->opaque->repeat_timer) { opaque 748 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 749 lib/services/services.c op->opaque->repeat_timer = 0; opaque 775 lib/services/services.c if (op->opaque->callback) { opaque 776 lib/services/services.c dup->opaque->callback = op->opaque->callback; opaque 782 lib/services/services.c if (op->opaque->repeat_timer) { opaque 783 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 784 lib/services/services.c op->opaque->repeat_timer = 0; opaque 873 lib/services/services.c op->opaque->callback = action_callback; opaque 876 lib/services/services.c op->opaque->fork_callback = action_fork_callback; opaque 1042 lib/services/services.c op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc); opaque 1279 lib/services/services.c if (!pcmk__str_eq(action->opaque->exit_reason, reason, opaque 1281 lib/services/services.c free(action->opaque->exit_reason); opaque 1282 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); opaque 1319 lib/services/services.c free(action->opaque->exit_reason); opaque 1320 lib/services/services.c action->opaque->exit_reason = reason; opaque 1336 lib/services/services.c free(action->opaque->exit_reason); opaque 1337 lib/services/services.c action->opaque->exit_reason = NULL; opaque 1376 lib/services/services.c return action->opaque->exit_reason; opaque 346 lib/services/services_linux.c return svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 354 lib/services/services_linux.c return svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 364 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; opaque 365 lib/services/services_linux.c if (op->opaque->stdout_fd > STDOUT_FILENO) { opaque 366 lib/services/services_linux.c close(op->opaque->stdout_fd); opaque 368 lib/services/services_linux.c op->opaque->stdout_fd = -1; opaque 376 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; opaque 377 lib/services/services_linux.c if (op->opaque->stderr_fd > STDERR_FILENO) { opaque 378 lib/services/services_linux.c close(op->opaque->stderr_fd); opaque 380 lib/services/services_linux.c op->opaque->stderr_fd = -1; opaque 482 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); opaque 517 lib/services/services_linux.c op->opaque->repeat_timer = 0; opaque 552 lib/services/services_linux.c op->opaque->repeat_timer = g_timeout_add(op->interval_ms, opaque 558 lib/services/services_linux.c if (op->opaque->callback != NULL) { opaque 559 lib/services/services_linux.c op->opaque->callback(op); opaque 579 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 580 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 591 lib/services/services_linux.c source = &(op->opaque->stderr_gsource); opaque 592 lib/services/services_linux.c fd = op->opaque->stderr_fd; opaque 594 lib/services/services_linux.c source = &(op->opaque->stdout_gsource); opaque 595 lib/services/services_linux.c fd = op->opaque->stdout_fd; opaque 667 lib/services/services_linux.c free(op->opaque->exit_reason); opaque 668 lib/services/services_linux.c op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start); opaque 891 lib/services/services_linux.c const char *name = op->opaque->exec; opaque 1004 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { opaque 1007 lib/services/services_linux.c if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) { opaque 1010 lib/services/services_linux.c op->id, op->opaque->gid, strerror(errno)); opaque 1025 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { opaque 1027 lib/services/services_linux.c "to %d: %s", op->id, op->opaque->uid, strerror(errno)); opaque 1034 lib/services/services_linux.c execvp(op->opaque->exec, op->opaque->args); opaque 1060 lib/services/services_linux.c fds[0].fd = op->opaque->stdout_fd; opaque 1064 lib/services/services_linux.c fds[1].fd = op->opaque->stderr_fd; opaque 1080 lib/services/services_linux.c svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 1084 lib/services/services_linux.c svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 1220 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { opaque 1223 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1231 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1242 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1255 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1280 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1298 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1306 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1315 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1335 lib/services/services_linux.c op->opaque->stdout_fd = stdout_fd[0]; opaque 1336 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdout_fd); opaque 1340 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1343 lib/services/services_linux.c op->opaque->stderr_fd = stderr_fd[0]; opaque 1344 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stderr_fd); opaque 1348 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1351 lib/services/services_linux.c op->opaque->stdin_fd = stdin_fd[1]; opaque 1352 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 1355 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdin_fd); opaque 1358 lib/services/services_linux.c CRM_XS " fd=%d,rc=%d", op->opaque->exec, opaque 1359 lib/services/services_linux.c pcmk_rc_str(rc), op->opaque->stdin_fd, rc); opaque 1363 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 1364 lib/services/services_linux.c op->opaque->stdin_fd = -1; opaque 1368 lib/services/services_linux.c if (op->opaque->fork_callback) { opaque 1369 lib/services/services_linux.c op->opaque->fork_callback(op); opaque 1378 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); opaque 1383 lib/services/services_linux.c op->opaque->stdout_gsource = mainloop_add_fd(op->id, opaque 1385 lib/services/services_linux.c op->opaque->stdout_fd, op, opaque 1387 lib/services/services_linux.c op->opaque->stderr_gsource = mainloop_add_fd(op->id, opaque 1389 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);