search 1195 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); search 1197 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1198 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); search 1222 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 1264 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); search 1266 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1271 daemons/controld/controld_remote_ra.c first_named_child(getXpathResult(search, 0), XML_CIB_TAG_NODE); search 1289 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 283 daemons/controld/controld_te_callbacks.c char *search = NULL; search 293 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); search 294 daemons/controld/controld_te_callbacks.c if (search == NULL) { search 298 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 1051 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1058 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1065 daemons/fenced/fenced_commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); search 1068 daemons/fenced/fenced_commands.c crm_trace("Host %s is known by %s", search->host, dev->id); search 1072 daemons/fenced/fenced_commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, search 1075 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can); search 1082 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1094 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1118 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); search 1121 daemons/fenced/fenced_commands.c alias = search->host; search 1127 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can_fence); search 1614 daemons/fenced/fenced_commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) search 1616 daemons/fenced/fenced_commands.c search->replies_received++; search 1619 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, strdup(device)); search 1622 daemons/fenced/fenced_commands.c if (search->replies_needed == search->replies_received) { search 1624 daemons/fenced/fenced_commands.c guint ndevices = g_list_length(search->capable); search 1628 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 1629 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 1631 daemons/fenced/fenced_commands.c search->callback(search->capable, search->user_data); search 1632 daemons/fenced/fenced_commands.c free(search->host); search 1633 daemons/fenced/fenced_commands.c free(search->action); search 1634 daemons/fenced/fenced_commands.c free(search); search 1672 daemons/fenced/fenced_commands.c can_fence_host_with_device(stonith_device_t * dev, struct device_search_s *search) search 1676 daemons/fenced/fenced_commands.c const char *host = search->host; search 1689 daemons/fenced/fenced_commands.c if (pcmk__str_eq(search->action, "reboot", pcmk__str_casei)) { search 1695 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) search 1696 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) search 1700 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, search 1701 daemons/fenced/fenced_commands.c search->allow_suicide)) { search 1733 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1736 daemons/fenced/fenced_commands.c search->per_device_timeout, search, dynamic_list_search_cb); search 1748 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1749 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, search 1750 daemons/fenced/fenced_commands.c search->per_device_timeout, search, status_search_cb); search 1760 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, search 1764 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, search 1769 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); search 1776 daemons/fenced/fenced_commands.c struct device_search_s *search = user_data; search 1778 daemons/fenced/fenced_commands.c can_fence_host_with_device(dev, search); search 1786 daemons/fenced/fenced_commands.c struct device_search_s *search; search 1800 daemons/fenced/fenced_commands.c search = calloc(1, sizeof(struct device_search_s)); search 1801 daemons/fenced/fenced_commands.c if (!search) { search 1832 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; search 1833 daemons/fenced/fenced_commands.c search->action = action ? strdup(action) : NULL; search 1834 daemons/fenced/fenced_commands.c search->per_device_timeout = per_device_timeout; search 1838 daemons/fenced/fenced_commands.c search->replies_needed = ndevices; search 1839 daemons/fenced/fenced_commands.c search->allow_suicide = suicide; search 1840 daemons/fenced/fenced_commands.c search->callback = callback; search 1841 daemons/fenced/fenced_commands.c search->user_data = user_data; search 1846 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 1847 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 1848 daemons/fenced/fenced_commands.c g_hash_table_foreach(device_list, search_devices, search); search 810 daemons/fenced/pacemaker-fenced.c char *search = NULL; search 823 daemons/fenced/pacemaker-fenced.c search = strchr(rsc_id, '\''); search 825 daemons/fenced/pacemaker-fenced.c if (search != NULL) { search 826 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 307 lib/cluster/membership.c crm_node_t *search = user_data; search 309 lib/cluster/membership.c if (search == NULL) { search 312 lib/cluster/membership.c } else if (search->id && node->id != search->id) { search 315 lib/cluster/membership.c } else if (search->id == 0 && !pcmk__str_eq(node->uname, search->uname, pcmk__str_casei)) { search 338 lib/cluster/membership.c crm_node_t search; search 345 lib/cluster/membership.c search.id = id; search 346 lib/cluster/membership.c search.uname = name ? strdup(name) : NULL; search 347 lib/cluster/membership.c matches = g_hash_table_foreach_remove(crm_peer_cache, crm_reap_dead_member, &search); search 350 lib/cluster/membership.c matches, pcmk__plural_s(matches), search.id, search 351 lib/cluster/membership.c (search.uname? " and/or uname=" : ""), search 352 lib/cluster/membership.c (search.uname? search.uname : "")); search 356 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), search 357 lib/cluster/membership.c (search.uname? search.uname : "")); search 360 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);