query 117 daemons/attrd/attrd_alerts.c call_id = the_cib->cmds->query(the_cib, XPATH_ALERTS, NULL, query 201 daemons/attrd/attrd_ipc.c xmlNode *query = request->xml; query 208 daemons/attrd/attrd_ipc.c attr = crm_element_value(query, PCMK__XA_ATTR_NAME); query 217 daemons/attrd/attrd_ipc.c reply = build_query_reply(attr, crm_element_value(query, query 126 daemons/controld/controld_callbacks.c xmlNode *query = create_request(CRM_OP_HELLO, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); query 129 daemons/controld/controld_callbacks.c send_cluster_message(node, crm_msg_crmd, query, FALSE); query 131 daemons/controld/controld_callbacks.c free_xml(query); query 804 daemons/controld/controld_control.c int call_id = cib_conn->cmds->query(cib_conn, query 509 daemons/controld/controld_execd_state.c int rc = cib_conn->cmds->query(cib_conn, XML_CIB_TAG_CRMCONFIG, query 144 daemons/controld/controld_join_client.c query_call_id = cib_conn->cmds->query(cib_conn, NULL, NULL, query 339 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 364 daemons/controld/controld_schedulerd.c fsa_pe_query = cib_conn->cmds->query(cib_conn, NULL, NULL, cib_scope_local); query 2390 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 2397 daemons/fenced/fenced_commands.c if (query->client_id != NULL) { query 2398 daemons/fenced/fenced_commands.c client = pcmk__find_client_by_id(query->client_id); query 2399 daemons/fenced/fenced_commands.c if ((client == NULL) && (query->remote_peer == NULL)) { query 2401 daemons/fenced/fenced_commands.c query->client_id); query 2408 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 2411 daemons/fenced/fenced_commands.c const char *action = query->action; query 2432 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, "reboot", pcmk__str_none)) { query 2439 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); query 2440 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, "reboot", pcmk__str_none)) { query 2452 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 2453 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2454 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, query 2455 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2456 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 2460 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 2468 daemons/fenced/fenced_commands.c if (query->target) { query 2471 daemons/fenced/fenced_commands.c query->target); query 2479 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 2482 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query 2486 daemons/fenced/fenced_commands.c free_xml(query->reply); query 2487 daemons/fenced/fenced_commands.c free(query->remote_peer); query 2488 daemons/fenced/fenced_commands.c free(query->client_id); query 2489 daemons/fenced/fenced_commands.c free(query->target); query 2490 daemons/fenced/fenced_commands.c free(query->action); query 2491 daemons/fenced/fenced_commands.c free(query); query 3207 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 3232 daemons/fenced/fenced_commands.c query = calloc(1, sizeof(struct st_query_data)); query 3233 daemons/fenced/fenced_commands.c CRM_ASSERT(query != NULL); query 3235 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); query 3236 daemons/fenced/fenced_commands.c pcmk__str_update(&query->remote_peer, request->peer); query 3237 daemons/fenced/fenced_commands.c pcmk__str_update(&query->client_id, client_id); query 3238 daemons/fenced/fenced_commands.c pcmk__str_update(&query->target, target); query 3239 daemons/fenced/fenced_commands.c pcmk__str_update(&query->action, action); query 3240 daemons/fenced/fenced_commands.c query->call_options = request->call_options; query 3244 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide), query 3245 daemons/fenced/fenced_commands.c query, stonith_query_capable_device_cb, st_device_supports_none); query 1266 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1313 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1316 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1317 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1318 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1319 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1320 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1321 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1322 daemons/fenced/fenced_remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1329 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID_RELAY, relay_op_id); query 1333 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1334 daemons/fenced/fenced_remote.c free_xml(query); query 1197 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1325 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1358 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); query 1360 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1361 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1362 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1365 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1367 daemons/fenced/pacemaker-fenced.c free_xml(query); query 103 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, query 341 include/crm/stonith-ng.h int (*query)(stonith_t *stonith, int call_options, const char *target, query 673 lib/cib/cib_attrs.c rc = the_cib->cmds->query(the_cib, XML_CIB_TAG_NODES, &fragment, query 633 lib/cib/cib_client.c new_cib->cmds->query = cib_client_query; query 135 lib/cib/cib_file.c gboolean query = FALSE; query 168 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; query 189 lib/cib/cib_file.c rc = cib_perform_op(op, call_options, fn, query, query 201 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 779 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, query 1865 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 495 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 234 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 256 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath_by_uuid, &cib_object, query 285 lib/pacemaker/pcmk_injections.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 473 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, query 558 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, query 771 lib/pacemaker/pcmk_simulate.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, query 851 lib/pacemaker/pcmk_simulate.c rc = cib->cmds->query(cib, NULL, &input, cib_sync_call); 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 811 tools/cibadmin.c if (the_cib->cmds->query(the_cib, NULL, &obj, query 2049 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1080 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1256 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 127 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, query 1216 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); query 473 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, output, options.cmd_options); query 362 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, query 410 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, query 783 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;