query 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, query 464 daemons/attrd/attrd_commands.c xmlNode *query) query 467 daemons/attrd/attrd_commands.c const char *origin = crm_element_value(query, F_ORIG); query 476 daemons/attrd/attrd_commands.c attr = crm_element_value(query, PCMK__XA_ATTR_NAME); query 484 daemons/attrd/attrd_commands.c reply = build_query_reply(attr, crm_element_value(query, query 131 daemons/attrd/pacemaker-attrd.h xmlNode *query); query 179 daemons/controld/controld_callbacks.c xmlNode *query = create_request(CRM_OP_HELLO, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); query 182 daemons/controld/controld_callbacks.c send_cluster_message(node, crm_msg_crmd, query, FALSE); query 184 daemons/controld/controld_callbacks.c free_xml(query); query 792 daemons/controld/controld_control.c fsa_cib_conn->cmds->query(fsa_cib_conn, query 478 daemons/controld/controld_execd_state.c int rc = fsa_cib_conn->cmds->query(fsa_cib_conn, XML_CIB_TAG_CRMCONFIG, NULL, cib_scope_local); query 143 daemons/controld/controld_join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); query 334 daemons/controld/controld_membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, query 105 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 351 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 453 daemons/execd/cts-exec-helper.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 1960 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 1968 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 1971 daemons/fenced/fenced_commands.c const char *action = query->action; query 1991 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 1999 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 2011 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 2012 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2013 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, query 2014 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2015 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 2019 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 2027 daemons/fenced/fenced_commands.c if (query->target) { query 2030 daemons/fenced/fenced_commands.c query->target); query 2038 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 2040 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); query 2042 daemons/fenced/fenced_commands.c free_xml(query->reply); query 2043 daemons/fenced/fenced_commands.c free(query->remote_peer); query 2044 daemons/fenced/fenced_commands.c free(query->client_id); query 2045 daemons/fenced/fenced_commands.c free(query->target); query 2046 daemons/fenced/fenced_commands.c free(query->action); query 2047 daemons/fenced/fenced_commands.c free(query); query 2055 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 2074 daemons/fenced/fenced_commands.c query = calloc(1, sizeof(struct st_query_data)); query 2076 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); query 2077 daemons/fenced/fenced_commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; query 2078 daemons/fenced/fenced_commands.c query->client_id = client_id ? strdup(client_id) : NULL; query 2079 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; query 2080 daemons/fenced/fenced_commands.c query->action = action ? strdup(action) : NULL; query 2081 daemons/fenced/fenced_commands.c query->call_options = call_options; query 2085 daemons/fenced/fenced_commands.c query, stonith_query_capable_device_cb); query 98 daemons/fenced/fenced_remote.c st_query_result_t *query = data; query 100 daemons/fenced/fenced_remote.c crm_trace("Free'ing query result from %s", query->host); query 101 daemons/fenced/fenced_remote.c g_hash_table_destroy(query->devices); query 102 daemons/fenced/fenced_remote.c free(query->host); query 103 daemons/fenced/fenced_remote.c free(query); query 1122 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1168 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1171 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1172 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1173 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1174 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1175 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1176 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1177 daemons/fenced/fenced_remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1184 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID_RELAY, relay_op_id); query 1188 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1189 daemons/fenced/fenced_remote.c free_xml(query); query 1120 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1278 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1311 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); query 1313 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1314 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1315 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1318 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1320 daemons/fenced/pacemaker-fenced.c free_xml(query); query 92 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, query 260 include/crm/stonith-ng.h int (*query)(stonith_t *st, int options, const char *node, query 533 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, query 381 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 797 lib/cib/cib_file.c gboolean query = FALSE; query 830 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; query 850 lib/cib/cib_file.c rc = cib_perform_op(op, call_options, fn, query, query 862 lib/cib/cib_file.c } else if (query == FALSE) { query 65 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); query 2145 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 446 lib/pacemaker/pcmk_cluster_queries.c rc = the_cib->cmds->query(the_cib, NULL, &xml_node, query 421 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); query 98 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); query 165 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 193 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 333 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 670 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == query 841 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); query 300 tools/attrd_updater.c xmlNode *query; query 303 tools/attrd_updater.c query = create_xml_node(NULL, __func__); query 304 tools/attrd_updater.c if (query == NULL) { query 307 tools/attrd_updater.c crm_xml_add(query, F_TYPE, T_ATTRD); query 308 tools/attrd_updater.c crm_xml_add(query, F_ORIG, crm_system_name); query 309 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); query 310 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_TASK, PCMK__ATTRD_CMD_QUERY); query 311 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); query 320 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); query 328 tools/attrd_updater.c free_xml(query); query 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); query 879 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, query 2120 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1072 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1231 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 148 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 1100 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 319 tools/crm_rule.c rc = cib_conn->cmds->query(cib_conn, NULL, &input, cib_scope_local | cib_sync_call); query 447 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); query 512 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); query 622 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); query 950 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); query 1005 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); query 161 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 206 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 875 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 161 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); query 63 tools/stonith_admin.c char *query; query 126 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, query 401 tools/stonith_admin.c if (options.query != NULL) { query 403 tools/stonith_admin.c device = options.query;