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 790 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 351 daemons/controld/controld_schedulerd.c fsa_pe_query = fsa_cib_conn->cmds->query(fsa_cib_conn, NULL, NULL, cib_scope_local); query 2125 daemons/fenced/fenced_commands.c struct st_query_data *query = user_data; query 2133 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); query 2136 daemons/fenced/fenced_commands.c const char *action = query->action; query 2156 daemons/fenced/fenced_commands.c && pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 2163 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); query 2164 daemons/fenced/fenced_commands.c if (pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) { query 2176 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, query 2177 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2178 daemons/fenced/fenced_commands.c add_action_reply(dev, "off", device, query->target, query 2179 daemons/fenced/fenced_commands.c pcmk_is_set(query->call_options, st_opt_allow_suicide)); query 2180 daemons/fenced/fenced_commands.c add_action_reply(dev, "on", device, query->target, FALSE); query 2184 daemons/fenced/fenced_commands.c if (query->target == NULL) { query 2192 daemons/fenced/fenced_commands.c if (query->target) { query 2195 daemons/fenced/fenced_commands.c query->target); query 2203 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); query 2205 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); query 2207 daemons/fenced/fenced_commands.c free_xml(query->reply); query 2208 daemons/fenced/fenced_commands.c free(query->remote_peer); query 2209 daemons/fenced/fenced_commands.c free(query->client_id); query 2210 daemons/fenced/fenced_commands.c free(query->target); query 2211 daemons/fenced/fenced_commands.c free(query->action); query 2212 daemons/fenced/fenced_commands.c free(query); query 2220 daemons/fenced/fenced_commands.c struct st_query_data *query = NULL; query 2239 daemons/fenced/fenced_commands.c query = calloc(1, sizeof(struct st_query_data)); query 2241 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); query 2242 daemons/fenced/fenced_commands.c query->remote_peer = remote_peer ? strdup(remote_peer) : NULL; query 2243 daemons/fenced/fenced_commands.c query->client_id = client_id ? strdup(client_id) : NULL; query 2244 daemons/fenced/fenced_commands.c query->target = target ? strdup(target) : NULL; query 2245 daemons/fenced/fenced_commands.c query->action = action ? strdup(action) : NULL; query 2246 daemons/fenced/fenced_commands.c query->call_options = call_options; query 2250 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 1135 daemons/fenced/fenced_remote.c xmlNode *query = NULL; query 1181 daemons/fenced/fenced_remote.c query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY, query 1184 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID, op->id); query 1185 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_TARGET, op->target); query 1186 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ACTION, op_requested_action(op)); query 1187 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_ORIGIN, op->originator); query 1188 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTID, op->client_id); query 1189 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_CLIENTNAME, op->client_name); query 1190 daemons/fenced/fenced_remote.c crm_xml_add_int(query, F_STONITH_TIMEOUT, op->base_timeout); query 1197 daemons/fenced/fenced_remote.c crm_xml_add(query, F_STONITH_REMOTE_OP_ID_RELAY, relay_op_id); query 1201 daemons/fenced/fenced_remote.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1202 daemons/fenced/fenced_remote.c free_xml(query); query 1166 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, &local_cib, cib_scope_local | cib_sync_call); query 1333 daemons/fenced/pacemaker-fenced.c rc = cib_api->cmds->query(cib_api, NULL, NULL, cib_scope_local); query 1366 daemons/fenced/pacemaker-fenced.c xmlNode *query = create_xml_node(NULL, "stonith_command"); query 1368 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_XML_TAGNAME, "stonith_command"); query 1369 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_TYPE, T_STONITH_NG); query 1370 daemons/fenced/pacemaker-fenced.c crm_xml_add(query, F_STONITH_OPERATION, "poke"); query 1373 daemons/fenced/pacemaker-fenced.c send_cluster_message(NULL, crm_msg_stonith_ng, query, FALSE); query 1375 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 259 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 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 64 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); query 810 lib/cib/cib_utils.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_object, cib_scope_local | cib_sync_call); query 2210 lib/fencing/st_client.c new_stonith->cmds->query = stonith_api_query; query 421 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); query 99 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); query 165 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 193 lib/pacemaker/pcmk_sched_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, query 333 lib/pacemaker/pcmk_sched_transition.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 667 lib/pacemaker/pcmk_sched_transition.c CRM_ASSERT(fake_cib->cmds->query(fake_cib, NULL, NULL, cib_sync_call | cib_scope_local) == query 840 lib/pacemaker/pcmk_sched_transition.c int rc = fake_cib->cmds->query(fake_cib, NULL, &cib_object, cib_sync_call | cib_scope_local); query 408 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 379 maint/gnulib/lib/nproc.c num_processors (enum nproc_query query) query 383 maint/gnulib/lib/nproc.c if (query == NPROC_CURRENT_OVERRIDABLE) query 396 maint/gnulib/lib/nproc.c query = NPROC_CURRENT; query 400 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 300 tools/attrd_updater.c xmlNode *query; query 303 tools/attrd_updater.c query = create_xml_node(NULL, __func__); query 304 tools/attrd_updater.c if (query == NULL) { query 307 tools/attrd_updater.c crm_xml_add(query, F_TYPE, T_ATTRD); query 308 tools/attrd_updater.c crm_xml_add(query, F_ORIG, crm_system_name); query 309 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); query 310 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_TASK, PCMK__ATTRD_CMD_QUERY); query 311 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); query 320 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); query 328 tools/attrd_updater.c free_xml(query); query 681 tools/cibadmin.c rc = the_cib->cmds->query(the_cib, NULL, &obj, command_options); query 824 tools/crm_mon.c rc = pcmk_legacy2rc(cib->cmds->query(cib, NULL, ¤t_cib, query 2080 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); query 1077 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 1253 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, cib_xml_copy, cib_scope_local | cib_sync_call); query 149 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 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 161 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 206 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, xpath_string, &xml_search, query 874 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 401 tools/stonith_admin.c if (options.query != NULL) { query 403 tools/stonith_admin.c device = options.query;