query 125 attrd/attrd_common_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, query 444 attrd/commands.c attrd_client_query(crm_client_t *client, uint32_t id, uint32_t flags, xmlNode *query) query 447 attrd/commands.c const char *origin = crm_element_value(query, F_ORIG); query 457 attrd/commands.c attr = crm_element_value(query, F_ATTRD_ATTRIBUTE); query 465 attrd/commands.c reply = build_query_reply(attr, crm_element_value(query, F_ATTRD_HOST)); query 61 attrd/internal.h void attrd_client_query(crm_client_t *client, uint32_t id, uint32_t flags, xmlNode *query); query 245 cib/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); query 183 crmd/cib.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 1119 crmd/control.c fsa_cib_conn->cmds->query(fsa_cib_conn, query 155 crmd/join_client.c fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local | cib_no_children); query 505 crmd/lrm_state.c int rc = fsa_cib_conn->cmds->query(fsa_cib_conn, XML_CIB_TAG_CRMCONFIG, NULL, cib_scope_local); query 358 crmd/membership.c call_id = fsa_cib_conn->cmds->query(fsa_cib_conn, xpath, NULL, query 88 crmd/pengine.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 214 crmd/pengine.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 584 fencing/admin.c rc = st->cmds->query(st, st_opts, target, &devices, timeout); query 1850 fencing/commands.c struct st_query_data *query = user_data; query 1858 fencing/commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 1861 fencing/commands.c const char *action = query->action; query 1881 fencing/commands.c && safe_str_eq(query->action, "reboot")) { query 1889 fencing/commands.c if (safe_str_eq(query->action, "reboot")) { query 1901 fencing/commands.c add_disallowed(dev, action, device, query->target, query 1902 fencing/commands.c is_set(query->call_options, st_opt_allow_suicide)); query 1903 fencing/commands.c add_action_reply(dev, "off", device, query->target, query 1904 fencing/commands.c is_set(query->call_options, st_opt_allow_suicide)); query 1905 fencing/commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 1909 fencing/commands.c if (query->target == NULL) { query 1917 fencing/commands.c if (query->target) { query 1918 fencing/commands.c crm_debug("Found %d matching devices for '%s'", available_devices, query->target); query 1925 fencing/commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 1927 fencing/commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); query 1929 fencing/commands.c free_xml(query->reply); query 1930 fencing/commands.c free(query->remote_peer); query 1931 fencing/commands.c free(query->client_id); query 1932 fencing/commands.c free(query->target); query 1933 fencing/commands.c free(query->action); query 1934 fencing/commands.c free(query); query 1942 fencing/commands.c struct st_query_data *query = NULL; query 1961 fencing/commands.c query = calloc(1, sizeof(struct st_query_data)); query 1963 fencing/commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); query 1964 fencing/commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; query 1965 fencing/commands.c query->client_id = client_id ? strdup(client_id) : NULL; query 1966 fencing/commands.c query->target = target ? strdup(target) : NULL; query 1967 fencing/commands.c query->action = action ? strdup(action) : NULL; query 1968 fencing/commands.c query->call_options = call_options; query 1972 fencing/commands.c query, stonith_query_capable_device_cb); query 1075 fencing/main.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1233 fencing/main.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1261 fencing/main.c xmlNode *query = NULL; query 1271 fencing/main.c query = create_xml_node(NULL, "stonith_command"); query 1273 fencing/main.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1274 fencing/main.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1275 fencing/main.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1278 fencing/main.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1280 fencing/main.c free_xml(query); query 105 fencing/remote.c st_query_result_t *query = data; query 107 fencing/remote.c crm_trace("Free'ing query result from %s", query->host); query 108 fencing/remote.c g_hash_table_destroy(query->devices); query 109 fencing/remote.c free(query->host); query 110 fencing/remote.c free(query); query 1053 fencing/remote.c xmlNode *query = NULL; query 1096 fencing/remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1099 fencing/remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1100 fencing/remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1101 fencing/remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1102 fencing/remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1103 fencing/remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1104 fencing/remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1105 fencing/remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1107 fencing/remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1108 fencing/remote.c free_xml(query); query 107 include/crm/cib.h int (*query) (cib_t * cib, const char *section, xmlNode ** output_data, int call_options); query 247 include/crm/stonith-ng.h int (*query)(stonith_t *st, int options, const char *node, query 534 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, query 383 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 779 lib/cib/cib_file.c gboolean query = FALSE; query 808 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; query 831 lib/cib/cib_file.c rc = cib_perform_op(op, call_options, fn, query, query 843 lib/cib/cib_file.c } else if (query == FALSE) { query 121 lib/cib/cib_utils.c rc = cib->cmds->query(cib, NULL, &xml_cib, options); query 149 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); query 2485 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 373 lrmd/test.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 228 tools/attrd_updater.c xmlNode *query; query 231 tools/attrd_updater.c query = create_xml_node(NULL, __FUNCTION__); query 232 tools/attrd_updater.c if (query == NULL) { query 235 tools/attrd_updater.c crm_xml_add(query, F_TYPE, T_ATTRD); query 236 tools/attrd_updater.c crm_xml_add(query, F_ORIG, crm_system_name); query 237 tools/attrd_updater.c crm_xml_add(query, F_ATTRD_HOST, host); query 238 tools/attrd_updater.c crm_xml_add(query, F_ATTRD_TASK, ATTRD_OP_QUERY); query 239 tools/attrd_updater.c crm_xml_add(query, F_ATTRD_ATTRIBUTE, name); query 248 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_flags_none|crm_ipc_client_response, 0, reply); query 255 tools/attrd_updater.c free_xml(query); query 364 tools/cib_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); query 429 tools/cib_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); query 483 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); query 318 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 4078 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 831 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 134 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 292 tools/crm_resource_runtime.c cib->cmds->query(cib, "/cib", &cib_top, query 932 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 397 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); query 808 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call | cib_scope_local); query 841 tools/crm_simulate.c rc = global_cib->cmds->query(global_cib, NULL, &input, cib_sync_call); query 176 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 221 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 332 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 858 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 167 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); query 312 tools/crmadmin.c rc = the_cib->cmds->query(the_cib, NULL, &output, cib_scope_local | cib_sync_call); query 125 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); query 194 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 222 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 357 tools/fake_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 682 tools/fake_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == query 842 tools/fake_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local);