match 208 daemons/controld/controld_metadata.c xmlNode *match = NULL; match 253 daemons/controld/controld_metadata.c match = first_named_child(metadata, "actions"); match 254 daemons/controld/controld_metadata.c for (match = first_named_child(match, "action"); match != NULL; match 255 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 257 daemons/controld/controld_metadata.c const char *action_name = crm_element_value(match, "name"); match 275 daemons/controld/controld_metadata.c match = first_named_child(metadata, "parameters"); match 276 daemons/controld/controld_metadata.c for (match = first_named_child(match, "parameter"); match != NULL; match 277 daemons/controld/controld_metadata.c match = crm_next_same_xml(match)) { match 279 daemons/controld/controld_metadata.c const char *param_name = crm_element_value(match, "name"); match 285 daemons/controld/controld_metadata.c struct ra_param_s *p = ra_param_from_xml(match); match 376 daemons/controld/controld_schedulerd.c xmlNode *match = getXpathResult(xpathObj, lpc); match 377 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); match 378 daemons/controld/controld_schedulerd.c crm_xml_add(match, XML_NVPAIR_ATTR_VALUE, attr_value); match 183 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); match 185 daemons/controld/controld_te_callbacks.c CRM_LOG_ASSERT(match != NULL); match 186 daemons/controld/controld_te_callbacks.c if(match == NULL) { continue; }; match 188 daemons/controld/controld_te_callbacks.c op_id = ID(match); match 197 daemons/controld/controld_te_callbacks.c const char *node = get_node_id(match); match 203 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Resource op removal", match); match 284 daemons/controld/controld_te_callbacks.c char *match = NULL; match 286 daemons/controld/controld_te_callbacks.c match = strstr(mutable_path, "node_state[@id=\'"); match 287 daemons/controld/controld_te_callbacks.c if (match == NULL) { match 291 daemons/controld/controld_te_callbacks.c match += strlen("node_state[@id=\'"); match 293 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); match 300 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); match 424 daemons/controld/controld_te_callbacks.c xmlNode *match = NULL; match 446 daemons/controld/controld_te_callbacks.c match = change->children; match 449 daemons/controld/controld_te_callbacks.c match = first_named_child(change, XML_DIFF_RESULT); match 450 daemons/controld/controld_te_callbacks.c if(match) { match 451 daemons/controld/controld_te_callbacks.c match = match->children; match 460 daemons/controld/controld_te_callbacks.c if (match) { match 461 daemons/controld/controld_te_callbacks.c if (match->type == XML_COMMENT_NODE) { match 465 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; match 495 daemons/controld/controld_te_callbacks.c process_cib_diff(match, change, op, xpath); match 498 daemons/controld/controld_te_callbacks.c process_status_diff(match, change, op, xpath); match 501 daemons/controld/controld_te_callbacks.c process_node_state_diff(match, change, op, xpath); match 504 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(match), match, change, op, xpath); match 509 daemons/controld/controld_te_callbacks.c process_resource_updates(local_node, match, change, op, xpath); match 515 daemons/controld/controld_te_callbacks.c process_lrm_resource_diff(match, local_node); match 521 daemons/controld/controld_te_callbacks.c process_graph_event(match, local_node); match 292 daemons/controld/controld_te_events.c crm_action_t *match = NULL; match 299 daemons/controld/controld_te_events.c gIter != NULL && match == NULL; match 303 daemons/controld/controld_te_events.c gIter2 != NULL && match == NULL; match 306 daemons/controld/controld_te_events.c match = (crm_action_t*)gIter2->data; match 307 daemons/controld/controld_te_events.c if (match->executed) { match 308 daemons/controld/controld_te_events.c xpath_ret = xpath_search(match->xml, xpath); match 310 daemons/controld/controld_te_events.c match = NULL; match 315 daemons/controld/controld_te_events.c match = NULL; match 322 daemons/controld/controld_te_events.c if (match != NULL) { match 323 daemons/controld/controld_te_events.c crm_debug("Shutdown action %d (%s) found for node %s", match->id, match 324 daemons/controld/controld_te_events.c crm_element_value(match->xml, XML_LRM_ATTR_TASK_KEY), target); match 328 daemons/controld/controld_te_events.c return match; match 813 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); match 815 daemons/fenced/fenced_commands.c CRM_LOG_ASSERT(match != NULL); match 816 daemons/fenced/fenced_commands.c if(match == NULL) { continue; }; match 818 daemons/fenced/fenced_commands.c on_target = crm_element_value(match, "on_target"); match 819 daemons/fenced/fenced_commands.c action = crm_element_value(match, "name"); match 832 daemons/fenced/fenced_commands.c const char *automatic = crm_element_value(match, "automatic"); match 835 daemons/fenced/fenced_commands.c const char *required = crm_element_value(match, "required"); match 326 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->devices_list, iter->data, match 329 daemons/fenced/fenced_remote.c if (match) { match 330 daemons/fenced/fenced_remote.c op->devices_list = g_list_remove(op->devices_list, match->data); match 692 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 695 daemons/fenced/fenced_remote.c if (!match) { match 710 daemons/fenced/fenced_remote.c GList *match = g_list_find_custom(op->automatic_list, device, match 713 daemons/fenced/fenced_remote.c if (match) { match 714 daemons/fenced/fenced_remote.c op->automatic_list = g_list_remove(op->automatic_list, match->data); match 1714 daemons/fenced/fenced_remote.c device_properties_t *match = NULL; match 1731 daemons/fenced/fenced_remote.c match = NULL; match 1732 daemons/fenced/fenced_remote.c for (iter = op->query_results; iter && !match; iter = iter->next) { match 1738 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); match 1740 daemons/fenced/fenced_remote.c if (!match) { match 434 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 436 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 437 daemons/fenced/pacemaker-fenced.c if(match != NULL) { match 438 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 445 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 452 daemons/fenced/pacemaker-fenced.c handle_topology_change(xmlNode *match, bool remove) match 457 daemons/fenced/pacemaker-fenced.c CRM_CHECK(match != NULL, return); match 458 daemons/fenced/pacemaker-fenced.c crm_trace("Updating %s", ID(match)); match 462 daemons/fenced/pacemaker-fenced.c char *key = stonith_level_key(match, -1); match 464 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 469 daemons/fenced/pacemaker-fenced.c rc = stonith_level_register(match, &desc); match 481 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 483 daemons/fenced/pacemaker-fenced.c CRM_LOG_ASSERT(match != NULL); match 484 daemons/fenced/pacemaker-fenced.c if (match && crm_element_value(match, XML_DIFF_MARKER)) { match 487 daemons/fenced/pacemaker-fenced.c char *target = stonith_level_key(match, -1); match 489 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); match 491 daemons/fenced/pacemaker-fenced.c crm_err("Invalid fencing target in element %s", ID(match)); match 494 daemons/fenced/pacemaker-fenced.c crm_err("Invalid level for %s in element %s", target, ID(match)); match 510 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); match 512 daemons/fenced/pacemaker-fenced.c handle_topology_change(match, TRUE); match 870 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 872 daemons/fenced/pacemaker-fenced.c crm_log_xml_trace(match, "new constraint"); match 892 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); match 894 daemons/fenced/pacemaker-fenced.c rsc_id = crm_element_value(match, XML_ATTR_ID); match 895 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); match 951 daemons/fenced/pacemaker-fenced.c xmlNode *match; match 965 daemons/fenced/pacemaker-fenced.c match = get_xpath_object(xpath, local_cib, LOG_NEVER); match 968 daemons/fenced/pacemaker-fenced.c return (match != NULL); match 1023 daemons/fenced/pacemaker-fenced.c xmlNode *match = first_named_child(change, XML_DIFF_RESULT); match 1025 daemons/fenced/pacemaker-fenced.c if(match) { match 1026 daemons/fenced/pacemaker-fenced.c handle_topology_change(match->children, TRUE); match 36 include/crm/common/strings_internal.h bool pcmk__ends_with(const char *s, const char *match); match 37 include/crm/common/strings_internal.h bool pcmk__ends_with_ext(const char *s, const char *match); match 163 include/crm/common/xml_internal.h bool (*match)(xmlAttrPtr, void *), match 368 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 369 lib/cib/cib_ops.c xmlChar *match_path = xmlGetNodePath(match); match 373 lib/cib/cib_ops.c free_xml(match); match 714 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); match 716 lib/cib/cib_ops.c if (match == NULL) { match 720 lib/cib/cib_ops.c path = xmlGetNodePath(match); match 725 lib/cib/cib_ops.c if (match == *result_cib) { match 732 lib/cib/cib_ops.c free_xml(match); match 738 lib/cib/cib_ops.c if (update_xml_child(match, input) == FALSE) { match 745 lib/cib/cib_ops.c add_node_copy(match, input); match 751 lib/cib/cib_ops.c const char *tag = TYPE(match); match 754 lib/cib/cib_ops.c copy_in_properties(shallow, match); match 762 lib/cib/cib_ops.c xmlNode *parent = match; match 790 lib/cib/cib_ops.c add_node_copy(*answer, match); match 793 lib/cib/cib_ops.c *answer = match; match 797 lib/cib/cib_ops.c xmlNode *parent = match->parent; match 799 lib/cib/cib_ops.c free_xml(match); match 263 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 264 lib/common/acl.c char *path = xml_get_path(match); match 266 lib/common/acl.c p = match->_private; match 441 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); match 443 lib/common/acl.c if (!purge_xml_attributes(match) && (match == target)) { match 1219 lib/common/mainloop.c mainloop_child_t *match = NULL; match 1224 lib/common/mainloop.c for (iter = child_list; iter != NULL && match == NULL; iter = iter->next) { match 1227 lib/common/mainloop.c match = child; match 1231 lib/common/mainloop.c if (match == NULL) { match 1235 lib/common/mainloop.c rc = child_kill_helper(match); match 1243 lib/common/mainloop.c match->pid); match 1253 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) { match 1258 lib/common/mainloop.c child_list = g_list_remove(child_list, match); match 1259 lib/common/mainloop.c child_free(match); match 1109 lib/common/patchset.c xmlNode *match; match 1152 lib/common/patchset.c xmlNode *match = NULL; match 1167 lib/common/patchset.c match = search_v2_xpath(xml, xpath, position); match 1168 lib/common/patchset.c crm_trace("Performing %s on %s with %p", op, xpath, match); match 1170 lib/common/patchset.c if ((match == NULL) && (strcmp(op, "delete") == 0)) { match 1174 lib/common/patchset.c } else if (match == NULL) { match 1186 lib/common/patchset.c change_obj->match = match; match 1192 lib/common/patchset.c if ((match->parent != NULL) && (match->parent->last != NULL)) { match 1193 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1198 lib/common/patchset.c free_xml(match); match 1209 lib/common/patchset.c pcmk__xe_remove_matching_attrs(match, NULL, NULL); // Remove all match 1216 lib/common/patchset.c crm_xml_add(match, name, value); match 1230 lib/common/patchset.c xmlNode *match = change_obj->match; match 1239 lib/common/patchset.c crm_trace("Continue performing %s on %s with %p", op, xpath, match); match 1246 lib/common/patchset.c match_child = match->children; match 1254 lib/common/patchset.c child = xmlDocCopyNode(change->children, match->doc, 1); match 1259 lib/common/patchset.c } else if (match->last) { match 1262 lib/common/patchset.c xmlAddNextSibling(match->last, child); match 1268 lib/common/patchset.c xmlAddChild(match, child); match 1276 lib/common/patchset.c if (position != pcmk__xml_position(match, xpf_skip)) { match 1280 lib/common/patchset.c if (p > pcmk__xml_position(match, xpf_skip)) { match 1284 lib/common/patchset.c CRM_ASSERT(match->parent != NULL); match 1285 lib/common/patchset.c match_child = match->parent->children; match 1293 lib/common/patchset.c match->name, position, match 1294 lib/common/patchset.c pcmk__xml_position(match, xpf_skip), match 1295 lib/common/patchset.c match->prev, (match_child? "next":"last"), match 1296 lib/common/patchset.c (match_child? match_child : match->parent->last)); match 1299 lib/common/patchset.c xmlAddPrevSibling(match_child, match); match 1302 lib/common/patchset.c CRM_ASSERT(match->parent->last != NULL); match 1303 lib/common/patchset.c xmlAddNextSibling(match->parent->last, match); match 1308 lib/common/patchset.c match->name, position); match 1311 lib/common/patchset.c if (position != pcmk__xml_position(match, xpf_skip)) { match 1313 lib/common/patchset.c match->name, ID(match), match 1314 lib/common/patchset.c pcmk__xml_position(match, xpf_skip), match 1315 lib/common/patchset.c position, match->prev); match 1053 lib/common/schemas.c int lpc = 0, match = -1, rc = pcmk_ok; match 1066 lib/common/schemas.c match = get_schema_version(value); match 1068 lib/common/schemas.c lpc = match; match 1078 lib/common/schemas.c if (match >= max_stable_schemas) { match 1081 lib/common/schemas.c *best = match; match 1183 lib/common/schemas.c if (*best > match && *best) { match 500 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension) match 502 lib/common/strings.c if (pcmk__str_empty(match)) { match 513 lib/common/strings.c s = strrchr(s, match[0]); match 514 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); match 517 lib/common/strings.c mlen = strlen(match); match 519 lib/common/strings.c return ((slen >= mlen) && !strcmp(s + slen - mlen, match)); match 535 lib/common/strings.c pcmk__ends_with(const char *s, const char *match) match 537 lib/common/strings.c return ends_with(s, match, false); match 562 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match) match 564 lib/common/strings.c return ends_with(s, match, true); match 631 lib/common/xml.c bool (*match)(xmlAttrPtr, void *), match 638 lib/common/xml.c if ((match == NULL) || match(a, user_data)) { match 2792 lib/common/xml.c xmlNode *match = NULL; match 2794 lib/common/xml.c for (match = pcmk__xe_first_child(parent); match != NULL; match 2795 lib/common/xml.c match = pcmk__xe_next(match)) { match 2801 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { match 2802 lib/common/xml.c return match; match 2818 lib/common/xml.c xmlNode *match = pcmk__xe_next(sibling); match 2821 lib/common/xml.c while (match != NULL) { match 2822 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { match 2823 lib/common/xml.c return match; match 2825 lib/common/xml.c match = pcmk__xe_next(match); match 60 lib/common/xpath.c xmlNode *match = NULL; match 75 lib/common/xpath.c match = xpathObj->nodesetval->nodeTab[index]; match 76 lib/common/xpath.c CRM_CHECK(match != NULL, return NULL); match 83 lib/common/xpath.c if (match->type == XML_DOCUMENT_NODE) { match 85 lib/common/xpath.c match = match->children; match 87 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE match 88 lib/common/xpath.c && match->parent && match->parent->type == XML_ELEMENT_NODE) { match 90 lib/common/xpath.c match = match->parent; match 92 lib/common/xpath.c } else if (match->type != XML_ELEMENT_NODE) { match 94 lib/common/xpath.c crm_err("We only support %d not %d", XML_ELEMENT_NODE, match->type); match 95 lib/common/xpath.c match = NULL; match 97 lib/common/xpath.c return match; match 245 lib/common/xpath.c xmlNode *match = getXpathResult(xpathObj, lpc); match 247 lib/common/xpath.c CRM_LOG_ASSERT(match != NULL); match 248 lib/common/xpath.c if (match != NULL) { match 249 lib/common/xpath.c matchNodePath = (char *) xmlGetNodePath(match); match 988 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); match 990 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 991 lib/fencing/st_client.c if(match != NULL) { match 992 lib/fencing/st_client.c xmlChar *match_path = xmlGetNodePath(match); match 996 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); match 2676 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); match 2678 lib/fencing/st_client.c CRM_LOG_ASSERT(match != NULL); match 2679 lib/fencing/st_client.c if (match == NULL) { match 2683 lib/fencing/st_client.c parameter = crm_element_value(match, "name"); match 476 lib/pacemaker/pcmk_sched_allocate.c gboolean match = FALSE; match 497 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 500 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 505 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 508 lib/pacemaker/pcmk_sched_allocate.c match = TRUE; match 512 lib/pacemaker/pcmk_sched_allocate.c if (match) { match 689 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 693 lib/pacemaker/pcmk_sched_allocate.c } else if ((match != NULL) match 934 lib/pacemaker/pcmk_sched_allocate.c pe_node_t *match; match 945 lib/pacemaker/pcmk_sched_allocate.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 946 lib/pacemaker/pcmk_sched_allocate.c if (match && match->rsc_discover_mode != pe_discover_exclusive) { match 947 lib/pacemaker/pcmk_sched_allocate.c match->weight = -INFINITY; match 299 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); match 301 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { match 309 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); match 311 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { match 810 lib/pacemaker/pcmk_sched_clone.c pe_action_t *match = NULL; match 828 lib/pacemaker/pcmk_sched_clone.c match = g_list_nth_data(active, 0); match 837 lib/pacemaker/pcmk_sched_clone.c match = g_list_nth_data(possible, 0); match 852 lib/pacemaker/pcmk_sched_clone.c return match; match 199 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, match 202 lib/pacemaker/pcmk_sched_constraints.c if (match != NULL) { match 203 lib/pacemaker/pcmk_sched_constraints.c if(!pcmk__str_eq(match->id, id, pcmk__str_casei)) { match 205 lib/pacemaker/pcmk_sched_constraints.c match = uber_parent(match); match 206 lib/pacemaker/pcmk_sched_constraints.c crm_debug("Found %s for %s", match->id, id); match 208 lib/pacemaker/pcmk_sched_constraints.c return match; match 815 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *match = pe_find_node(data_set->nodes, node); match 817 lib/pacemaker/pcmk_sched_constraints.c if (!match) { match 820 lib/pacemaker/pcmk_sched_constraints.c location = rsc2node_new(id, rsc_lh, score_i, discovery, match, data_set); match 482 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *match = NULL; match 516 lib/pacemaker/pcmk_sched_promotable.c match = pe_find_node_id(rsc->running_on, node->details->id); match 517 lib/pacemaker/pcmk_sched_promotable.c if ((match == NULL) && (known == NULL)) { match 524 lib/pacemaker/pcmk_sched_promotable.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 525 lib/pacemaker/pcmk_sched_promotable.c if (match == NULL) { match 528 lib/pacemaker/pcmk_sched_promotable.c } else if (match->weight < 0) { match 530 lib/pacemaker/pcmk_sched_promotable.c rsc->id, match->details->uname, match->weight); match 228 lib/pacemaker/pcmk_sched_transition.c xmlNode *match = NULL; match 232 lib/pacemaker/pcmk_sched_transition.c match = get_xpath_object(xpath, cib_node, LOG_TRACE); match 234 lib/pacemaker/pcmk_sched_transition.c return match; match 680 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); match 682 lib/pengine/bundle.c if (match) { match 683 lib/pengine/bundle.c ((pe_node_t *) match)->weight = -INFINITY; match 684 lib/pengine/bundle.c ((pe_node_t *) match)->rsc_discover_mode = pe_discover_never; match 271 lib/pengine/native.c bool match = FALSE; match 280 lib/pengine/native.c match = FALSE; match 283 lib/pengine/native.c match = TRUE; match 287 lib/pengine/native.c match = TRUE; match 291 lib/pengine/native.c match = TRUE; match 296 lib/pengine/native.c match = pe_base_name_eq(rsc, id); match 299 lib/pengine/native.c if (match && on_node) { match 303 lib/pengine/native.c match = FALSE; match 307 lib/pengine/native.c if (match) { match 395 lib/pengine/status.c pe_resource_t *match = match 397 lib/pengine/status.c if (match != NULL) { match 398 lib/pengine/status.c return match; match 408 lib/pengine/status.c pe_node_t *match = pe_find_node_id(nodes, id); match 410 lib/pengine/status.c if (match) { match 411 lib/pengine/status.c return match; match 1564 lib/pengine/utils.c pe_node_t *match = NULL; match 1585 lib/pengine/utils.c match = pe_hash_table_lookup(rsc->allowed_nodes, node->details->id); match 1586 lib/pengine/utils.c if (match == NULL) { match 1587 lib/pengine/utils.c match = pe__copy_node(node); match 1588 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); match 1590 lib/pengine/utils.c match->weight = pe__add_scores(match->weight, score); match 2080 lib/pengine/utils.c pe_resource_t *match = gIter->data; match 2081 lib/pengine/utils.c const char *agent = g_hash_table_lookup(match->meta, match 2085 lib/pengine/utils.c data = pe__compare_fencing_digest(match, agent, node, data_set); match 2088 lib/pengine/utils.c crm_notice("Unfencing %s (remote): because the definition of %s changed", node->details->uname, match->id); match 2092 lib/pengine/utils.c node->details->uname, match->id); match 2098 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_all_calc); match 2102 lib/pengine/utils.c "%s:%s:%s,", match->id, agent, data->digest_secure_calc); match 434 lib/services/systemd.c const char *match = NULL; match 456 lib/services/systemd.c match = systemd_unit_extension(value.str); match 457 lib/services/systemd.c if (match == NULL) { match 472 lib/services/systemd.c if (!strcmp(match, ".service")) { match 474 lib/services/systemd.c unit_name = strndup(basename, match - basename); match 115 lib/services/upstart.c char *match = NULL; match 121 lib/services/upstart.c match = strstr(input, search); match 122 lib/services/upstart.c if (match == NULL) { match 125 lib/services/upstart.c crm_trace("Found: %s", match); match 126 lib/services/upstart.c match[0] = replace; match 127 lib/services/upstart.c len = strlen(match) - shuffle; match 129 lib/services/upstart.c match[lpc] = match[lpc + shuffle]; match 1929 tools/crm_mon.c xmlNode *match = NULL; match 1936 tools/crm_mon.c match = change->children; match 1945 tools/crm_mon.c match = first_named_child(change, XML_DIFF_RESULT); match 1946 tools/crm_mon.c if(match) { match 1947 tools/crm_mon.c match = match->children; match 1951 tools/crm_mon.c if(match) { match 1952 tools/crm_mon.c name = (const char *)match->name; match 1955 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); match 1965 tools/crm_mon.c xmlNode *status = first_named_child(match, XML_CIB_TAG_STATUS); match 1980 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; match 1991 tools/crm_mon.c node = crm_element_value(match, XML_ATTR_UNAME); match 1993 tools/crm_mon.c node = ID(match); match 1995 tools/crm_mon.c handle_rsc_op(match, node); match 1998 tools/crm_mon.c node = ID(match); match 1999 tools/crm_mon.c handle_rsc_op(match, node); match 2004 tools/crm_mon.c handle_rsc_op(match, local_node); match 2010 tools/crm_mon.c handle_rsc_op(match, local_node); match 2016 tools/crm_mon.c handle_rsc_op(match, local_node); match 2020 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); match 325 tools/crm_resource.c xmlNode *match = getXpathResult(xpathObj, ndx); match 326 tools/crm_resource.c retval = g_list_insert_sorted(retval, (gpointer) ID(match), compare_id); match 108 tools/crm_rule.c xmlNode *match = NULL; match 177 tools/crm_rule.c match = getXpathResult(xpathObj, 0); match 182 tools/crm_rule.c CRM_ASSERT(match != NULL); match 183 tools/crm_rule.c CRM_ASSERT(find_expression_type(match) == time_expr); match 185 tools/crm_rule.c rc = eval_date_expression(match, effective_date, NULL);