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 413 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state? lrm_state->remote_ra_data : NULL; ra_data 415 daemons/controld/controld_remote_ra.c if (ra_data) { ra_data 416 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 505 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 509 daemons/controld/controld_remote_ra.c if (!ra_data || !ra_data->cur_cmd) { ra_data 512 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 529 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 530 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 532 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 574 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 576 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd == cmd) { ra_data 577 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 579 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 580 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 619 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 634 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 639 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, expect_takeover)) { ra_data 657 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 665 daemons/controld/controld_remote_ra.c if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) { ra_data 667 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, remote_active)) { ra_data 674 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 675 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 689 daemons/controld/controld_remote_ra.c if (!ra_data->cur_cmd) { ra_data 694 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 754 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = g_list_append(ra_data->recurring_cmds, cmd); ra_data 762 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, remote_active) && ra_data 780 daemons/controld/controld_remote_ra.c crm_debug("Event did not match %s action", ra_data->cur_cmd->action); ra_data 784 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 785 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 786 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 795 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 798 daemons/controld/controld_remote_ra.c ra_data = lrm_state->remote_ra_data; ra_data 800 daemons/controld/controld_remote_ra.c if (!pcmk_is_set(ra_data->status, takeover_complete)) { ra_data 812 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 813 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 815 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 816 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 818 daemons/controld/controld_remote_ra.c ra_data->cmds = NULL; ra_data 819 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = NULL; ra_data 820 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = NULL; ra_data 865 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 869 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd) { ra_data 874 daemons/controld/controld_remote_ra.c while (ra_data->cmds) { ra_data 875 daemons/controld/controld_remote_ra.c first = ra_data->cmds; ra_data 882 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); ra_data 892 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 914 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 922 daemons/controld/controld_remote_ra.c if (pcmk_is_set(ra_data->status, expect_takeover)) { ra_data 930 daemons/controld/controld_remote_ra.c ra_data->cur_cmd = cmd; ra_data 965 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 971 daemons/controld/controld_remote_ra.c ra_data = calloc(1, sizeof(remote_ra_data_t)); ra_data 972 daemons/controld/controld_remote_ra.c ra_data->work = mainloop_add_trigger(G_PRIORITY_HIGH, handle_remote_ra_exec, lrm_state); ra_data 973 daemons/controld/controld_remote_ra.c lrm_state->remote_ra_data = ra_data; ra_data 979 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 981 daemons/controld/controld_remote_ra.c if (!ra_data) { ra_data 985 daemons/controld/controld_remote_ra.c if (ra_data->cmds) { ra_data 986 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->cmds, free_cmd); ra_data 989 daemons/controld/controld_remote_ra.c if (ra_data->recurring_cmds) { ra_data 990 daemons/controld/controld_remote_ra.c g_list_free_full(ra_data->recurring_cmds, free_cmd); ra_data 992 daemons/controld/controld_remote_ra.c mainloop_destroy_trigger(ra_data->work); ra_data 993 daemons/controld/controld_remote_ra.c free(ra_data); ra_data 1100 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1107 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1108 daemons/controld/controld_remote_ra.c ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms); ra_data 1109 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = remove_cmd(ra_data->recurring_cmds, action, ra_data 1111 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1112 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1113 daemons/controld/controld_remote_ra.c (pcmk__str_eq(ra_data->cur_cmd->action, action, pcmk__str_casei))) { ra_data 1115 daemons/controld/controld_remote_ra.c cmd_set_flags(ra_data->cur_cmd, cmd_cancel); ra_data 1122 daemons/controld/controld_remote_ra.c handle_dup_monitor(remote_ra_data_t *ra_data, guint interval_ms, ra_data 1138 daemons/controld/controld_remote_ra.c if (ra_data->cur_cmd && ra_data 1139 daemons/controld/controld_remote_ra.c !pcmk_is_set(ra_data->cur_cmd->status, cmd_cancel) && ra_data 1140 daemons/controld/controld_remote_ra.c (ra_data->cur_cmd->interval_ms == interval_ms) && ra_data 1141 daemons/controld/controld_remote_ra.c pcmk__str_eq(ra_data->cur_cmd->action, "monitor", pcmk__str_casei)) { ra_data 1143 daemons/controld/controld_remote_ra.c cmd = ra_data->cur_cmd; ra_data 1147 daemons/controld/controld_remote_ra.c for (gIter = ra_data->recurring_cmds; gIter != NULL; gIter = gIter->next) { ra_data 1155 daemons/controld/controld_remote_ra.c for (gIter = ra_data->cmds; gIter != NULL; gIter = gIter->next) { ra_data 1222 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = NULL; ra_data 1242 daemons/controld/controld_remote_ra.c ra_data = connection_rsc->remote_ra_data; ra_data 1244 daemons/controld/controld_remote_ra.c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); ra_data 1280 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_append(ra_data->cmds, cmd); ra_data 1281 daemons/controld/controld_remote_ra.c mainloop_set_trigger(ra_data->work); ra_data 1299 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1302 daemons/controld/controld_remote_ra.c ra_data->recurring_cmds = fail_all_monitor_cmds(ra_data->recurring_cmds); ra_data 1303 daemons/controld/controld_remote_ra.c ra_data->cmds = fail_all_monitor_cmds(ra_data->cmds); ra_data 1431 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1432 daemons/controld/controld_remote_ra.c return pcmk_is_set(ra_data->status, remote_in_maint); ra_data 1438 daemons/controld/controld_remote_ra.c remote_ra_data_t *ra_data = lrm_state->remote_ra_data; ra_data 1439 daemons/controld/controld_remote_ra.c return pcmk_is_set(ra_data->status, controlling_guest);