ra_data 169 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 171 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_remove(ra_data->recurring_cmds, cmd); ra_data 173 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 174 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 188 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = connection_rsc->remote_ra_data; ra_data 190 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 430 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; ra_data 432 daemons/controld/controld_remote_ra.c if (ra_data) { ra_data 433 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 525 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 529 daemons/controld/controld_remote_ra.c if (!ra_data || !ra_data->cur_cmd) { ra_data 532 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 550 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 551 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 553 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 595 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 597 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd == cmd) { ra_data 598 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 600 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 601 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 641 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 656 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 661 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, expect_takeover)) { ra_data 679 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 687 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { ra_data 689 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, remote_active)) { ra_data 696 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 697 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 712 daemons/controld/controld_remote_ra.c if (!ra_data->cur_cmd) { ra_data 717 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 780 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_append(ra_data->recurring_cmds, cmd); ra_data 790 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, remote_active) && ra_data 810 daemons/controld/controld_remote_ra.c crm_debug("Event did not match %s action", ra_data->cur_cmd->action); ra_data 814 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 815 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 816 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 825 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 828 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 830 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 842 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 843 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 845 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 846 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 848 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; ra_data 849 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; ra_data 850 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 900 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 904 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd) { ra_data 909 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { ra_data 910 daemons/controld/controld_remote_ra.c first = ra_data->cmds; ra_data 917 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); ra_data 928 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 950 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 958 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, expect_takeover)) { ra_data 966 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 1002 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1008 daemons/controld/controld_remote_ra.c ra_data = pcmk__assert_alloc(1, sizeof(remote_ra_data_t)); ra_data 1009 daemons/controld/controld_remote_ra.c ra_data->work = mainloop_add_trigger(G_PRIORITY_HIGH, handle_remote_ra_exec, lrm_state); ra_data 1010 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = ra_data; ra_data 1016 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1018 daemons/controld/controld_remote_ra.c if (!ra_data) { ra_data 1022 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 1023 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 1026 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 1027 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 1029 daemons/controld/controld_remote_ra.c mainloop_destroy_trigger(ra_data->work); ra_data 1030 daemons/controld/controld_remote_ra.c free(ra_data); ra_data 1139 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1146 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1147 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); ra_data 1148 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = remove_cmd(ra_data->recurring_cmds, action, ra_data 1150 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1151 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1152 daemons/controld/controld_remote_ra.c (pcmk__str_eq(ra_data->cur_cmd->action, action, pcmk__str_casei))) { ra_data 1154 daemons/controld/controld_remote_ra.c cmd_set_flags(ra_data->cur_cmd, cmd_cancel); ra_data 1161 daemons/controld/controld_remote_ra.c handle_dup_monitor(remote_ra_data_t *ra_data, guint interval_ms, ra_data 1177 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1178 daemons/controld/controld_remote_ra.c !pcmk_is_set(ra_data->cur_cmd->status, cmd_cancel) && ra_data 1179 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) ra_data 1180 daemons/controld/controld_remote_ra.c && pcmk__str_eq(ra_data->cur_cmd->action, PCMK_ACTION_MONITOR, ra_data 1183 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 1187 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { ra_data 1196 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { ra_data 1264 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1284 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1286 daemons/controld/controld_remote_ra.c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); ra_data 1311 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 1312 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 1330 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1333 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 1334 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 1466 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1467 daemons/controld/controld_remote_ra.c return pcmk_is_set(ra_data->status, remote_in_maint); ra_data 1473 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1474 daemons/controld/controld_remote_ra.c return pcmk_is_set(ra_data->status, controlling_guest);