query 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, query 466 daemons/attrd/attrd_commands.c xmlNode *query) query 469 daemons/attrd/attrd_commands.c const char *origin = crm_element_value(query, F_ORIG); query 478 daemons/attrd/attrd_commands.c attr = crm_element_value(query, PCMK__XA_ATTR_NAME); query 486 daemons/attrd/attrd_commands.c reply = build_query_reply(attr, crm_element_value(query, query 128 daemons/attrd/pacemaker-attrd.h xmlNode *query); query 236 daemons/based/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); query 792 daemons/controld/controld_control.c fsa_cib_conn->cmds->query(fsa_cib_conn, query 490 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 341 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 1896 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 1904 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 1907 daemons/fenced/fenced_commands.c const char *action = query->action; query 1927 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 1935 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 1947 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 1948 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 1949 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, query 1950 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 1951 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 1955 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 1963 daemons/fenced/fenced_commands.c if (query->target) { query 1964 daemons/fenced/fenced_commands.c crm_debug("Found %d matching devices for '%s'", available_devices, query->target); query 1971 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 1973 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); query 1975 daemons/fenced/fenced_commands.c free_xml(query->reply); query 1976 daemons/fenced/fenced_commands.c free(query->remote_peer); query 1977 daemons/fenced/fenced_commands.c free(query->client_id); query 1978 daemons/fenced/fenced_commands.c free(query->target); query 1979 daemons/fenced/fenced_commands.c free(query->action); query 1980 daemons/fenced/fenced_commands.c free(query); query 1988 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 2007 daemons/fenced/fenced_commands.c query = calloc(1, sizeof(struct st_query_data)); query 2009 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); query 2010 daemons/fenced/fenced_commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; query 2011 daemons/fenced/fenced_commands.c query->client_id = client_id ? strdup(client_id) : NULL; query 2012 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; query 2013 daemons/fenced/fenced_commands.c query->action = action ? strdup(action) : NULL; query 2014 daemons/fenced/fenced_commands.c query->call_options = call_options; query 2018 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 1099 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1144 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1147 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1148 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1149 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1150 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1151 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1152 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1153 daemons/fenced/fenced_remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1160 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID_RELAY, relay_op_id); query 1164 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1165 daemons/fenced/fenced_remote.c free_xml(query); query 1044 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1224 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1257 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); query 1259 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1260 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1261 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1264 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1266 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 374 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 795 lib/cib/cib_file.c gboolean query = FALSE; query 833 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; query 855 lib/cib/cib_file.c rc = cib_perform_op(op, call_options, fn, query, query 867 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 2156 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 413 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); query 110 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); query 177 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 205 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 345 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 672 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == query 848 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); query 298 tools/attrd_updater.c xmlNode *query; query 301 tools/attrd_updater.c query = create_xml_node(NULL, __func__); query 302 tools/attrd_updater.c if (query == NULL) { query 305 tools/attrd_updater.c crm_xml_add(query, F_TYPE, T_ATTRD); query 306 tools/attrd_updater.c crm_xml_add(query, F_ORIG, crm_system_name); query 307 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); query 308 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_TASK, PCMK__ATTRD_CMD_QUERY); query 309 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); query 318 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); query 326 tools/attrd_updater.c free_xml(query); query 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); query 828 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1902 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1024 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1225 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 122 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 1111 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 310 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 716 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); query 977 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); query 1020 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); query 158 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 203 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 872 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 202 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); query 354 tools/crmadmin.c rc = the_cib->cmds->query(the_cib, NULL, &output, query 63 tools/stonith_admin.c char *query; query 126 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, query 409 tools/stonith_admin.c if (options.query != NULL) { query 411 tools/stonith_admin.c device = options.query;