ra_data 141 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 143 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_remove(ra_data->recurring_cmds, cmd); ra_data 145 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 146 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 160 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 162 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 327 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; ra_data 329 daemons/controld/controld_remote_ra.c if (ra_data) { ra_data 330 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status != takeover_complete) { ra_data 419 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 423 daemons/controld/controld_remote_ra.c if (!ra_data || !ra_data->cur_cmd) { ra_data 426 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 443 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 444 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 446 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 488 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 490 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd == cmd) { ra_data 491 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 493 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 494 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 533 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 548 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 553 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == expect_takeover) { ra_data 555 daemons/controld/controld_remote_ra.c ra_data->migrate_status = takeover_complete; ra_data 570 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == takeover_complete) { ra_data 578 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { ra_data 580 daemons/controld/controld_remote_ra.c if (ra_data->active == FALSE) { ra_data 587 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 588 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 602 daemons/controld/controld_remote_ra.c if (!ra_data->cur_cmd) { ra_data 607 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 640 daemons/controld/controld_remote_ra.c ra_data->active = TRUE; ra_data 667 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_append(ra_data->recurring_cmds, cmd); ra_data 675 daemons/controld/controld_remote_ra.c if (ra_data->active == TRUE && (cmd->cancel == FALSE)) { ra_data 692 daemons/controld/controld_remote_ra.c crm_debug("Event did not match %s action", ra_data->cur_cmd->action); ra_data 696 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 697 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 698 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 707 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 710 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 712 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status != takeover_complete) { ra_data 721 daemons/controld/controld_remote_ra.c ra_data->active = FALSE; ra_data 724 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 725 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 727 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 728 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 730 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; ra_data 731 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; ra_data 732 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 747 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 758 daemons/controld/controld_remote_ra.c ra_data->controlling_guest = TRUE; ra_data 778 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 782 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd) { ra_data 787 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { ra_data 788 daemons/controld/controld_remote_ra.c first = ra_data->cmds; ra_data 795 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); ra_data 799 daemons/controld/controld_remote_ra.c ra_data->migrate_status = 0; ra_data 805 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 827 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 835 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == expect_takeover) { ra_data 843 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 850 daemons/controld/controld_remote_ra.c ra_data->migrate_status = expect_takeover; ra_data 877 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 883 daemons/controld/controld_remote_ra.c ra_data = calloc(1, sizeof(remote_ra_data_t)); ra_data 884 daemons/controld/controld_remote_ra.c ra_data->work = mainloop_add_trigger(G_PRIORITY_HIGH, handle_remote_ra_exec, lrm_state); ra_data 885 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = ra_data; ra_data 891 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 893 daemons/controld/controld_remote_ra.c if (!ra_data) { ra_data 897 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 898 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 901 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 902 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 904 daemons/controld/controld_remote_ra.c mainloop_destroy_trigger(ra_data->work); ra_data 905 daemons/controld/controld_remote_ra.c free(ra_data); ra_data 1011 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1018 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1019 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); ra_data 1020 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = remove_cmd(ra_data->recurring_cmds, action, ra_data 1022 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1023 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1024 daemons/controld/controld_remote_ra.c (pcmk__str_eq(ra_data->cur_cmd->action, action, pcmk__str_casei))) { ra_data 1026 daemons/controld/controld_remote_ra.c ra_data->cur_cmd->cancel = TRUE; ra_data 1033 daemons/controld/controld_remote_ra.c handle_dup_monitor(remote_ra_data_t *ra_data, guint interval_ms, ra_data 1049 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1050 daemons/controld/controld_remote_ra.c ra_data->cur_cmd->cancel == FALSE && ra_data 1051 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1052 daemons/controld/controld_remote_ra.c pcmk__str_eq(ra_data->cur_cmd->action, "monitor", pcmk__str_casei)) { ra_data 1054 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 1058 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { ra_data 1066 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { ra_data 1133 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1153 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1155 daemons/controld/controld_remote_ra.c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); ra_data 1191 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 1192 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 1210 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1213 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 1214 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 1275 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1292 daemons/controld/controld_remote_ra.c ra_data->is_maintenance = maintenance; ra_data 1341 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1343 daemons/controld/controld_remote_ra.c return ra_data->is_maintenance; ra_data 1349 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1351 daemons/controld/controld_remote_ra.c return ra_data->controlling_guest;