query 115 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, query 189 daemons/attrd/attrd_ipc.c xmlNode *query = request->xml; query 196 daemons/attrd/attrd_ipc.c attr = crm_element_value(query, PCMK__XA_ATTR_NAME); query 206 daemons/attrd/attrd_ipc.c crm_element_value(query, PCMK__XA_ATTR_HOST)); query 127 daemons/controld/controld_callbacks.c xmlNode *query = create_request(CRM_OP_HELLO, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); query 130 daemons/controld/controld_callbacks.c pcmk__cluster_send_message(node, crm_msg_crmd, query); query 132 daemons/controld/controld_callbacks.c free_xml(query); query 639 daemons/controld/controld_control.c int call_id = cib_conn->cmds->query(cib_conn, query 510 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, PCMK_XE_CRM_CONFIG, query 135 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, query 348 daemons/controld/controld_membership.c call_id = cib_conn->cmds->query(cib_conn, query 106 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, query 363 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); query 465 daemons/fenced/fenced_cib.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, query 769 daemons/fenced/fenced_cib.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 2436 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 2443 daemons/fenced/fenced_commands.c if (query->client_id != NULL) { query 2444 daemons/fenced/fenced_commands.c client = pcmk__find_client_by_id(query->client_id); query 2445 daemons/fenced/fenced_commands.c if ((client == NULL) && (query->remote_peer == NULL)) { query 2447 daemons/fenced/fenced_commands.c query->client_id); query 2453 daemons/fenced/fenced_commands.c wrapper = pcmk__xe_create(query->reply, PCMK__XE_ST_CALLDATA); query 2455 daemons/fenced/fenced_commands.c crm_xml_add(list, PCMK__XA_ST_TARGET, query->target); query 2459 daemons/fenced/fenced_commands.c const char *action = query->action; query 2484 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, PCMK_ACTION_REBOOT, query 2492 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); query 2493 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, PCMK_ACTION_REBOOT, pcmk__str_none)) { query 2505 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 2506 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, query 2508 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_OFF, device, query->target, query 2509 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, query 2511 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_ON, device, query->target, FALSE); query 2515 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 2523 daemons/fenced/fenced_commands.c if (query->target) { query 2526 daemons/fenced/fenced_commands.c query->target); query 2534 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query 2538 daemons/fenced/fenced_commands.c free_xml(query->reply); query 2539 daemons/fenced/fenced_commands.c free(query->remote_peer); query 2540 daemons/fenced/fenced_commands.c free(query->client_id); query 2541 daemons/fenced/fenced_commands.c free(query->target); query 2542 daemons/fenced/fenced_commands.c free(query->action); query 2543 daemons/fenced/fenced_commands.c free(query); query 3246 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 3272 daemons/fenced/fenced_commands.c query = pcmk__assert_alloc(1, sizeof(struct st_query_data)); query 3274 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); query 3275 daemons/fenced/fenced_commands.c query->remote_peer = pcmk__str_copy(request->peer); query 3276 daemons/fenced/fenced_commands.c query->client_id = pcmk__str_copy(client_id); query 3277 daemons/fenced/fenced_commands.c query->target = pcmk__str_copy(target); query 3278 daemons/fenced/fenced_commands.c query->action = pcmk__str_copy(action); query 3279 daemons/fenced/fenced_commands.c query->call_options = request->call_options; query 3283 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, query 3285 daemons/fenced/fenced_commands.c query, stonith_query_capable_device_cb, st_device_supports_none); query 1292 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1339 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1342 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_REMOTE_OP, op->id); query 1343 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_TARGET, op->target); query 1344 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_DEVICE_ACTION, op_requested_action(op)); query 1345 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_ORIGIN, op->originator); query 1346 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_CLIENTID, op->client_id); query 1347 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_CLIENTNAME, op->client_name); query 1348 daemons/fenced/fenced_remote.c crm_xml_add_int(query, PCMK__XA_ST_TIMEOUT, op->base_timeout); query 1355 daemons/fenced/fenced_remote.c crm_xml_add(query, PCMK__XA_ST_REMOTE_OP_RELAY, relay_op_id); query 1359 daemons/fenced/fenced_remote.c pcmk__cluster_send_message(NULL, crm_msg_stonith_ng, query); query 1360 daemons/fenced/fenced_remote.c free_xml(query); query 486 daemons/fenced/pacemaker-fenced.c xmlNode *query = pcmk__xe_create(NULL, PCMK__XE_STONITH_COMMAND); query 488 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, PCMK__XA_T, PCMK__VALUE_STONITH_NG); query 489 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, PCMK__XA_ST_OP, STONITH_OP_POKE); query 492 daemons/fenced/pacemaker-fenced.c pcmk__cluster_send_message(NULL, crm_msg_stonith_ng, query); query 494 daemons/fenced/pacemaker-fenced.c free_xml(query); query 198 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, query 366 include/crm/stonith-ng.h int (*query)(stonith_t *stonith, int call_options, const char *target, query 685 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, PCMK_XE_NODES, &fragment, query 696 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 1004 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, query 1076 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); query 1882 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 502 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); query 151 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, query 258 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 283 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, query 313 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 569 lib/pacemaker/pcmk_simulate.c pcmk__assert(fake_cib->cmds->query(fake_cib, NULL, NULL, query 783 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, query 864 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); query 93 lib/pacemaker/pcmk_ticket.c rc = cib->cmds->query(cib, xpath, &xml_search, query 131 lib/pacemaker/pcmk_ticket.c rc = cib->cmds->query(cib, (const char *) xpath, &result, query 85 lib/pacemaker/tests/pcmk_resource/pcmk_resource_delete_test.c cib->cmds->query(cib, (const char *) xpath->str, &xml_search, query 103 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 124 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketB\"]", query 145 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_delete_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketC\"]", query 81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"XYZ\"]", query 91 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 101 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"XYZ\"]", query 126 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 153 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 179 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketB\"]", query 205 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketB\"]", query 81 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"XYZ\"]", query 90 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"XYZ\"]", query 118 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"XYZ\"]", query 145 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 171 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 198 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketA\"]", query 225 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketB\"]", query 252 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c cib->cmds->query(cib, "//" PCMK__XE_TICKET_STATE "[@" PCMK_XA_ID "=\"ticketB\"]", query 206 maint/gnulib/lib/nproc.c num_processors_ignoring_omp (enum nproc_query query) query 223 maint/gnulib/lib/nproc.c if (query == NPROC_CURRENT) query 278 maint/gnulib/lib/nproc.c if (query == NPROC_CURRENT) query 298 maint/gnulib/lib/nproc.c sysmp (query == NPROC_CURRENT && getuid () != 0 query 380 maint/gnulib/lib/nproc.c num_processors (enum nproc_query query) query 384 maint/gnulib/lib/nproc.c if (query == NPROC_CURRENT_OVERRIDABLE) query 397 maint/gnulib/lib/nproc.c query = NPROC_CURRENT; query 401 maint/gnulib/lib/nproc.c unsigned long nprocs = num_processors_ignoring_omp (query); query 42 maint/gnulib/lib/nproc.h extern unsigned long int num_processors (enum nproc_query query); query 853 tools/cibadmin.c if (the_cib->cmds->query(the_cib, NULL, &obj, query 2085 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 974 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1015 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, (const char *) xpath->str, &xml_search, query 1327 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 487 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, output, options.cmd_options); query 422 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 62 tools/stonith_admin.c char *query; query 125 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, query 448 tools/stonith_admin.c if (options.query != NULL) { query 450 tools/stonith_admin.c device = options.query;