search 1357 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_FENCE); search 1359 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1360 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); search 1384 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 1426 daemons/controld/controld_remote_ra.c xmlXPathObjectPtr search = xpath_search(xml, XPATH_PSEUDO_MAINTENANCE); search 1428 daemons/controld/controld_remote_ra.c if (numXpathResults(search) == 1) { search 1432 daemons/controld/controld_remote_ra.c for (node = pcmk__xe_first_child(getXpathResult(search, 0), search 1456 daemons/controld/controld_remote_ra.c freeXpathObject(search); search 275 daemons/controld/controld_te_callbacks.c char *search = NULL; search 285 daemons/controld/controld_te_callbacks.c search = strchr(match, '\''); search 286 daemons/controld/controld_te_callbacks.c if (search == NULL) { search 290 daemons/controld/controld_te_callbacks.c search[0] = 0; search 382 daemons/controld/controld_te_utils.c const xmlNode *search = NULL; search 384 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { search 385 daemons/controld/controld_te_utils.c if (pcmk__xe_is(search, PCMK_XE_DIFF)) { search 386 daemons/controld/controld_te_utils.c diff = search; search 393 daemons/controld/controld_te_utils.c for(search = reason; search; search = search->parent) { search 394 daemons/controld/controld_te_utils.c if (pcmk__xe_is(search, PCMK_XE_CHANGE)) { search 395 daemons/controld/controld_te_utils.c change = search; search 348 daemons/fenced/fenced_cib.c char *search = NULL; search 362 daemons/fenced/fenced_cib.c search = strchr(rsc_id, '\''); search 364 daemons/fenced/fenced_cib.c if (search != NULL) { search 365 daemons/fenced/fenced_cib.c *search = 0; search 71 daemons/fenced/fenced_commands.c static void search_devices_record_result(struct device_search_s *search, const char *device, search 1201 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1208 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1217 daemons/fenced/fenced_commands.c dev->id, search->host, search 1222 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, FALSE); search 1228 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); search 1233 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); search 1240 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); search 1243 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can); search 1251 daemons/fenced/fenced_commands.c struct device_search_s *search = cmd->internal_user_data; search 1263 daemons/fenced/fenced_commands.c search_devices_record_result(search, NULL, FALSE); search 1293 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); search 1297 daemons/fenced/fenced_commands.c dev->id, search->host, search 1315 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); search 1318 daemons/fenced/fenced_commands.c alias = search->host; search 1324 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can_fence); search 2023 daemons/fenced/fenced_commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) search 2025 daemons/fenced/fenced_commands.c search->replies_received++; search 2027 daemons/fenced/fenced_commands.c if (search->support_action_only != st_device_supports_none) { search 2029 daemons/fenced/fenced_commands.c if (dev && !pcmk_is_set(dev->flags, search->support_action_only)) { search 2033 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, search 2037 daemons/fenced/fenced_commands.c if (search->replies_needed == search->replies_received) { search 2039 daemons/fenced/fenced_commands.c guint ndevices = g_list_length(search->capable); search 2043 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 2044 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 2046 daemons/fenced/fenced_commands.c search->callback(search->capable, search->user_data); search 2047 daemons/fenced/fenced_commands.c free(search->host); search 2048 daemons/fenced/fenced_commands.c free(search->action); search 2049 daemons/fenced/fenced_commands.c free(search); search 2130 daemons/fenced/fenced_commands.c struct device_search_s *search) search 2137 daemons/fenced/fenced_commands.c const char *action = (search == NULL)? NULL : search->action; search 2145 daemons/fenced/fenced_commands.c target = search->host; search 2161 daemons/fenced/fenced_commands.c search->allow_suicide)) { search 2188 daemons/fenced/fenced_commands.c search->per_device_timeout); search 2190 daemons/fenced/fenced_commands.c if (device_timeout > search->per_device_timeout) { search 2194 daemons/fenced/fenced_commands.c device_timeout, dev_id, search->per_device_timeout); search 2201 daemons/fenced/fenced_commands.c search->per_device_timeout, search, dynamic_list_search_cb); search 2213 daemons/fenced/fenced_commands.c int device_timeout = get_action_timeout(dev, check_type, search->per_device_timeout); search 2215 daemons/fenced/fenced_commands.c if (device_timeout > search->per_device_timeout) { search 2219 daemons/fenced/fenced_commands.c device_timeout, dev_id, search->per_device_timeout); search 2225 daemons/fenced/fenced_commands.c search->per_device_timeout, search, status_search_cb); search 2239 daemons/fenced/fenced_commands.c search_devices_record_result(search, ((dev == NULL)? NULL : dev_id), can); search 2246 daemons/fenced/fenced_commands.c struct device_search_s *search = user_data; search 2248 daemons/fenced/fenced_commands.c can_fence_host_with_device(dev, search); search 2256 daemons/fenced/fenced_commands.c struct device_search_s *search; search 2264 daemons/fenced/fenced_commands.c search = pcmk__assert_alloc(1, sizeof(struct device_search_s)); search 2266 daemons/fenced/fenced_commands.c search->host = pcmk__str_copy(host); search 2267 daemons/fenced/fenced_commands.c search->action = pcmk__str_copy(action); search 2268 daemons/fenced/fenced_commands.c search->per_device_timeout = timeout; search 2269 daemons/fenced/fenced_commands.c search->allow_suicide = suicide; search 2270 daemons/fenced/fenced_commands.c search->callback = callback; search 2271 daemons/fenced/fenced_commands.c search->user_data = user_data; search 2272 daemons/fenced/fenced_commands.c search->support_action_only = support_action_only; search 2277 daemons/fenced/fenced_commands.c search->replies_needed = ndevices; search 2281 daemons/fenced/fenced_commands.c (search->action? search->action : "unknown action"), search 2282 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); search 2283 daemons/fenced/fenced_commands.c g_hash_table_foreach(device_list, search_devices, search); search 276 include/crm/common/resources.h pcmk_resource_t *(*find_rsc)(pcmk_resource_t *rsc, const char *search, search 226 include/crm/common/xml_internal.h int pcmk__xe_delete_match(xmlNode *xml, xmlNode *search); search 514 include/crm/common/xml_internal.h pcmk__warn_multiple_name_matches(pcmk__output_t *out, xmlNode *search, search 153 lib/cib/cib_attrs.c handle_multiples(pcmk__output_t *out, xmlNode *search, const char *attr_name) search 155 lib/cib/cib_attrs.c if ((search != NULL) && (search->children != NULL)) { search 156 lib/cib/cib_attrs.c pcmk__warn_multiple_name_matches(out, search, attr_name); search 400 lib/cluster/membership.c crm_node_t *search = user_data; search 402 lib/cluster/membership.c if (search == NULL) { search 405 lib/cluster/membership.c if ((search->id != 0) && (node->id != search->id)) { search 408 lib/cluster/membership.c if ((search->id == 0) search 409 lib/cluster/membership.c && !pcmk__str_eq(node->uname, search->uname, pcmk__str_casei)) { search 444 lib/cluster/membership.c crm_node_t search = { 0, }; search 453 lib/cluster/membership.c search.id = id; search 454 lib/cluster/membership.c search.uname = pcmk__str_copy(node_name); // May log after original freed search 464 lib/cluster/membership.c should_forget_cluster_node, &search); search 482 lib/cluster/membership.c free(search.uname); search 1516 lib/cluster/membership.c crm_node_t search = { 0, }; search 1523 lib/cluster/membership.c search.id = id; search 1524 lib/cluster/membership.c search.uname = pcmk__str_copy(name); search 1526 lib/cluster/membership.c should_forget_cluster_node, &search); search 1530 lib/cluster/membership.c matches, pcmk__plural_s(matches), search.id, search 1531 lib/cluster/membership.c (search.uname? " and/or uname=" : ""), search 1532 lib/cluster/membership.c (search.uname? search.uname : "")); search 1537 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), search 1538 lib/cluster/membership.c (search.uname? search.uname : "")); search 1541 lib/cluster/membership.c free(search.uname); search 1456 lib/common/schemas.c const char *search = "//*[local-name()='externalRef'] | //*[local-name()='include']"; search 1459 lib/common/schemas.c crm_foreach_xpath_result(xml, search, append_href, list); search 1793 lib/common/xml.c xmlNode *search = user_data; search 1795 lib/common/xml.c if (!pcmk__xe_is(search, (const char *) xml->name)) { search 1800 lib/common/xml.c for (const xmlAttr *attr = pcmk__xe_first_attr(search); attr != NULL; search 1813 lib/common/xml.c crm_log_xml_trace(search, "delete-search"); search 1839 lib/common/xml.c pcmk__xe_delete_match(xmlNode *xml, xmlNode *search) search 1842 lib/common/xml.c CRM_CHECK((xml != NULL) && (search != NULL), return EINVAL); search 1847 lib/common/xml.c if (!pcmk__xml_tree_foreach(xml, delete_xe_if_matching, search)) { search 332 lib/common/xpath.c pcmk__warn_multiple_name_matches(pcmk__output_t *out, xmlNode *search, search 335 lib/common/xpath.c if (out == NULL || name == NULL || search == NULL || search 336 lib/common/xpath.c search->children == NULL) { search 341 lib/common/xpath.c pcmk__xe_foreach_child(search, NULL, output_attr_child, out); search 3018 lib/pengine/unpack.c xmlXPathObjectPtr search; search 3027 lib/pengine/unpack.c search = xpath_search(rsc->cluster->input, xpath); search 3028 lib/pengine/unpack.c result = (numXpathResults(search) == 0); search 3029 lib/pengine/unpack.c freeXpathObject(search); search 166 lib/services/upstart.c fix(char *input, const char *search, char replace) search 169 lib/services/upstart.c int shuffle = strlen(search) - 1; search 174 lib/services/upstart.c match = strstr(input, search); search 238 maint/gnulib/lib/gl_map.h bool (*search) (gl_map_t map, const void *key, const void **valuep); search 285 maint/gnulib/lib/gl_map.h ->search (map, key, valuep); search 244 maint/gnulib/lib/gl_omap.h bool (*search) (gl_omap_t map, const void *key, const void **valuep); search 293 maint/gnulib/lib/gl_omap.h ->search (map, key, valuep); search 220 maint/gnulib/lib/gl_oset.h bool (*search) (gl_oset_t set, const void *elt); search 269 maint/gnulib/lib/gl_oset.h return ((const struct gl_oset_impl_base *) set)->vtable->search (set, elt); search 195 maint/gnulib/lib/gl_set.h bool (*search) (gl_set_t set, const void *elt); search 236 maint/gnulib/lib/gl_set.h return ((const struct gl_set_impl_base *) set)->vtable->search (set, elt); search 726 maint/gnulib/lib/setlocale.c search (language_table, search 763 maint/gnulib/lib/setlocale.c search (language_table, search 771 maint/gnulib/lib/setlocale.c search (country_table, search 1960 tools/crm_resource_runtime.c xmlXPathObjectPtr search; search 2031 tools/crm_resource_runtime.c search = xpath_search(scheduler->input, xpath); search 2032 tools/crm_resource_runtime.c pending_unknown_state_resources = (numXpathResults(search) > 0); search 2033 tools/crm_resource_runtime.c freeXpathObject(search);