opaque 177 include/crm/services.h svc_action_private_t *opaque; opaque 138 include/crm/stonith-ng.h void *opaque; opaque 147 include/crm/stonith-ng.h void *opaque; opaque 910 lib/fencing/st_client.c data.opaque = (void *) result; opaque 1418 lib/fencing/st_client.c event->opaque = calloc(1, sizeof(struct event_private)); opaque 1419 lib/fencing/st_client.c CRM_ASSERT(event->opaque != NULL); opaque 1420 lib/fencing/st_client.c event_private = (struct event_private *) event->opaque; opaque 1470 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 1483 lib/fencing/st_client.c free(event->opaque); opaque 2533 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2536 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_status; opaque 2550 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2553 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->execution_status; opaque 2567 lib/fencing/st_client.c if ((data == NULL) || (data->opaque == NULL)) { opaque 2570 lib/fencing/st_client.c return ((pcmk__action_result_t *) data->opaque)->exit_reason; opaque 2584 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2587 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2604 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2607 lib/fencing/st_client.c struct event_private *event_private = event->opaque; opaque 2624 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { opaque 2627 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 448 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); opaque 468 lib/services/services.c action->opaque->callback = cb; opaque 483 lib/services/services.c if (op->opaque->pending && (op->opaque->pending != pending)) { opaque 485 lib/services/services.c crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 487 lib/services/services.c crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 489 lib/services/services.c dbus_pending_call_unref(op->opaque->pending); opaque 491 lib/services/services.c op->opaque->pending = pending; opaque 503 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { opaque 508 lib/services/services.c if(op->opaque->timerid != 0) { opaque 510 lib/services/services.c g_source_remove(op->opaque->timerid); opaque 511 lib/services/services.c op->opaque->timerid = 0; opaque 514 lib/services/services.c if(op->opaque->pending) { opaque 515 lib/services/services.c if (dbus_pending_call_get_completed(op->opaque->pending)) { opaque 523 lib/services/services.c dbus_pending_call_cancel(op->opaque->pending); opaque 528 lib/services/services.c if (op->opaque->stderr_gsource) { opaque 529 lib/services/services.c mainloop_del_fd(op->opaque->stderr_gsource); opaque 530 lib/services/services.c op->opaque->stderr_gsource = NULL; opaque 533 lib/services/services.c if (op->opaque->stdout_gsource) { opaque 534 lib/services/services.c mainloop_del_fd(op->opaque->stdout_gsource); opaque 535 lib/services/services.c op->opaque->stdout_gsource = NULL; opaque 605 lib/services/services.c if (op->opaque->repeat_timer) { opaque 606 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 607 lib/services/services.c op->opaque->repeat_timer = 0; opaque 611 lib/services/services.c free(op->opaque->exec); opaque 613 lib/services/services.c for (i = 0; i < PCMK__NELEM(op->opaque->args); i++) { opaque 614 lib/services/services.c free(op->opaque->args[i]); opaque 617 lib/services/services.c free(op->opaque->exit_reason); opaque 618 lib/services/services.c free(op->opaque); opaque 646 lib/services/services.c if (op->opaque->repeat_timer) { opaque 647 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 648 lib/services/services.c op->opaque->repeat_timer = 0; opaque 717 lib/services/services.c if (op->opaque->callback) { opaque 718 lib/services/services.c op->opaque->callback(op); opaque 749 lib/services/services.c if (op->opaque->repeat_timer) { opaque 750 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 751 lib/services/services.c op->opaque->repeat_timer = 0; opaque 777 lib/services/services.c if (op->opaque->callback) { opaque 778 lib/services/services.c dup->opaque->callback = op->opaque->callback; opaque 784 lib/services/services.c if (op->opaque->repeat_timer) { opaque 785 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 786 lib/services/services.c op->opaque->repeat_timer = 0; opaque 875 lib/services/services.c op->opaque->callback = action_callback; opaque 878 lib/services/services.c op->opaque->fork_callback = action_fork_callback; opaque 1044 lib/services/services.c op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc); opaque 1281 lib/services/services.c if (!pcmk__str_eq(action->opaque->exit_reason, reason, opaque 1283 lib/services/services.c free(action->opaque->exit_reason); opaque 1284 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); opaque 1321 lib/services/services.c free(action->opaque->exit_reason); opaque 1322 lib/services/services.c action->opaque->exit_reason = reason; opaque 1338 lib/services/services.c free(action->opaque->exit_reason); opaque 1339 lib/services/services.c action->opaque->exit_reason = NULL; opaque 1378 lib/services/services.c return action->opaque->exit_reason; opaque 316 lib/services/services_linux.c return svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 324 lib/services/services_linux.c return svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 334 lib/services/services_linux.c op->opaque->stdout_gsource = NULL; opaque 335 lib/services/services_linux.c if (op->opaque->stdout_fd > STDOUT_FILENO) { opaque 336 lib/services/services_linux.c close(op->opaque->stdout_fd); opaque 338 lib/services/services_linux.c op->opaque->stdout_fd = -1; opaque 346 lib/services/services_linux.c op->opaque->stderr_gsource = NULL; opaque 347 lib/services/services_linux.c if (op->opaque->stderr_fd > STDERR_FILENO) { opaque 348 lib/services/services_linux.c close(op->opaque->stderr_fd); opaque 350 lib/services/services_linux.c op->opaque->stderr_fd = -1; opaque 452 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); opaque 487 lib/services/services_linux.c op->opaque->repeat_timer = 0; opaque 522 lib/services/services_linux.c op->opaque->repeat_timer = g_timeout_add(op->interval_ms, opaque 528 lib/services/services_linux.c if (op->opaque->callback != NULL) { opaque 529 lib/services/services_linux.c op->opaque->callback(op); opaque 549 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 550 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 561 lib/services/services_linux.c source = &(op->opaque->stderr_gsource); opaque 562 lib/services/services_linux.c fd = op->opaque->stderr_fd; opaque 564 lib/services/services_linux.c source = &(op->opaque->stdout_gsource); opaque 565 lib/services/services_linux.c fd = op->opaque->stdout_fd; opaque 637 lib/services/services_linux.c free(op->opaque->exit_reason); opaque 638 lib/services/services_linux.c op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start); opaque 861 lib/services/services_linux.c const char *name = op->opaque->exec; opaque 974 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { opaque 977 lib/services/services_linux.c if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) { opaque 980 lib/services/services_linux.c op->id, op->opaque->gid, strerror(errno)); opaque 995 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { opaque 997 lib/services/services_linux.c "to %d: %s", op->id, op->opaque->uid, strerror(errno)); opaque 1004 lib/services/services_linux.c execvp(op->opaque->exec, op->opaque->args); opaque 1030 lib/services/services_linux.c fds[0].fd = op->opaque->stdout_fd; opaque 1034 lib/services/services_linux.c fds[1].fd = op->opaque->stderr_fd; opaque 1050 lib/services/services_linux.c svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 1054 lib/services/services_linux.c svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 1178 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { opaque 1181 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1189 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1200 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1213 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1238 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1256 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1264 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1273 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(errno), errno); opaque 1293 lib/services/services_linux.c op->opaque->stdout_fd = stdout_fd[0]; opaque 1294 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdout_fd); opaque 1298 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1301 lib/services/services_linux.c op->opaque->stderr_fd = stderr_fd[0]; opaque 1302 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stderr_fd); opaque 1306 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1309 lib/services/services_linux.c op->opaque->stdin_fd = stdin_fd[1]; opaque 1310 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 1313 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdin_fd); opaque 1316 lib/services/services_linux.c CRM_XS " fd=%d,rc=%d", op->opaque->exec, opaque 1317 lib/services/services_linux.c pcmk_rc_str(rc), op->opaque->stdin_fd, rc); opaque 1321 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 1322 lib/services/services_linux.c op->opaque->stdin_fd = -1; opaque 1326 lib/services/services_linux.c if (op->opaque->fork_callback) { opaque 1327 lib/services/services_linux.c op->opaque->fork_callback(op); opaque 1336 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); opaque 1341 lib/services/services_linux.c op->opaque->stdout_gsource = mainloop_add_fd(op->id, opaque 1343 lib/services/services_linux.c op->opaque->stdout_fd, op, opaque 1345 lib/services/services_linux.c op->opaque->stderr_gsource = mainloop_add_fd(op->id, opaque 1347 lib/services/services_linux.c op->opaque->stderr_fd, op, opaque 271 lib/services/services_lsb.c op->opaque->exec = pcmk__full_path(op->agent, PCMK__LSB_INIT_DIR); opaque 272 lib/services/services_lsb.c op->opaque->args[0] = strdup(op->opaque->exec); opaque 273 lib/services/services_lsb.c op->opaque->args[1] = strdup(op->action); opaque 274 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 41 lib/services/systemd.c op->opaque->exec = strdup("systemd-dbus"); opaque 42 lib/services/systemd.c if (op->opaque->exec == NULL) { opaque 409 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 774 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 1038 lib/services/systemd.c op->opaque->timerid = 0; opaque 1098 lib/services/systemd.c op->opaque->timerid = g_timeout_add(op->timeout + 5000, opaque 51 lib/services/upstart.c op->opaque->exec = strdup("upstart-dbus"); opaque 52 lib/services/upstart.c if (op->opaque->exec == NULL) { opaque 489 lib/services/upstart.c CRM_LOG_ASSERT(pending == op->opaque->pending);