data 60 daemons/attrd/attrd_commands.c send_attrd_message(crm_node_t * node, xmlNode * data) data 62 daemons/attrd/attrd_commands.c crm_xml_add(data, F_TYPE, T_ATTRD); data 63 daemons/attrd/attrd_commands.c crm_xml_add(data, PCMK__XA_ATTR_VERSION, ATTRD_PROTOCOL_VERSION); data 64 daemons/attrd/attrd_commands.c attrd_xml_add_writer(data); data 65 daemons/attrd/attrd_commands.c return send_cluster_message(node, crm_msg_attrd, data, TRUE); data 69 daemons/attrd/attrd_commands.c attribute_timer_cb(gpointer data) data 71 daemons/attrd/attrd_commands.c attribute_t *a = data; data 78 daemons/attrd/attrd_commands.c free_attribute_value(gpointer data) data 80 daemons/attrd/attrd_commands.c attribute_value_t *v = data; data 89 daemons/attrd/attrd_commands.c free_attribute(gpointer data) data 91 daemons/attrd/attrd_commands.c attribute_t *a = data; data 951 daemons/attrd/attrd_commands.c attrd_peer_change_cb(enum crm_status_type kind, crm_node_t *peer, const void *data) data 48 daemons/attrd/pacemaker-attrd.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); data 50 daemons/attrd/pacemaker-attrd.c if(data == NULL) { data 55 daemons/attrd/pacemaker-attrd.c xml = string2xml(data); data 59 daemons/attrd/pacemaker-attrd.c crm_err("Bad message of class %d received from %s[%u]: '%.120s'", kind, from, nodeid, data); data 67 daemons/attrd/pacemaker-attrd.c free(data); data 223 daemons/attrd/pacemaker-attrd.c attrd_ipc_dispatch(qb_ipcs_connection_t * c, void *data, size_t size) data 233 daemons/attrd/pacemaker-attrd.c if (data == NULL) { data 237 daemons/attrd/pacemaker-attrd.c xml = pcmk__client_data2xml(client, data, &id, &flags); data 130 daemons/attrd/pacemaker-attrd.h void free_attribute(gpointer data); data 133 daemons/attrd/pacemaker-attrd.h void attrd_peer_change_cb(enum crm_status_type type, crm_node_t *peer, const void *data); data 60 daemons/based/based_callbacks.c gboolean cib_common_callback(qb_ipcs_connection_t * c, void *data, size_t size, data 85 daemons/based/based_callbacks.c cib_ipc_dispatch_rw(qb_ipcs_connection_t * c, void *data, size_t size) data 90 daemons/based/based_callbacks.c return cib_common_callback(c, data, size, TRUE); data 94 daemons/based/based_callbacks.c cib_ipc_dispatch_ro(qb_ipcs_connection_t * c, void *data, size_t size) data 99 daemons/based/based_callbacks.c return cib_common_callback(c, data, size, FALSE); data 207 daemons/based/based_callbacks.c cib_common_callback(qb_ipcs_connection_t * c, void *data, size_t size, gboolean privileged) data 213 daemons/based/based_callbacks.c xmlNode *op_request = pcmk__client_data2xml(cib_client, data, &id, &flags); data 278 daemons/based/based_callbacks.c cib_digester_cb(gpointer data) data 428 daemons/based/based_callbacks.c local_notify_destroy_callback(gpointer data) data 430 daemons/based/based_callbacks.c cib_local_notify_t *notify = data; data 1414 daemons/based/based_callbacks.c cib_force_exit(gpointer data) data 37 daemons/based/based_common.c xmlNode *data = NULL; data 45 daemons/based/based_common.c data = first_named_child(root, XML_TAG_CIB); data 48 daemons/based/based_common.c data = root; data 52 daemons/based/based_common.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { data 53 daemons/based/based_common.c data = get_object_root(section, data); data 57 daemons/based/based_common.c return data; data 61 daemons/based/based_common.c cib_prepare_none(xmlNode * request, xmlNode ** data, const char **section) data 63 daemons/based/based_common.c *data = NULL; data 69 daemons/based/based_common.c cib_prepare_data(xmlNode * request, xmlNode ** data, const char **section) data 74 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, *section); data 80 daemons/based/based_common.c cib_prepare_sync(xmlNode * request, xmlNode ** data, const char **section) data 82 daemons/based/based_common.c *data = NULL; data 88 daemons/based/based_common.c cib_prepare_diff(xmlNode * request, xmlNode ** data, const char **section) data 93 daemons/based/based_common.c *data = NULL; data 104 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, NULL); data 109 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) data 111 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); data 120 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) data 123 daemons/based/based_common.c *data = NULL; data 128 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) data 135 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) data 137 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); data 76 daemons/based/based_remote.c static int cib_remote_listen(gpointer data); data 77 daemons/based/based_remote.c static int cib_remote_msg(gpointer data); data 261 daemons/based/based_remote.c remote_auth_timeout_cb(gpointer data) data 263 daemons/based/based_remote.c pcmk__client_t *client = data; data 278 daemons/based/based_remote.c cib_remote_listen(gpointer data) data 284 daemons/based/based_remote.c int ssock = *(int *)data; data 467 daemons/based/based_remote.c cib_remote_msg(gpointer data) data 470 daemons/based/based_remote.c pcmk__client_t *client = data; data 563 daemons/based/based_remote.c struct pam_response **response, void *data) data 567 daemons/based/based_remote.c char *string = (char *)data; data 569 daemons/based/based_remote.c CRM_CHECK(data, return PAM_CONV_ERR); data 244 daemons/based/pacemaker-based.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); data 246 daemons/based/pacemaker-based.c if(data == NULL) { data 250 daemons/based/pacemaker-based.c xml = string2xml(data); data 252 daemons/based/pacemaker-based.c crm_err("Invalid XML: '%.120s'", data); data 253 daemons/based/pacemaker-based.c free(data); data 262 daemons/based/pacemaker-based.c free(data); data 278 daemons/based/pacemaker-based.c cib_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) data 285 daemons/based/pacemaker-based.c uint32_t old = data? *(const uint32_t *)data : 0; data 100 daemons/based/pacemaker-based.h xmlNode *data); data 103 daemons/controld/controld_callbacks.c peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) data 133 daemons/controld/controld_callbacks.c CRM_CHECK(!pcmk__str_eq(data, node->state, pcmk__str_casei), data 138 daemons/controld/controld_callbacks.c node->uname, state_text(node->state), state_text(data)); data 153 daemons/controld/controld_callbacks.c CRM_CHECK(data != NULL, return); data 154 daemons/controld/controld_callbacks.c old = *(const uint32_t *)data; data 19 daemons/controld/controld_callbacks.h extern void peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data); data 210 daemons/controld/controld_control.c fsa_data_t *fsa_data = gIter->data; data 373 daemons/controld/controld_control.c dispatch_controller_ipc(qb_ipcs_connection_t * c, void *data, size_t size) data 379 daemons/controld/controld_control.c xmlNode *msg = pcmk__client_data2xml(client, data, &id, &flags); data 34 daemons/controld/controld_corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); data 36 daemons/controld/controld_corosync.c if(data == NULL) { data 41 daemons/controld/controld_corosync.c xmlNode *xml = string2xml(data); data 44 daemons/controld/controld_corosync.c crm_err("Could not parse message content (%d): %.100s", kind, data); data 45 daemons/controld/controld_corosync.c free(data); data 65 daemons/controld/controld_corosync.c crm_err("Invalid message class (%d): %.100s", kind, data); data 67 daemons/controld/controld_corosync.c free(data); data 26 daemons/controld/controld_election.c election_win_cb(gpointer data) data 101 daemons/controld/controld_execd.c lrmd_event_data_t *existing = iter->data; data 127 daemons/controld/controld_execd.c lrmd_free_event(iter->data); data 140 daemons/controld/controld_execd.c history_free(gpointer data) data 142 daemons/controld/controld_execd.c rsc_history_t *history = (rsc_history_t*)data; data 520 daemons/controld/controld_execd.c struct ra_param_s *param = (struct ra_param_s *) iter->data; data 804 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, data 1206 daemons/controld/controld_execd.c struct cancel_data *data = user_data; data 1209 daemons/controld/controld_execd.c if (pcmk__str_eq(op->op_key, data->key, pcmk__str_none)) { data 1210 daemons/controld/controld_execd.c data->done = TRUE; data 1211 daemons/controld/controld_execd.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); data 1220 daemons/controld/controld_execd.c struct cancel_data data; data 1225 daemons/controld/controld_execd.c data.key = key; data 1226 daemons/controld/controld_execd.c data.rsc = rsc; data 1227 daemons/controld/controld_execd.c data.done = FALSE; data 1228 daemons/controld/controld_execd.c data.remove = remove; data 1229 daemons/controld/controld_execd.c data.lrm_state = lrm_state; data 1231 daemons/controld/controld_execd.c removed = g_hash_table_foreach_remove(lrm_state->pending_ops, cancel_action_by_key, &data); data 1234 daemons/controld/controld_execd.c return data.done; data 1580 daemons/controld/controld_execd.c xmlNode *data = do_lrm_query_internal(lrm_state, node_update_all); data 1581 daemons/controld/controld_execd.c xmlNode *reply = create_reply(msg, data); data 1588 daemons/controld/controld_execd.c free_xml(data); data 2131 daemons/controld/controld_execd.c lrm_state_t *lrm_state = state_entry->data; data 2263 daemons/controld/controld_execd.c struct stop_recurring_action_s data; data 2265 daemons/controld/controld_execd.c data.rsc = rsc; data 2266 daemons/controld/controld_execd.c data.lrm_state = lrm_state; data 2268 daemons/controld/controld_execd.c lrm_state->pending_ops, stop_recurring_action_by_rsc, &data); data 160 daemons/controld/controld_execd_state.c internal_lrm_state_destroy(gpointer data) data 162 daemons/controld/controld_execd_state.c lrm_state_t *lrm_state = data; data 296 daemons/controld/controld_fencing.c char *iter_name = tmp->data; data 318 daemons/controld/controld_fencing.c char *target = iter->data; data 338 daemons/controld/controld_fencing.c char *target = iter->data; data 375 daemons/controld/controld_fencing.c synapse_t *synapse = (synapse_t *) lpc->data; data 382 daemons/controld/controld_fencing.c crm_action_t *action = (crm_action_t *) lpc2->data; data 711 daemons/controld/controld_fencing.c tengine_stonith_callback(stonith_t *stonith, stonith_callback_data_t *data) data 717 daemons/controld/controld_fencing.c int call_id = data->call_id; data 718 daemons/controld/controld_fencing.c int rc = data->rc; data 719 daemons/controld/controld_fencing.c char *userdata = data->userdata; data 456 daemons/controld/controld_fsa.c } else if (stored_msg->data == NULL) { data 457 daemons/controld/controld_fsa.h void *data; data 218 daemons/controld/controld_join_dc.c if (msg_data->data == NULL) { data 36 daemons/controld/controld_lrm.h void history_free(gpointer data); data 46 daemons/controld/controld_messages.c I_NULL, cur_data ? cur_data->data : NULL, data 61 daemons/controld/controld_messages.c void *data, uint64_t with_actions, data 80 daemons/controld/controld_messages.c raised_from, fsa_cause2string(cause), data, old_len); data 87 daemons/controld/controld_messages.c if (data == NULL) { data 102 daemons/controld/controld_messages.c (data? "with" : "without")); data 109 daemons/controld/controld_messages.c fsa_data->data = NULL; data 118 daemons/controld/controld_messages.c if (data != NULL) { data 124 daemons/controld/controld_messages.c CRM_CHECK(((ha_msg_input_t *) data)->msg != NULL, data 128 daemons/controld/controld_messages.c fsa_data->data = copy_ha_msg_input(data); data 135 daemons/controld/controld_messages.c fsa_data->data = lrmd_copy_event((lrmd_event_data_t *) data); data 180 daemons/controld/controld_messages.c fsa_data_t *data = (fsa_data_t *) lpc->data; data 184 daemons/controld/controld_messages.c offset++, data->id, fsa_input2string(data->fsa_input), data 185 daemons/controld/controld_messages.c data->origin, data->data, data->data_type, data 186 daemons/controld/controld_messages.c fsa_cause2string(data->fsa_cause)); data 212 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { data 215 daemons/controld/controld_messages.c delete_ha_msg_input(fsa_data->data); data 219 daemons/controld/controld_messages.c foo = fsa_data->data; data 224 daemons/controld/controld_messages.c op = (lrmd_event_data_t *) fsa_data->data; data 229 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { data 261 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { data 269 daemons/controld/controld_messages.c ret_val = fsa_data->data; data 1225 daemons/controld/controld_messages.c xmlNode *data = get_message_xml(msg, F_CRM_DATA); data 1227 daemons/controld/controld_messages.c process_te_message(msg, data); data 1238 daemons/controld/controld_messages.c fsa_data.data = &fsa_input; data 40 daemons/controld/controld_messages.h void *data, uint64_t with_actions, data 50 daemons/controld/controld_messages.h ((fsa_data_t*)msg_data)->data, action, TRUE, __func__); \ data 58 daemons/controld/controld_messages.h #define register_fsa_input(cause, input, data) \ data 59 daemons/controld/controld_messages.h register_fsa_input_adv(cause, input, data, A_NOTHING, FALSE, __func__) data 61 daemons/controld/controld_messages.h #define register_fsa_input_before(cause, input, data) \ data 62 daemons/controld/controld_messages.h register_fsa_input_adv(cause, input, data, A_NOTHING, TRUE, __func__) data 64 daemons/controld/controld_messages.h #define register_fsa_input_later(cause, input, data) \ data 65 daemons/controld/controld_messages.h register_fsa_input_adv(cause, input, data, A_NOTHING, FALSE, __func__) data 135 daemons/controld/controld_remote_ra.c recurring_helper(gpointer data) data 137 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = data; data 154 daemons/controld/controld_remote_ra.c start_delay_helper(gpointer data) data 156 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = data; data 408 daemons/controld/controld_remote_ra.c retry_start_cmd_cb(gpointer data) data 410 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = data; data 447 daemons/controld/controld_remote_ra.c connection_takeover_timeout_cb(gpointer data) data 450 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = data; data 464 daemons/controld/controld_remote_ra.c monitor_timeout_cb(gpointer data) data 467 daemons/controld/controld_remote_ra.c remote_ra_cmd_t *cmd = data; data 768 daemons/controld/controld_remote_ra.c cmd = first->data; data 940 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 947 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 971 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 1038 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 1046 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 329 daemons/controld/controld_te_actions.c ha_msg_input_t data = { data 336 daemons/controld/controld_te_actions.c .data = &data, data 673 daemons/controld/controld_te_callbacks.c action_timer_callback(gpointer data) data 680 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); data 682 daemons/controld/controld_te_callbacks.c timer = (crm_action_timer_t *) data; data 40 daemons/controld/controld_te_events.c synapse_t *synapse = (synapse_t *) gIter->data; data 49 daemons/controld/controld_te_events.c crm_action_t *action = (crm_action_t *) gIter2->data; data 203 daemons/controld/controld_te_events.c synapse_t *synapse = (synapse_t *) item->data; data 206 daemons/controld/controld_te_events.c crm_action_t *action = (crm_action_t *) item2->data; data 224 daemons/controld/controld_te_events.c synapse_t *synapse = (synapse_t *) gIter->data; data 230 daemons/controld/controld_te_events.c crm_action_t *action = (crm_action_t *) gIter2->data; data 302 daemons/controld/controld_te_events.c for (gIter2 = ((synapse_t*)gIter->data)->actions; data 306 daemons/controld/controld_te_events.c match = (crm_action_t*)gIter2->data; data 107 daemons/controld/controld_te_utils.c abort_timer_popped(gpointer data) data 379 daemons/controld/controld_throttle.c throttle_timer_cb(gpointer data) data 113 daemons/controld/controld_timers.c crm_timer_popped(gpointer data) data 115 daemons/controld/controld_timers.c fsa_timer_t *timer = (fsa_timer_t *) data; data 21 daemons/controld/controld_timers.h gboolean (*callback) (gpointer data); // What do if timer pops data 42 daemons/controld/controld_transition.h gboolean action_timer_callback(gpointer data); data 22 daemons/controld/controld_utils.h # define fsa_cib_update(section, data, options, call_id, user_name) \ data 25 daemons/controld/controld_utils.h fsa_cib_conn, CIB_OP_MODIFY, NULL, section, data, \ data 33 daemons/controld/controld_utils.h fsa_cib_anon_update(const char *section, xmlNode *data) { data 39 daemons/controld/controld_utils.h fsa_cib_conn->cmds->modify(fsa_cib_conn, section, data, opts); data 44 daemons/controld/controld_utils.h fsa_cib_anon_update_discard_reply(const char *section, xmlNode *data) { data 50 daemons/controld/controld_utils.h fsa_cib_conn->cmds->modify(fsa_cib_conn, section, data, opts); data 120 daemons/controld/controld_utils.h # define fsa_register_cib_callback(id, flag, data, fn) do { \ data 124 daemons/controld/controld_utils.h flag, data, #fn, fn, free); \ data 210 daemons/execd/cts-exec-helper.c timeout_err(gpointer data) data 389 daemons/execd/cts-exec-helper.c lrmd_op_info_t *op_info = op_item->data; data 336 daemons/execd/execd_commands.c stonith_recurring_op_helper(gpointer data) data 338 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = data; data 373 daemons/execd/execd_commands.c start_delay_helper(gpointer data) data 375 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = data; data 400 daemons/execd/execd_commands.c dup = gIter->data; data 411 daemons/execd/execd_commands.c dup = gIter->data; data 824 daemons/execd/execd_commands.c struct notify_new_client_data *data = user_data; data 826 daemons/execd/execd_commands.c if (!pcmk__str_eq(client->id, data->new_client->id, pcmk__str_casei)) { data 827 daemons/execd/execd_commands.c send_client_notify(key, (gpointer) client, (gpointer) data->notify); data 834 daemons/execd/execd_commands.c struct notify_new_client_data data; data 836 daemons/execd/execd_commands.c data.new_client = new_client; data 837 daemons/execd/execd_commands.c data.notify = create_xml_node(NULL, T_LRMD_NOTIFY); data 838 daemons/execd/execd_commands.c crm_xml_add(data.notify, F_LRMD_ORIGIN, __func__); data 839 daemons/execd/execd_commands.c crm_xml_add(data.notify, F_LRMD_OPERATION, LRMD_OP_NEW_CLIENT); data 840 daemons/execd/execd_commands.c pcmk__foreach_ipc_client(notify_one_client, &data); data 841 daemons/execd/execd_commands.c free_xml(data.notify); data 1146 daemons/execd/execd_commands.c lrmd_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data) data 1148 daemons/execd/execd_commands.c stonith_action_complete(data->userdata, data->rc); data 1195 daemons/execd/execd_commands.c stonith_action_complete(cmd_iter->data, -ENOTCONN); data 1411 daemons/execd/execd_commands.c cmd = first->data; data 1455 daemons/execd/execd_commands.c free_rsc(gpointer data) data 1458 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = data; data 1465 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1479 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1681 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1696 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1744 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = cmd_iter->data; data 1784 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = item->data; data 1922 daemons/execd/execd_commands.c xmlNode *data = get_message_xml(request, F_LRMD_CALLDATA); data 1924 daemons/execd/execd_commands.c CRM_LOG_ASSERT(data != NULL); data 1925 daemons/execd/execd_commands.c pcmk__valid_sbd_timeout(crm_element_value(data, F_LRMD_WATCHDOG)); data 43 daemons/execd/pacemaker-execd.c static gboolean lrmd_exit(gpointer data); data 109 daemons/execd/pacemaker-execd.c lrmd_ipc_dispatch(qb_ipcs_connection_t * c, void *data, size_t size) data 114 daemons/execd/pacemaker-execd.c xmlNode *request = pcmk__client_data2xml(client, data, &id, &flags); data 266 daemons/execd/pacemaker-execd.c lrmd_exit(gpointer data) data 65 daemons/execd/pacemaker-execd.h void free_rsc(gpointer data); data 51 daemons/execd/remoted_proxy.c return ipc_providers? (pcmk__client_t *) (ipc_providers->data) : NULL; data 215 daemons/execd/remoted_proxy.c ipc_proxy_dispatch(qb_ipcs_connection_t * c, void *data, size_t size) data 242 daemons/execd/remoted_proxy.c request = pcmk__client_data2xml(client, data, &id, &flags); data 406 daemons/execd/remoted_proxy.c ipc_client = gIter->data; data 86 daemons/execd/remoted_tls.c lrmd_remote_client_msg(gpointer data) data 91 daemons/execd/remoted_tls.c pcmk__client_t *client = data; data 184 daemons/execd/remoted_tls.c lrmd_auth_timeout_cb(gpointer data) data 186 daemons/execd/remoted_tls.c pcmk__client_t *client = data; data 203 daemons/execd/remoted_tls.c lrmd_remote_listen(gpointer data) data 368 daemons/execd/remoted_tls.c gnutls_free(psk_key.data); data 132 daemons/fenced/cts-fence-helper.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data) data 134 daemons/fenced/cts-fence-helper.c crm_notice("Call id %d completed with rc %d", data->call_id, data->rc); data 377 daemons/fenced/cts-fence-helper.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data) data 379 daemons/fenced/cts-fence-helper.c callback_rc = data->rc; data 112 daemons/fenced/fenced_commands.c xmlNode * data, int rc); data 294 daemons/fenced/fenced_commands.c async_command_t *cmd = gIter->data; data 348 daemons/fenced/fenced_commands.c async_command_t *pending_op = gIter->data; data 459 daemons/fenced/fenced_commands.c start_delay_helper(gpointer data) data 461 daemons/fenced/fenced_commands.c async_command_t *cmd = data; data 548 daemons/fenced/fenced_commands.c free_device(gpointer data) data 551 daemons/fenced/fenced_commands.c stonith_device_t *device = data; data 557 daemons/fenced/fenced_commands.c async_command_t *cmd = gIter->data; data 1254 daemons/fenced/fenced_commands.c free_topology_entry(gpointer data) data 1256 daemons/fenced/fenced_commands.c stonith_topology_t *tp = data; data 1906 daemons/fenced/fenced_commands.c stonith_device_t *device = g_hash_table_lookup(device_list, lpc->data); data 2168 daemons/fenced/fenced_commands.c next_device = g_hash_table_lookup(device_list, iter->data); data 2180 daemons/fenced/fenced_commands.c next_device = g_hash_table_lookup(device_list, cmd->device_next->data); data 2205 daemons/fenced/fenced_commands.c async_command_t *cmd_other = gIter->data; data 2277 daemons/fenced/fenced_commands.c device = g_hash_table_lookup(device_list, devices->data); data 2342 daemons/fenced/fenced_commands.c stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, int rc) data 2377 daemons/fenced/fenced_commands.c (data? "" : "out"), rc); data 2383 daemons/fenced/fenced_commands.c if (data != NULL) { data 2384 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); data 2391 daemons/fenced/fenced_commands.c stonith_construct_async_reply(async_command_t * cmd, const char *output, xmlNode * data, int rc) data 2416 daemons/fenced/fenced_commands.c if (data != NULL) { data 2418 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); data 2519 daemons/fenced/fenced_commands.c remote_fencing_op_t *other = dup_iter->data; data 2543 daemons/fenced/fenced_commands.c xmlNode *data = NULL; data 2707 daemons/fenced/fenced_commands.c rc = stonith_fence_history(request, &data, remote_peer, call_options); data 2712 daemons/fenced/fenced_commands.c free_xml(data); data 2791 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); data 2796 daemons/fenced/fenced_commands.c free_xml(data); data 46 daemons/fenced/fenced_history.c xmlNode *data = create_xml_node(NULL, __func__); data 49 daemons/fenced/fenced_history.c crm_xml_add(data, F_STONITH_TARGET, target); data 56 daemons/fenced/fenced_history.c add_node_copy(data, history); data 58 daemons/fenced/fenced_history.c add_message_xml(bcast, F_STONITH_CALLDATA, data); data 61 daemons/fenced/fenced_history.c free_xml(data); data 80 daemons/fenced/fenced_remote.c static void remote_op_done(remote_fencing_op_t * op, xmlNode * data, int rc, int dup); data 81 daemons/fenced/fenced_remote.c extern xmlNode *stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, data 95 daemons/fenced/fenced_remote.c free_remote_query(gpointer data) data 97 daemons/fenced/fenced_remote.c if (data) { data 98 daemons/fenced/fenced_remote.c st_query_result_t *query = data; data 134 daemons/fenced/fenced_remote.c struct peer_count_data *data = user_data; data 136 daemons/fenced/fenced_remote.c if (!props->executed[data->op->phase] data 137 daemons/fenced/fenced_remote.c && (!data->verified_only || props->verified)) { data 138 daemons/fenced/fenced_remote.c ++(data->count); data 156 daemons/fenced/fenced_remote.c struct peer_count_data data; data 158 daemons/fenced/fenced_remote.c data.op = op; data 159 daemons/fenced/fenced_remote.c data.verified_only = verified_only; data 160 daemons/fenced/fenced_remote.c data.count = 0; data 162 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); data 164 daemons/fenced/fenced_remote.c return data.count; data 232 daemons/fenced/fenced_remote.c free_remote_op(gpointer data) data 234 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = data; data 327 daemons/fenced/fenced_remote.c GListPtr match = g_list_find_custom(op->devices_list, iter->data, data 331 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); data 403 daemons/fenced/fenced_remote.c handle_local_reply_and_notify(remote_fencing_op_t * op, xmlNode * data, int rc) data 415 daemons/fenced/fenced_remote.c crm_xml_add_int(data, "state", op->state); data 416 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); data 417 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_OPERATION, op->action); data 419 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); data 436 daemons/fenced/fenced_remote.c handle_duplicates(remote_fencing_op_t * op, xmlNode * data, int rc) data 441 daemons/fenced/fenced_remote.c remote_fencing_op_t *other = iter->data; data 448 daemons/fenced/fenced_remote.c remote_op_done(other, data, rc, TRUE); data 484 daemons/fenced/fenced_remote.c remote_op_done(remote_fencing_op_t * op, xmlNode * data, int rc, int dup) data 505 daemons/fenced/fenced_remote.c if (!op->delegate && data && rc != -ENODEV && rc != -EHOSTUNREACH) { data 506 daemons/fenced/fenced_remote.c xmlNode *ndata = get_xpath_object("//@" F_STONITH_DELEGATE, data, data 511 daemons/fenced/fenced_remote.c op->delegate = crm_element_value_copy(data, F_ORIG); data 515 daemons/fenced/fenced_remote.c if (data == NULL) { data 516 daemons/fenced/fenced_remote.c data = create_xml_node(NULL, "remote-op"); data 517 daemons/fenced/fenced_remote.c local_data = data; data 522 daemons/fenced/fenced_remote.c } else if (crm_element_value(data, F_STONITH_MERGED)) { data 529 daemons/fenced/fenced_remote.c subt = crm_element_value(data, F_SUBTYPE); data 549 daemons/fenced/fenced_remote.c handle_local_reply_and_notify(op, data, rc); data 552 daemons/fenced/fenced_remote.c handle_duplicates(op, data, rc); data 634 daemons/fenced/fenced_remote.c remote_op_query_timeout(gpointer data) data 636 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = data; data 711 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); data 726 daemons/fenced/fenced_remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); data 1193 daemons/fenced/fenced_remote.c st_query_result_t *peer = iter->data; data 1231 daemons/fenced/fenced_remote.c device = op->devices->data; data 1368 daemons/fenced/fenced_remote.c const st_query_result_t *peer = iter->data; data 1370 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, device_list->data)) { data 1372 daemons/fenced/fenced_remote.c device_list->data); data 1433 daemons/fenced/fenced_remote.c remote_fencing_op_t *dup = iter->data; data 1436 daemons/fenced/fenced_remote.c report_timeout_period(iter->data, op_timeout); data 1527 daemons/fenced/fenced_remote.c device = op->devices->data; data 1708 daemons/fenced/fenced_remote.c st_query_result_t *peer = iter->data; data 1713 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); data 2026 daemons/fenced/fenced_remote.c if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) { data 2029 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); data 79 daemons/fenced/pacemaker-fenced.c st_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 93 daemons/fenced/pacemaker-fenced.c request = pcmk__client_data2xml(c, data, &id, &flags); data 189 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); data 191 daemons/fenced/pacemaker-fenced.c if(data == NULL) { data 195 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); data 197 daemons/fenced/pacemaker-fenced.c crm_err("Invalid XML: '%.120s'", data); data 198 daemons/fenced/pacemaker-fenced.c free(data); data 207 daemons/fenced/pacemaker-fenced.c free(data); data 350 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) data 362 daemons/fenced/pacemaker-fenced.c if (data != NULL) { data 363 daemons/fenced/pacemaker-fenced.c add_message_xml(update_msg, F_STONITH_CALLDATA, data); data 404 daemons/fenced/pacemaker-fenced.c xmlNode *data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 406 daemons/fenced/pacemaker-fenced.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 407 daemons/fenced/pacemaker-fenced.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 408 daemons/fenced/pacemaker-fenced.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 410 daemons/fenced/pacemaker-fenced.c rc = stonith_level_remove(data, &desc); data 413 daemons/fenced/pacemaker-fenced.c free_xml(data); data 593 daemons/fenced/pacemaker-fenced.c cib_device_update(gIter->data, data_set); data 644 daemons/fenced/pacemaker-fenced.c xmlNode *data; data 668 daemons/fenced/pacemaker-fenced.c data = create_device_registration_xml(rsc_name(rsc), st_namespace_any, data 671 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(data, NULL, TRUE); data 673 daemons/fenced/pacemaker-fenced.c free_xml(data); data 707 daemons/fenced/pacemaker-fenced.c cib_device_update(gIter->data, fenced_data_set); data 1249 daemons/fenced/pacemaker-fenced.c st_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) data 232 daemons/fenced/pacemaker-fenced.h xmlNode *stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, data 238 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); data 373 daemons/pacemakerd/pacemakerd.c escalate_shutdown(gpointer data) data 376 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = data; data 562 daemons/pacemakerd/pacemakerd.c pcmk_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 572 daemons/pacemakerd/pacemakerd.c msg = pcmk__client_data2xml(c, data, &id, &flags); data 222 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 227 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *msg = pcmk__client_data2xml(c, data, &id, &flags); data 105 include/crm/cib/cib_types.h int (*create) (cib_t *cib, const char *section, xmlNode *data, data 107 include/crm/cib/cib_types.h int (*modify) (cib_t *cib, const char *section, xmlNode *data, data 109 include/crm/cib/cib_types.h int (*update) (cib_t *cib, const char *section, xmlNode *data, data 111 include/crm/cib/cib_types.h int (*replace) (cib_t *cib, const char *section, xmlNode *data, data 113 include/crm/cib/cib_types.h int (*remove) (cib_t *cib, const char *section, xmlNode *data, data 116 include/crm/cib/cib_types.h int (*delete_absolute) (cib_t *cib, const char *section, xmlNode *data, data 125 include/crm/cib/internal.h const char *section, xmlNode * data, int call_options, data 129 include/crm/cib/internal.h void cib_native_notify(gpointer data, gpointer user_data); data 206 include/crm/cib/internal.h const char *section, xmlNode * data, data 121 include/crm/cluster.h xmlNode * data, gboolean ordered); data 155 include/crm/cluster.h gboolean send_cluster_text(enum crm_ais_msg_class msg_class, const char *data, data 66 include/crm/cluster/internal.h char data[0]; data 321 include/crm/cluster/internal.h gboolean check_message_sanity(const AIS_Message * msg, const char *data); data 87 include/crm/common/ipc_controld.h } data; data 218 include/crm/common/ipc_internal.h xmlNode *pcmk__client_data2xml(pcmk__client_t *c, void *data, data 58 include/crm/common/ipc_pacemakerd.h } data; data 124 include/crm/common/logging.h const char *prefix, xmlNode * data, int depth, gboolean formatted); data 56 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); data 57 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); data 58 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); data 59 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); data 61 include/crm/common/nvpair.h int crm_element_value_timeval(const xmlNode *data, const char *name_sec, data 63 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); data 40 include/crm/common/strings_internal.h int pcmk__compress(const char *data, unsigned int length, unsigned int max, data 294 include/crm/common/xml.h void crm_destroy_xml(gpointer data); data 172 include/crm/compatibility.h #define add_cib_op_callback(cib, id, flag, data, fn) do { \ data 173 include/crm/compatibility.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ data 62 include/crm/lrmd_internal.h void remote_proxy_disconnected(gpointer data); data 63 include/crm/lrmd_internal.h void remote_proxy_free(gpointer data); data 478 include/crm/pengine/internal.h extern void destroy_ticket(gpointer data); data 325 include/crm/stonith-ng.h void (*callback)(stonith_t *st, stonith_callback_data_t *data)); data 135 lib/cib/cib_client.c cib_client_create(cib_t * cib, const char *section, xmlNode * data, int call_options) data 138 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); data 142 lib/cib/cib_client.c cib_client_modify(cib_t * cib, const char *section, xmlNode * data, int call_options) data 145 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); data 149 lib/cib/cib_client.c cib_client_update(cib_t * cib, const char *section, xmlNode * data, int call_options) data 152 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); data 156 lib/cib/cib_client.c cib_client_replace(cib_t * cib, const char *section, xmlNode * data, int call_options) data 159 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); data 163 lib/cib/cib_client.c cib_client_delete(cib_t * cib, const char *section, xmlNode * data, int call_options) data 166 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); data 170 lib/cib/cib_client.c cib_client_delete_absolute(cib_t * cib, const char *section, xmlNode * data, int call_options) data 173 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); data 184 lib/cib/cib_client.c cib_destroy_op_callback(gpointer data) data 186 lib/cib/cib_client.c cib_callback_client_t *blob = data; data 491 lib/cib/cib_client.c cib_notify_client_t *client = (cib_notify_client_t *)l->data; data 526 lib/cib/cib_client.c cib_notify_client_t *list_client = list_item->data; data 571 lib/cib/cib_client.c cib_async_timeout_handler(gpointer data) data 573 lib/cib/cib_client.c struct timer_rec_s *timer = data; data 59 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options); data 62 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options, data 782 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options) data 784 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, data 790 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options, data 843 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); data 851 lib/cib/cib_file.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { data 852 lib/cib/cib_file.c data = get_object_root(section, data); data 856 lib/cib/cib_file.c section, request, data, TRUE, &changed, in_mem_cib, &result_cib, &cib_diff, data 42 lib/cib/cib_native.c xmlNode * data, xmlNode ** output_data, int call_options); data 45 lib/cib/cib_native.c const char *section, xmlNode * data, xmlNode ** output_data, data 297 lib/cib/cib_native.c xmlNode * data, xmlNode ** output_data, int call_options) data 300 lib/cib/cib_native.c data, output_data, call_options, NULL); data 305 lib/cib/cib_native.c xmlNode * data, xmlNode ** output_data, int call_options, data 342 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, data 75 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, data 491 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, const char *name) data 521 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, data 504 lib/cib/cib_utils.c xmlNode * data, int call_options, const char *user_name) data 527 lib/cib/cib_utils.c if (data != NULL) { data 528 lib/cib/cib_utils.c add_message_xml(op_msg, F_CIB_CALLDATA, data); data 585 lib/cib/cib_utils.c cib_native_notify(gpointer data, gpointer user_data) data 588 lib/cib/cib_utils.c cib_notify_client_t *entry = data; data 710 lib/cib/cib_utils.c const char *section, xmlNode * data, data 714 lib/cib/cib_utils.c const char *section, xmlNode * data, data 724 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); data 104 lib/cluster/cluster.c send_cluster_message(crm_node_t * node, enum crm_ais_msg_types service, xmlNode * data, data 110 lib/cluster/cluster.c return send_cluster_message_cs(data, FALSE, node, service); data 421 lib/cluster/corosync.c check_message_sanity(const AIS_Message * msg, const char *data) data 448 lib/cluster/corosync.c if (sane && data && msg->is_compressed == FALSE) { data 449 lib/cluster/corosync.c int str_size = strlen(data) + 1; data 461 lib/cluster/corosync.c crm_debug("bad_data[%d]: %d / '%c'", lpc, data[lpc], data[lpc]); data 37 lib/cluster/cpg.c gboolean(*pcmk_cpg_dispatch_fn) (int kind, const char *from, const char *data) = NULL; data 136 lib/cluster/cpg.c static ssize_t crm_cs_flush(gpointer data); data 139 lib/cluster/cpg.c crm_cs_flush_cb(gpointer data) data 142 lib/cluster/cpg.c crm_cs_flush(data); data 148 lib/cluster/cpg.c crm_cs_flush(gpointer data) data 154 lib/cluster/cpg.c cpg_handle_t *handle = (cpg_handle_t *)data; data 176 lib/cluster/cpg.c struct iovec *iov = cs_message_queue->data; data 212 lib/cluster/cpg.c cs_message_timer = g_timeout_add(delay_ms, crm_cs_flush_cb, data); data 255 lib/cluster/cpg.c char *data = NULL; data 318 lib/cluster/cpg.c rc = BZ2_bzBuffToBuffDecompress(uncompressed, &new_size, msg->data, msg->compressed_size, 1, 0); data 330 lib/cluster/cpg.c data = uncompressed; data 332 lib/cluster/cpg.c } else if (check_message_sanity(msg, data) == FALSE) { data 335 lib/cluster/cpg.c } else if (pcmk__str_eq("identify", data, pcmk__str_casei)) { data 343 lib/cluster/cpg.c data = strdup(msg->data); data 349 lib/cluster/cpg.c crm_trace("Payload: %.200s", data); data 350 lib/cluster/cpg.c return data; data 360 lib/cluster/cpg.c free(data); data 638 lib/cluster/cpg.c char *data = NULL; data 640 lib/cluster/cpg.c data = dump_xml_unformatted(msg); data 641 lib/cluster/cpg.c rc = send_cluster_text(crm_class_cluster, data, local, node, dest); data 642 lib/cluster/cpg.c free(data); data 647 lib/cluster/cpg.c send_cluster_text(enum crm_ais_msg_class msg_class, const char *data, data 677 lib/cluster/cpg.c if (data == NULL) { data 678 lib/cluster/cpg.c data = ""; data 722 lib/cluster/cpg.c msg->size = 1 + strlen(data); data 727 lib/cluster/cpg.c memcpy(msg->data, data, msg->size); data 732 lib/cluster/cpg.c char *uncompressed = strdup(data); data 739 lib/cluster/cpg.c memcpy(msg->data, compressed, new_size); data 748 lib/cluster/cpg.c memcpy(msg->data, data, msg->size); data 762 lib/cluster/cpg.c msg->compressed_size, data); data 766 lib/cluster/cpg.c msg->size, data); data 168 lib/cluster/membership.c struct refresh_data *data = user_data; data 169 lib/cluster/membership.c const char *remote = crm_element_value(result, data->field); data 176 lib/cluster/membership.c if (data->has_state) { data 236 lib/cluster/membership.c struct refresh_data data; data 247 lib/cluster/membership.c data.field = "id"; data 248 lib/cluster/membership.c data.has_state = TRUE; data 250 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 258 lib/cluster/membership.c data.field = "value"; data 259 lib/cluster/membership.c data.has_state = FALSE; data 261 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 262 lib/cluster/membership.c data.field = "id"; data 263 lib/cluster/membership.c data.has_state = FALSE; data 265 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 376 lib/cluster/membership.c destroy_crm_node(gpointer data) data 378 lib/cluster/membership.c crm_node_t *node = data; data 35 lib/common/acl.c free_acl(void *data) data 37 lib/common/acl.c if (data) { data 38 lib/common/acl.c xml_acl_t *acl = data; data 257 lib/common/acl.c xml_acl_t *acl = aIter->data; data 446 lib/common/acl.c xml_acl_t *acl = aIter->data; data 128 lib/common/cib_secrets.c key = (char *)(l->data); data 27 lib/common/cmdline.c bump_verbosity(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 28 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; data 52 lib/common/cmdline.c free_common_args(gpointer data) { data 53 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; data 82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, data 109 lib/common/crmcommon_private.h int line, const char *prefix, xmlNode *data, int depth, data 60 lib/common/ipc_controld.c free_data(void *data) data 62 lib/common/ipc_controld.c free(((struct controld_api_private_s *) data)->client_uuid); data 63 lib/common/ipc_controld.c free(data); data 95 lib/common/ipc_controld.c set_node_info_data(pcmk_controld_api_reply_t *data, xmlNode *msg_data) data 97 lib/common/ipc_controld.c data->reply_type = pcmk_controld_reply_info; data 101 lib/common/ipc_controld.c data->data.node_info.have_quorum = xml_true(msg_data, XML_ATTR_HAVE_QUORUM); data 102 lib/common/ipc_controld.c data->data.node_info.is_remote = xml_true(msg_data, XML_NODE_IS_REMOTE); data 103 lib/common/ipc_controld.c crm_element_value_int(msg_data, XML_ATTR_ID, &(data->data.node_info.id)); data 104 lib/common/ipc_controld.c data->data.node_info.uuid = crm_element_value(msg_data, XML_ATTR_UUID); data 105 lib/common/ipc_controld.c data->data.node_info.uname = crm_element_value(msg_data, XML_ATTR_UNAME); data 106 lib/common/ipc_controld.c data->data.node_info.state = crm_element_value(msg_data, XML_NODE_IS_PEER); data 110 lib/common/ipc_controld.c set_ping_data(pcmk_controld_api_reply_t *data, xmlNode *msg_data) data 112 lib/common/ipc_controld.c data->reply_type = pcmk_controld_reply_ping; data 116 lib/common/ipc_controld.c data->data.ping.sys_from = crm_element_value(msg_data, data 118 lib/common/ipc_controld.c data->data.ping.fsa_state = crm_element_value(msg_data, data 120 lib/common/ipc_controld.c data->data.ping.result = crm_element_value(msg_data, XML_PING_ATTR_STATUS); data 124 lib/common/ipc_controld.c set_nodes_data(pcmk_controld_api_reply_t *data, xmlNode *msg_data) data 128 lib/common/ipc_controld.c data->reply_type = pcmk_controld_reply_nodes; data 141 lib/common/ipc_controld.c data->data.nodes = g_list_prepend(data->data.nodes, node_info); data 220 lib/common/ipc_controld.c reply_data.data.resource.node_state = msg_data; data 239 lib/common/ipc_controld.c g_list_free_full(reply_data.data.nodes, free); data 88 lib/common/ipc_pacemakerd.c free_data(void *data) data 90 lib/common/ipc_pacemakerd.c free(((struct pacemakerd_api_private_s *) data)->client_uuid); data 91 lib/common/ipc_pacemakerd.c free(data); data 174 lib/common/ipc_pacemakerd.c reply_data.data.ping.state = data 177 lib/common/ipc_pacemakerd.c reply_data.data.ping.status = data 180 lib/common/ipc_pacemakerd.c reply_data.data.ping.last_good = (time_t) value_ll; data 181 lib/common/ipc_pacemakerd.c reply_data.data.ping.sys_from = crm_element_value(msg_data, data 280 lib/common/ipc_server.c free_event(gpointer data) data 282 lib/common/ipc_server.c pcmk_free_ipc_event((struct iovec *) data); data 383 lib/common/ipc_server.c pcmk__client_data2xml(pcmk__client_t *c, void *data, uint32_t *id, data 388 lib/common/ipc_server.c char *text = ((char *)data) + sizeof(pcmk__ipc_header_t); data 389 lib/common/ipc_server.c pcmk__ipc_header_t *header = data; data 396 lib/common/ipc_server.c *id = ((struct qb_ipc_response_header *)data)->id; data 441 lib/common/ipc_server.c crm_ipcs_flush_events_cb(gpointer data) data 443 lib/common/ipc_server.c pcmk__client_t *c = data; data 23 lib/common/lists.c if(cmp(candidate->data, item->data) == 0) { data 24 lib/common/lists.c result = g_list_remove(result, candidate->data); data 420 lib/common/mainloop.c void *data; data 426 lib/common/mainloop.c gio_read_socket(GIOChannel * gio, GIOCondition condition, gpointer data) data 428 lib/common/mainloop.c struct gio_to_qb_poll *adaptor = (struct gio_to_qb_poll *)data; data 431 lib/common/mainloop.c crm_trace("%p.%d %d", data, fd, condition); data 437 lib/common/mainloop.c return (adaptor->fn(fd, condition, adaptor->data) == 0); data 441 lib/common/mainloop.c gio_poll_destroy(gpointer data) data 443 lib/common/mainloop.c struct gio_to_qb_poll *adaptor = (struct gio_to_qb_poll *)data; data 515 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn, int32_t add) data 555 lib/common/mainloop.c adaptor->data = data; data 583 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn) data 585 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_TRUE); data 590 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn) data 592 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_FALSE); data 712 lib/common/mainloop.c mainloop_gio_callback(GIOChannel * gio, GIOCondition condition, gpointer data) data 715 lib/common/mainloop.c mainloop_io_t *client = data; data 1129 lib/common/mainloop.c mainloop_child_t *child = iter->data; data 1165 lib/common/mainloop.c child = iter->data; data 69 lib/common/nvpair.c pcmk__free_nvpair(gpointer data) data 71 lib/common/nvpair.c if (data) { data 72 lib/common/nvpair.c pcmk_nvpair_t *nvpair = data; data 187 lib/common/nvpair.c pcmk__nvpair_add_xml_attr(gpointer data, gpointer user_data) data 189 lib/common/nvpair.c pcmk_nvpair_t *pair = data; data 523 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) data 527 lib/common/nvpair.c if (data == NULL) { data 529 lib/common/nvpair.c CRM_LOG_ASSERT(data != NULL); data 533 lib/common/nvpair.c crm_err("Couldn't find NULL in %s", crm_element_name(data)); data 540 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); data 559 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) data 564 lib/common/nvpair.c value = crm_element_value(data, name); data 587 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) data 592 lib/common/nvpair.c value = crm_element_value(data, name); data 615 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) data 623 lib/common/nvpair.c value = crm_element_value(data, name); data 726 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) data 729 lib/common/nvpair.c const char *value = crm_element_value(data, name); data 110 lib/common/output_html.c add_error_node(gpointer data, gpointer user_data) { data 111 lib/common/output_html.c char *str = (char *) data; data 165 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); data 167 lib/common/output_log.c offset = snprintf(prefix, LINE_MAX, "%s", (char *)gIter->data); data 203 lib/common/output_log.c free((char *)priv->prefixes->tail->data); data 134 lib/common/output_xml.c add_error_node(gpointer data, gpointer user_data) { data 135 lib/common/output_xml.c char *str = (char *) data; data 153 lib/common/output_xml.c fprintf(stderr, "%s\n", (char *) node->data); data 211 lib/common/patchset.c pcmk__deleted_xml_t *deleted_obj = gIter->data; data 360 lib/common/patchset.c pcmk__deleted_xml_t *deleted_obj = gIter->data; data 1241 lib/common/patchset.c xml_change_obj_t *change_obj = gIter->data; data 663 lib/common/strings.c pcmk__compress(const char *data, unsigned int length, unsigned int max, data 668 lib/common/strings.c char *uncompressed = strdup(data); data 800 lib/common/strings.c if (strcmp(lst->data, "*") == 0 && lst->next == NULL) { data 189 lib/common/xml.c free_deleted_object(void *data) data 191 lib/common/xml.c if(data) { data 192 lib/common/xml.c pcmk__deleted_xml_t *deleted_obj = data; data 405 lib/common/xml.c pcmk__deleted_xml_t *deleted_obj = gIter->data; data 1424 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) data 1434 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { data 1438 lib/common/xml.c name = crm_element_name(data); data 1445 lib/common/xml.c if (data->type == XML_COMMENT_NODE) { data 1446 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); data 1451 lib/common/xml.c hidden = crm_element_value(data, "hidden"); data 1452 lib/common/xml.c for (pIter = pcmk__first_xml_attr(data); pIter != NULL; pIter = pIter->next) { data 1477 lib/common/xml.c if(xml_has_children(data) == FALSE) { data 1492 lib/common/xml.c if(data->type == XML_COMMENT_NODE) { data 1495 lib/common/xml.c } else if(xml_has_children(data) == FALSE) { data 1502 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1524 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) data 1531 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { data 1535 lib/common/xml.c p = data->_private; data 1542 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix_m, data, depth, data 1566 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, flags, data, depth, data 1569 lib/common/xml.c for (pIter = pcmk__first_xml_attr(data); pIter != NULL; pIter = pIter->next) { data 1574 lib/common/xml.c const char *value = crm_element_value(data, aname); data 1580 lib/common/xml.c const char *value = crm_element_value(data, aname); data 1602 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1608 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix, data, depth, data 1612 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1625 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) data 1640 lib/common/xml.c if (data == NULL) { data 1647 lib/common/xml.c log_xml_changes(log_level, file, function, line, prefix, data, depth, data 1654 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { data 1661 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { data 1672 lib/common/xml.c for (a_child = pcmk__xml_first_child(data); a_child != NULL; data 1677 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix, data, depth, data 1685 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) data 1689 lib/common/xml.c for (xIter = pcmk__first_xml_attr(data); xIter != NULL; xIter = xIter->next) { data 1697 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1705 lib/common/xml.c if (data == NULL) { data 1715 lib/common/xml.c name = crm_element_name(data); data 1722 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); data 1727 lib/common/xml.c for (xIter = pcmk__first_xml_attr(data); xIter != NULL; xIter = xIter->next) { data 1732 lib/common/xml.c if (data->children == NULL) { data 1743 lib/common/xml.c if (data->children) { data 1745 lib/common/xml.c for(xChild = data->children; xChild != NULL; xChild = xChild->next) { data 1759 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1765 lib/common/xml.c if (data == NULL) { data 1777 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1785 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1791 lib/common/xml.c if (data == NULL) { data 1804 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1813 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1819 lib/common/xml.c if (data == NULL) { data 1832 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1854 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, data 1857 lib/common/xml.c if(data == NULL) { data 1878 lib/common/xml.c doc = getDocPtr(data); data 1895 lib/common/xml.c xmlNodeDumpOutput(xml_buffer, doc, data, 0, data 1907 lib/common/xml.c crm_log_xml_trace(data, "Long time"); data 1917 lib/common/xml.c switch(data->type) { data 1920 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); data 1925 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); data 1929 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); data 1932 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); data 1935 lib/common/xml.c crm_warn("Unhandled type: %d", data->type); data 2883 lib/common/xml.c crm_destroy_xml(gpointer data) data 2885 lib/common/xml.c free_xml(data); data 72 lib/fencing/st_client.c void (*op_callback) (stonith_t * st, stonith_callback_data_t * data); data 86 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data); data 111 lib/fencing/st_client.c xmlNode *stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, data 114 lib/fencing/st_client.c xmlNode *data, xmlNode **output_data, data 118 lib/fencing/st_client.c static void stonith_send_notification(gpointer data, gpointer user_data); data 236 lib/fencing/st_client.c stonith_notify_client_t *list_client = list_item->data; data 278 lib/fencing/st_client.c xmlNode *data = create_xml_node(NULL, F_STONITH_DEVICE); data 279 lib/fencing/st_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 291 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, id); data 292 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 293 lib/fencing/st_client.c crm_xml_add(data, "agent", agent); data 295 lib/fencing/st_client.c crm_xml_add(data, "namespace", stonith_namespace2text(namespace)); data 298 lib/fencing/st_client.c crm_xml_add(data, "rsc_provides", rsc_provides); data 305 lib/fencing/st_client.c return data; data 314 lib/fencing/st_client.c xmlNode *data = NULL; data 316 lib/fencing/st_client.c data = create_device_registration_xml(id, stonith_text2namespace(namespace), data 319 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); data 320 lib/fencing/st_client.c free_xml(data); data 329 lib/fencing/st_client.c xmlNode *data = NULL; data 331 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 332 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 333 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); data 334 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); data 335 lib/fencing/st_client.c free_xml(data); data 346 lib/fencing/st_client.c xmlNode *data = NULL; data 350 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 351 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 354 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 357 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); data 360 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_ATTRIBUTE, attr); data 361 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); data 364 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 365 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); data 366 lib/fencing/st_client.c free_xml(data); data 400 lib/fencing/st_client.c xmlNode *data; data 404 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 405 lib/fencing/st_client.c CRM_CHECK(data, return NULL); data 407 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 408 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_ID, level); data 409 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 412 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 415 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); data 418 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_ATTRIBUTE, attr); data 419 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); data 428 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_DEVICES, list); data 431 lib/fencing/st_client.c return data; data 441 lib/fencing/st_client.c xmlNode *data = create_level_registration_xml(node, pattern, attr, value, data 443 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); data 445 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); data 446 lib/fencing/st_client.c free_xml(data); data 974 lib/fencing/st_client.c xmlNode *data = NULL; data 980 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 981 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 982 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); data 983 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, "off"); data 984 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout); data 1011 lib/fencing/st_client.c free_xml(data); data 1022 lib/fencing/st_client.c xmlNode *data = NULL; data 1024 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 1025 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 1026 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_DEVICE, id); data 1027 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, action); data 1028 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, victim); data 1030 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output, call_options, timeout); data 1031 lib/fencing/st_client.c free_xml(data); data 1080 lib/fencing/st_client.c xmlNode *data = NULL; data 1082 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); data 1083 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, node); data 1084 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, action); data 1085 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_TIMEOUT, timeout); data 1086 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_TOLERANCE, tolerance); data 1087 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_DELAY, delay); data 1089 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); data 1090 lib/fencing/st_client.c free_xml(data); data 1115 lib/fencing/st_client.c xmlNode *data = NULL; data 1122 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); data 1123 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, node); data 1127 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output, data 1129 lib/fencing/st_client.c free_xml(data); data 1211 lib/fencing/st_client.c stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, int call_options) data 1227 lib/fencing/st_client.c if (data != NULL) { data 1228 lib/fencing/st_client.c add_message_xml(op_msg, F_STONITH_CALLDATA, data); data 1235 lib/fencing/st_client.c stonith_destroy_op_callback(gpointer data) data 1237 lib/fencing/st_client.c stonith_callback_client_t *blob = data; data 1296 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) data 1298 lib/fencing/st_client.c stonith_callback_data_t data = { 0, }; data 1300 lib/fencing/st_client.c data.call_id = call_id; data 1301 lib/fencing/st_client.c data.rc = rc; data 1302 lib/fencing/st_client.c data.userdata = userdata; data 1304 lib/fencing/st_client.c callback(st, &data); data 1361 lib/fencing/st_client.c stonith_async_timeout_handler(gpointer data) data 1363 lib/fencing/st_client.c struct timer_rec_s *timer = data; data 1638 lib/fencing/st_client.c stonith_notify_client_t *list_client = list_item->data; data 1660 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) data 1744 lib/fencing/st_client.c xmlNode *data = get_xpath_object(data_addr, msg, LOG_DEBUG); data 1753 lib/fencing/st_client.c if (data) { data 1754 lib/fencing/st_client.c event->origin = crm_element_value_copy(data, F_STONITH_ORIGIN); data 1755 lib/fencing/st_client.c event->action = crm_element_value_copy(data, F_STONITH_ACTION); data 1756 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); data 1757 lib/fencing/st_client.c event->executioner = crm_element_value_copy(data, F_STONITH_DELEGATE); data 1758 lib/fencing/st_client.c event->id = crm_element_value_copy(data, F_STONITH_REMOTE_OP_ID); data 1759 lib/fencing/st_client.c event->client_origin = crm_element_value_copy(data, F_STONITH_CLIENTNAME); data 1760 lib/fencing/st_client.c event->device = crm_element_value_copy(data, F_STONITH_DEVICE); data 1789 lib/fencing/st_client.c stonith_send_notification(gpointer data, gpointer user_data) data 1792 lib/fencing/st_client.c stonith_notify_client_t *entry = data; data 1844 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data, data 1874 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); data 1882 lib/fencing/st_client.c if (data) { data 1883 lib/fencing/st_client.c const char *delay_s = crm_element_value(data, F_STONITH_DELAY); data 142 lib/lrmd/lrmd_alerts.c pcmk__alert_t *entry = (pcmk__alert_t *)(iter->data); data 384 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, iter->data); data 503 lib/lrmd/lrmd_client.c lrmd_create_op(const char *token, const char *op, xmlNode *data, int timeout, data 518 lib/lrmd/lrmd_client.c if (data != NULL) { data 519 lib/lrmd/lrmd_client.c add_message_xml(op_msg, F_LRMD_CALLDATA, data); data 840 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd_t *lrmd, const char *op, xmlNode *data, data 862 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); data 914 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 916 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 917 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, data 919 lib/lrmd/lrmd_client.c free_xml(data); data 930 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_OPERATION); data 932 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 935 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_WATCHDOG, value); data 937 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, data 939 lib/lrmd/lrmd_client.c free_xml(data); data 1046 lib/lrmd/lrmd_client.c dest->data = gnutls_malloc(source->size); data 1047 lib/lrmd/lrmd_client.c CRM_ASSERT(dest->data); data 1048 lib/lrmd/lrmd_client.c memcpy(dest->data, source->data, source->size); data 1055 lib/lrmd/lrmd_client.c gnutls_free(datum->data); data 1056 lib/lrmd/lrmd_client.c datum->data = NULL; data 1074 lib/lrmd/lrmd_client.c if (key_cache.data != NULL) { data 1091 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(buf_len); data 1104 lib/lrmd/lrmd_client.c key->data = gnutls_realloc(key->data, buf_len); data 1105 lib/lrmd/lrmd_client.c CRM_ASSERT(key->data); data 1107 lib/lrmd/lrmd_client.c key->data[key->size++] = (unsigned char) next; data 1116 lib/lrmd/lrmd_client.c if (key_cache.data == NULL) { data 1220 lib/lrmd/lrmd_client.c gnutls_free(psk_key.data); data 1313 lib/lrmd/lrmd_client.c gnutls_free(psk_key.data); data 1501 lib/lrmd/lrmd_client.c xmlNode *data = NULL; data 1511 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); data 1513 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1514 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1515 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_CLASS, class); data 1516 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_PROVIDER, provider); data 1517 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_TYPE, type); data 1518 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); data 1519 lib/lrmd/lrmd_client.c free_xml(data); data 1528 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1530 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1531 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1532 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); data 1533 lib/lrmd/lrmd_client.c free_xml(data); data 1588 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1594 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1595 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1596 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); data 1597 lib/lrmd/lrmd_client.c free_xml(data); data 1637 lib/lrmd/lrmd_client.c xmlNode *data = NULL; data 1648 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); data 1649 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1650 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1652 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_GET_RECURRING, data, &output_xml, data 1654 lib/lrmd/lrmd_client.c if (data) { data 1655 lib/lrmd/lrmd_client.c free_xml(data); data 1822 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1823 lib/lrmd/lrmd_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 1826 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1827 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1828 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ACTION, action); data 1829 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_USERDATA_STR, userdata); data 1830 lib/lrmd/lrmd_client.c crm_xml_add_ms(data, F_LRMD_RSC_INTERVAL, interval_ms); data 1831 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_TIMEOUT, timeout); data 1832 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_RSC_START_DELAY, start_delay); data 1838 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); data 1839 lib/lrmd/lrmd_client.c free_xml(data); data 1851 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_ALERT); data 1852 lib/lrmd/lrmd_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 1855 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1856 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ALERT_ID, alert_id); data 1857 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ALERT_PATH, alert_path); data 1858 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_TIMEOUT, timeout); data 1864 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, data 1866 lib/lrmd/lrmd_client.c free_xml(data); data 1877 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1879 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1880 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ACTION, action); data 1881 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1882 lib/lrmd/lrmd_client.c crm_xml_add_ms(data, F_LRMD_RSC_INTERVAL, interval_ms); data 1883 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); data 1884 lib/lrmd/lrmd_client.c free_xml(data); data 1930 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, (const char *)gIter->data); data 1963 lib/lrmd/lrmd_client.c if (pcmk__str_eq(agent, gIter2->data, pcmk__str_casei)) { data 1983 lib/lrmd/lrmd_client.c provider = gIter->data; data 1986 lib/lrmd/lrmd_client.c *providers = lrmd_list_add(*providers, (const char *)gIter->data); data 2005 lib/lrmd/lrmd_client.c *supported = lrmd_list_add(*supported, (const char *)gIter->data); data 108 lib/lrmd/proxy_common.c remote_proxy_free(gpointer data) data 110 lib/lrmd/proxy_common.c remote_proxy_t *proxy = data; data 92 lib/pacemaker/pcmk_fence.c fence_callback(stonith_t * stonith, stonith_callback_data_t * data) data 94 lib/pacemaker/pcmk_fence.c async_fence_data.rc = data->rc; data 346 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); data 446 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 511 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 543 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 603 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 624 lib/pacemaker/pcmk_sched_allocate.c pe__location_t *cons = gIter->data; data 703 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 762 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 775 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 859 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 875 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 915 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 944 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 964 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 999 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) item->data, data_set); data 1030 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = rsc->running_on->data; data 1062 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = item->data; data 1085 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) gIter->data, data_set); data 1092 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1106 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1110 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 1130 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1156 lib/pacemaker/pcmk_sched_allocate.c sort_rsc_process_order(gconstpointer a, gconstpointer b, gpointer data) data 1164 lib/pacemaker/pcmk_sched_allocate.c const GListPtr nodes = (GListPtr) data; data 1235 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1294 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1306 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1354 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1393 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1405 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1456 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1470 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1489 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1506 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1633 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1669 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) stonith_ops->data, data 1721 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *node_stop = (pe_action_t *) gIter->data; data 1738 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) gIter->data, dc_down, data 1747 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) stonith_ops->data, dc_down, data 1832 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action_iter = (pe_action_t *) gIter->data; data 1898 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *lh_action_iter = (pe_action_t *) gIter->data; data 2239 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2299 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rsc_action = item->data; data 2363 lib/pacemaker/pcmk_sched_allocate.c pe__ordering_t *order = gIter->data; data 2464 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) pIter->data; data 2468 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action_iter = (pe_action_t *) rIter->data; data 2534 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *then = (pe_action_t *) gIter->data; data 2565 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *after_wrapper = (pe_action_wrapper_t *) gIter->data; data 2619 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2634 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t * child = (pe_resource_t *) gIter->data; data 2646 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) gIter->data; data 2650 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *after_wrapper = (pe_action_wrapper_t *) aIter->data; data 2666 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2681 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2732 lib/pacemaker/pcmk_sched_allocate.c start = actions->data; data 2744 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *before = (pe_action_wrapper_t *) actions->data; data 2753 lib/pacemaker/pcmk_sched_allocate.c before = (pe_action_wrapper_t *) clone_actions->data; data 2781 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) pIter->data; data 2814 lib/pacemaker/pcmk_sched_allocate.c pe__ordering_t *order = gIter->data; data 2837 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2847 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2854 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2860 lib/pacemaker/pcmk_sched_allocate.c input = (pe_action_wrapper_t *) input_iter->data; data 2869 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2967 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2983 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 3025 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 19 lib/pacemaker/pcmk_sched_bundle.c is_bundle_node(pe__bundle_variant_data_t *data, pe_node_t *node) data 21 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; gIter = gIter->next) { data 22 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 41 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 43 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 44 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; data 46 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 127 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 215 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 282 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 379 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 412 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = (pe_node_t *) gIter->data; data 462 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 463 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 464 lib/pacemaker/pcmk_sched_bundle.c return data->nreplicas_per_host; data 517 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 557 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 559 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, action->rsc); data 560 lib/pacemaker/pcmk_sched_bundle.c if(data->child) { data 561 lib/pacemaker/pcmk_sched_bundle.c enum action_tasks task = get_complex_task(data->child, action->task, TRUE); data 570 lib/pacemaker/pcmk_sched_bundle.c return summary_action_flags(action, data->child->children, node); data 599 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 620 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 622 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 623 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; data 625 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 657 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *then_child = gIter->data; data 837 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *then_child = (pe_resource_t *) gIter->data; data 851 lib/pacemaker/pcmk_sched_bundle.c pe_action_wrapper_t *next = (pe_action_wrapper_t *) lpc->data; data 875 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 910 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 971 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 1007 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *other = tIter->data; data 1068 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 68 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 240 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 255 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 272 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 284 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 502 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *cons = (rsc_colocation_t *) gIter->data; data 514 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *cons = (rsc_colocation_t *) gIter->data; data 540 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = nIter->data; data 560 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 592 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 648 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 659 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 698 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 716 lib/pacemaker/pcmk_sched_clone.c pe_action_t *action = (pe_action_t *) gIter->data; data 766 lib/pacemaker/pcmk_sched_clone.c pe_action_t *op = (pe_action_t *) gIter->data; data 821 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 874 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 943 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 976 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1042 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = (pe_node_t *) gIter->data; data 1144 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1160 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1171 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) action->rsc->children->data; data 1223 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1271 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1287 lib/pacemaker/pcmk_sched_clone.c pe_action_t *op = (pe_action_t *) gIter->data; data 1320 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1346 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) child_iter->data; data 1372 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1391 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) child_iter->data; data 1414 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; data 1427 lib/pacemaker/pcmk_sched_clone.c child = rsc->children->data; data 195 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *parent = rIter->data; data 465 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *child = rIter->data; data 589 lib/pacemaker/pcmk_sched_constraints.c const char *obj_ref = (const char *) gIter->data; data 622 lib/pacemaker/pcmk_sched_constraints.c xmlNode *tag_ref = gIter->data; data 679 lib/pacemaker/pcmk_sched_constraints.c const char *obj_ref = (const char *) gIter->data; data 748 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *r = rIter->data; data 1143 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *node = (pe_node_t *) gIter->data; data 1151 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *node = (pe_node_t *) gIter->data; data 1764 lib/pacemaker/pcmk_sched_constraints.c resource = (pe_resource_t *) set_iter->data; data 1783 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *then_rsc = (pe_resource_t *) gIter->data; data 1823 lib/pacemaker/pcmk_sched_constraints.c resource = (pe_resource_t *) set_iter->data; data 463 lib/pacemaker/pcmk_sched_graph.c pe_action_t *action = (pe_action_t *) gIter->data; data 505 lib/pacemaker/pcmk_sched_graph.c pe_resource_t *child = (pe_resource_t *)gIter->data; data 513 lib/pacemaker/pcmk_sched_graph.c rsc_colocation_t *colocate_with = (rsc_colocation_t *)gIter->data; data 558 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; data 677 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc2->data; data 707 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; data 725 lib/pacemaker/pcmk_sched_graph.c pe_action_t *action = (pe_action_t *) lpc->data; data 776 lib/pacemaker/pcmk_sched_graph.c rsc_stonith_ordering((pe_resource_t *) r->data, stonith_op, data_set); data 900 lib/pacemaker/pcmk_sched_graph.c pe_node_t *node = (pe_node_t *) gIter->data; data 985 lib/pacemaker/pcmk_sched_graph.c input = ((pe_action_wrapper_t *) iter->data)->action; data 1360 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *wrapper = (pe_action_wrapper_t *) lpc->data; data 1697 lib/pacemaker/pcmk_sched_graph.c (pe_action_wrapper_t *) iter->data)) { data 1761 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *input = (pe_action_wrapper_t *) item->data; data 1778 lib/pacemaker/pcmk_sched_graph.c free(item->data); data 1849 lib/pacemaker/pcmk_sched_graph.c input = (pe_action_wrapper_t *) lpc->data; data 59 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 90 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 144 lib/pacemaker/pcmk_sched_group.c pe_action_t *action = (pe_action_t *) gIter->data; data 179 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 322 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 373 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 387 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 438 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 467 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 489 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 517 lib/pacemaker/pcmk_sched_group.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 57 lib/pacemaker/pcmk_sched_messages.c pe_resource_t *rsc = (pe_resource_t *) item->data; data 137 lib/pacemaker/pcmk_sched_messages.c pe_action_t *action = (pe_action_t *) gIter->data; data 167 lib/pacemaker/pcmk_sched_native.c pe_node_t *tmp = (pe_node_t *) iter->data; data 373 lib/pacemaker/pcmk_sched_native.c pe_resource_t *last_rsc = last->data; data 399 lib/pacemaker/pcmk_sched_native.c work = pcmk__native_merge_weights(rsc->children->data, rhs, work, attr, data 421 lib/pacemaker/pcmk_sched_native.c pe_resource_t *last_rsc = g_list_last(rsc->children)->data; data 437 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 529 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 563 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 783 lib/pacemaker/pcmk_sched_native.c pe_action_t *op = (pe_action_t *) gIter->data; data 991 lib/pacemaker/pcmk_sched_native.c pe_node_t *stop_node = (pe_node_t *) gIter->data; data 1034 lib/pacemaker/pcmk_sched_native.c pe_action_t *probe = (pe_action_t *) pIter->data; data 1050 lib/pacemaker/pcmk_sched_native.c pe_action_t *stop = (pe_action_t *) local_gIter->data; data 1243 lib/pacemaker/pcmk_sched_native.c pe_node_t *dangling_source = (pe_node_t *) gIter->data; data 1544 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = item->data; data 1583 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 1600 lib/pacemaker/pcmk_sched_native.c pe_node_t *next = item->data; data 1664 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = item->data; data 1989 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2025 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = (pe_node_t *) gIter->data; data 2163 lib/pacemaker/pcmk_sched_native.c && then->node->details == ((pe_node_t *) then_rsc->running_on->data)->details) { data 2320 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = (pe_node_t *) gIter->data; data 2357 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 2364 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2528 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2566 lib/pacemaker/pcmk_sched_native.c start = possible_matches->data; data 2577 lib/pacemaker/pcmk_sched_native.c stop = possible_matches->data; data 2583 lib/pacemaker/pcmk_sched_native.c promote = possible_matches->data; data 2589 lib/pacemaker/pcmk_sched_native.c demote = possible_matches->data; data 2598 lib/pacemaker/pcmk_sched_native.c migrate_op = possible_matches->data; data 2652 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = (pe_node_t *) gIter->data; data 2657 lib/pacemaker/pcmk_sched_native.c stop_op = possible_matches->data; data 2710 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 2820 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = (pe_action_t *) gIter->data; data 2838 lib/pacemaker/pcmk_sched_native.c pe_action_t *promote = (pe_action_t *) gIter->data; data 2858 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 2965 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 3188 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 3257 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 3357 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 3396 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 3418 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 93 lib/pacemaker/pcmk_sched_notif.c pe_node_t *node = (pe_node_t *) gIter->data; data 157 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = (notify_entry_t *) gIter->data; data 197 lib/pacemaker/pcmk_sched_notif.c pcmk_nvpair_t *nvpair = item->data; data 270 lib/pacemaker/pcmk_sched_notif.c pe_action_t *mon = (pe_action_t *) gIter->data; data 419 lib/pacemaker/pcmk_sched_notif.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 433 lib/pacemaker/pcmk_sched_notif.c entry->node = rsc->running_on->data; data 469 lib/pacemaker/pcmk_sched_notif.c pe_action_t *op = (pe_action_t *) gIter->data; data 653 lib/pacemaker/pcmk_sched_notif.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 663 lib/pacemaker/pcmk_sched_notif.c pe_action_t *op = (pe_action_t *) gIter->data; data 723 lib/pacemaker/pcmk_sched_notif.c pe_node_t *current_node = (pe_node_t *) gIter->data; data 101 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 113 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action = (pe_action_t *) gIter->data; data 135 lib/pacemaker/pcmk_sched_promotable.c pe__location_t *cons = gIter->data; data 180 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 293 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 301 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 322 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 346 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 370 lib/pacemaker/pcmk_sched_promotable.c rsc_ticket_t *rsc_ticket = (rsc_ticket_t *) gIter->data; data 384 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 419 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = rIter->data; data 436 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = rIter->data; data 488 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 583 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 640 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 656 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 689 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 741 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *cons = (rsc_colocation_t *) gIter2->data; data 764 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 840 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 897 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 941 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 996 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 440 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 454 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 477 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 491 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 501 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 511 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 521 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 531 lib/pacemaker/pcmk_sched_transition.c char *spec = (char *)gIter->data; data 696 lib/pacemaker/pcmk_sched_transition.c char *spec = (char *)gIter->data; data 34 lib/pacemaker/pcmk_sched_utilization.c struct compare_data *data = user_data; data 38 lib/pacemaker/pcmk_sched_utilization.c crm_parse_int(g_hash_table_lookup(data->node2->details->utilization, key), "0"); data 41 lib/pacemaker/pcmk_sched_utilization.c data->result--; data 43 lib/pacemaker/pcmk_sched_utilization.c data->result++; data 52 lib/pacemaker/pcmk_sched_utilization.c struct compare_data *data = user_data; data 54 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { data 62 lib/pacemaker/pcmk_sched_utilization.c data->result--; data 64 lib/pacemaker/pcmk_sched_utilization.c data->result++; data 74 lib/pacemaker/pcmk_sched_utilization.c struct compare_data data; data 76 lib/pacemaker/pcmk_sched_utilization.c data.node1 = node1; data 77 lib/pacemaker/pcmk_sched_utilization.c data.node2 = node2; data 78 lib/pacemaker/pcmk_sched_utilization.c data.result = 0; data 80 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(node1->details->utilization, do_compare_capacity1, &data); data 81 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(node2->details->utilization, do_compare_capacity2, &data); data 83 lib/pacemaker/pcmk_sched_utilization.c return data.result; data 96 lib/pacemaker/pcmk_sched_utilization.c struct calculate_data *data = user_data; data 98 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); data 99 lib/pacemaker/pcmk_sched_utilization.c if (data->plus) { data 101 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); data 105 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); data 116 lib/pacemaker/pcmk_sched_utilization.c struct calculate_data data; data 118 lib/pacemaker/pcmk_sched_utilization.c data.current_utilization = current_utilization; data 119 lib/pacemaker/pcmk_sched_utilization.c data.plus = plus; data 121 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(utilization, do_calculate_utilization, &data); data 136 lib/pacemaker/pcmk_sched_utilization.c struct capacity_data *data = user_data; data 139 lib/pacemaker/pcmk_sched_utilization.c remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0"); data 142 lib/pacemaker/pcmk_sched_utilization.c CRM_ASSERT(data->rsc_id); data 143 lib/pacemaker/pcmk_sched_utilization.c CRM_ASSERT(data->node); data 146 lib/pacemaker/pcmk_sched_utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); data 147 lib/pacemaker/pcmk_sched_utilization.c data->is_enough = FALSE; data 154 lib/pacemaker/pcmk_sched_utilization.c struct capacity_data data; data 156 lib/pacemaker/pcmk_sched_utilization.c data.node = node; data 157 lib/pacemaker/pcmk_sched_utilization.c data.rsc_id = rsc_id; data 158 lib/pacemaker/pcmk_sched_utilization.c data.is_enough = TRUE; data 160 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(utilization, check_capacity, &data); data 162 lib/pacemaker/pcmk_sched_utilization.c return data.is_enough; data 201 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child = (pe_resource_t *) gIter1->data; data 211 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *grandchild = (pe_resource_t *) gIter2->data; data 226 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *first_child = (pe_resource_t *) rsc->children->data; data 248 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *listed_rsc = (pe_resource_t *) gIter->data; data 279 lib/pacemaker/pcmk_sched_utilization.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 301 lib/pacemaker/pcmk_sched_utilization.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; data 427 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 454 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 132 lib/pacemaker/pcmk_sched_utils.c pe_node_t *this_node = (pe_node_t *) gIter->data; data 153 lib/pacemaker/pcmk_sched_utils.c sort_node_weight(gconstpointer a, gconstpointer b, gpointer data) data 157 lib/pacemaker/pcmk_sched_utils.c struct node_weight_s *nw = data; data 310 lib/pacemaker/pcmk_sched_utils.c pe_action_t *op = (pe_action_t *) gIter->data; data 428 lib/pacemaker/pcmk_sched_utils.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) gIter->data; data 437 lib/pacemaker/pcmk_sched_utils.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) gIter->data; data 30 lib/pacemaker/pcmk_trans_graph.c crm_action_t *prereq = (crm_action_t *) lpc->data; data 63 lib/pacemaker/pcmk_trans_graph.c crm_action_t *action = (crm_action_t *) lpc->data; data 98 lib/pacemaker/pcmk_trans_graph.c synapse_t *synapse = (synapse_t *) lpc->data; data 131 lib/pacemaker/pcmk_trans_graph.c crm_action_t *prereq = (crm_action_t *) lpc->data; data 146 lib/pacemaker/pcmk_trans_graph.c crm_action_t *a = (crm_action_t *) lpc->data; data 215 lib/pacemaker/pcmk_trans_graph.c crm_action_t *action = (crm_action_t *) lpc->data; data 260 lib/pacemaker/pcmk_trans_graph.c synapse_t *synapse = (synapse_t *) lpc->data; data 274 lib/pacemaker/pcmk_trans_graph.c synapse_t *synapse = (synapse_t *) lpc->data; data 118 lib/pacemaker/pcmk_trans_utils.c synapse_t *synapse = (synapse_t *) sIter->data; data 121 lib/pacemaker/pcmk_trans_utils.c crm_action_t *action = (crm_action_t *) aIter->data; data 157 lib/pacemaker/pcmk_trans_utils.c crm_action_t *input = (crm_action_t *) lpc->data; data 182 lib/pacemaker/pcmk_trans_utils.c crm_action_t *input = (crm_action_t *) lpc->data; data 221 lib/pacemaker/pcmk_trans_utils.c log_synapse_action(log_level, synapse, (crm_action_t *) lpc->data, data 254 lib/pacemaker/pcmk_trans_utils.c synapse_t *synapse = (synapse_t *) lpc->data; data 52 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, data 55 lib/pengine/bundle.c if(data->ip_range_start == NULL) { data 58 lib/pengine/bundle.c } else if(data->ip_last) { data 59 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); data 62 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); data 65 lib/pengine/bundle.c data->ip_last = replica->ipaddr; data 66 lib/pengine/bundle.c switch (data->agent_type) { data 69 lib/pengine/bundle.c if (data->add_host) { data 71 lib/pengine/bundle.c data->prefix, replica->offset, data 76 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); data 109 lib/pengine/bundle.c valid_network(pe__bundle_variant_data_t *data) data 111 lib/pengine/bundle.c if(data->ip_range_start) { data 114 lib/pengine/bundle.c if(data->control_port) { data 115 lib/pengine/bundle.c if(data->nreplicas_per_host > 1) { data 116 lib/pengine/bundle.c pe_err("Specifying the 'control-port' for %s requires 'replicas-per-host=1'", data->prefix); data 117 lib/pengine/bundle.c data->nreplicas_per_host = 1; data 126 lib/pengine/bundle.c create_ip_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 129 lib/pengine/bundle.c if(data->ip_range_start) { data 134 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); data 141 lib/pengine/bundle.c data->prefix, replica->offset); data 144 lib/pengine/bundle.c if(data->host_network) { data 145 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "nic", data->host_network); data 148 lib/pengine/bundle.c if(data->host_netmask) { data 150 lib/pengine/bundle.c "cidr_netmask", data->host_netmask); data 171 lib/pengine/bundle.c create_docker_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 185 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); data 193 lib/pengine/bundle.c data->prefix, replica->offset); data 195 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); data 207 lib/pengine/bundle.c if (data->ip_range_start != NULL) { data 209 lib/pengine/bundle.c data->prefix, replica->offset); data 214 lib/pengine/bundle.c if (data->container_network) { data 220 lib/pengine/bundle.c data->container_network); data 223 lib/pengine/bundle.c if(data->control_port) { data 224 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); data 229 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { data 230 lib/pengine/bundle.c pe__bundle_mount_t *mount = pIter->data; data 234 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); data 251 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { data 252 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; data 258 lib/pengine/bundle.c } else if(!pcmk__str_eq(data->container_network, "host", pcmk__str_casei)) { data 264 lib/pengine/bundle.c if (data->launcher_options) { data 266 lib/pengine/bundle.c data->launcher_options); data 269 lib/pengine/bundle.c if (data->container_host_options) { data 271 lib/pengine/bundle.c data->container_host_options); data 281 lib/pengine/bundle.c if (data->container_command) { data 283 lib/pengine/bundle.c "run_cmd", data->container_command); data 311 lib/pengine/bundle.c if (data->container_command) { data 313 lib/pengine/bundle.c "run_cmd", data->container_command); data 337 lib/pengine/bundle.c create_podman_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 351 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); data 359 lib/pengine/bundle.c data->prefix, replica->offset); data 361 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); data 374 lib/pengine/bundle.c if (data->ip_range_start != NULL) { data 376 lib/pengine/bundle.c data->prefix, replica->offset); data 381 lib/pengine/bundle.c if (data->container_network) { data 388 lib/pengine/bundle.c data->container_network); data 391 lib/pengine/bundle.c if(data->control_port) { data 392 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); data 397 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { data 398 lib/pengine/bundle.c pe__bundle_mount_t *mount = pIter->data; data 402 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); data 419 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { data 420 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; data 426 lib/pengine/bundle.c } else if(!pcmk__str_eq(data->container_network, "host", pcmk__str_casei)) { data 432 lib/pengine/bundle.c if (data->launcher_options) { data 434 lib/pengine/bundle.c data->launcher_options); data 437 lib/pengine/bundle.c if (data->container_host_options) { data 439 lib/pengine/bundle.c data->container_host_options); data 449 lib/pengine/bundle.c if (data->container_command) { data 451 lib/pengine/bundle.c "run_cmd", data->container_command); data 479 lib/pengine/bundle.c if (data->container_command) { data 481 lib/pengine/bundle.c "run_cmd", data->container_command); data 506 lib/pengine/bundle.c create_rkt_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 521 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); data 529 lib/pengine/bundle.c data->prefix, replica->offset); data 531 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); data 541 lib/pengine/bundle.c if (data->ip_range_start != NULL) { data 543 lib/pengine/bundle.c data->prefix, replica->offset); data 548 lib/pengine/bundle.c if (data->container_network) { data 554 lib/pengine/bundle.c data->container_network); data 557 lib/pengine/bundle.c if(data->control_port) { data 558 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); data 563 lib/pengine/bundle.c for(GListPtr pIter = data->mounts; pIter != NULL; pIter = pIter->next) { data 564 lib/pengine/bundle.c pe__bundle_mount_t *mount = pIter->data; data 568 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); data 591 lib/pengine/bundle.c for(GListPtr pIter = data->ports; pIter != NULL; pIter = pIter->next) { data 592 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; data 603 lib/pengine/bundle.c if (data->launcher_options) { data 605 lib/pengine/bundle.c data->launcher_options); data 608 lib/pengine/bundle.c if (data->container_host_options) { data 610 lib/pengine/bundle.c data->container_host_options); data 620 lib/pengine/bundle.c if (data->container_command) { data 622 lib/pengine/bundle.c data->container_command); data 650 lib/pengine/bundle.c if (data->container_command) { data 652 lib/pengine/bundle.c data->container_command); data 695 lib/pengine/bundle.c disallow_node((pe_resource_t *) (child->data), uname); data 701 lib/pengine/bundle.c create_remote_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 705 lib/pengine/bundle.c if (replica->child && valid_network(data)) { data 710 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); data 730 lib/pengine/bundle.c if (data->control_port == NULL) { data 741 lib/pengine/bundle.c connect_name, (data->control_port? data 742 lib/pengine/bundle.c data->control_port : port_s)); data 784 lib/pengine/bundle.c disallow_node((pe_resource_t *) (rsc_iter->data), uname); data 846 lib/pengine/bundle.c create_container(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 850 lib/pengine/bundle.c switch (data->agent_type) { data 852 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { data 858 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { data 864 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { data 872 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { data 875 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { data 946 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1294 lib/pengine/bundle.c replica->child = childIter->data; data 1338 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1376 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; data 1425 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1489 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1529 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1652 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1793 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1932 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 2071 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; data 2100 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 242 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 290 lib/pengine/clone.c if ((target_role == NULL) && rsc->children && rsc->children->data) { data 291 lib/pengine/clone.c target_role = g_hash_table_lookup(((pe_resource_t*)rsc->children->data)->meta, data 330 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 353 lib/pengine/clone.c if(is_set_recursive(gIter->data, flag, any)) { data 413 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 492 lib/pengine/clone.c pe_node_t *host = gIter->data; data 507 lib/pengine/clone.c pe_node_t *host = gIter->data; data 559 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 602 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 680 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 773 lib/pengine/clone.c pe_node_t *host = gIter->data; data 794 lib/pengine/clone.c pe_node_t *host = gIter->data; data 852 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 917 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1010 lib/pengine/clone.c pe_node_t *host = gIter->data; data 1031 lib/pengine/clone.c pe_node_t *host = gIter->data; data 1087 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 1119 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1150 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1198 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 618 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; data 774 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 916 lib/pengine/complex.c node = node_iter->data; data 988 lib/pengine/complex.c ((pe_resource_t *) item->data)->fns->count(item->data); data 318 lib/pengine/failcounts.c pe_resource_t *filler = (pe_resource_t *) gIter->data; data 97 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 125 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 165 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 207 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 269 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 324 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 352 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 372 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 397 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 68 lib/pengine/native.c pe_node_t *a_node = gIter->data; data 89 lib/pengine/native.c pe_node_t *a_node = (pe_node_t *) gIter->data; data 158 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 186 lib/pengine/native.c recursive_clear_unique((pe_resource_t *) child->data); data 242 lib/pengine/native.c pe_node_t *loc = (pe_node_t *) iter->data; data 305 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 364 lib/pengine/native.c pe_node_t *a_node = (pe_node_t *) gIter->data; data 529 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 702 lib/pengine/native.c pe_node_t *n = (pe_node_t *) iter->data; data 959 lib/pengine/native.c pe_node_t *n = (pe_node_t *) gIter->data; data 1115 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 1216 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1236 lib/pengine/native.c one = result->data; data 1243 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 1261 lib/pengine/native.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1298 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter2->data; data 1324 lib/pengine/native.c destroy_node_table(gpointer data) data 1326 lib/pengine/native.c GHashTable *node_table = data; data 1431 lib/pengine/native.c char *type = (char *) gIter->data; data 1075 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) lpc2->data; data 1139 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 1214 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 1322 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 1365 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 1490 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 1699 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) rsc_iter->data; data 1922 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 73 lib/pengine/remote.c pe_resource_t *filler = gIter->data; data 130 lib/pengine/remote.c pe_resource_t *rsc = (pe_resource_t *) iter->data; data 253 lib/pengine/remote.c struct check_op *check_op = item->data; data 566 lib/pengine/rules.c unpack_attr_set(gpointer data, gpointer user_data) data 568 lib/pengine/rules.c sorted_set_t *pair = data; data 593 lib/pengine/rules.c unpack_versioned_attr_set(gpointer data, gpointer user_data) data 595 lib/pengine/rules.c sorted_set_t *pair = data; data 676 lib/pengine/rules.c unpack_data_t data = { data 684 lib/pengine/rules.c g_list_foreach(pairs, unpack_func, &data); data 133 lib/pengine/status.c ((pe_resource_t *) (item->data))->fns->count(item->data); data 159 lib/pengine/status.c rsc = (pe_resource_t *) iterator->data; data 174 lib/pengine/status.c pe_free_action(iterator->data); data 186 lib/pengine/status.c pe_node_t *node = (pe_node_t *) iterator->data; data 228 lib/pengine/status.c pe__ordering_t *order = iterator->data; data 247 lib/pengine/status.c pe__location_t *cons = iterator->data; data 394 lib/pengine/status.c pe_resource_t *parent = rIter->data; data 424 lib/pengine/status.c pe_node_t *node = (pe_node_t *) gIter->data; data 440 lib/pengine/status.c pe_node_t *node = (pe_node_t *) gIter->data; data 34 lib/pengine/tags.c const char *id = (const char *) refs->data; data 67 lib/pengine/tags.c const char *id = (const char *) refs->data; data 382 lib/pengine/unpack.c op_digest_cache_t *data = ptr; data 384 lib/pengine/unpack.c free_xml(data->params_all); data 385 lib/pengine/unpack.c free_xml(data->params_secure); data 386 lib/pengine/unpack.c free_xml(data->params_restart); data 388 lib/pengine/unpack.c free(data->digest_all_calc); data 389 lib/pengine/unpack.c free(data->digest_restart_calc); data 390 lib/pengine/unpack.c free(data->digest_secure_calc); data 392 lib/pengine/unpack.c free(data); data 456 lib/pengine/unpack.c expand_remote_rsc_meta(xmlNode *xml_obj, xmlNode *parent, pe_working_set_t *data) data 502 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { data 614 lib/pengine/unpack.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 750 lib/pengine/unpack.c destroy_tag(gpointer data) data 752 lib/pengine/unpack.c pe_tag_t *tag = data; data 815 lib/pengine/unpack.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1233 lib/pengine/unpack.c pe_resource_t *container = item->data; data 1245 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; data 1412 lib/pengine/unpack.c host = rsc->running_on->data; data 1702 lib/pengine/unpack.c pe_resource_t *child = rIter->data; data 1727 lib/pengine/unpack.c if (((pe_node_t *)locations->data)->details == node->details) { data 2125 lib/pengine/unpack.c pe_action_t *stop = (pe_action_t *) gIter->data; data 2149 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 2204 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 2329 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 3937 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 96 lib/pengine/utils.c pe_node_t *container_node = n->data; data 179 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) gIter->data; data 207 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node((pe_node_t *) gIter->data); data 239 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) gIter->data; data 330 lib/pengine/utils.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1399 lib/pengine/utils.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1455 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1510 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1541 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1586 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1653 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1679 lib/pengine/utils.c pe_node_t *node_iter = (pe_node_t *) gIter->data; data 1905 lib/pengine/utils.c pe_action_wrapper_t *after = (pe_action_wrapper_t *) gIter->data; data 1945 lib/pengine/utils.c destroy_ticket(gpointer data) data 1947 lib/pengine/utils.c pe_ticket_t *ticket = data; data 2058 lib/pengine/utils.c op_digest_cache_t *data = NULL; data 2060 lib/pengine/utils.c data = g_hash_table_lookup(node->details->digest_cache, key); data 2061 lib/pengine/utils.c if (data == NULL) { data 2073 lib/pengine/utils.c data = calloc(1, sizeof(op_digest_cache_t)); data 2074 lib/pengine/utils.c CRM_ASSERT(data != NULL); data 2081 lib/pengine/utils.c data->params_all = create_xml_node(NULL, XML_TAG_PARAMS); data 2084 lib/pengine/utils.c if (pe__add_bundle_remote_name(rsc, data->params_all, data 2090 lib/pengine/utils.c g_hash_table_foreach(local_rsc_params, hash2field, data->params_all); data 2091 lib/pengine/utils.c g_hash_table_foreach(action->extra, hash2field, data->params_all); data 2092 lib/pengine/utils.c g_hash_table_foreach(rsc->parameters, hash2field, data->params_all); data 2093 lib/pengine/utils.c g_hash_table_foreach(action->meta, hash2metafield, data->params_all); data 2109 lib/pengine/utils.c append_versioned_params(local_versioned_params, ra_version, data->params_all); data 2110 lib/pengine/utils.c append_versioned_params(rsc->versioned_parameters, ra_version, data->params_all); data 2114 lib/pengine/utils.c append_versioned_params(details->versioned_parameters, ra_version, data->params_all); data 2118 lib/pengine/utils.c pcmk__filter_op_for_digest(data->params_all); data 2123 lib/pengine/utils.c data->digest_all_calc = calculate_operation_digest(data->params_all, op_version); data 2126 lib/pengine/utils.c data->params_secure = copy_xml(data->params_all); data 2128 lib/pengine/utils.c filter_parameters(data->params_secure, secure_list, FALSE); data 2130 lib/pengine/utils.c data->digest_secure_calc = calculate_operation_digest(data->params_secure, op_version); data 2134 lib/pengine/utils.c data->params_restart = copy_xml(data->params_all); data 2136 lib/pengine/utils.c filter_parameters(data->params_restart, restart_list, TRUE); data 2138 lib/pengine/utils.c data->digest_restart_calc = calculate_operation_digest(data->params_restart, op_version); data 2141 lib/pengine/utils.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); data 2144 lib/pengine/utils.c return data; data 2151 lib/pengine/utils.c op_digest_cache_t *data = NULL; data 2169 lib/pengine/utils.c data = rsc_action_digest(rsc, task, key, node, xml_op, data 2173 lib/pengine/utils.c data->rc = RSC_DIGEST_MATCH; data 2174 lib/pengine/utils.c if (digest_restart && data->digest_restart_calc && strcmp(data->digest_restart_calc, digest_restart) != 0) { data 2177 lib/pengine/utils.c crm_str(digest_restart), data->digest_restart_calc, data 2179 lib/pengine/utils.c data->rc = RSC_DIGEST_RESTART; data 2183 lib/pengine/utils.c data->rc = RSC_DIGEST_UNKNOWN; data 2185 lib/pengine/utils.c } else if (strcmp(digest_all, data->digest_all_calc) != 0) { data 2188 lib/pengine/utils.c crm_str(digest_all), data->digest_all_calc, data 2191 lib/pengine/utils.c data->rc = RSC_DIGEST_ALL; data 2195 lib/pengine/utils.c return data; data 2284 lib/pengine/utils.c op_digest_cache_t *data = rsc_action_digest(rsc, STONITH_DIGEST_TASK, key, data 2292 lib/pengine/utils.c data->rc = RSC_DIGEST_UNKNOWN; data 2293 lib/pengine/utils.c return data; data 2297 lib/pengine/utils.c if (unfencing_digest_matches(rsc->id, agent, data->digest_all_calc, data 2299 lib/pengine/utils.c data->rc = RSC_DIGEST_MATCH; data 2300 lib/pengine/utils.c return data; data 2305 lib/pengine/utils.c if (unfencing_digest_matches(rsc->id, agent, data->digest_secure_calc, data 2307 lib/pengine/utils.c data->rc = RSC_DIGEST_MATCH; data 2312 lib/pengine/utils.c return data; data 2316 lib/pengine/utils.c data->rc = RSC_DIGEST_ALL; data 2318 lib/pengine/utils.c && data->digest_secure_calc) { data 2320 lib/pengine/utils.c data->digest_secure_calc); data 2326 lib/pengine/utils.c return data; data 2342 lib/pengine/utils.c pe__clear_resource_flags_recursive((pe_resource_t *) gIter->data, flags); data 2351 lib/pengine/utils.c pe__set_resource_flags_recursive((pe_resource_t *) gIter->data, flags); data 2359 lib/pengine/utils.c pe_resource_t *candidate = gIter->data; data 2401 lib/pengine/utils.c pe_node_t *n = gIter->data; data 2482 lib/pengine/utils.c pe_resource_t *match = gIter->data; data 2485 lib/pengine/utils.c op_digest_cache_t *data = NULL; data 2487 lib/pengine/utils.c data = fencing_action_digest_cmp(match, agent, node, data_set); data 2488 lib/pengine/utils.c if(data->rc == RSC_DIGEST_ALL) { data 2498 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_all_calc); data 2502 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_secure_calc); data 2604 lib/pengine/utils.c const char *existing_ref = (const char *) gIter->data; data 2802 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) ele->data; data 2823 lib/pengine/utils.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 37 lib/pengine/variant.h # define get_clone_variant_data(data, rsc) \ data 40 lib/pengine/variant.h data = (clone_variant_data_t *)rsc->variant_opaque; data 112 lib/pengine/variant.h # define get_bundle_variant_data(data, rsc) \ data 116 lib/pengine/variant.h data = (pe__bundle_variant_data_t *)rsc->variant_opaque; \ data 133 lib/pengine/variant.h # define get_group_variant_data(data, rsc) \ data 137 lib/pengine/variant.h data = (group_variant_data_t *)rsc->variant_opaque; \ data 145 lib/pengine/variant.h # define get_native_variant_data(data, rsc) \ data 149 lib/pengine/variant.h data = (native_variant_data_t *)rsc->variant_opaque; data 39 lib/services/dbus.c DBusDispatchStatus new_status, void *data) data 58 lib/services/dbus.c DBusConnection *connection = gIter->data; data 154 lib/services/dbus.c add_dbus_watch(DBusWatch *watch, void *data) data 167 lib/services/dbus.c toggle_dbus_watch(DBusWatch *watch, void *data) data 176 lib/services/dbus.c remove_dbus_watch(DBusWatch *watch, void *data) data 199 lib/services/dbus.c timer_popped(gpointer data) data 202 lib/services/dbus.c dbus_timeout_get_interval((DBusTimeout *) data)); data 203 lib/services/dbus.c dbus_timeout_handle(data); data 208 lib/services/dbus.c add_dbus_timer(DBusTimeout *timeout, void *data) data 221 lib/services/dbus.c remove_dbus_timer(DBusTimeout *timeout, void *data) data 234 lib/services/dbus.c toggle_dbus_timer(DBusTimeout *timeout, void *data) data 241 lib/services/dbus.c add_dbus_timer(timeout, data); data 243 lib/services/dbus.c remove_dbus_timer(timeout, data); data 581 lib/services/dbus.c free_property_query(struct property_query *data) data 583 lib/services/dbus.c free(data->target); data 584 lib/services/dbus.c free(data->object); data 585 lib/services/dbus.c free(data->name); data 586 lib/services/dbus.c free(data); data 590 lib/services/dbus.c handle_query_result(DBusMessage *reply, struct property_query *data) data 601 lib/services/dbus.c data->object, data->name, error.message); data 611 lib/services/dbus.c data->object, data->name); data 620 lib/services/dbus.c "Unexpected variant type", data->object, data->name); data 630 lib/services/dbus.c data->object, data->name); data 636 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); data 641 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); data 643 lib/services/dbus.c if (data->callback) { // Query was asynchronous data 644 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); data 651 lib/services/dbus.c free_property_query(data); data 787 lib/services/services.c op = gIter->data; data 814 lib/services/services.c op = gIter->data; data 829 lib/services/services.c op = gIter->data; data 1034 lib/services/services.c if (pcmk__str_eq(iter->data, standard, pcmk__str_none)) { data 1050 lib/services/services.c if (pcmk__str_eq(iter->data, provider, pcmk__str_none)) { data 57 lib/services/services_linux.c sigchld_setup(struct sigchld_data_s *data) data 59 lib/services/services_linux.c sigemptyset(&(data->mask)); data 60 lib/services/services_linux.c sigaddset(&(data->mask), SIGCHLD); data 62 lib/services/services_linux.c sigemptyset(&(data->old_mask)); data 65 lib/services/services_linux.c if (sigprocmask(SIG_BLOCK, &(data->mask), &(data->old_mask)) < 0) { data 75 lib/services/services_linux.c sigchld_open(struct sigchld_data_s *data) data 79 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); data 81 lib/services/services_linux.c fd = signalfd(-1, &(data->mask), SFD_NONBLOCK); data 121 lib/services/services_linux.c sigchld_cleanup(struct sigchld_data_s *data) data 124 lib/services/services_linux.c if ((sigismember(&(data->old_mask), SIGCHLD) == 0) data 125 lib/services/services_linux.c && (sigprocmask(SIG_UNBLOCK, &(data->mask), NULL) < 0)) { data 157 lib/services/services_linux.c sigchld_setup(struct sigchld_data_s *data) data 161 lib/services/services_linux.c data->pipe_fd[0] = data->pipe_fd[1] = -1; data 163 lib/services/services_linux.c if (pipe(data->pipe_fd) == -1) { data 169 lib/services/services_linux.c rc = pcmk__set_nonblocking(data->pipe_fd[0]); data 174 lib/services/services_linux.c rc = pcmk__set_nonblocking(data->pipe_fd[1]); data 181 lib/services/services_linux.c data->sa.sa_handler = sigchld_handler; data 182 lib/services/services_linux.c data->sa.sa_flags = 0; data 183 lib/services/services_linux.c sigemptyset(&(data->sa.sa_mask)); data 184 lib/services/services_linux.c if (sigaction(SIGCHLD, &(data->sa), &(data->old_sa)) < 0) { data 190 lib/services/services_linux.c last_sigchld_data = data; data 195 lib/services/services_linux.c sigchld_open(struct sigchld_data_s *data) data 197 lib/services/services_linux.c CRM_CHECK(data != NULL, return -1); data 198 lib/services/services_linux.c return data->pipe_fd[0]; data 223 lib/services/services_linux.c sigchld_cleanup(struct sigchld_data_s *data) data 226 lib/services/services_linux.c if (sigaction(SIGCHLD, &(data->old_sa), NULL) < 0) { data 231 lib/services/services_linux.c close_pipe(data->pipe_fd); data 258 lib/services/services_linux.c char *data = NULL; data 271 lib/services/services_linux.c data = op->stderr_data; data 276 lib/services/services_linux.c data = op->stdout_data; data 288 lib/services/services_linux.c data = pcmk__realloc(data, len + rc + 1); data 289 lib/services/services_linux.c len += sprintf(data + len, "%s", buf); data 302 lib/services/services_linux.c op->stderr_data = data; data 304 lib/services/services_linux.c op->stdout_data = data; data 476 lib/services/services_linux.c recurring_action_timer(gpointer data) data 478 lib/services/services_linux.c svc_action_t *op = data; data 764 lib/services/services_linux.c action_synced_wait(svc_action_t *op, struct sigchld_data_s *data) data 780 lib/services/services_linux.c fds[2].fd = sigchld_open(data); data 887 lib/services/services_linux.c struct sigchld_data_s data; data 943 lib/services/services_linux.c if (op->synchronous && !sigchld_setup(&data)) { data 947 lib/services/services_linux.c sigchld_cleanup(&data); data 966 lib/services/services_linux.c sigchld_cleanup(&data); data 1002 lib/services/services_linux.c sigchld_cleanup(&data); data 1054 lib/services/services_linux.c action_synced_wait(op, &data); data 1055 lib/services/services_linux.c sigchld_cleanup(&data); data 1158 lib/services/services_linux.c GList *tmp2 = resources_os_list_ocf_agents(gIter->data); data 51 lib/services/services_nagios.c const char *plugin = gIter->data; data 62 lib/services/services_private.h gboolean recurring_action_timer(gpointer data); data 107 libltdl/libltdl/lt__private.h void * data; data 45 libltdl/libltdl/lt_dlloader.h typedef lt_module lt_module_open (lt_user_data data, data 48 libltdl/libltdl/lt_dlloader.h typedef int lt_module_close (lt_user_data data, data 50 libltdl/libltdl/lt_dlloader.h typedef void * lt_find_sym (lt_user_data data, lt_module module, data 52 libltdl/libltdl/lt_dlloader.h typedef int lt_dlloader_init (lt_user_data data); data 53 libltdl/libltdl/lt_dlloader.h typedef int lt_dlloader_exit (lt_user_data data); data 83 libltdl/libltdl/lt_dlloader.h typedef const lt_dlvtable *lt_get_vtable (lt_user_data data); data 102 libltdl/ltdl.c typedef int file_worker_func (const char *filename, void *data); data 111 libltdl/ltdl.c static int find_handle_callback (char *filename, void *data, data 158 libltdl/ltdl.c lt_user_data data); data 186 libltdl/ltdl.c loader_init (lt_get_vtable *vtable_func, lt_user_data data) data 193 libltdl/ltdl.c vtable = (*vtable_func) (data); data 218 libltdl/ltdl.c LT_SCOPE const lt_dlvtable * get_vtable (lt_user_data data); data 782 libltdl/ltdl.c find_handle_callback (char *filename, void *data, void *data2) data 784 libltdl/ltdl.c lt_dlhandle *phandle = (lt_dlhandle *) data; data 1905 libltdl/ltdl.c int (*func) (const char *filename, void *data), data 1906 libltdl/ltdl.c void *data) data 1916 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1922 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1926 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1933 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1940 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1978 libltdl/ltdl.c lt_user_data data = cur->vtable->dlloader_data; data 1989 libltdl/ltdl.c errors += cur->vtable->module_close (data, cur->module); data 2019 libltdl/ltdl.c lt_user_data data; data 2053 libltdl/ltdl.c data = handle->vtable->dlloader_data; data 2075 libltdl/ltdl.c address = handle->vtable->find_sym (data, handle->module, sym); data 2098 libltdl/ltdl.c address = handle->vtable->find_sym (data, handle->module, sym); data 2322 libltdl/ltdl.c lt_dlcaller_set_data (lt_dlinterface_id key, lt_dlhandle handle, void *data) data 2337 libltdl/ltdl.c stale = cur->interface_data[i].data; data 2362 libltdl/ltdl.c cur->interface_data[i].data = data; data 2382 libltdl/ltdl.c result = cur->interface_data[i].data; data 2448 libltdl/ltdl.c int (*func) (lt_dlhandle handle, void *data), void *data) data 2466 libltdl/ltdl.c if ((errorcode = (*func) (cur, data)) != 0) data 64 libltdl/ltdl.h int (*func) (const char *filename, void *data), data 65 libltdl/ltdl.h void *data); data 125 libltdl/ltdl.h lt_dlhandle handle, void *data); data 150 libltdl/ltdl.h int (*func) (lt_dlhandle handle, void *data), data 151 libltdl/ltdl.h void *data); data 131 maint/mocked/based-notifyfenced.c mock_based_notifyfencedmer_callback_worker(gpointer data) data 133 maint/mocked/based-notifyfenced.c pcmk__client_t *cib_client = (pcmk__client_t *) data; data 180 maint/mocked/based.c mock_based_dispatch_command(qb_ipcs_connection_t *c, void *data, size_t size) data 185 maint/mocked/based.c xmlNode *op_request = pcmk__client_data2xml(cib_client, data, &id, &flags); data 41 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 42 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 43 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 85 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 97 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 109 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 285 tools/crm_mon.c char *s = node->data; data 308 tools/crm_mon.c user_include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 316 tools/crm_mon.c include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 324 tools/crm_mon.c as_cgi_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 336 tools/crm_mon.c as_html_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 357 tools/crm_mon.c as_simple_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 369 tools/crm_mon.c as_xml_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 381 tools/crm_mon.c fence_history_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 387 tools/crm_mon.c return include_exclude_cb("--include", "fencing", data, err); data 391 tools/crm_mon.c return include_exclude_cb("--include", "fencing", data, err); data 395 tools/crm_mon.c return include_exclude_cb("--include", "fencing-failed,fencing-pending", data, err); data 399 tools/crm_mon.c return include_exclude_cb("--exclude", "fencing", data, err); data 408 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 414 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 415 tools/crm_mon.c return include_exclude_cb("--exclude", "summary", data, err); data 419 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 425 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 431 tools/crm_mon.c one_shot_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 437 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 443 tools/crm_mon.c print_clone_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 449 tools/crm_mon.c print_pending_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 455 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 457 tools/crm_mon.c return include_exclude_cb("--include", "operations", data, err); data 461 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 475 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 476 tools/crm_mon.c return include_exclude_cb("--include", "attributes", data, err); data 480 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 483 tools/crm_mon.c gboolean rc = include_exclude_cb("--include", s, data, err); data 487 tools/crm_mon.c return include_exclude_cb("--include", "bans", data, err); data 492 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 493 tools/crm_mon.c return include_exclude_cb("--include", "failcounts", data, err); data 497 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 498 tools/crm_mon.c return include_exclude_cb("--include", "failcounts,operations", data, err); data 502 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 503 tools/crm_mon.c return include_exclude_cb("--include", "tickets", data, err); data 507 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 514 tools/crm_mon.c watch_fencing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 668 tools/crm_mon.c mon_timer_popped(gpointer data) data 1478 tools/crm_mon.c pe_node_t *node = (pe_node_t *) gIter->data; data 185 tools/crm_mon_print.c xmlNode *xml_op = (xmlNode *) gIter->data; data 338 tools/crm_mon_print.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 392 tools/crm_mon_print.c struct mon_attr_data *data = (struct mon_attr_data *) user_data; data 394 tools/crm_mon_print.c value = pe_node_attribute_raw(data->node, name); data 396 tools/crm_mon_print.c add_extra = add_extra_info(data->out, data->node, data->node->details->running_rsc, data 400 tools/crm_mon_print.c data->out->message(data->out, "node-attribute", name, value, add_extra, data 509 tools/crm_mon_print.c pe__location_t *location = gIter->data; data 520 tools/crm_mon_print.c pe_node_t *node = (pe_node_t *) gIter2->data; data 554 tools/crm_mon_print.c crm_mon_get_parameters(gIter->data, data_set); data 559 tools/crm_mon_print.c struct mon_attr_data data; data 561 tools/crm_mon_print.c data.out = out; data 562 tools/crm_mon_print.c data.node = (pe_node_t *) gIter->data; data 564 tools/crm_mon_print.c if (data.node && data.node->details && data.node->details->online) { data 569 tools/crm_mon_print.c g_hash_table_iter_init(&iter, data.node->details->attrs); data 578 tools/crm_mon_print.c if (!pcmk__str_in_list(only_node, data.node->details->uname)) { data 584 tools/crm_mon_print.c out->message(out, "node", data.node, get_resource_display_options(mon_ops), data 590 tools/crm_mon_print.c g_list_foreach(attr_list, print_node_attribute, &data); data 77 tools/crm_mon_runtime.c crm_mon_get_parameters(gIter->data, data_set); data 39 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 40 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 41 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 93 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 113 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 120 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 180 tools/crm_node.c if (reply->data.node_info.id == 0) { data 186 tools/crm_node.c printf("%d\n", reply->data.node_info.id); data 197 tools/crm_node.c if (reply->data.node_info.uname == NULL) { data 202 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); data 212 tools/crm_node.c printf("%d\n", reply->data.node_info.have_quorum); data 213 tools/crm_node.c if (!(reply->data.node_info.have_quorum)) { data 227 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); data 228 tools/crm_node.c for (GList *node_iter = reply->data.nodes; data 231 tools/crm_node.c pcmk_controld_api_node_t *node = node_iter->data; data 123 tools/crm_resource.c gboolean agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 124 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 125 tools/crm_resource.c gboolean class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 126 tools/crm_resource.c gboolean cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 127 tools/crm_resource.c gboolean delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 128 tools/crm_resource.c gboolean expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 130 tools/crm_resource.c gpointer data, GError **error); data 132 tools/crm_resource.c gpointer data, GError **error); data 134 tools/crm_resource.c gpointer data, GError **error); data 136 tools/crm_resource.c gpointer data, GError **error); data 138 tools/crm_resource.c gpointer data, GError **error); data 140 tools/crm_resource.c gpointer data, GError **error); data 141 tools/crm_resource.c gboolean fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 142 tools/crm_resource.c gboolean flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 143 tools/crm_resource.c gboolean get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 144 tools/crm_resource.c gboolean list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 145 tools/crm_resource.c gboolean set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 146 tools/crm_resource.c gboolean set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 147 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 149 tools/crm_resource.c gpointer data, GError **error); data 151 tools/crm_resource.c gpointer data, GError **error); data 152 tools/crm_resource.c gboolean wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 153 tools/crm_resource.c gboolean why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 215 tools/crm_resource.c resource_ipc_timeout(gpointer data) data 591 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 611 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 622 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 644 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 660 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 668 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 690 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 699 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 708 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 720 tools/crm_resource.c gpointer data, GError **error) data 730 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 739 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 756 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 763 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 794 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 811 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 829 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 846 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 860 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 867 tools/crm_resource.c gpointer data, GError **error) data 880 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 889 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 897 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 925 tools/crm_resource.c pe_resource_t *child = (pe_resource_t *)iter->data; data 1041 tools/crm_resource.c printf("Removing constraint: %s\n", (char *) ele->data); data 1171 tools/crm_resource.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 1198 tools/crm_resource.c pe_resource_t *r = (pe_resource_t *) lpc->data; data 1209 tools/crm_resource.c pe_resource_t *r = (pe_resource_t *) lpc->data; data 1761 tools/crm_resource.c rsc = (pe_resource_t *) lpc->data; data 73 tools/crm_resource_ban.c pe_node_t *target = n->data; data 315 tools/crm_resource_ban.c pe_node_t *target = n->data; data 79 tools/crm_resource_print.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 97 tools/crm_resource_print.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 113 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 142 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; data 186 tools/crm_resource_print.c pe__location_t *cons = lpc->data; data 191 tools/crm_resource_print.c pe_node_t *node = (pe_node_t *) lpc2->data; data 224 tools/crm_resource_print.c rsc_colocation_t *cons = (rsc_colocation_t *) lpc->data; data 22 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) lpc->data; data 54 tools/crm_resource_runtime.c found += do_find_resource(requested_name, iter->data, data_set); data 65 tools/crm_resource_runtime.c found += do_find_resource(requested_name, iter->data, data_set); data 169 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(result, (pe_resource_t*)gIter->data, data 221 tools/crm_resource_runtime.c pe_resource_t *child = rsc->children->data; data 305 tools/crm_resource_runtime.c rsc = (pe_resource_t*)gIter->data; data 374 tools/crm_resource_runtime.c pe_resource_t *r = (pe_resource_t *) lpc->data; data 383 tools/crm_resource_runtime.c rsc_colocation_t *cons = (rsc_colocation_t *) lpc->data; data 430 tools/crm_resource_runtime.c rsc = (pe_resource_t*)gIter->data; data 715 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 749 tools/crm_resource_runtime.c node = (pe_node_t *) lpc->data; data 854 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) iter->data; data 989 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) hIter->data; data 1031 tools/crm_resource_runtime.c pe_resource_t *rsc = (pe_resource_t *) rIter->data; data 1053 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); data 1063 tools/crm_resource_runtime.c fprintf(stdout, "%s%s\n", tag, (const char *)item->data); data 1200 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *)iter->data; data 1231 tools/crm_resource_runtime.c pe_resource_t *rsc = pe_find_resource(data_set->resources, (const char *)item->data); data 1556 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *)action->data; data 1580 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *) action->data; data 1861 tools/crm_resource_runtime.c rsc = rsc->children->data; data 1927 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *)iter->data; data 2008 tools/crm_resource_runtime.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 2046 tools/crm_resource_runtime.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 2052 tools/crm_resource_runtime.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 40 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 70 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 82 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 90 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 100 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 107 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 114 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 122 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 130 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 137 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 148 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 159 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 170 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 177 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 184 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 191 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 198 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 205 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 212 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 219 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 230 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 240 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 404 tools/crm_simulate.c pe_node_t *node = (pe_node_t *) gIter->data; data 507 tools/crm_simulate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 611 tools/crm_simulate.c pe_action_t *action = (pe_action_t *) gIter->data; data 656 tools/crm_simulate.c pe_action_t *action = (pe_action_t *) gIter->data; data 661 tools/crm_simulate.c pe_action_wrapper_t *before = (pe_action_wrapper_t *) gIter2->data; data 1082 tools/crm_simulate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 355 tools/crm_ticket.c const char *key = (const char *)list_iter->data; data 405 tools/crm_ticket.c const char *key = (const char *)list_iter->data; data 44 tools/crmadmin.c gboolean admin_message_timeout(gpointer data); data 69 tools/crmadmin.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 130 tools/crmadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) data 228 tools/crmadmin.c reply->data.ping.sys_from, data 230 tools/crmadmin.c reply->data.ping.fsa_state, data 231 tools/crmadmin.c reply->data.ping.result); data 232 tools/crmadmin.c if (BE_SILENT && (reply->data.ping.fsa_state != NULL)) { data 233 tools/crmadmin.c fprintf(stderr, "%s\n", reply->data.ping.fsa_state); data 303 tools/crmadmin.c crm_time_set_timet(crm_when, &reply->data.ping.last_good); data 309 tools/crmadmin.c reply->data.ping.sys_from, data 310 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)? data 312 tools/crmadmin.c reply->data.ping.state):"query failed", data 313 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)?"last updated":"", data 314 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)?pinged_buf:""); data 316 tools/crmadmin.c (reply->data.ping.state != pcmk_pacemakerd_state_invalid)) { data 318 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)? data 320 tools/crmadmin.c reply->data.ping.state): data 577 tools/crmadmin.c admin_message_timeout(gpointer data) data 77 tools/stonith_admin.c gboolean add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 78 tools/stonith_admin.c gboolean add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 79 tools/stonith_admin.c gboolean add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 80 tools/stonith_admin.c gboolean add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 81 tools/stonith_admin.c gboolean set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 242 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 260 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 266 tools/stonith_admin.c add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 272 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 297 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) {