search 1162 crmd/remote_lrmd_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); search 1164 crmd/remote_lrmd_ra.c if (numXpathResults(search) == 1) { search 1165 crmd/remote_lrmd_ra.c xmlNode *result = getXpathResult(search, 0); search 1189 crmd/remote_lrmd_ra.c freeXpathObject(search); search 1231 crmd/remote_lrmd_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); search 1233 crmd/remote_lrmd_ra.c if (numXpathResults(search) == 1) { search 1238 crmd/remote_lrmd_ra.c first_named_child(getXpathResult(search, 0), XML_CIB_TAG_NODE); search 1255 crmd/remote_lrmd_ra.c freeXpathObject(search); search 313 crmd/te_callbacks.c char *search = NULL; search 323 crmd/te_callbacks.c search = strchr(match, '\''); search 324 crmd/te_callbacks.c if (search == NULL) { search 328 crmd/te_callbacks.c search[0] = 0; search 571 crmd/te_utils.c xmlNode *search = NULL; search 573 crmd/te_utils.c for(search = reason; search; search = search->parent) { search 574 crmd/te_utils.c if (safe_str_eq(XML_TAG_DIFF, TYPE(search))) { search 575 crmd/te_utils.c diff = search; search 582 crmd/te_utils.c for(search = reason; search; search = search->parent) { search 583 crmd/te_utils.c if (safe_str_eq(XML_DIFF_CHANGE, TYPE(search))) { search 584 crmd/te_utils.c change = search; search 82 fencing/commands.c static void search_devices_record_result(struct device_search_s *search, const char *device, search 1012 fencing/commands.c struct device_search_s *search = cmd->internal_user_data; search 1019 fencing/commands.c search_devices_record_result(search, NULL, FALSE); search 1026 fencing/commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); search 1029 fencing/commands.c crm_trace("Host %s is known by %s", search->host, dev->id); search 1033 fencing/commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, search 1036 fencing/commands.c search_devices_record_result(search, dev->id, can); search 1043 fencing/commands.c struct device_search_s *search = cmd->internal_user_data; search 1055 fencing/commands.c search_devices_record_result(search, NULL, FALSE); search 1077 fencing/commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); search 1080 fencing/commands.c alias = search->host; search 1086 fencing/commands.c search_devices_record_result(search, dev->id, can_fence); search 1513 fencing/commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) search 1515 fencing/commands.c search->replies_received++; search 1518 fencing/commands.c search->capable = g_list_append(search->capable, strdup(device)); search 1521 fencing/commands.c if (search->replies_needed == search->replies_received) { search 1524 fencing/commands.c g_list_length(search->capable), search 1525 fencing/commands.c search->action ? search->action : "<unknown>", search 1526 fencing/commands.c search->host ? search->host : "<anyone>"); search 1528 fencing/commands.c search->callback(search->capable, search->user_data); search 1529 fencing/commands.c free(search->host); search 1530 fencing/commands.c free(search->action); search 1531 fencing/commands.c free(search); search 1568 fencing/commands.c can_fence_host_with_device(stonith_device_t * dev, struct device_search_s *search) search 1572 fencing/commands.c const char *host = search->host; search 1585 fencing/commands.c if (safe_str_eq(search->action, "reboot")) { search 1591 fencing/commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) search 1592 fencing/commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) search 1596 fencing/commands.c } else if (!localhost_is_eligible(dev, search->action, host, search 1597 fencing/commands.c search->allow_suicide)) { search 1629 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); search 1632 fencing/commands.c search->per_device_timeout, search, dynamic_list_search_cb); search 1644 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); search 1645 fencing/commands.c schedule_internal_command(__FUNCTION__, dev, "status", search->host, search 1646 fencing/commands.c search->per_device_timeout, search, status_search_cb); search 1654 fencing/commands.c crm_notice("%s can%s fence (%s) %s: %s", dev->id, can ? "" : " not", search->action, host, check_type); search 1656 fencing/commands.c crm_notice("%s can%s fence (%s) %s (aka. '%s'): %s", dev->id, can ? "" : " not", search->action, host, alias, search 1661 fencing/commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); search 1668 fencing/commands.c struct device_search_s *search = user_data; search 1670 fencing/commands.c can_fence_host_with_device(dev, search); search 1678 fencing/commands.c struct device_search_s *search; search 1691 fencing/commands.c search = calloc(1, sizeof(struct device_search_s)); search 1692 fencing/commands.c if (!search) { search 1722 fencing/commands.c search->host = host ? strdup(host) : NULL; search 1723 fencing/commands.c search->action = action ? strdup(action) : NULL; search 1724 fencing/commands.c search->per_device_timeout = per_device_timeout; search 1728 fencing/commands.c search->replies_needed = g_hash_table_size(device_list); search 1729 fencing/commands.c search->allow_suicide = suicide; search 1730 fencing/commands.c search->callback = callback; search 1731 fencing/commands.c search->user_data = user_data; search 1735 fencing/commands.c search->replies_needed, search 1736 fencing/commands.c search->action ? search->action : "<unknown>", search 1737 fencing/commands.c search->host ? search->host : "<anyone>"); search 1738 fencing/commands.c g_hash_table_foreach(device_list, search_devices, search); search 763 fencing/main.c char *search = NULL; search 774 fencing/main.c search = strchr(rsc_id, '\''); search 776 fencing/main.c if (search != NULL) { search 777 fencing/main.c *search = 0; search 44 include/crm/pengine/complex.h resource_t *(*find_rsc) (resource_t * parent, const char *search, node_t * node, int flags); search 324 lib/cluster/membership.c crm_node_t *search = user_data; search 326 lib/cluster/membership.c if (search == NULL) { search 329 lib/cluster/membership.c } else if (search->id && node->id != search->id) { search 332 lib/cluster/membership.c } else if (search->id == 0 && safe_str_neq(node->uname, search->uname)) { search 355 lib/cluster/membership.c crm_node_t search; search 362 lib/cluster/membership.c search.id = id; search 363 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; search 364 lib/cluster/membership.c matches = g_hash_table_foreach_remove(crm_peer_cache, crm_reap_dead_member, &search); search 367 lib/cluster/membership.c matches, s_if_plural(matches), search.id, search 368 lib/cluster/membership.c (search.uname? " and/or uname=" : ""), search 369 lib/cluster/membership.c (search.uname? search.uname : "")); search 373 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), search 374 lib/cluster/membership.c (search.uname? search.uname : "")); search 377 lib/cluster/membership.c free(search.uname); search 113 lib/services/upstart.c fix(char *input, const char *search, char replace) search 116 lib/services/upstart.c int shuffle = strlen(search) - 1; search 121 lib/services/upstart.c match = strstr(input, search);