query 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, query 503 daemons/attrd/attrd_commands.c xmlNode *query) query 506 daemons/attrd/attrd_commands.c const char *origin = crm_element_value(query, F_ORIG); query 515 daemons/attrd/attrd_commands.c attr = crm_element_value(query, PCMK__XA_ATTR_NAME); query 523 daemons/attrd/attrd_commands.c reply = build_query_reply(attr, crm_element_value(query, query 131 daemons/attrd/pacemaker-attrd.h xmlNode *query); 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 send_cluster_message(node, crm_msg_crmd, query, FALSE); query 132 daemons/controld/controld_callbacks.c free_xml(query); query 800 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 145 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 106 daemons/controld/controld_schedulerd.c rc = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 356 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 2243 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 2250 daemons/fenced/fenced_commands.c if (query->client_id != NULL) { query 2251 daemons/fenced/fenced_commands.c client = pcmk__find_client_by_id(query->client_id); query 2252 daemons/fenced/fenced_commands.c if ((client == NULL) && (query->remote_peer == NULL)) { query 2254 daemons/fenced/fenced_commands.c query->client_id); query 2261 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 2264 daemons/fenced/fenced_commands.c const char *action = query->action; query 2284 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 2291 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); query 2292 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 2304 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 2305 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2306 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, query 2307 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2308 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 2312 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 2320 daemons/fenced/fenced_commands.c if (query->target) { query 2323 daemons/fenced/fenced_commands.c query->target); query 2331 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 2334 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query 2338 daemons/fenced/fenced_commands.c free_xml(query->reply); query 2339 daemons/fenced/fenced_commands.c free(query->remote_peer); query 2340 daemons/fenced/fenced_commands.c free(query->client_id); query 2341 daemons/fenced/fenced_commands.c free(query->target); query 2342 daemons/fenced/fenced_commands.c free(query->action); query 2343 daemons/fenced/fenced_commands.c free(query); query 3041 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 3066 daemons/fenced/fenced_commands.c query = calloc(1, sizeof(struct st_query_data)); query 3067 daemons/fenced/fenced_commands.c CRM_ASSERT(query != NULL); query 3069 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); query 3070 daemons/fenced/fenced_commands.c pcmk__str_update(&query->remote_peer, request->peer); query 3071 daemons/fenced/fenced_commands.c pcmk__str_update(&query->client_id, client_id); query 3072 daemons/fenced/fenced_commands.c pcmk__str_update(&query->target, target); query 3073 daemons/fenced/fenced_commands.c pcmk__str_update(&query->action, action); query 3074 daemons/fenced/fenced_commands.c query->call_options = request->call_options; query 3078 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide), query 3079 daemons/fenced/fenced_commands.c query, stonith_query_capable_device_cb); query 1242 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1289 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1292 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1293 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1294 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1295 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1296 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1297 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1298 daemons/fenced/fenced_remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1305 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID_RELAY, relay_op_id); query 1309 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1310 daemons/fenced/fenced_remote.c free_xml(query); query 1188 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1352 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1385 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); query 1387 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1388 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1389 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1392 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1394 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 262 include/crm/stonith-ng.h int (*query)(stonith_t *st, int options, const char *node, query 648 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, query 390 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 805 lib/cib/cib_file.c gboolean query = FALSE; query 838 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; query 858 lib/cib/cib_file.c rc = cib_perform_op(op, call_options, fn, query, query 870 lib/cib/cib_file.c } else if (query == FALSE) { query 33 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); query 736 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_scope_local | cib_sync_call); query 1814 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 476 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); query 128 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, query 232 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 261 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 442 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 559 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, query 765 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, query 835 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); query 47 lib/pacemaker/pcmk_status.c rc = cib->cmds->query(cib, NULL, current_cib, 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 296 tools/attrd_updater.c xmlNode *query; query 299 tools/attrd_updater.c query = create_xml_node(NULL, __func__); query 300 tools/attrd_updater.c if (query == NULL) { query 303 tools/attrd_updater.c crm_xml_add(query, F_TYPE, T_ATTRD); query 304 tools/attrd_updater.c crm_xml_add(query, F_ORIG, crm_system_name); query 305 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); query 306 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_TASK, PCMK__ATTRD_CMD_QUERY); query 307 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); query 316 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); query 324 tools/attrd_updater.c free_xml(query); query 772 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); query 798 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, query 1958 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1063 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1239 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 156 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 1102 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 445 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &output, command_options); query 510 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, &old_config, command_options); query 363 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 415 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 793 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 63 tools/stonith_admin.c char *query; query 126 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, query 435 tools/stonith_admin.c if (options.query != NULL) { query 437 tools/stonith_admin.c device = options.query;