ra_data 143 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 145 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_remove(ra_data->recurring_cmds, cmd); ra_data 147 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 148 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 162 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 164 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 324 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; ra_data 326 daemons/controld/controld_remote_ra.c if (ra_data) { ra_data 327 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status != takeover_complete) { ra_data 414 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 418 daemons/controld/controld_remote_ra.c if (!ra_data || !ra_data->cur_cmd) { ra_data 421 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 436 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 437 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 439 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 481 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 483 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd == cmd) { ra_data 484 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 486 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 487 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 527 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 542 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 547 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == expect_takeover) { ra_data 549 daemons/controld/controld_remote_ra.c ra_data->migrate_status = takeover_complete; ra_data 563 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == takeover_complete) { ra_data 571 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { ra_data 573 daemons/controld/controld_remote_ra.c if (ra_data->active == FALSE) { ra_data 580 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 581 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 595 daemons/controld/controld_remote_ra.c if (!ra_data->cur_cmd) { ra_data 600 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 631 daemons/controld/controld_remote_ra.c ra_data->active = TRUE; ra_data 659 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_append(ra_data->recurring_cmds, cmd); ra_data 667 daemons/controld/controld_remote_ra.c if (ra_data->active == TRUE && (cmd->cancel == FALSE)) { ra_data 682 daemons/controld/controld_remote_ra.c crm_debug("Event did not match %s action", ra_data->cur_cmd->action); ra_data 686 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 687 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 688 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 697 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 700 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 702 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status != takeover_complete) { ra_data 711 daemons/controld/controld_remote_ra.c ra_data->active = FALSE; ra_data 714 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 715 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 717 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 718 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 720 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; ra_data 721 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; ra_data 722 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 738 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 748 daemons/controld/controld_remote_ra.c ra_data->controlling_guest = TRUE; ra_data 760 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 764 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd) { ra_data 769 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { ra_data 770 daemons/controld/controld_remote_ra.c first = ra_data->cmds; ra_data 777 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); ra_data 781 daemons/controld/controld_remote_ra.c ra_data->migrate_status = 0; ra_data 787 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 814 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 822 daemons/controld/controld_remote_ra.c if (ra_data->migrate_status == expect_takeover) { ra_data 830 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 837 daemons/controld/controld_remote_ra.c ra_data->migrate_status = expect_takeover; ra_data 866 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 872 daemons/controld/controld_remote_ra.c ra_data = calloc(1, sizeof(remote_ra_data_t)); ra_data 873 daemons/controld/controld_remote_ra.c ra_data->work = mainloop_add_trigger(G_PRIORITY_HIGH, handle_remote_ra_exec, lrm_state); ra_data 874 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = ra_data; ra_data 880 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 882 daemons/controld/controld_remote_ra.c if (!ra_data) { ra_data 886 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 887 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 890 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 891 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 893 daemons/controld/controld_remote_ra.c mainloop_destroy_trigger(ra_data->work); ra_data 894 daemons/controld/controld_remote_ra.c free(ra_data); ra_data 1000 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1007 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1008 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); ra_data 1009 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = remove_cmd(ra_data->recurring_cmds, action, ra_data 1011 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1012 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1013 daemons/controld/controld_remote_ra.c (pcmk__str_eq(ra_data->cur_cmd->action, action, pcmk__str_casei))) { ra_data 1015 daemons/controld/controld_remote_ra.c ra_data->cur_cmd->cancel = TRUE; ra_data 1022 daemons/controld/controld_remote_ra.c handle_dup_monitor(remote_ra_data_t *ra_data, guint interval_ms, ra_data 1038 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1039 daemons/controld/controld_remote_ra.c ra_data->cur_cmd->cancel == FALSE && ra_data 1040 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1041 daemons/controld/controld_remote_ra.c pcmk__str_eq(ra_data->cur_cmd->action, "monitor", pcmk__str_casei)) { ra_data 1043 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 1047 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { ra_data 1055 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { ra_data 1105 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1119 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1121 daemons/controld/controld_remote_ra.c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); ra_data 1144 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 1145 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 1166 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1169 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 1170 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 1231 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1248 daemons/controld/controld_remote_ra.c ra_data->is_maintenance = maintenance; ra_data 1298 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1300 daemons/controld/controld_remote_ra.c return ra_data->is_maintenance; ra_data 1306 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1308 daemons/controld/controld_remote_ra.c return ra_data->controlling_guest;