search 1189 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); search 1191 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1192 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); search 1216 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 1258 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); search 1260 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1265 daemons/controld/controld_remote_ra.c first_named_child(getXpathResult(search, 0), XML_CIB_TAG_NODE); search 1282 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 301 daemons/controld/controld_te_callbacks.c char *search = NULL; search 311 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); search 312 daemons/controld/controld_te_callbacks.c if (search == NULL) { search 316 daemons/controld/controld_te_callbacks.c search[0] = 0; search 175 daemons/controld/controld_te_utils.c xmlNode *search = NULL; search 177 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { search 178 daemons/controld/controld_te_utils.c if (pcmk__str_eq(XML_TAG_DIFF, TYPE(search), pcmk__str_casei)) { search 179 daemons/controld/controld_te_utils.c diff = search; search 186 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { search 187 daemons/controld/controld_te_utils.c if (pcmk__str_eq(XML_DIFF_CHANGE, TYPE(search), pcmk__str_casei)) { search 188 daemons/controld/controld_te_utils.c change = search; search 69 daemons/fenced/fenced_commands.c static void search_devices_record_result(struct device_search_s *search, const char *device, search 1017 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1024 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1031 daemons/fenced/fenced_commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); search 1034 daemons/fenced/fenced_commands.c crm_trace("Host %s is known by %s", search->host, dev->id); search 1038 daemons/fenced/fenced_commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, search 1041 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can); search 1048 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1060 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1082 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); search 1085 daemons/fenced/fenced_commands.c alias = search->host; search 1091 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can_fence); search 1554 daemons/fenced/fenced_commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) search 1556 daemons/fenced/fenced_commands.c search->replies_received++; search 1559 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, strdup(device)); search 1562 daemons/fenced/fenced_commands.c if (search->replies_needed == search->replies_received) { search 1565 daemons/fenced/fenced_commands.c g_list_length(search->capable), search 1566 daemons/fenced/fenced_commands.c search->action ? search->action : "<unknown>", search 1567 daemons/fenced/fenced_commands.c search->host ? search->host : "<anyone>"); search 1569 daemons/fenced/fenced_commands.c search->callback(search->capable, search->user_data); search 1570 daemons/fenced/fenced_commands.c free(search->host); search 1571 daemons/fenced/fenced_commands.c free(search->action); search 1572 daemons/fenced/fenced_commands.c free(search); search 1610 daemons/fenced/fenced_commands.c can_fence_host_with_device(stonith_device_t * dev, struct device_search_s *search) search 1614 daemons/fenced/fenced_commands.c const char *host = search->host; search 1627 daemons/fenced/fenced_commands.c if (pcmk__str_eq(search->action, "reboot", pcmk__str_casei)) { search 1633 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) search 1634 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) search 1638 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, search 1639 daemons/fenced/fenced_commands.c search->allow_suicide)) { search 1671 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1674 daemons/fenced/fenced_commands.c search->per_device_timeout, search, dynamic_list_search_cb); search 1686 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1687 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, search 1688 daemons/fenced/fenced_commands.c search->per_device_timeout, search, status_search_cb); search 1698 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, search 1702 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, search 1707 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); search 1714 daemons/fenced/fenced_commands.c struct device_search_s *search = user_data; search 1716 daemons/fenced/fenced_commands.c can_fence_host_with_device(dev, search); search 1724 daemons/fenced/fenced_commands.c struct device_search_s *search; search 1737 daemons/fenced/fenced_commands.c search = calloc(1, sizeof(struct device_search_s)); search 1738 daemons/fenced/fenced_commands.c if (!search) { search 1768 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; search 1769 daemons/fenced/fenced_commands.c search->action = action ? strdup(action) : NULL; search 1770 daemons/fenced/fenced_commands.c search->per_device_timeout = per_device_timeout; search 1774 daemons/fenced/fenced_commands.c search->replies_needed = g_hash_table_size(device_list); search 1775 daemons/fenced/fenced_commands.c search->allow_suicide = suicide; search 1776 daemons/fenced/fenced_commands.c search->callback = callback; search 1777 daemons/fenced/fenced_commands.c search->user_data = user_data; search 1781 daemons/fenced/fenced_commands.c search->replies_needed, search 1782 daemons/fenced/fenced_commands.c search->action ? search->action : "<unknown>", search 1783 daemons/fenced/fenced_commands.c search->host ? search->host : "<anyone>"); search 1784 daemons/fenced/fenced_commands.c g_hash_table_foreach(device_list, search_devices, search); search 733 daemons/fenced/pacemaker-fenced.c char *search = NULL; search 746 daemons/fenced/pacemaker-fenced.c search = strchr(rsc_id, '\''); search 748 daemons/fenced/pacemaker-fenced.c if (search != NULL) { search 749 daemons/fenced/pacemaker-fenced.c *search = 0; search 45 include/crm/pengine/pe_types.h pe_resource_t *(*find_rsc) (pe_resource_t *parent, const char *search, search 296 lib/cluster/membership.c crm_node_t *search = user_data; search 298 lib/cluster/membership.c if (search == NULL) { search 301 lib/cluster/membership.c } else if (search->id && node->id != search->id) { search 304 lib/cluster/membership.c } else if (search->id == 0 && !pcmk__str_eq(node->uname, search->uname, pcmk__str_casei)) { search 327 lib/cluster/membership.c crm_node_t search; search 334 lib/cluster/membership.c search.id = id; search 335 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; search 336 lib/cluster/membership.c matches = g_hash_table_foreach_remove(crm_peer_cache, crm_reap_dead_member, &search); search 339 lib/cluster/membership.c matches, pcmk__plural_s(matches), search.id, search 340 lib/cluster/membership.c (search.uname? " and/or uname=" : ""), search 341 lib/cluster/membership.c (search.uname? search.uname : "")); search 345 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), search 346 lib/cluster/membership.c (search.uname? search.uname : "")); search 349 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);