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 965 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 133 daemons/attrd/pacemaker-attrd.h void free_attribute(gpointer data); data 136 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 277 daemons/based/based_callbacks.c cib_digester_cb(gpointer data) data 439 daemons/based/based_callbacks.c local_notify_destroy_callback(gpointer data) data 441 daemons/based/based_callbacks.c cib_local_notify_t *notify = data; data 1431 daemons/based/based_callbacks.c cib_force_exit(gpointer data) data 39 daemons/based/based_common.c xmlNode *data = NULL; data 47 daemons/based/based_common.c data = first_named_child(root, XML_TAG_CIB); data 50 daemons/based/based_common.c data = root; data 54 daemons/based/based_common.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { data 55 daemons/based/based_common.c data = get_object_root(section, data); data 59 daemons/based/based_common.c return data; data 63 daemons/based/based_common.c cib_prepare_none(xmlNode * request, xmlNode ** data, const char **section) data 65 daemons/based/based_common.c *data = NULL; data 71 daemons/based/based_common.c cib_prepare_data(xmlNode * request, xmlNode ** data, const char **section) data 76 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, *section); data 82 daemons/based/based_common.c cib_prepare_sync(xmlNode * request, xmlNode ** data, const char **section) data 84 daemons/based/based_common.c *data = NULL; data 90 daemons/based/based_common.c cib_prepare_diff(xmlNode * request, xmlNode ** data, const char **section) data 95 daemons/based/based_common.c *data = NULL; data 106 daemons/based/based_common.c *data = cib_prepare_common(input_fragment, NULL); data 111 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) data 113 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); data 122 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) data 125 daemons/based/based_common.c *data = NULL; data 130 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) data 137 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) data 139 daemons/based/based_common.c CRM_LOG_ASSERT(*data == NULL); data 77 daemons/based/based_remote.c static int cib_remote_listen(gpointer data); data 78 daemons/based/based_remote.c static int cib_remote_msg(gpointer data); data 262 daemons/based/based_remote.c remote_auth_timeout_cb(gpointer data) data 264 daemons/based/based_remote.c pcmk__client_t *client = data; data 279 daemons/based/based_remote.c cib_remote_listen(gpointer data) data 285 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 559 daemons/based/based_remote.c struct pam_response **response, void *data) data 563 daemons/based/based_remote.c char *string = (char *)data; data 565 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 21 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 525 daemons/controld/controld_execd.c struct ra_param_s *param = (struct ra_param_s *) iter->data; data 801 daemons/controld/controld_execd.c build_operation_update(xml_rsc, &(entry->rsc), gIter->data, lrm_state->node_name, data 1203 daemons/controld/controld_execd.c struct cancel_data *data = user_data; data 1206 daemons/controld/controld_execd.c if (pcmk__str_eq(op->op_key, data->key, pcmk__str_none)) { data 1207 daemons/controld/controld_execd.c data->done = TRUE; data 1208 daemons/controld/controld_execd.c remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove); data 1217 daemons/controld/controld_execd.c struct cancel_data data; data 1222 daemons/controld/controld_execd.c data.key = key; data 1223 daemons/controld/controld_execd.c data.rsc = rsc; data 1224 daemons/controld/controld_execd.c data.done = FALSE; data 1225 daemons/controld/controld_execd.c data.remove = remove; data 1226 daemons/controld/controld_execd.c data.lrm_state = lrm_state; data 1228 daemons/controld/controld_execd.c removed = g_hash_table_foreach_remove(lrm_state->pending_ops, cancel_action_by_key, &data); data 1231 daemons/controld/controld_execd.c return data.done; data 1575 daemons/controld/controld_execd.c xmlNode *data = do_lrm_query_internal(lrm_state, node_update_all); data 1576 daemons/controld/controld_execd.c xmlNode *reply = create_reply(msg, data); data 1583 daemons/controld/controld_execd.c free_xml(data); data 2134 daemons/controld/controld_execd.c lrm_state_t *lrm_state = state_entry->data; data 2266 daemons/controld/controld_execd.c struct stop_recurring_action_s data; data 2268 daemons/controld/controld_execd.c data.rsc = rsc; data 2269 daemons/controld/controld_execd.c data.lrm_state = lrm_state; data 2271 daemons/controld/controld_execd.c lrm_state->pending_ops, stop_recurring_action_by_rsc, &data); data 150 daemons/controld/controld_execd_state.c internal_lrm_state_destroy(gpointer data) data 152 daemons/controld/controld_execd_state.c lrm_state_t *lrm_state = data; data 294 daemons/controld/controld_fencing.c char *iter_name = tmp->data; data 316 daemons/controld/controld_fencing.c char *target = iter->data; data 336 daemons/controld/controld_fencing.c char *target = iter->data; data 373 daemons/controld/controld_fencing.c synapse_t *synapse = (synapse_t *) lpc->data; data 380 daemons/controld/controld_fencing.c crm_action_t *action = (crm_action_t *) lpc2->data; data 710 daemons/controld/controld_fencing.c tengine_stonith_callback(stonith_t *stonith, stonith_callback_data_t *data) data 716 daemons/controld/controld_fencing.c int call_id = data->call_id; data 717 daemons/controld/controld_fencing.c int rc = data->rc; data 718 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 35 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 1214 daemons/controld/controld_messages.c xmlNode *data = get_message_xml(msg, F_CRM_DATA); data 1216 daemons/controld/controld_messages.c process_te_message(msg, data); data 1227 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 304 daemons/controld/controld_metadata.c struct ra_param_s *p = iter->data; 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 947 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 954 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 978 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 1045 daemons/controld/controld_remote_ra.c cmd = gIter->data; data 1053 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 655 daemons/controld/controld_te_callbacks.c action_timer_callback(gpointer data) data 662 daemons/controld/controld_te_callbacks.c CRM_CHECK(data != NULL, return FALSE); data 664 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 344 daemons/execd/execd_commands.c stonith_recurring_op_helper(gpointer data) data 346 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = data; data 381 daemons/execd/execd_commands.c start_delay_helper(gpointer data) data 383 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = data; data 404 daemons/execd/execd_commands.c lrmd_cmd_t *dup = item->data; data 844 daemons/execd/execd_commands.c struct notify_new_client_data *data = user_data; data 846 daemons/execd/execd_commands.c if (!pcmk__str_eq(client->id, data->new_client->id, pcmk__str_casei)) { data 847 daemons/execd/execd_commands.c send_client_notify(key, (gpointer) client, (gpointer) data->notify); data 854 daemons/execd/execd_commands.c struct notify_new_client_data data; data 856 daemons/execd/execd_commands.c data.new_client = new_client; data 857 daemons/execd/execd_commands.c data.notify = create_xml_node(NULL, T_LRMD_NOTIFY); data 858 daemons/execd/execd_commands.c crm_xml_add(data.notify, F_LRMD_ORIGIN, __func__); data 859 daemons/execd/execd_commands.c crm_xml_add(data.notify, F_LRMD_OPERATION, LRMD_OP_NEW_CLIENT); data 860 daemons/execd/execd_commands.c pcmk__foreach_ipc_client(notify_one_client, &data); data 861 daemons/execd/execd_commands.c free_xml(data.notify); data 1166 daemons/execd/execd_commands.c lrmd_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data) data 1168 daemons/execd/execd_commands.c stonith_action_complete(data->userdata, data->rc); data 1215 daemons/execd/execd_commands.c stonith_action_complete(cmd_iter->data, -ENOTCONN); data 1439 daemons/execd/execd_commands.c cmd = first->data; data 1483 daemons/execd/execd_commands.c free_rsc(gpointer data) data 1486 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = data; data 1493 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1507 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1709 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1722 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = gIter->data; data 1768 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = cmd_iter->data; data 1808 daemons/execd/execd_commands.c lrmd_cmd_t *cmd = item->data; data 1942 daemons/execd/execd_commands.c xmlNode *data = get_message_xml(request, F_LRMD_CALLDATA); data 1944 daemons/execd/execd_commands.c CRM_LOG_ASSERT(data != NULL); data 1945 daemons/execd/execd_commands.c pcmk__valid_sbd_timeout(crm_element_value(data, F_LRMD_WATCHDOG)); data 39 daemons/execd/pacemaker-execd.c static gboolean lrmd_exit(gpointer data); data 105 daemons/execd/pacemaker-execd.c lrmd_ipc_dispatch(qb_ipcs_connection_t * c, void *data, size_t size) data 110 daemons/execd/pacemaker-execd.c xmlNode *request = pcmk__client_data2xml(client, data, &id, &flags); data 262 daemons/execd/pacemaker-execd.c lrmd_exit(gpointer data) data 65 daemons/execd/pacemaker-execd.h void free_rsc(gpointer data); data 52 daemons/execd/remoted_proxy.c return ipc_providers? (pcmk__client_t *) (ipc_providers->data) : NULL; data 222 daemons/execd/remoted_proxy.c ipc_proxy_dispatch(qb_ipcs_connection_t * c, void *data, size_t size) data 249 daemons/execd/remoted_proxy.c request = pcmk__client_data2xml(client, data, &id, &flags); data 421 daemons/execd/remoted_proxy.c ipc_client = gIter->data; data 84 daemons/execd/remoted_tls.c lrmd_remote_client_msg(gpointer data) data 89 daemons/execd/remoted_tls.c pcmk__client_t *client = data; data 181 daemons/execd/remoted_tls.c lrmd_auth_timeout_cb(gpointer data) data 183 daemons/execd/remoted_tls.c pcmk__client_t *client = data; data 200 daemons/execd/remoted_tls.c lrmd_remote_listen(gpointer data) data 366 daemons/execd/remoted_tls.c gnutls_free(psk_key.data); data 133 daemons/fenced/cts-fence-helper.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data) data 135 daemons/fenced/cts-fence-helper.c crm_notice("Call id %d completed with rc %d", data->call_id, data->rc); data 383 daemons/fenced/cts-fence-helper.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data) data 385 daemons/fenced/cts-fence-helper.c callback_rc = data->rc; data 114 daemons/fenced/fenced_commands.c xmlNode * data, int rc); data 291 daemons/fenced/fenced_commands.c async_command_t *cmd = gIter->data; data 324 daemons/fenced/fenced_commands.c get_agent_metadata_cb(gpointer data) { data 325 daemons/fenced/fenced_commands.c stonith_device_t *device = data; data 367 daemons/fenced/fenced_commands.c async_command_t *pending_op = gIter->data; data 479 daemons/fenced/fenced_commands.c start_delay_helper(gpointer data) data 481 daemons/fenced/fenced_commands.c async_command_t *cmd = data; data 570 daemons/fenced/fenced_commands.c free_device(gpointer data) data 573 daemons/fenced/fenced_commands.c stonith_device_t *device = data; data 579 daemons/fenced/fenced_commands.c async_command_t *cmd = gIter->data; data 1301 daemons/fenced/fenced_commands.c free_topology_entry(gpointer data) data 1303 daemons/fenced/fenced_commands.c stonith_topology_t *tp = data; data 1970 daemons/fenced/fenced_commands.c stonith_device_t *device = g_hash_table_lookup(device_list, lpc->data); data 2236 daemons/fenced/fenced_commands.c next_device = g_hash_table_lookup(device_list, iter->data); data 2248 daemons/fenced/fenced_commands.c next_device = g_hash_table_lookup(device_list, cmd->device_next->data); data 2273 daemons/fenced/fenced_commands.c async_command_t *cmd_other = gIter->data; data 2348 daemons/fenced/fenced_commands.c device = g_hash_table_lookup(device_list, devices->data); data 2415 daemons/fenced/fenced_commands.c stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, int rc) data 2450 daemons/fenced/fenced_commands.c (data? "" : "out"), rc); data 2456 daemons/fenced/fenced_commands.c if (data != NULL) { data 2457 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); data 2464 daemons/fenced/fenced_commands.c stonith_construct_async_reply(async_command_t * cmd, const char *output, xmlNode * data, int rc) data 2489 daemons/fenced/fenced_commands.c if (data != NULL) { data 2491 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); data 2593 daemons/fenced/fenced_commands.c remote_fencing_op_t *other = dup_iter->data; data 2619 daemons/fenced/fenced_commands.c xmlNode *data = NULL; data 2782 daemons/fenced/fenced_commands.c rc = stonith_fence_history(request, &data, remote_peer, call_options); data 2787 daemons/fenced/fenced_commands.c free_xml(data); data 2867 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); data 2872 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 326 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, data 330 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); data 402 daemons/fenced/fenced_remote.c handle_local_reply_and_notify(remote_fencing_op_t * op, xmlNode * data, int rc) data 414 daemons/fenced/fenced_remote.c crm_xml_add_int(data, "state", op->state); data 415 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_TARGET, op->target); data 416 daemons/fenced/fenced_remote.c crm_xml_add(data, F_STONITH_OPERATION, op->action); data 418 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); data 435 daemons/fenced/fenced_remote.c handle_duplicates(remote_fencing_op_t * op, xmlNode * data, int rc) data 440 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 486 daemons/fenced/fenced_remote.c remote_op_done(remote_fencing_op_t * op, xmlNode * data, int rc, int dup) data 507 daemons/fenced/fenced_remote.c if (!op->delegate && data && rc != -ENODEV && rc != -EHOSTUNREACH) { data 508 daemons/fenced/fenced_remote.c xmlNode *ndata = get_xpath_object("//@" F_STONITH_DELEGATE, data, data 513 daemons/fenced/fenced_remote.c op->delegate = crm_element_value_copy(data, F_ORIG); data 517 daemons/fenced/fenced_remote.c if (data == NULL) { data 518 daemons/fenced/fenced_remote.c data = create_xml_node(NULL, "remote-op"); data 519 daemons/fenced/fenced_remote.c local_data = data; data 524 daemons/fenced/fenced_remote.c } else if (crm_element_value(data, F_STONITH_MERGED)) { data 531 daemons/fenced/fenced_remote.c subt = crm_element_value(data, F_SUBTYPE); data 551 daemons/fenced/fenced_remote.c handle_local_reply_and_notify(op, data, rc); data 554 daemons/fenced/fenced_remote.c handle_duplicates(op, data, rc); data 637 daemons/fenced/fenced_remote.c remote_op_query_timeout(gpointer data) data 639 daemons/fenced/fenced_remote.c remote_fencing_op_t *op = data; data 714 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); data 729 daemons/fenced/fenced_remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); data 1217 daemons/fenced/fenced_remote.c st_query_result_t *peer = iter->data; data 1256 daemons/fenced/fenced_remote.c device = op->devices->data; data 1393 daemons/fenced/fenced_remote.c const st_query_result_t *peer = iter->data; data 1395 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, device_list->data)) { data 1397 daemons/fenced/fenced_remote.c device_list->data); data 1458 daemons/fenced/fenced_remote.c remote_fencing_op_t *dup = iter->data; data 1462 daemons/fenced/fenced_remote.c report_timeout_period(iter->data, op_timeout); data 1555 daemons/fenced/fenced_remote.c device = op->devices->data; data 1733 daemons/fenced/fenced_remote.c st_query_result_t *peer = iter->data; data 1738 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); data 2054 daemons/fenced/fenced_remote.c if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) { data 2057 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); data 87 daemons/fenced/pacemaker-fenced.c st_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 101 daemons/fenced/pacemaker-fenced.c request = pcmk__client_data2xml(c, data, &id, &flags); data 197 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); data 199 daemons/fenced/pacemaker-fenced.c if(data == NULL) { data 203 daemons/fenced/pacemaker-fenced.c xml = string2xml(data); data 205 daemons/fenced/pacemaker-fenced.c crm_err("Invalid XML: '%.120s'", data); data 206 daemons/fenced/pacemaker-fenced.c free(data); data 215 daemons/fenced/pacemaker-fenced.c free(data); data 359 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) data 371 daemons/fenced/pacemaker-fenced.c if (data != NULL) { data 372 daemons/fenced/pacemaker-fenced.c add_message_xml(update_msg, F_STONITH_CALLDATA, data); data 413 daemons/fenced/pacemaker-fenced.c xmlNode *data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 415 daemons/fenced/pacemaker-fenced.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 416 daemons/fenced/pacemaker-fenced.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 417 daemons/fenced/pacemaker-fenced.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 419 daemons/fenced/pacemaker-fenced.c rc = stonith_level_remove(data, &desc); data 422 daemons/fenced/pacemaker-fenced.c free_xml(data); data 659 daemons/fenced/pacemaker-fenced.c cib_device_update(gIter->data, data_set); data 710 daemons/fenced/pacemaker-fenced.c xmlNode *data; data 734 daemons/fenced/pacemaker-fenced.c data = create_device_registration_xml(rsc_name(rsc), st_namespace_any, data 737 daemons/fenced/pacemaker-fenced.c rc = stonith_device_register(data, NULL, TRUE); data 739 daemons/fenced/pacemaker-fenced.c free_xml(data); data 776 daemons/fenced/pacemaker-fenced.c cib_device_update(gIter->data, fenced_data_set); data 1303 daemons/fenced/pacemaker-fenced.c st_peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data) data 234 daemons/fenced/pacemaker-fenced.h xmlNode *stonith_construct_reply(xmlNode * request, const char *output, xmlNode * data, data 240 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); data 364 daemons/pacemakerd/pacemakerd.c escalate_shutdown(gpointer data) data 367 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = data; data 555 daemons/pacemakerd/pacemakerd.c pcmk_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 565 daemons/pacemakerd/pacemakerd.c msg = pcmk__client_data2xml(c, data, &id, &flags); data 79 daemons/pacemakerd/pcmkd_corosync.c cluster_reconnect_cb(gpointer data) data 252 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_dispatch(qb_ipcs_connection_t * qbc, void *data, size_t size) data 257 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 126 include/crm/cib/internal.h const char *section, xmlNode * data, int call_options, data 130 include/crm/cib/internal.h void cib_native_notify(gpointer data, gpointer user_data); data 207 include/crm/cib/internal.h const char *section, xmlNode * data, data 124 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 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 127 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 41 include/crm/common/strings_internal.h int pcmk__compress(const char *data, unsigned int length, unsigned int max, data 293 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 63 include/crm/lrmd_internal.h void remote_proxy_disconnected(gpointer data); data 64 include/crm/lrmd_internal.h void remote_proxy_free(gpointer data); data 458 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 505 lib/cib/cib_client.c cib_notify_client_t *client = (cib_notify_client_t *)l->data; data 540 lib/cib/cib_client.c cib_notify_client_t *list_client = list_item->data; data 585 lib/cib/cib_client.c cib_async_timeout_handler(gpointer data) data 587 lib/cib/cib_client.c struct timer_rec_s *timer = data; data 61 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options); data 64 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options, data 784 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options) data 786 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, data 792 lib/cib/cib_file.c xmlNode * data, xmlNode ** output_data, int call_options, data 840 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); data 846 lib/cib/cib_file.c if (section != NULL && data != NULL && pcmk__str_eq(crm_element_name(data), XML_TAG_CIB, pcmk__str_none)) { data 847 lib/cib/cib_file.c data = get_object_root(section, data); data 851 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 300 lib/cib/cib_native.c xmlNode * data, xmlNode ** output_data, int call_options) data 303 lib/cib/cib_native.c data, output_data, call_options, NULL); data 308 lib/cib/cib_native.c xmlNode * data, xmlNode ** output_data, int call_options, data 345 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, data 74 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, data 468 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, const char *name) data 498 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, data 515 lib/cib/cib_utils.c xmlNode * data, int call_options, const char *user_name) data 536 lib/cib/cib_utils.c if (data != NULL) { data 537 lib/cib/cib_utils.c add_message_xml(op_msg, F_CIB_CALLDATA, data); data 594 lib/cib/cib_utils.c cib_native_notify(gpointer data, gpointer user_data) data 597 lib/cib/cib_utils.c cib_notify_client_t *entry = data; data 720 lib/cib/cib_utils.c const char *section, xmlNode * data, data 724 lib/cib/cib_utils.c const char *section, xmlNode * data, data 732 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); data 134 lib/cluster/cluster.c xmlNode *data, gboolean ordered) data 139 lib/cluster/cluster.c return pcmk__cpg_send_xml(data, node, service); data 68 lib/cluster/cpg.c char data[0]; data 74 lib/cluster/cpg.c static void crm_cs_flush(gpointer data); data 194 lib/cluster/cpg.c crm_cs_flush_cb(gpointer data) data 197 lib/cluster/cpg.c crm_cs_flush(data); data 211 lib/cluster/cpg.c crm_cs_flush(gpointer data) data 216 lib/cluster/cpg.c cpg_handle_t *handle = (cpg_handle_t *) data; data 238 lib/cluster/cpg.c struct iovec *iov = cs_message_queue->data; data 269 lib/cluster/cpg.c cs_message_timer = g_timeout_add(delay_ms, crm_cs_flush_cb, data); data 407 lib/cluster/cpg.c (((msg->size > 1) && (msg->data[msg->size - 2] == '\0')) data 408 lib/cluster/cpg.c || (msg->data[msg->size - 1] != '\0'))) { data 447 lib/cluster/cpg.c char *data = NULL; data 510 lib/cluster/cpg.c rc = BZ2_bzBuffToBuffDecompress(uncompressed, &new_size, msg->data, msg->compressed_size, 1, 0); data 522 lib/cluster/cpg.c data = uncompressed; data 528 lib/cluster/cpg.c data = strdup(msg->data); data 534 lib/cluster/cpg.c crm_trace("Payload: %.200s", data); data 535 lib/cluster/cpg.c return data; data 545 lib/cluster/cpg.c free(data); data 880 lib/cluster/cpg.c char *data = NULL; data 882 lib/cluster/cpg.c data = dump_xml_unformatted(msg); data 883 lib/cluster/cpg.c rc = send_cluster_text(crm_class_cluster, data, FALSE, node, dest); data 884 lib/cluster/cpg.c free(data); data 901 lib/cluster/cpg.c send_cluster_text(enum crm_ais_msg_class msg_class, const char *data, data 931 lib/cluster/cpg.c if (data == NULL) { data 932 lib/cluster/cpg.c data = ""; data 976 lib/cluster/cpg.c msg->size = 1 + strlen(data); data 981 lib/cluster/cpg.c memcpy(msg->data, data, msg->size); data 986 lib/cluster/cpg.c char *uncompressed = strdup(data); data 993 lib/cluster/cpg.c memcpy(msg->data, compressed, new_size); data 1002 lib/cluster/cpg.c memcpy(msg->data, data, msg->size); data 1016 lib/cluster/cpg.c msg->compressed_size, data); data 1020 lib/cluster/cpg.c msg->size, data); data 195 lib/cluster/membership.c struct refresh_data *data = user_data; data 196 lib/cluster/membership.c const char *remote = crm_element_value(result, data->field); data 203 lib/cluster/membership.c if (data->has_state) { data 247 lib/cluster/membership.c struct refresh_data data; data 258 lib/cluster/membership.c data.field = "id"; data 259 lib/cluster/membership.c data.has_state = TRUE; data 261 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 269 lib/cluster/membership.c data.field = "value"; data 270 lib/cluster/membership.c data.has_state = FALSE; data 272 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 273 lib/cluster/membership.c data.field = "id"; data 274 lib/cluster/membership.c data.has_state = FALSE; data 276 lib/cluster/membership.c remote_cache_refresh_helper, &data); data 387 lib/cluster/membership.c destroy_crm_node(gpointer data) data 389 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 430 lib/common/acl.c xml_acl_t *acl = aIter->data; data 128 lib/common/cib_secrets.c key = (char *)(l->data); data 20 lib/common/cmdline.c bump_verbosity(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 21 lib/common/cmdline.c pcmk__common_args_t *common_args = (pcmk__common_args_t *) data; data 45 lib/common/cmdline.c free_common_args(gpointer data) { data 46 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 290 lib/common/ipc_server.c free_event(gpointer data) data 292 lib/common/ipc_server.c pcmk_free_ipc_event((struct iovec *) data); data 392 lib/common/ipc_server.c pcmk__client_data2xml(pcmk__client_t *c, void *data, uint32_t *id, data 397 lib/common/ipc_server.c char *text = ((char *)data) + sizeof(pcmk__ipc_header_t); data 398 lib/common/ipc_server.c pcmk__ipc_header_t *header = data; data 405 lib/common/ipc_server.c *id = ((struct qb_ipc_response_header *)data)->id; data 450 lib/common/ipc_server.c crm_ipcs_flush_events_cb(gpointer data) data 452 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 447 lib/common/mainloop.c void *data; data 453 lib/common/mainloop.c gio_read_socket(GIOChannel * gio, GIOCondition condition, gpointer data) data 455 lib/common/mainloop.c struct gio_to_qb_poll *adaptor = (struct gio_to_qb_poll *)data; data 458 lib/common/mainloop.c crm_trace("%p.%d %d", data, fd, condition); data 464 lib/common/mainloop.c return (adaptor->fn(fd, condition, adaptor->data) == 0); data 468 lib/common/mainloop.c gio_poll_destroy(gpointer data) data 470 lib/common/mainloop.c struct gio_to_qb_poll *adaptor = (struct gio_to_qb_poll *)data; data 542 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn, int32_t add) data 582 lib/common/mainloop.c adaptor->data = data; data 610 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn) data 612 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_TRUE); data 617 lib/common/mainloop.c void *data, qb_ipcs_dispatch_fn_t fn) data 619 lib/common/mainloop.c return gio_poll_dispatch_update(p, fd, evts, data, fn, QB_FALSE); data 746 lib/common/mainloop.c mainloop_gio_callback(GIOChannel * gio, GIOCondition condition, gpointer data) data 749 lib/common/mainloop.c mainloop_io_t *client = data; data 1189 lib/common/mainloop.c mainloop_child_t *child = iter->data; data 1225 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 530 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) data 534 lib/common/nvpair.c if (data == NULL) { data 536 lib/common/nvpair.c CRM_LOG_ASSERT(data != NULL); data 540 lib/common/nvpair.c crm_err("Couldn't find NULL in %s", crm_element_name(data)); data 547 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); data 566 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) data 571 lib/common/nvpair.c value = crm_element_value(data, name); data 598 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) data 603 lib/common/nvpair.c value = crm_element_value(data, name); data 623 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) data 630 lib/common/nvpair.c value = crm_element_value(data, name); data 727 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) data 730 lib/common/nvpair.c const char *value = crm_element_value(data, name); data 114 lib/common/output_html.c add_error_node(gpointer data, gpointer user_data) { data 115 lib/common/output_html.c char *str = (char *) data; data 178 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); data 180 lib/common/output_log.c offset = snprintf(prefix, LINE_MAX, "%s", (char *)gIter->data); data 219 lib/common/output_log.c free((char *)priv->prefixes->tail->data); data 139 lib/common/output_xml.c add_error_node(gpointer data, gpointer user_data) { data 140 lib/common/output_xml.c char *str = (char *) data; data 168 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 355 lib/common/patchset.c pcmk__deleted_xml_t *deleted_obj = gIter->data; data 1229 lib/common/patchset.c xml_change_obj_t *change_obj = gIter->data; data 748 lib/common/strings.c pcmk__compress(const char *data, unsigned int length, unsigned int max, data 753 lib/common/strings.c char *uncompressed = strdup(data); data 887 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 404 lib/common/xml.c pcmk__deleted_xml_t *deleted_obj = gIter->data; data 1445 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) data 1454 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { data 1458 lib/common/xml.c name = crm_element_name(data); data 1465 lib/common/xml.c if (data->type == XML_COMMENT_NODE) { data 1466 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); data 1471 lib/common/xml.c hidden = crm_element_value(data, "hidden"); data 1472 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; data 1499 lib/common/xml.c if(xml_has_children(data) == FALSE) { data 1514 lib/common/xml.c if(data->type == XML_COMMENT_NODE) { data 1517 lib/common/xml.c } else if(xml_has_children(data) == FALSE) { data 1524 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1546 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) data 1552 lib/common/xml.c if ((data == NULL) || (log_level == LOG_NEVER)) { data 1556 lib/common/xml.c p = data->_private; data 1563 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix_m, data, depth, data 1587 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, flags, data, depth, data 1590 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { data 1595 lib/common/xml.c const char *value = crm_element_value(data, aname); data 1601 lib/common/xml.c const char *value = crm_element_value(data, aname); data 1623 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1629 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix, data, depth, data 1633 lib/common/xml.c for (child = pcmk__xml_first_child(data); child != NULL; data 1646 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) data 1661 lib/common/xml.c if (data == NULL) { data 1668 lib/common/xml.c log_xml_changes(log_level, file, function, line, prefix, data, depth, data 1675 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { data 1682 lib/common/xml.c && (data->children == NULL || crm_element_value(data, XML_DIFF_MARKER))) { data 1693 lib/common/xml.c for (a_child = pcmk__xml_first_child(data); a_child != NULL; data 1698 lib/common/xml.c pcmk__xe_log(log_level, file, function, line, prefix, data, depth, data 1706 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) data 1708 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { data 1716 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1724 lib/common/xml.c if (data == NULL) { data 1734 lib/common/xml.c name = crm_element_name(data); data 1741 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); data 1744 lib/common/xml.c for (xmlAttrPtr a = pcmk__xe_first_attr(data); a != NULL; a = a->next) { data 1749 lib/common/xml.c if (data->children == NULL) { data 1760 lib/common/xml.c if (data->children) { data 1762 lib/common/xml.c for(xChild = data->children; xChild != NULL; xChild = xChild->next) { data 1776 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1782 lib/common/xml.c if (data == NULL) { data 1794 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1802 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1808 lib/common/xml.c if (data == NULL) { data 1821 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1830 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) data 1836 lib/common/xml.c if (data == NULL) { data 1849 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); data 1871 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, data 1874 lib/common/xml.c if(data == NULL) { data 1895 lib/common/xml.c doc = getDocPtr(data); data 1912 lib/common/xml.c xmlNodeDumpOutput(xml_buffer, doc, data, 0, data 1924 lib/common/xml.c crm_log_xml_trace(data, "Long time"); data 1934 lib/common/xml.c switch(data->type) { data 1937 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); data 1942 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); data 1946 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); data 1949 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); data 1952 lib/common/xml.c crm_warn("Unhandled type: %d", data->type); data 2896 lib/common/xml.c crm_destroy_xml(gpointer data) data 2898 lib/common/xml.c free_xml(data); data 73 lib/fencing/st_client.c void (*op_callback) (stonith_t * st, stonith_callback_data_t * data); data 87 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data); data 112 lib/fencing/st_client.c xmlNode *stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, data 115 lib/fencing/st_client.c xmlNode *data, xmlNode **output_data, data 119 lib/fencing/st_client.c static void stonith_send_notification(gpointer data, gpointer user_data); data 237 lib/fencing/st_client.c stonith_notify_client_t *list_client = list_item->data; data 279 lib/fencing/st_client.c xmlNode *data = create_xml_node(NULL, F_STONITH_DEVICE); data 280 lib/fencing/st_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 292 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, id); data 293 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 294 lib/fencing/st_client.c crm_xml_add(data, "agent", agent); data 296 lib/fencing/st_client.c crm_xml_add(data, "namespace", stonith_namespace2text(namespace)); data 299 lib/fencing/st_client.c crm_xml_add(data, "rsc_provides", rsc_provides); data 306 lib/fencing/st_client.c return data; data 315 lib/fencing/st_client.c xmlNode *data = NULL; data 317 lib/fencing/st_client.c data = create_device_registration_xml(id, stonith_text2namespace(namespace), data 320 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); data 321 lib/fencing/st_client.c free_xml(data); data 330 lib/fencing/st_client.c xmlNode *data = NULL; data 332 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 333 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 334 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); data 335 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); data 336 lib/fencing/st_client.c free_xml(data); data 347 lib/fencing/st_client.c xmlNode *data = NULL; data 351 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 352 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 355 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 358 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); data 361 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_ATTRIBUTE, attr); data 362 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); data 365 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 366 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); data 367 lib/fencing/st_client.c free_xml(data); data 401 lib/fencing/st_client.c xmlNode *data; data 405 lib/fencing/st_client.c data = create_xml_node(NULL, XML_TAG_FENCING_LEVEL); data 406 lib/fencing/st_client.c CRM_CHECK(data, return NULL); data 408 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 409 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_ID, level); data 410 lib/fencing/st_client.c crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level); data 413 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET, node); data 416 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); data 419 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_ATTRIBUTE, attr); data 420 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value); data 429 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_DEVICES, list); data 432 lib/fencing/st_client.c return data; data 442 lib/fencing/st_client.c xmlNode *data = create_level_registration_xml(node, pattern, attr, value, data 444 lib/fencing/st_client.c CRM_CHECK(data != NULL, return -EINVAL); data 446 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); data 447 lib/fencing/st_client.c free_xml(data); data 967 lib/fencing/st_client.c xmlNode *data = NULL; data 973 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 974 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 975 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, target); data 976 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, "off"); data 977 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout); data 1004 lib/fencing/st_client.c free_xml(data); data 1015 lib/fencing/st_client.c xmlNode *data = NULL; data 1017 lib/fencing/st_client.c data = create_xml_node(NULL, F_STONITH_DEVICE); data 1018 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ORIGIN, __func__); data 1019 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_DEVICE, id); data 1020 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, action); data 1021 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, victim); data 1023 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output, call_options, timeout); data 1024 lib/fencing/st_client.c free_xml(data); data 1073 lib/fencing/st_client.c xmlNode *data = NULL; data 1075 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); data 1076 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, node); data 1077 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_ACTION, action); data 1078 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_TIMEOUT, timeout); data 1079 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_TOLERANCE, tolerance); data 1080 lib/fencing/st_client.c crm_xml_add_int(data, F_STONITH_DELAY, delay); data 1082 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); data 1083 lib/fencing/st_client.c free_xml(data); data 1108 lib/fencing/st_client.c xmlNode *data = NULL; data 1115 lib/fencing/st_client.c data = create_xml_node(NULL, __func__); data 1116 lib/fencing/st_client.c crm_xml_add(data, F_STONITH_TARGET, node); data 1120 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output, data 1122 lib/fencing/st_client.c free_xml(data); data 1204 lib/fencing/st_client.c stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, int call_options) data 1220 lib/fencing/st_client.c if (data != NULL) { data 1221 lib/fencing/st_client.c add_message_xml(op_msg, F_STONITH_CALLDATA, data); data 1228 lib/fencing/st_client.c stonith_destroy_op_callback(gpointer data) data 1230 lib/fencing/st_client.c stonith_callback_client_t *blob = data; data 1287 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) data 1289 lib/fencing/st_client.c stonith_callback_data_t data = { 0, }; data 1291 lib/fencing/st_client.c data.call_id = call_id; data 1292 lib/fencing/st_client.c data.rc = rc; data 1293 lib/fencing/st_client.c data.userdata = userdata; data 1295 lib/fencing/st_client.c callback(st, &data); data 1352 lib/fencing/st_client.c stonith_async_timeout_handler(gpointer data) data 1354 lib/fencing/st_client.c struct timer_rec_s *timer = data; data 1630 lib/fencing/st_client.c stonith_notify_client_t *list_client = list_item->data; data 1652 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) data 1737 lib/fencing/st_client.c xmlNode *data = get_xpath_object(data_addr, msg, LOG_DEBUG); data 1746 lib/fencing/st_client.c if (data) { data 1747 lib/fencing/st_client.c event->origin = crm_element_value_copy(data, F_STONITH_ORIGIN); data 1748 lib/fencing/st_client.c event->action = crm_element_value_copy(data, F_STONITH_ACTION); data 1749 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); data 1750 lib/fencing/st_client.c event->executioner = crm_element_value_copy(data, F_STONITH_DELEGATE); data 1751 lib/fencing/st_client.c event->id = crm_element_value_copy(data, F_STONITH_REMOTE_OP_ID); data 1752 lib/fencing/st_client.c event->client_origin = crm_element_value_copy(data, F_STONITH_CLIENTNAME); data 1753 lib/fencing/st_client.c event->device = crm_element_value_copy(data, F_STONITH_DEVICE); data 1782 lib/fencing/st_client.c stonith_send_notification(gpointer data, gpointer user_data) data 1785 lib/fencing/st_client.c stonith_notify_client_t *entry = data; data 1837 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data, data 1867 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); data 1875 lib/fencing/st_client.c if (data) { data 1876 lib/fencing/st_client.c const char *delay_s = crm_element_value(data, F_STONITH_DELAY); data 143 lib/lrmd/lrmd_alerts.c pcmk__alert_t *entry = (pcmk__alert_t *)(iter->data); data 391 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(lrmd, iter->data); data 511 lib/lrmd/lrmd_client.c lrmd_create_op(const char *token, const char *op, xmlNode *data, int timeout, data 526 lib/lrmd/lrmd_client.c if (data != NULL) { data 527 lib/lrmd/lrmd_client.c add_message_xml(op_msg, F_LRMD_CALLDATA, data); data 841 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd_t *lrmd, const char *op, xmlNode *data, data 863 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); data 915 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 917 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 918 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, data 920 lib/lrmd/lrmd_client.c free_xml(data); data 932 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_OPERATION); data 934 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 937 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_WATCHDOG, value); data 939 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, data 941 lib/lrmd/lrmd_client.c free_xml(data); data 1047 lib/lrmd/lrmd_client.c dest->data = gnutls_malloc(source->size); data 1048 lib/lrmd/lrmd_client.c CRM_ASSERT(dest->data); data 1049 lib/lrmd/lrmd_client.c memcpy(dest->data, source->data, source->size); data 1056 lib/lrmd/lrmd_client.c gnutls_free(datum->data); data 1057 lib/lrmd/lrmd_client.c datum->data = NULL; data 1079 lib/lrmd/lrmd_client.c key->data = gnutls_malloc(buf_len); data 1093 lib/lrmd/lrmd_client.c key->data = gnutls_realloc(key->data, buf_len); data 1094 lib/lrmd/lrmd_client.c CRM_ASSERT(key->data); data 1096 lib/lrmd/lrmd_client.c key->data[key->size++] = (unsigned char) next; data 1406 lib/lrmd/lrmd_client.c gnutls_free(psk_key.data); data 1484 lib/lrmd/lrmd_client.c gnutls_free(psk_key.data); data 1673 lib/lrmd/lrmd_client.c xmlNode *data = NULL; data 1683 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); data 1685 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1686 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1687 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_CLASS, class); data 1688 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_PROVIDER, provider); data 1689 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_TYPE, type); data 1690 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); data 1691 lib/lrmd/lrmd_client.c free_xml(data); data 1700 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1702 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1703 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1704 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); data 1705 lib/lrmd/lrmd_client.c free_xml(data); data 1760 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1766 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1767 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1768 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); data 1769 lib/lrmd/lrmd_client.c free_xml(data); data 1809 lib/lrmd/lrmd_client.c xmlNode *data = NULL; data 1820 lib/lrmd/lrmd_client.c data = create_xml_node(NULL, F_LRMD_RSC); data 1821 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 1822 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 1824 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_GET_RECURRING, data, &output_xml, data 1826 lib/lrmd/lrmd_client.c if (data) { data 1827 lib/lrmd/lrmd_client.c free_xml(data); data 1998 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 1999 lib/lrmd/lrmd_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 2002 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 2003 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 2004 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ACTION, action); data 2005 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_USERDATA_STR, userdata); data 2006 lib/lrmd/lrmd_client.c crm_xml_add_ms(data, F_LRMD_RSC_INTERVAL, interval_ms); data 2007 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_TIMEOUT, timeout); data 2008 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_RSC_START_DELAY, start_delay); data 2014 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); data 2015 lib/lrmd/lrmd_client.c free_xml(data); data 2027 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_ALERT); data 2028 lib/lrmd/lrmd_client.c xmlNode *args = create_xml_node(data, XML_TAG_ATTRS); data 2031 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 2032 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ALERT_ID, alert_id); data 2033 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ALERT_PATH, alert_path); data 2034 lib/lrmd/lrmd_client.c crm_xml_add_int(data, F_LRMD_TIMEOUT, timeout); data 2040 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, data 2042 lib/lrmd/lrmd_client.c free_xml(data); data 2053 lib/lrmd/lrmd_client.c xmlNode *data = create_xml_node(NULL, F_LRMD_RSC); data 2055 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_ORIGIN, __func__); data 2056 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ACTION, action); data 2057 lib/lrmd/lrmd_client.c crm_xml_add(data, F_LRMD_RSC_ID, rsc_id); data 2058 lib/lrmd/lrmd_client.c crm_xml_add_ms(data, F_LRMD_RSC_INTERVAL, interval_ms); data 2059 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); data 2060 lib/lrmd/lrmd_client.c free_xml(data); data 2106 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, (const char *)gIter->data); data 2139 lib/lrmd/lrmd_client.c if (pcmk__str_eq(agent, gIter2->data, pcmk__str_casei)) { data 2158 lib/lrmd/lrmd_client.c provider = gIter->data; data 2161 lib/lrmd/lrmd_client.c *providers = lrmd_list_add(*providers, (const char *)gIter->data); data 2180 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 41 lib/pacemaker/pcmk_cluster_queries.c quit_main_loop(data_t *data) data 43 lib/pacemaker/pcmk_cluster_queries.c if (data->mainloop != NULL) { data 44 lib/pacemaker/pcmk_cluster_queries.c GMainLoop *mloop = data->mainloop; data 46 lib/pacemaker/pcmk_cluster_queries.c data->mainloop = NULL; // Don't re-enter this block data 55 lib/pacemaker/pcmk_cluster_queries.c data_t *data = user_data; data 56 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 59 lib/pacemaker/pcmk_cluster_queries.c data->message_timeout_ms); data 60 lib/pacemaker/pcmk_cluster_queries.c data->message_timer_id = 0; data 61 lib/pacemaker/pcmk_cluster_queries.c data->rc = ETIMEDOUT; data 62 lib/pacemaker/pcmk_cluster_queries.c quit_main_loop(data); data 67 lib/pacemaker/pcmk_cluster_queries.c start_main_loop(data_t *data) data 69 lib/pacemaker/pcmk_cluster_queries.c if (data->message_timeout_ms < 1) { data 70 lib/pacemaker/pcmk_cluster_queries.c data->message_timeout_ms = DEFAULT_MESSAGE_TIMEOUT_MS; data 73 lib/pacemaker/pcmk_cluster_queries.c data->rc = ECONNRESET; // For unexpected disconnects data 74 lib/pacemaker/pcmk_cluster_queries.c data->mainloop = g_main_loop_new(NULL, FALSE); data 75 lib/pacemaker/pcmk_cluster_queries.c data->message_timer_id = g_timeout_add(data->message_timeout_ms, data 77 lib/pacemaker/pcmk_cluster_queries.c data); data 78 lib/pacemaker/pcmk_cluster_queries.c g_main_loop_run(data->mainloop); data 82 lib/pacemaker/pcmk_cluster_queries.c event_done(data_t *data, pcmk_ipc_api_t *api) data 85 lib/pacemaker/pcmk_cluster_queries.c quit_main_loop(data); data 89 lib/pacemaker/pcmk_cluster_queries.c controld_event_reply(data_t *data, pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, crm_exit_t status, void *event_data) data 91 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 96 lib/pacemaker/pcmk_cluster_queries.c if (data->rc == ECONNRESET) { // Unexpected data 99 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); data 109 lib/pacemaker/pcmk_cluster_queries.c if (data->message_timer_id != 0) { data 110 lib/pacemaker/pcmk_cluster_queries.c g_source_remove(data->message_timer_id); data 111 lib/pacemaker/pcmk_cluster_queries.c data->message_timer_id = 0; data 117 lib/pacemaker/pcmk_cluster_queries.c data->rc = EBADMSG; data 118 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); data 125 lib/pacemaker/pcmk_cluster_queries.c data->rc = EBADMSG; data 126 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); data 138 lib/pacemaker/pcmk_cluster_queries.c data_t *data = user_data; data 139 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 140 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, data 145 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, data 147 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.fsa_state, data 148 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.result); data 149 lib/pacemaker/pcmk_cluster_queries.c data->rc = pcmk_rc_ok; data 152 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); data 160 lib/pacemaker/pcmk_cluster_queries.c data_t *data = user_data; data 161 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 162 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, data 167 lib/pacemaker/pcmk_cluster_queries.c data->rc = pcmk_rc_ok; data 170 lib/pacemaker/pcmk_cluster_queries.c event_done(data, controld_api); data 178 lib/pacemaker/pcmk_cluster_queries.c data_t *data = user_data; data 179 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 187 lib/pacemaker/pcmk_cluster_queries.c if (data->rc == ECONNRESET) { // Unexpected data 190 lib/pacemaker/pcmk_cluster_queries.c event_done(data, pacemakerd_api); data 200 lib/pacemaker/pcmk_cluster_queries.c if (data->message_timer_id != 0) { data 201 lib/pacemaker/pcmk_cluster_queries.c g_source_remove(data->message_timer_id); data 202 lib/pacemaker/pcmk_cluster_queries.c data->message_timer_id = 0; data 208 lib/pacemaker/pcmk_cluster_queries.c event_done(data, pacemakerd_api); data 215 lib/pacemaker/pcmk_cluster_queries.c event_done(data, pacemakerd_api); data 221 lib/pacemaker/pcmk_cluster_queries.c crm_time_set_timet(crm_when, &reply->data.ping.last_good); data 227 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, data 228 lib/pacemaker/pcmk_cluster_queries.c (reply->data.ping.status == pcmk_rc_ok)? data 230 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.state):"query failed", data 231 lib/pacemaker/pcmk_cluster_queries.c (reply->data.ping.status == pcmk_rc_ok)?pinged_buf:""); data 232 lib/pacemaker/pcmk_cluster_queries.c data->rc = pcmk_rc_ok; data 236 lib/pacemaker/pcmk_cluster_queries.c event_done(data, pacemakerd_api); data 240 lib/pacemaker/pcmk_cluster_queries.c ipc_connect(data_t *data, enum pcmk_ipc_server server, pcmk_ipc_callback_t cb) data 243 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 252 lib/pacemaker/pcmk_cluster_queries.c data->rc = rc; data 256 lib/pacemaker/pcmk_cluster_queries.c pcmk_register_ipc_callback(api, cb, data); data 263 lib/pacemaker/pcmk_cluster_queries.c data->rc = rc; data 273 lib/pacemaker/pcmk_cluster_queries.c data_t data = { data 280 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = ipc_connect(&data, pcmk_ipc_controld, controller_status_event_cb); data 286 lib/pacemaker/pcmk_cluster_queries.c data.rc = rc; data 289 lib/pacemaker/pcmk_cluster_queries.c start_main_loop(&data); data 294 lib/pacemaker/pcmk_cluster_queries.c return data.rc; data 318 lib/pacemaker/pcmk_cluster_queries.c data_t data = { data 325 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = ipc_connect(&data, pcmk_ipc_controld, designated_controller_event_cb); data 331 lib/pacemaker/pcmk_cluster_queries.c data.rc = rc; data 334 lib/pacemaker/pcmk_cluster_queries.c start_main_loop(&data); data 339 lib/pacemaker/pcmk_cluster_queries.c return data.rc; data 363 lib/pacemaker/pcmk_cluster_queries.c data_t data = { data 370 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *pacemakerd_api = ipc_connect(&data, pcmk_ipc_pacemakerd, pacemakerd_event_cb); data 376 lib/pacemaker/pcmk_cluster_queries.c data.rc = rc; data 379 lib/pacemaker/pcmk_cluster_queries.c start_main_loop(&data); data 384 lib/pacemaker/pcmk_cluster_queries.c return data.rc; data 417 lib/pacemaker/pcmk_cluster_queries.c struct node_data *data = user_data; data 418 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; data 420 lib/pacemaker/pcmk_cluster_queries.c const char *id = crm_element_value(result, data->field); data 423 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "crmadmin-node", data->type, data 426 lib/pacemaker/pcmk_cluster_queries.c data->BASH_EXPORT); data 427 lib/pacemaker/pcmk_cluster_queries.c data->found++; data 449 lib/pacemaker/pcmk_cluster_queries.c struct node_data data = { data 462 lib/pacemaker/pcmk_cluster_queries.c data.field = "id"; data 463 lib/pacemaker/pcmk_cluster_queries.c data.type = "cluster"; data 465 lib/pacemaker/pcmk_cluster_queries.c remote_node_print_helper, &data); data 469 lib/pacemaker/pcmk_cluster_queries.c data.field = "value"; data 470 lib/pacemaker/pcmk_cluster_queries.c data.type = "guest"; data 472 lib/pacemaker/pcmk_cluster_queries.c remote_node_print_helper, &data); data 476 lib/pacemaker/pcmk_cluster_queries.c data.field = "id"; data 477 lib/pacemaker/pcmk_cluster_queries.c data.type = "remote"; data 479 lib/pacemaker/pcmk_cluster_queries.c remote_node_print_helper, &data); data 484 lib/pacemaker/pcmk_cluster_queries.c if (data.found == 0) { 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 350 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); data 76 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; data 81 lib/pacemaker/pcmk_output.c pe_node_t *node = (pe_node_t *) lpc2->data; data 363 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; data 406 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; data 438 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; data 481 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; data 509 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; data 514 lib/pacemaker/pcmk_output.c pe_node_t *node = (pe_node_t *) lpc2->data; data 874 lib/pacemaker/pcmk_output.c start = possible_matches->data; data 885 lib/pacemaker/pcmk_output.c stop = possible_matches->data; data 891 lib/pacemaker/pcmk_output.c promote = possible_matches->data; data 897 lib/pacemaker/pcmk_output.c demote = possible_matches->data; data 906 lib/pacemaker/pcmk_output.c migrate_op = possible_matches->data; data 963 lib/pacemaker/pcmk_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 968 lib/pacemaker/pcmk_output.c stop_op = possible_matches->data; data 450 lib/pacemaker/pcmk_sched_allocate.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 515 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 547 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 607 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 628 lib/pacemaker/pcmk_sched_allocate.c pe__location_t *cons = gIter->data; data 707 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 766 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 779 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 864 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 880 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 920 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 949 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 969 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1004 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) item->data, data_set); data 1035 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = rsc->running_on->data; data 1067 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = item->data; data 1090 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) gIter->data, data_set); data 1097 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1111 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1115 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 1135 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1161 lib/pacemaker/pcmk_sched_allocate.c sort_rsc_process_order(gconstpointer a, gconstpointer b, gpointer data) data 1169 lib/pacemaker/pcmk_sched_allocate.c GList *nodes = (GList *) data; data 1242 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1301 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1313 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1361 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1400 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1414 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1467 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1481 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1500 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1517 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1644 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *node = (pe_node_t *) gIter->data; data 1680 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) stonith_ops->data, data 1732 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *node_stop = (pe_action_t *) gIter->data; data 1749 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) gIter->data, dc_down, data 1758 lib/pacemaker/pcmk_sched_allocate.c order_actions((pe_action_t *) stonith_ops->data, dc_down, data 1843 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action_iter = (pe_action_t *) gIter->data; data 1910 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *lh_action_iter = (pe_action_t *) gIter->data; data 2251 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2311 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rsc_action = item->data; data 2375 lib/pacemaker/pcmk_sched_allocate.c pe__ordering_t *order = gIter->data; data 2476 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) pIter->data; data 2480 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *rh_action_iter = (pe_action_t *) rIter->data; data 2546 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *then = (pe_action_t *) gIter->data; data 2577 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *after_wrapper = (pe_action_wrapper_t *) gIter->data; data 2631 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2646 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t * child = (pe_resource_t *) gIter->data; data 2658 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) gIter->data; data 2662 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *after_wrapper = (pe_action_wrapper_t *) aIter->data; data 2678 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2693 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 2744 lib/pacemaker/pcmk_sched_allocate.c start = actions->data; data 2756 lib/pacemaker/pcmk_sched_allocate.c pe_action_wrapper_t *before = (pe_action_wrapper_t *) actions->data; data 2765 lib/pacemaker/pcmk_sched_allocate.c before = (pe_action_wrapper_t *) clone_actions->data; data 2793 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *probe = (pe_action_t *) pIter->data; data 2828 lib/pacemaker/pcmk_sched_allocate.c pe__ordering_t *order = gIter->data; data 2851 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2861 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2868 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 2874 lib/pacemaker/pcmk_sched_allocate.c input = (pe_action_wrapper_t *) input_iter->data; data 2896 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 3007 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 3023 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 3066 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *action = (pe_action_t *) gIter->data; data 21 lib/pacemaker/pcmk_sched_bundle.c is_bundle_node(pe__bundle_variant_data_t *data, pe_node_t *node) data 23 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; gIter = gIter->next) { data 24 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 43 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 45 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 46 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; data 48 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 130 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 218 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 285 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 383 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 416 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *node = (pe_node_t *) gIter->data; data 475 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 476 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 477 lib/pacemaker/pcmk_sched_bundle.c return data->nreplicas_per_host; data 527 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 567 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 569 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, action->rsc); data 570 lib/pacemaker/pcmk_sched_bundle.c if(data->child) { data 571 lib/pacemaker/pcmk_sched_bundle.c enum action_tasks task = get_complex_task(data->child, action->task, TRUE); data 580 lib/pacemaker/pcmk_sched_bundle.c return summary_action_flags(action, data->child->children, node); data 609 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 630 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *data = NULL; data 632 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(data, rsc); data 633 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = data->replicas; gIter != NULL; data 635 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 667 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *then_child = gIter->data; data 847 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *then_child = (pe_resource_t *) gIter->data; data 861 lib/pacemaker/pcmk_sched_bundle.c pe_action_wrapper_t *next = (pe_action_wrapper_t *) lpc->data; data 885 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 920 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 991 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; data 1027 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *other = tIter->data; data 1087 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 123 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 136 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 153 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 166 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 215 lib/pacemaker/pcmk_sched_clone.c node1 = (pe_node_t *) gIter1->data; data 216 lib/pacemaker/pcmk_sched_clone.c node2 = (pe_node_t *) gIter2->data; data 547 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *cons = (pcmk__colocation_t *) gIter->data; data 556 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *cons = (pcmk__colocation_t *) gIter->data; data 583 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = nIter->data; data 605 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 648 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 704 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 712 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 752 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 770 lib/pacemaker/pcmk_sched_clone.c pe_action_t *action = (pe_action_t *) gIter->data; data 820 lib/pacemaker/pcmk_sched_clone.c pe_action_t *op = (pe_action_t *) gIter->data; data 875 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 928 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 997 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1030 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1096 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node = (pe_node_t *) gIter->data; data 1195 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1211 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1222 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) action->rsc->children->data; data 1274 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1322 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1338 lib/pacemaker/pcmk_sched_clone.c pe_action_t *op = (pe_action_t *) gIter->data; data 1371 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1397 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) child_iter->data; data 1423 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1442 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child = (pe_resource_t *) child_iter->data; data 1465 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; data 1478 lib/pacemaker/pcmk_sched_clone.c child = rsc->children->data; data 198 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *parent = rIter->data; data 468 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *child = rIter->data; data 592 lib/pacemaker/pcmk_sched_constraints.c const char *obj_ref = (const char *) gIter->data; data 625 lib/pacemaker/pcmk_sched_constraints.c xmlNode *tag_ref = gIter->data; data 682 lib/pacemaker/pcmk_sched_constraints.c const char *obj_ref = (const char *) gIter->data; data 753 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *r = rIter->data; data 1141 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *node = (pe_node_t *) gIter->data; data 1149 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *node = (pe_node_t *) gIter->data; data 1771 lib/pacemaker/pcmk_sched_constraints.c resource = (pe_resource_t *) set_iter->data; data 1790 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *then_rsc = (pe_resource_t *) gIter->data; data 1830 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 pcmk__colocation_t *colocate_with = (pcmk__colocation_t *) gIter->data; data 559 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; data 678 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc2->data; data 708 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; data 726 lib/pacemaker/pcmk_sched_graph.c pe_action_t *action = (pe_action_t *) lpc->data; data 777 lib/pacemaker/pcmk_sched_graph.c rsc_stonith_ordering((pe_resource_t *) r->data, stonith_op, data_set); data 924 lib/pacemaker/pcmk_sched_graph.c pe_node_t *node = (pe_node_t *) gIter->data; data 1009 lib/pacemaker/pcmk_sched_graph.c input = ((pe_action_wrapper_t *) iter->data)->action; data 1404 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *wrapper = (pe_action_wrapper_t *) lpc->data; data 1741 lib/pacemaker/pcmk_sched_graph.c (pe_action_wrapper_t *) iter->data)) { data 1805 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *input = (pe_action_wrapper_t *) item->data; data 1822 lib/pacemaker/pcmk_sched_graph.c free(item->data); data 1893 lib/pacemaker/pcmk_sched_graph.c input = (pe_action_wrapper_t *) lpc->data; data 62 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 94 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 148 lib/pacemaker/pcmk_sched_group.c pe_action_t *action = (pe_action_t *) gIter->data; data 183 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 325 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 pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 41 lib/pacemaker/pcmk_sched_messages.c pe_resource_t *rsc = (pe_resource_t *) item->data; data 119 lib/pacemaker/pcmk_sched_messages.c pe_action_t *action = (pe_action_t *) gIter->data; data 171 lib/pacemaker/pcmk_sched_native.c pe_node_t *tmp = (pe_node_t *) iter->data; data 377 lib/pacemaker/pcmk_sched_native.c pe_resource_t *last_rsc = last->data; data 403 lib/pacemaker/pcmk_sched_native.c work = pcmk__native_merge_weights(rsc->children->data, rhs, work, attr, data 425 lib/pacemaker/pcmk_sched_native.c pe_resource_t *last_rsc = g_list_last(rsc->children)->data; data 441 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 531 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 561 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 782 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 1245 lib/pacemaker/pcmk_sched_native.c pe_node_t *dangling_source = (pe_node_t *) gIter->data; data 1549 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = item->data; data 1588 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 1605 lib/pacemaker/pcmk_sched_native.c pe_node_t *next = item->data; data 1669 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = item->data; data 1984 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2020 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = (pe_node_t *) gIter->data; data 2160 lib/pacemaker/pcmk_sched_native.c && then->node->details == ((pe_node_t *) then_rsc->running_on->data)->details) { data 2317 lib/pacemaker/pcmk_sched_native.c pe_node_t *node = (pe_node_t *) gIter->data; data 2354 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 2361 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2400 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2436 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 2546 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = (pe_action_t *) gIter->data; data 2564 lib/pacemaker/pcmk_sched_native.c pe_action_t *promote = (pe_action_t *) gIter->data; data 2584 lib/pacemaker/pcmk_sched_native.c pe_node_t *current = (pe_node_t *) gIter->data; data 2691 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 2914 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 2983 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 3083 lib/pacemaker/pcmk_sched_native.c pe_action_t *action = (pe_action_t *) gIter->data; data 3122 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 3144 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 95 lib/pacemaker/pcmk_sched_notif.c pe_node_t *node = (pe_node_t *) gIter->data; data 159 lib/pacemaker/pcmk_sched_notif.c notify_entry_t *entry = (notify_entry_t *) gIter->data; data 199 lib/pacemaker/pcmk_sched_notif.c pcmk_nvpair_t *nvpair = item->data; data 272 lib/pacemaker/pcmk_sched_notif.c pe_action_t *mon = (pe_action_t *) gIter->data; data 421 lib/pacemaker/pcmk_sched_notif.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 435 lib/pacemaker/pcmk_sched_notif.c entry->node = rsc->running_on->data; data 471 lib/pacemaker/pcmk_sched_notif.c pe_action_t *op = (pe_action_t *) gIter->data; data 663 lib/pacemaker/pcmk_sched_notif.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 673 lib/pacemaker/pcmk_sched_notif.c pe_action_t *op = (pe_action_t *) gIter->data; data 733 lib/pacemaker/pcmk_sched_notif.c pe_node_t *current_node = (pe_node_t *) gIter->data; data 103 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 115 lib/pacemaker/pcmk_sched_promotable.c pe_action_t *action = (pe_action_t *) gIter->data; data 139 lib/pacemaker/pcmk_sched_promotable.c pe__location_t *cons = gIter->data; data 184 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 299 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 307 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 328 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 348 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 372 lib/pacemaker/pcmk_sched_promotable.c rsc_ticket_t *rsc_ticket = (rsc_ticket_t *) gIter->data; data 386 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 421 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = rIter->data; data 438 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = rIter->data; data 490 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 585 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 636 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 652 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 685 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 737 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *cons = (pcmk__colocation_t *) gIter2->data; data 756 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 831 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 888 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 932 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 984 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 429 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 444 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 468 lib/pacemaker/pcmk_sched_transition.c char *node = (char *)gIter->data; data 483 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 494 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 505 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 516 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; data 527 lib/pacemaker/pcmk_sched_transition.c char *spec = (char *)gIter->data; data 690 lib/pacemaker/pcmk_sched_transition.c char *spec = (char *)gIter->data; data 50 lib/pacemaker/pcmk_sched_utilization.c struct compare_data *data = user_data; data 53 lib/pacemaker/pcmk_sched_utilization.c node2_capacity = utilization_value(g_hash_table_lookup(data->node2->details->utilization, key)); data 56 lib/pacemaker/pcmk_sched_utilization.c data->result--; data 58 lib/pacemaker/pcmk_sched_utilization.c data->result++; data 67 lib/pacemaker/pcmk_sched_utilization.c struct compare_data *data = user_data; data 69 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { data 77 lib/pacemaker/pcmk_sched_utilization.c data->result--; data 79 lib/pacemaker/pcmk_sched_utilization.c data->result++; data 89 lib/pacemaker/pcmk_sched_utilization.c struct compare_data data; data 91 lib/pacemaker/pcmk_sched_utilization.c data.node1 = node1; data 92 lib/pacemaker/pcmk_sched_utilization.c data.node2 = node2; data 93 lib/pacemaker/pcmk_sched_utilization.c data.result = 0; data 95 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(node1->details->utilization, do_compare_capacity1, &data); data 96 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(node2->details->utilization, do_compare_capacity2, &data); data 98 lib/pacemaker/pcmk_sched_utilization.c return data.result; data 111 lib/pacemaker/pcmk_sched_utilization.c struct calculate_data *data = user_data; data 113 lib/pacemaker/pcmk_sched_utilization.c current = g_hash_table_lookup(data->current_utilization, key); data 114 lib/pacemaker/pcmk_sched_utilization.c if (data->plus) { data 116 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); data 120 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); data 131 lib/pacemaker/pcmk_sched_utilization.c struct calculate_data data; data 133 lib/pacemaker/pcmk_sched_utilization.c data.current_utilization = current_utilization; data 134 lib/pacemaker/pcmk_sched_utilization.c data.plus = plus; data 136 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(utilization, do_calculate_utilization, &data); data 151 lib/pacemaker/pcmk_sched_utilization.c struct capacity_data *data = user_data; data 154 lib/pacemaker/pcmk_sched_utilization.c remaining = utilization_value(g_hash_table_lookup(data->node->details->utilization, key)); data 157 lib/pacemaker/pcmk_sched_utilization.c CRM_ASSERT(data->rsc_id); data 158 lib/pacemaker/pcmk_sched_utilization.c CRM_ASSERT(data->node); data 161 lib/pacemaker/pcmk_sched_utilization.c data->node->details->uname, (char *)key, data->rsc_id, required, remaining); data 162 lib/pacemaker/pcmk_sched_utilization.c data->is_enough = FALSE; data 169 lib/pacemaker/pcmk_sched_utilization.c struct capacity_data data; data 171 lib/pacemaker/pcmk_sched_utilization.c data.node = node; data 172 lib/pacemaker/pcmk_sched_utilization.c data.rsc_id = rsc_id; data 173 lib/pacemaker/pcmk_sched_utilization.c data.is_enough = TRUE; data 175 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(utilization, check_capacity, &data); data 177 lib/pacemaker/pcmk_sched_utilization.c return data.is_enough; data 216 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child = (pe_resource_t *) gIter1->data; data 226 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *grandchild = (pe_resource_t *) gIter2->data; data 241 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *first_child = (pe_resource_t *) rsc->children->data; data 263 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *listed_rsc = (pe_resource_t *) gIter->data; data 294 lib/pacemaker/pcmk_sched_utilization.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 316 lib/pacemaker/pcmk_sched_utilization.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; data 442 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 469 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 312 lib/pacemaker/pcmk_sched_utils.c pe_action_t *op = (pe_action_t *) gIter->data; data 432 lib/pacemaker/pcmk_sched_utils.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) gIter->data; data 441 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 119 lib/pacemaker/pcmk_trans_utils.c synapse_t *synapse = (synapse_t *) sIter->data; data 122 lib/pacemaker/pcmk_trans_utils.c crm_action_t *action = (crm_action_t *) aIter->data; data 158 lib/pacemaker/pcmk_trans_utils.c crm_action_t *input = (crm_action_t *) lpc->data; data 183 lib/pacemaker/pcmk_trans_utils.c crm_action_t *input = (crm_action_t *) lpc->data; data 222 lib/pacemaker/pcmk_trans_utils.c log_synapse_action(log_level, synapse, (crm_action_t *) lpc->data, data 255 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(GList *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(GList *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 302 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { data 309 lib/pengine/bundle.c if (data->container_command) { data 311 lib/pengine/bundle.c "run_cmd", data->container_command); data 335 lib/pengine/bundle.c create_podman_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 349 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); data 357 lib/pengine/bundle.c data->prefix, replica->offset); data 359 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); data 372 lib/pengine/bundle.c if (data->ip_range_start != NULL) { data 374 lib/pengine/bundle.c data->prefix, replica->offset); data 379 lib/pengine/bundle.c if (data->container_network) { data 386 lib/pengine/bundle.c data->container_network); data 389 lib/pengine/bundle.c if(data->control_port) { data 390 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); data 395 lib/pengine/bundle.c for(GList *pIter = data->mounts; pIter != NULL; pIter = pIter->next) { data 396 lib/pengine/bundle.c pe__bundle_mount_t *mount = pIter->data; data 400 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); data 417 lib/pengine/bundle.c for(GList *pIter = data->ports; pIter != NULL; pIter = pIter->next) { data 418 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; data 424 lib/pengine/bundle.c } else if(!pcmk__str_eq(data->container_network, "host", pcmk__str_casei)) { data 430 lib/pengine/bundle.c if (data->launcher_options) { data 432 lib/pengine/bundle.c data->launcher_options); data 435 lib/pengine/bundle.c if (data->container_host_options) { data 437 lib/pengine/bundle.c data->container_host_options); data 447 lib/pengine/bundle.c if (data->container_command) { data 449 lib/pengine/bundle.c "run_cmd", data->container_command); data 468 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { data 475 lib/pengine/bundle.c if (data->container_command) { data 477 lib/pengine/bundle.c "run_cmd", data->container_command); data 502 lib/pengine/bundle.c create_rkt_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 517 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); data 525 lib/pengine/bundle.c data->prefix, replica->offset); data 527 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); data 537 lib/pengine/bundle.c if (data->ip_range_start != NULL) { data 539 lib/pengine/bundle.c data->prefix, replica->offset); data 544 lib/pengine/bundle.c if (data->container_network) { data 550 lib/pengine/bundle.c data->container_network); data 553 lib/pengine/bundle.c if(data->control_port) { data 554 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); data 559 lib/pengine/bundle.c for(GList *pIter = data->mounts; pIter != NULL; pIter = pIter->next) { data 560 lib/pengine/bundle.c pe__bundle_mount_t *mount = pIter->data; data 564 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); data 587 lib/pengine/bundle.c for(GList *pIter = data->ports; pIter != NULL; pIter = pIter->next) { data 588 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; data 599 lib/pengine/bundle.c if (data->launcher_options) { data 601 lib/pengine/bundle.c data->launcher_options); data 604 lib/pengine/bundle.c if (data->container_host_options) { data 606 lib/pengine/bundle.c data->container_host_options); data 616 lib/pengine/bundle.c if (data->container_command) { data 618 lib/pengine/bundle.c data->container_command); data 637 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { data 644 lib/pengine/bundle.c if (data->container_command) { data 646 lib/pengine/bundle.c data->container_command); data 689 lib/pengine/bundle.c disallow_node((pe_resource_t *) (child->data), uname); data 695 lib/pengine/bundle.c create_remote_resource(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 699 lib/pengine/bundle.c if (replica->child && valid_network(data)) { data 704 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); data 724 lib/pengine/bundle.c if (data->control_port == NULL) { data 735 lib/pengine/bundle.c connect_name, (data->control_port? data 736 lib/pengine/bundle.c data->control_port : port_s)); data 778 lib/pengine/bundle.c disallow_node((pe_resource_t *) (rsc_iter->data), uname); data 838 lib/pengine/bundle.c create_container(pe_resource_t *parent, pe__bundle_variant_data_t *data, data 842 lib/pengine/bundle.c switch (data->agent_type) { data 844 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { data 850 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { data 856 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { data 864 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { data 867 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { data 938 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1263 lib/pengine/bundle.c replica->child = childIter->data; data 1307 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1345 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; data 1394 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1458 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1498 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1621 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1762 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 1901 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 2040 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; data 2069 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; data 266 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 314 lib/pengine/clone.c if ((target_role == NULL) && rsc->children && rsc->children->data) { data 315 lib/pengine/clone.c target_role = g_hash_table_lookup(((pe_resource_t*)rsc->children->data)->meta, data 354 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 377 lib/pengine/clone.c if(is_set_recursive(gIter->data, flag, any)) { data 437 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 516 lib/pengine/clone.c pe_node_t *host = gIter->data; data 532 lib/pengine/clone.c pe_node_t *host = gIter->data; data 587 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 630 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 708 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 801 lib/pengine/clone.c pe_node_t *host = gIter->data; data 822 lib/pengine/clone.c pe_node_t *host = gIter->data; data 883 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 948 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1041 lib/pengine/clone.c pe_node_t *host = gIter->data; data 1062 lib/pengine/clone.c pe_node_t *host = gIter->data; data 1119 lib/pengine/clone.c pe_node_t *node = (pe_node_t *)nIter->data; data 1151 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1182 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1230 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 624 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; data 439 lib/pengine/complex.c free_params_table(gpointer data) data 441 lib/pengine/complex.c g_hash_table_destroy((GHashTable *) data); data 878 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1020 lib/pengine/complex.c node = node_iter->data; data 1092 lib/pengine/complex.c ((pe_resource_t *) item->data)->fns->count(item->data); data 322 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 74 lib/pengine/native.c pe_node_t *a_node = gIter->data; data 95 lib/pengine/native.c pe_node_t *a_node = (pe_node_t *) gIter->data; data 164 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 192 lib/pengine/native.c recursive_clear_unique((pe_resource_t *) child->data); data 248 lib/pengine/native.c pe_node_t *loc = (pe_node_t *) iter->data; data 311 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 350 lib/pengine/native.c pe_node_t *a_node = (pe_node_t *) gIter->data; data 499 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 661 lib/pengine/native.c pe_node_t *n = (pe_node_t *) iter->data; data 837 lib/pengine/native.c pe_node_t *n = (pe_node_t *) gIter->data; data 959 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 1061 lib/pengine/native.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1081 lib/pengine/native.c one = result->data; data 1088 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter->data; data 1106 lib/pengine/native.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1147 lib/pengine/native.c pe_node_t *node = (pe_node_t *) gIter2->data; data 1173 lib/pengine/native.c destroy_node_table(gpointer data) data 1175 lib/pengine/native.c GHashTable *node_table = data; data 1278 lib/pengine/native.c char *type = (char *) gIter->data; data 36 lib/pengine/pe_digest.c op_digest_cache_t *data = ptr; data 38 lib/pengine/pe_digest.c if (data != NULL) { data 39 lib/pengine/pe_digest.c free_xml(data->params_all); data 40 lib/pengine/pe_digest.c free_xml(data->params_secure); data 41 lib/pengine/pe_digest.c free_xml(data->params_restart); data 43 lib/pengine/pe_digest.c free(data->digest_all_calc); data 44 lib/pengine/pe_digest.c free(data->digest_restart_calc); data 45 lib/pengine/pe_digest.c free(data->digest_secure_calc); data 47 lib/pengine/pe_digest.c free(data); data 114 lib/pengine/pe_digest.c data->params_all); data 116 lib/pengine/pe_digest.c data->params_all); data 118 lib/pengine/pe_digest.c data->params_all); data 138 lib/pengine/pe_digest.c calculate_main_digest(op_digest_cache_t *data, pe_resource_t *rsc, data 146 lib/pengine/pe_digest.c data->params_all = create_xml_node(NULL, XML_TAG_PARAMS); data 151 lib/pengine/pe_digest.c if (pe__add_bundle_remote_name(rsc, data_set, data->params_all, data 175 lib/pengine/pe_digest.c g_hash_table_foreach(overrides, hash2field, data->params_all); data 177 lib/pengine/pe_digest.c g_hash_table_foreach(params, hash2field, data->params_all); data 178 lib/pengine/pe_digest.c g_hash_table_foreach(action->extra, hash2field, data->params_all); data 179 lib/pengine/pe_digest.c g_hash_table_foreach(action->meta, hash2metafield, data->params_all); data 185 lib/pengine/pe_digest.c pcmk__filter_op_for_digest(data->params_all); data 189 lib/pengine/pe_digest.c data->digest_all_calc = calculate_operation_digest(data->params_all, data 212 lib/pengine/pe_digest.c calculate_secure_digest(op_digest_cache_t *data, pe_resource_t *rsc, data 225 lib/pengine/pe_digest.c data->params_secure = create_xml_node(NULL, XML_TAG_PARAMS); data 227 lib/pengine/pe_digest.c g_hash_table_foreach(overrides, hash2field, data->params_secure); data 230 lib/pengine/pe_digest.c g_hash_table_foreach(params, hash2field, data->params_secure); data 232 lib/pengine/pe_digest.c pcmk__xe_remove_matching_attrs(data->params_secure, attr_not_in_string, data 242 lib/pengine/pe_digest.c pcmk__xe_remove_matching_attrs(data->params_secure, is_fence_param, data 245 lib/pengine/pe_digest.c pcmk__filter_op_for_digest(data->params_secure); data 255 lib/pengine/pe_digest.c xml_remove_prop(data->params_secure, CRM_META "_" XML_ATTR_TIMEOUT); data 257 lib/pengine/pe_digest.c data->digest_secure_calc = calculate_operation_digest(data->params_secure, data 273 lib/pengine/pe_digest.c calculate_restart_digest(op_digest_cache_t *data, xmlNode *xml_op, data 289 lib/pengine/pe_digest.c data->params_restart = copy_xml(data->params_all); data 294 lib/pengine/pe_digest.c pcmk__xe_remove_matching_attrs(data->params_restart, attr_in_string, data 299 lib/pengine/pe_digest.c data->digest_restart_calc = calculate_operation_digest(data->params_restart, data 325 lib/pengine/pe_digest.c op_digest_cache_t *data = calloc(1, sizeof(op_digest_cache_t)); data 329 lib/pengine/pe_digest.c if (data == NULL) { data 337 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, data 340 lib/pengine/pe_digest.c calculate_secure_digest(data, rsc, params, xml_op, op_version, data 343 lib/pengine/pe_digest.c calculate_restart_digest(data, xml_op, op_version); data 344 lib/pengine/pe_digest.c return data; data 366 lib/pengine/pe_digest.c op_digest_cache_t *data = NULL; data 369 lib/pengine/pe_digest.c data = g_hash_table_lookup(node->details->digest_cache, key); data 370 lib/pengine/pe_digest.c if (data == NULL) { data 371 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, data 373 lib/pengine/pe_digest.c CRM_ASSERT(data != NULL); data 374 lib/pengine/pe_digest.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); data 377 lib/pengine/pe_digest.c return data; data 395 lib/pengine/pe_digest.c op_digest_cache_t *data = NULL; data 410 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, data 414 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_MATCH; data 415 lib/pengine/pe_digest.c if (digest_restart && data->digest_restart_calc && strcmp(data->digest_restart_calc, digest_restart) != 0) { data 419 lib/pengine/pe_digest.c crm_str(digest_restart), data->digest_restart_calc, data 422 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_RESTART; data 426 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_UNKNOWN; data 428 lib/pengine/pe_digest.c } else if (strcmp(digest_all, data->digest_all_calc) != 0) { data 432 lib/pengine/pe_digest.c crm_str(digest_all), data->digest_all_calc, data 436 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_ALL; data 438 lib/pengine/pe_digest.c return data; data 526 lib/pengine/pe_digest.c op_digest_cache_t *data = rsc_action_digest(rsc, STONITH_DIGEST_TASK, 0U, data 532 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_UNKNOWN; data 533 lib/pengine/pe_digest.c return data; data 537 lib/pengine/pe_digest.c if (unfencing_digest_matches(rsc->id, agent, data->digest_all_calc, data 539 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_MATCH; data 540 lib/pengine/pe_digest.c return data; data 545 lib/pengine/pe_digest.c if (unfencing_digest_matches(rsc->id, agent, data->digest_secure_calc, data 547 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_MATCH; data 554 lib/pengine/pe_digest.c return data; data 558 lib/pengine/pe_digest.c data->rc = RSC_DIGEST_ALL; data 559 lib/pengine/pe_digest.c if (pcmk_is_set(data_set->flags, pe_flag_sanitized) && data->digest_secure_calc) { data 563 lib/pengine/pe_digest.c data->digest_secure_calc); data 571 lib/pengine/pe_digest.c data->digest_secure_calc); data 578 lib/pengine/pe_digest.c return data; data 53 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 674 lib/pengine/pe_output.c pe__location_t *location = gIter->data; data 686 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter2->data; data 1334 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) lpc2->data; data 1398 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) gIter2->data; data 1474 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 1705 lib/pengine/pe_output.c pe_node_t *node = gIter->data; data 1735 lib/pengine/pe_output.c const char *name = aIter->data; data 1902 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 1945 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 2070 lib/pengine/pe_output.c pe_node_t *node = (pe_node_t *) gIter->data; data 2423 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) rsc_iter->data; data 2507 lib/pengine/pe_output.c xmlNode *xml_op = (xmlNode *) gIter->data; data 2798 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 481 lib/pengine/rules.c unpack_attr_set(gpointer data, gpointer user_data) data 483 lib/pengine/rules.c sorted_set_t *pair = data; data 508 lib/pengine/rules.c unpack_versioned_attr_set(gpointer data, gpointer user_data) data 510 lib/pengine/rules.c sorted_set_t *pair = data; data 591 lib/pengine/rules.c unpack_data_t data = { data 599 lib/pengine/rules.c g_list_foreach(pairs, unpack_func, &data); data 134 lib/pengine/status.c ((pe_resource_t *) (item->data))->fns->count(item->data); data 160 lib/pengine/status.c rsc = (pe_resource_t *) iterator->data; data 175 lib/pengine/status.c pe_free_action(iterator->data); data 187 lib/pengine/status.c pe_node_t *node = (pe_node_t *) iterator->data; data 229 lib/pengine/status.c pe__ordering_t *order = iterator->data; data 248 lib/pengine/status.c pe__location_t *cons = iterator->data; data 393 lib/pengine/status.c pe_resource_t *parent = rIter->data; data 423 lib/pengine/status.c pe_node_t *node = (pe_node_t *) gIter->data; data 439 lib/pengine/status.c pe_node_t *node = (pe_node_t *) gIter->data; data 36 lib/pengine/tags.c const char *id = (const char *) refs->data; data 69 lib/pengine/tags.c const char *id = (const char *) refs->data; data 448 lib/pengine/unpack.c expand_remote_rsc_meta(xmlNode *xml_obj, xmlNode *parent, pe_working_set_t *data) data 494 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { data 606 lib/pengine/unpack.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 742 lib/pengine/unpack.c destroy_tag(gpointer data) data 744 lib/pengine/unpack.c pe_tag_t *tag = data; data 805 lib/pengine/unpack.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 1284 lib/pengine/unpack.c pe_resource_t *container = item->data; data 1300 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; data 1470 lib/pengine/unpack.c host = rsc->running_on->data; data 1760 lib/pengine/unpack.c pe_resource_t *child = rIter->data; data 1785 lib/pengine/unpack.c if (((pe_node_t *)locations->data)->details == node->details) { data 2187 lib/pengine/unpack.c pe_action_t *stop = (pe_action_t *) gIter->data; data 2211 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 2266 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 2401 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 4022 lib/pengine/unpack.c xmlNode *rsc_op = (xmlNode *) gIter->data; data 99 lib/pengine/utils.c pe_node_t *container_node = n->data; data 182 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) gIter->data; data 210 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node((pe_node_t *) gIter->data); data 243 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) gIter->data; data 326 lib/pengine/utils.c pe_resource_t *child = (pe_resource_t *) gIter->data; data 1374 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1429 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1460 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1505 lib/pengine/utils.c pe_action_t *action = (pe_action_t *) gIter->data; data 1572 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; data 1598 lib/pengine/utils.c pe_node_t *node_iter = (pe_node_t *) gIter->data; data 1824 lib/pengine/utils.c pe_action_wrapper_t *after = (pe_action_wrapper_t *) gIter->data; data 1864 lib/pengine/utils.c destroy_ticket(gpointer data) data 1866 lib/pengine/utils.c pe_ticket_t *ticket = data; data 1924 lib/pengine/utils.c pe__clear_resource_flags_recursive((pe_resource_t *) gIter->data, flags); data 1932 lib/pengine/utils.c pe_resource_t *r = (pe_resource_t *) lpc->data; data 1942 lib/pengine/utils.c pe__set_resource_flags_recursive((pe_resource_t *) gIter->data, flags); data 1950 lib/pengine/utils.c pe_resource_t *candidate = gIter->data; data 1993 lib/pengine/utils.c pe_node_t *n = gIter->data; data 2074 lib/pengine/utils.c pe_resource_t *match = gIter->data; data 2077 lib/pengine/utils.c op_digest_cache_t *data = NULL; data 2079 lib/pengine/utils.c data = pe__compare_fencing_digest(match, agent, node, data_set); data 2080 lib/pengine/utils.c if(data->rc == RSC_DIGEST_ALL) { data 2092 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_all_calc); data 2096 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_secure_calc); data 2198 lib/pengine/utils.c const char *existing_ref = (const char *) gIter->data; data 2396 lib/pengine/utils.c pe_node_t *node = (pe_node_t *) ele->data; data 2417 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 828 lib/services/services.c op = gIter->data; data 855 lib/services/services.c op = gIter->data; data 870 lib/services/services.c op = gIter->data; data 1075 lib/services/services.c if (pcmk__str_eq(iter->data, standard, pcmk__str_none)) { data 1091 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 1209 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 65 lib/services/services_private.h gboolean recurring_action_timer(gpointer data); data 107 libltdl/libltdl/lt__private.h void * data; data 44 libltdl/libltdl/lt_dlloader.h typedef lt_module lt_module_open (lt_user_data data, data 47 libltdl/libltdl/lt_dlloader.h typedef int lt_module_close (lt_user_data data, data 49 libltdl/libltdl/lt_dlloader.h typedef void * lt_find_sym (lt_user_data data, lt_module module, data 51 libltdl/libltdl/lt_dlloader.h typedef int lt_dlloader_init (lt_user_data data); data 52 libltdl/libltdl/lt_dlloader.h typedef int lt_dlloader_exit (lt_user_data data); data 82 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 775 libltdl/ltdl.c find_handle_callback (char *filename, void *data, void *data2) data 777 libltdl/ltdl.c lt_dlhandle *phandle = (lt_dlhandle *) data; data 1898 libltdl/ltdl.c int (*func) (const char *filename, void *data), data 1899 libltdl/ltdl.c void *data) data 1909 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1915 libltdl/ltdl.c foreachfile_callback, fpptr, data); data 1919 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 1971 libltdl/ltdl.c lt_user_data data = cur->vtable->dlloader_data; data 1982 libltdl/ltdl.c errors += cur->vtable->module_close (data, cur->module); data 2012 libltdl/ltdl.c lt_user_data data; data 2046 libltdl/ltdl.c data = handle->vtable->dlloader_data; data 2068 libltdl/ltdl.c address = handle->vtable->find_sym (data, handle->module, sym); data 2091 libltdl/ltdl.c address = handle->vtable->find_sym (data, handle->module, sym); data 2315 libltdl/ltdl.c lt_dlcaller_set_data (lt_dlinterface_id key, lt_dlhandle handle, void *data) data 2330 libltdl/ltdl.c stale = cur->interface_data[i].data; data 2355 libltdl/ltdl.c cur->interface_data[i].data = data; data 2375 libltdl/ltdl.c result = cur->interface_data[i].data; data 2441 libltdl/ltdl.c int (*func) (lt_dlhandle handle, void *data), void *data) data 2459 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 66 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 78 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 99 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 111 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 127 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 42 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 43 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 44 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 86 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 98 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 110 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 293 tools/crm_mon.c char *s = node->data; data 316 tools/crm_mon.c user_include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 324 tools/crm_mon.c include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 332 tools/crm_mon.c as_cgi_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 344 tools/crm_mon.c as_html_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 365 tools/crm_mon.c as_simple_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 377 tools/crm_mon.c as_xml_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 388 tools/crm_mon.c fence_history_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 398 tools/crm_mon.c return include_exclude_cb("--include", "fencing", data, err); data 402 tools/crm_mon.c return include_exclude_cb("--include", "fencing", data, err); data 406 tools/crm_mon.c return include_exclude_cb("--include", "fencing-failed,fencing-pending", data, err); data 410 tools/crm_mon.c return include_exclude_cb("--exclude", "fencing", data, err); data 419 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 425 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 426 tools/crm_mon.c return include_exclude_cb("--exclude", "summary", data, err); data 430 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 436 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 442 tools/crm_mon.c one_shot_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 448 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 454 tools/crm_mon.c print_clone_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 460 tools/crm_mon.c print_pending_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 466 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 468 tools/crm_mon.c return include_exclude_cb("--include", "operations", data, err); data 472 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 486 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 487 tools/crm_mon.c return include_exclude_cb("--include", "attributes", data, err); data 491 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 494 tools/crm_mon.c gboolean rc = include_exclude_cb("--include", s, data, err); data 498 tools/crm_mon.c return include_exclude_cb("--include", "bans", data, err); data 503 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 504 tools/crm_mon.c return include_exclude_cb("--include", "failcounts", data, err); data 508 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 509 tools/crm_mon.c return include_exclude_cb("--include", "failcounts,operations", data, err); data 513 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 514 tools/crm_mon.c return include_exclude_cb("--include", "tickets", data, err); data 518 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 525 tools/crm_mon.c watch_fencing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { data 724 tools/crm_mon.c reconnect_after_timeout(gpointer data) data 980 tools/crm_mon.c if ((reply->data.ping.last_good != (time_t) 0) && data 981 tools/crm_mon.c (reply->data.ping.status == pcmk_rc_ok)) { data 982 tools/crm_mon.c *state = reply->data.ping.state; data 1761 tools/crm_mon.c pe_node_t *node = (pe_node_t *) gIter->data; data 40 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 41 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 42 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 94 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 114 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 121 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 181 tools/crm_node.c if (reply->data.node_info.id == 0) { data 187 tools/crm_node.c printf("%d\n", reply->data.node_info.id); data 198 tools/crm_node.c if (reply->data.node_info.uname == NULL) { data 203 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); data 213 tools/crm_node.c printf("%d\n", reply->data.node_info.have_quorum); data 214 tools/crm_node.c if (!(reply->data.node_info.have_quorum)) { data 228 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); data 229 tools/crm_node.c for (GList *node_iter = reply->data.nodes; data 232 tools/crm_node.c pcmk_controld_api_node_t *node = node_iter->data; data 135 tools/crm_resource.c gboolean agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 136 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 137 tools/crm_resource.c gboolean class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 138 tools/crm_resource.c gboolean cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 139 tools/crm_resource.c gboolean delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 140 tools/crm_resource.c gboolean expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 142 tools/crm_resource.c gpointer data, GError **error); data 144 tools/crm_resource.c gpointer data, GError **error); data 146 tools/crm_resource.c gpointer data, GError **error); data 148 tools/crm_resource.c gpointer data, GError **error); data 150 tools/crm_resource.c gpointer data, GError **error); data 152 tools/crm_resource.c gpointer data, GError **error); data 153 tools/crm_resource.c gboolean fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 154 tools/crm_resource.c gboolean flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 155 tools/crm_resource.c gboolean get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 156 tools/crm_resource.c gboolean list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 157 tools/crm_resource.c gboolean set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 158 tools/crm_resource.c gboolean set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 159 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 161 tools/crm_resource.c gpointer data, GError **error); data 163 tools/crm_resource.c gpointer data, GError **error); data 165 tools/crm_resource.c gpointer data, GError **error); data 166 tools/crm_resource.c gboolean wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 167 tools/crm_resource.c gboolean why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 239 tools/crm_resource.c resource_ipc_timeout(gpointer data) data 626 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 646 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 657 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 679 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 695 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 703 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 725 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 734 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 743 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 755 tools/crm_resource.c gpointer data, GError **error) data 763 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 772 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 789 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 797 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 828 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 845 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 863 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 880 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 894 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 901 tools/crm_resource.c gpointer data, GError **error) data 916 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 925 tools/crm_resource.c digests_cb(const gchar *option_name, const gchar *optarg, gpointer data, data 939 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 947 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 975 tools/crm_resource.c pe_resource_t *child = (pe_resource_t *)iter->data; data 1089 tools/crm_resource.c out->info(out, "Removing constraint: %s", (char *) ele->data); data 1866 tools/crm_resource.c rsc = (pe_resource_t *) lpc->data; data 89 tools/crm_resource_ban.c pe_node_t *target = n->data; data 330 tools/crm_resource_ban.c pe_node_t *target = n->data; data 81 tools/crm_resource_print.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 104 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; data 295 tools/crm_resource_print.c node_info_t *ni = (node_info_t *) lpc->data; data 339 tools/crm_resource_print.c node_info_t *ni = (node_info_t *) lpc->data; data 369 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 402 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 409 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 454 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 488 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 501 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 536 tools/crm_resource_print.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 555 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; data 51 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *) iter->data; data 54 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) iter2->data; data 88 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) iter->data; data 199 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, result, (pe_resource_t*)gIter->data, data 254 tools/crm_resource_runtime.c pe_resource_t *child = rsc->children->data; data 338 tools/crm_resource_runtime.c rsc = (pe_resource_t*)gIter->data; data 412 tools/crm_resource_runtime.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; data 459 tools/crm_resource_runtime.c rsc = (pe_resource_t*)gIter->data; data 738 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *) lpc->data; data 772 tools/crm_resource_runtime.c node = (pe_node_t *) lpc->data; data 878 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) iter->data; data 978 tools/crm_resource_runtime.c pe_node_t *node = (pe_node_t *) hIter->data; data 1019 tools/crm_resource_runtime.c pe_resource_t *rsc = (pe_resource_t *) rIter->data; data 1041 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); data 1051 tools/crm_resource_runtime.c out->info(out, "%s%s", tag, (const char *)item->data); data 1198 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *)iter->data; data 1234 tools/crm_resource_runtime.c pe_resource_t *rsc = pe_find_resource(data_set->resources, (const char *)item->data); data 1562 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *)action->data; data 1578 tools/crm_resource_runtime.c pe_action_t *a = (pe_action_t *) action->data; data 1836 tools/crm_resource_runtime.c rsc = rsc->children->data; data 1903 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *)iter->data; data 41 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 71 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 84 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 92 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 102 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 109 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 116 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 124 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 132 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 139 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 150 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 161 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 172 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 179 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 186 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 193 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 200 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 207 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 214 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 221 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 232 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 242 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 517 tools/crm_simulate.c pe_action_t *action = (pe_action_t *) gIter->data; data 562 tools/crm_simulate.c pe_action_t *action = (pe_action_t *) gIter->data; data 567 tools/crm_simulate.c pe_action_wrapper_t *before = (pe_action_wrapper_t *) gIter2->data; data 1095 tools/crm_simulate.c pe_resource_t *rsc = (pe_resource_t *) gIter->data; data 358 tools/crm_ticket.c const char *key = (const char *)list_iter->data; data 408 tools/crm_ticket.c const char *key = (const char *)list_iter->data; data 46 tools/crmadmin.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); data 100 tools/crmadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) 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 243 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 261 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 267 tools/stonith_admin.c add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 273 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { data 298 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) {