search 1198 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); search 1200 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1201 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); search 1225 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 1267 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); search 1269 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1274 daemons/controld/controld_remote_ra.c first_named_child(getXpathResult(search, 0), XML_CIB_TAG_NODE); search 1292 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 1075 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1082 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1089 daemons/fenced/fenced_commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); search 1092 daemons/fenced/fenced_commands.c crm_trace("Host %s is known by %s", search->host, dev->id); search 1096 daemons/fenced/fenced_commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, search 1099 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can); search 1106 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1118 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1142 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); search 1145 daemons/fenced/fenced_commands.c alias = search->host; search 1151 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can_fence); search 1638 daemons/fenced/fenced_commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) search 1640 daemons/fenced/fenced_commands.c search->replies_received++; search 1643 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, strdup(device)); search 1646 daemons/fenced/fenced_commands.c if (search->replies_needed == search->replies_received) { search 1648 daemons/fenced/fenced_commands.c guint ndevices = g_list_length(search->capable); search 1652 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 1653 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 1655 daemons/fenced/fenced_commands.c search->callback(search->capable, search->user_data); search 1656 daemons/fenced/fenced_commands.c free(search->host); search 1657 daemons/fenced/fenced_commands.c free(search->action); search 1658 daemons/fenced/fenced_commands.c free(search); search 1696 daemons/fenced/fenced_commands.c can_fence_host_with_device(stonith_device_t * dev, struct device_search_s *search) search 1700 daemons/fenced/fenced_commands.c const char *host = search->host; search 1713 daemons/fenced/fenced_commands.c if (pcmk__str_eq(search->action, "reboot", pcmk__str_casei)) { search 1719 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) search 1720 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) search 1724 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, search 1725 daemons/fenced/fenced_commands.c search->allow_suicide)) { search 1757 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1760 daemons/fenced/fenced_commands.c search->per_device_timeout, search, dynamic_list_search_cb); search 1772 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); search 1773 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, search 1774 daemons/fenced/fenced_commands.c search->per_device_timeout, search, status_search_cb); search 1784 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, search 1788 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, search 1793 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev ? dev->id : NULL, can); search 1800 daemons/fenced/fenced_commands.c struct device_search_s *search = user_data; search 1802 daemons/fenced/fenced_commands.c can_fence_host_with_device(dev, search); search 1810 daemons/fenced/fenced_commands.c struct device_search_s *search; search 1824 daemons/fenced/fenced_commands.c search = calloc(1, sizeof(struct device_search_s)); search 1825 daemons/fenced/fenced_commands.c if (!search) { search 1856 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; search 1857 daemons/fenced/fenced_commands.c search->action = action ? strdup(action) : NULL; search 1858 daemons/fenced/fenced_commands.c search->per_device_timeout = per_device_timeout; search 1862 daemons/fenced/fenced_commands.c search->replies_needed = ndevices; search 1863 daemons/fenced/fenced_commands.c search->allow_suicide = suicide; search 1864 daemons/fenced/fenced_commands.c search->callback = callback; search 1865 daemons/fenced/fenced_commands.c search->user_data = user_data; search 1870 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 1871 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 1872 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);