opaque 180 include/crm/services.h svc_action_private_t *opaque; opaque 137 include/crm/stonith-ng.h void *opaque; opaque 146 include/crm/stonith-ng.h void *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 445 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); opaque 463 lib/services/services.c action->opaque->callback = cb; opaque 478 lib/services/services.c if (op->opaque->pending && (op->opaque->pending != pending)) { opaque 480 lib/services/services.c crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 482 lib/services/services.c crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending); opaque 484 lib/services/services.c dbus_pending_call_unref(op->opaque->pending); opaque 486 lib/services/services.c op->opaque->pending = pending; opaque 498 lib/services/services.c if ((op == NULL) || (op->opaque == NULL)) { opaque 503 lib/services/services.c if(op->opaque->timerid != 0) { opaque 505 lib/services/services.c g_source_remove(op->opaque->timerid); opaque 506 lib/services/services.c op->opaque->timerid = 0; opaque 509 lib/services/services.c if(op->opaque->pending) { opaque 510 lib/services/services.c if (dbus_pending_call_get_completed(op->opaque->pending)) { opaque 518 lib/services/services.c dbus_pending_call_cancel(op->opaque->pending); opaque 523 lib/services/services.c if (op->opaque->stderr_gsource) { opaque 524 lib/services/services.c mainloop_del_fd(op->opaque->stderr_gsource); opaque 525 lib/services/services.c op->opaque->stderr_gsource = NULL; opaque 528 lib/services/services.c if (op->opaque->stdout_gsource) { opaque 529 lib/services/services.c mainloop_del_fd(op->opaque->stdout_gsource); opaque 530 lib/services/services.c op->opaque->stdout_gsource = NULL; opaque 600 lib/services/services.c if (op->opaque->repeat_timer) { opaque 601 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 602 lib/services/services.c op->opaque->repeat_timer = 0; opaque 606 lib/services/services.c free(op->opaque->exec); opaque 608 lib/services/services.c for (i = 0; i < PCMK__NELEM(op->opaque->args); i++) { opaque 609 lib/services/services.c free(op->opaque->args[i]); opaque 612 lib/services/services.c free(op->opaque->exit_reason); opaque 613 lib/services/services.c free(op->opaque); opaque 641 lib/services/services.c if (op->opaque->repeat_timer) { opaque 642 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 643 lib/services/services.c op->opaque->repeat_timer = 0; opaque 712 lib/services/services.c if (op->opaque->callback) { opaque 713 lib/services/services.c op->opaque->callback(op); opaque 744 lib/services/services.c if (op->opaque->repeat_timer) { opaque 745 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 746 lib/services/services.c op->opaque->repeat_timer = 0; opaque 772 lib/services/services.c if (op->opaque->callback) { opaque 773 lib/services/services.c dup->opaque->callback = op->opaque->callback; opaque 779 lib/services/services.c if (op->opaque->repeat_timer) { opaque 780 lib/services/services.c g_source_remove(op->opaque->repeat_timer); opaque 781 lib/services/services.c op->opaque->repeat_timer = 0; opaque 868 lib/services/services.c op->opaque->callback = action_callback; opaque 871 lib/services/services.c op->opaque->fork_callback = action_fork_callback; opaque 1037 lib/services/services.c op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc); opaque 1274 lib/services/services.c if (!pcmk__str_eq(action->opaque->exit_reason, reason, opaque 1276 lib/services/services.c free(action->opaque->exit_reason); opaque 1277 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); opaque 1294 lib/services/services.c free(action->opaque->exit_reason); opaque 1295 lib/services/services.c action->opaque->exit_reason = NULL; opaque 1310 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 488 lib/services/services_linux.c op->opaque->repeat_timer = 0; opaque 523 lib/services/services_linux.c op->opaque->repeat_timer = g_timeout_add(op->interval_ms, opaque 529 lib/services/services_linux.c if (op->opaque->callback != NULL) { opaque 530 lib/services/services_linux.c op->opaque->callback(op); opaque 550 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 551 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 562 lib/services/services_linux.c source = &(op->opaque->stderr_gsource); opaque 563 lib/services/services_linux.c fd = op->opaque->stderr_fd; opaque 565 lib/services/services_linux.c source = &(op->opaque->stdout_gsource); opaque 566 lib/services/services_linux.c fd = op->opaque->stdout_fd; opaque 634 lib/services/services_linux.c free(op->opaque->exit_reason); opaque 635 lib/services/services_linux.c op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start); opaque 954 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { opaque 957 lib/services/services_linux.c if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) { opaque 960 lib/services/services_linux.c op->id, op->opaque->gid, strerror(errno)); opaque 975 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { opaque 977 lib/services/services_linux.c "to %d: %s", op->id, op->opaque->uid, strerror(errno)); opaque 984 lib/services/services_linux.c execvp(op->opaque->exec, op->opaque->args); opaque 1010 lib/services/services_linux.c fds[0].fd = op->opaque->stdout_fd; opaque 1014 lib/services/services_linux.c fds[1].fd = op->opaque->stderr_fd; opaque 1030 lib/services/services_linux.c svc_read_output(op->opaque->stdout_fd, op, FALSE); opaque 1034 lib/services/services_linux.c svc_read_output(op->opaque->stderr_fd, op, TRUE); opaque 1156 lib/services/services_linux.c if (stat(op->opaque->exec, &st) != 0) { opaque 1159 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(rc), rc); opaque 1167 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(rc), rc); opaque 1178 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(rc), rc); opaque 1191 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(rc), rc); opaque 1216 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(rc), rc); opaque 1234 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(errno), errno); opaque 1242 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(errno), errno); opaque 1251 lib/services/services_linux.c op->opaque->exec, pcmk_strerror(errno), errno); opaque 1271 lib/services/services_linux.c op->opaque->stdout_fd = stdout_fd[0]; opaque 1272 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdout_fd); opaque 1276 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1279 lib/services/services_linux.c op->opaque->stderr_fd = stderr_fd[0]; opaque 1280 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stderr_fd); opaque 1284 lib/services/services_linux.c op->opaque->exec, pcmk_rc_str(rc), rc); opaque 1287 lib/services/services_linux.c op->opaque->stdin_fd = stdin_fd[1]; opaque 1288 lib/services/services_linux.c if (op->opaque->stdin_fd >= 0) { opaque 1291 lib/services/services_linux.c rc = pcmk__set_nonblocking(op->opaque->stdin_fd); opaque 1294 lib/services/services_linux.c CRM_XS " fd=%d,rc=%d", op->opaque->exec, opaque 1295 lib/services/services_linux.c pcmk_rc_str(rc), op->opaque->stdin_fd, rc); opaque 1299 lib/services/services_linux.c close(op->opaque->stdin_fd); opaque 1300 lib/services/services_linux.c op->opaque->stdin_fd = -1; opaque 1304 lib/services/services_linux.c if (op->opaque->fork_callback) { opaque 1305 lib/services/services_linux.c op->opaque->fork_callback(op); opaque 1314 lib/services/services_linux.c crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid); opaque 1319 lib/services/services_linux.c op->opaque->stdout_gsource = mainloop_add_fd(op->id, opaque 1321 lib/services/services_linux.c op->opaque->stdout_fd, op, opaque 1323 lib/services/services_linux.c op->opaque->stderr_gsource = mainloop_add_fd(op->id, opaque 1325 lib/services/services_linux.c op->opaque->stderr_fd, op, opaque 273 lib/services/services_lsb.c op->opaque->exec = pcmk__full_path(op->agent, PCMK__LSB_INIT_DIR); opaque 274 lib/services/services_lsb.c op->opaque->args[0] = strdup(op->opaque->exec); opaque 275 lib/services/services_lsb.c op->opaque->args[1] = strdup(op->action); opaque 276 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 376 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 729 lib/services/systemd.c CRM_LOG_ASSERT(pending == op->opaque->pending); opaque 983 lib/services/systemd.c op->opaque->timerid = 0; opaque 1041 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 486 lib/services/upstart.c CRM_LOG_ASSERT(pending == op->opaque->pending);