child 621 attrd/commands.c xmlNode *child = NULL; child 624 attrd/commands.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { child 625 attrd/commands.c host = crm_element_value(child, F_ATTRD_HOST); child 626 attrd/commands.c attrd_peer_update(peer, child, host, TRUE); child 423 cib/messages.c xmlNode *child = NULL; child 425 cib/messages.c for (child = __xml_first_child(delete_spec); child != NULL; child = __xml_next(child)) { child 426 cib/messages.c int tmp_result = delete_cib_object(equiv_node, child); child 1840 fencing/commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); child 1842 fencing/commands.c crm_xml_add(child, XML_ATTR_ID, action); child 1843 fencing/commands.c add_action_specific_attributes(child, action, device); child 1844 fencing/commands.c add_disallowed(child, action, device, target, allow_suicide); child 1723 fencing/remote.c xmlNode *child; child 1742 fencing/remote.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { child 1747 fencing/remote.c if (safe_str_eq(ID(child), "off")) { child 1748 fencing/remote.c parse_action_specific(child, result->host, device, "off", child 1750 fencing/remote.c } else if (safe_str_eq(ID(child), "on")) { child 1751 fencing/remote.c parse_action_specific(child, result->host, device, "on", child 1772 fencing/remote.c xmlNode *child; child 1779 fencing/remote.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { child 1780 fencing/remote.c const char *device = ID(child); child 1783 fencing/remote.c add_device_properties(child, op, result, device); child 116 include/crm/common/mainloop.h void *mainloop_child_userdata(mainloop_child_t * child); child 117 include/crm/common/mainloop.h int mainloop_child_timeout(mainloop_child_t * child); child 118 include/crm/common/mainloop.h const char *mainloop_child_name(mainloop_child_t * child); child 120 include/crm/common/mainloop.h pid_t mainloop_child_pid(mainloop_child_t * child); child 121 include/crm/common/mainloop.h void mainloop_clear_child_userdata(mainloop_child_t * child); child 147 include/crm/common/xml.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); child 192 include/crm/common/xml.h gboolean replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update, child 195 include/crm/common/xml.h gboolean update_xml_child(xmlNode * child, xmlNode * to_update); child 298 include/crm/common/xml.h xmlNode *child = NULL; child 301 include/crm/common/xml.h child = parent->children; child 302 include/crm/common/xml.h while (child && child->type == XML_TEXT_NODE) { child 303 include/crm/common/xml.h child = child->next; child 306 include/crm/common/xml.h return child; child 310 include/crm/common/xml.h __xml_next(xmlNode * child) child 312 include/crm/common/xml.h if (child) { child 313 include/crm/common/xml.h child = child->next; child 314 include/crm/common/xml.h while (child && child->type == XML_TEXT_NODE) { child 315 include/crm/common/xml.h child = child->next; child 318 include/crm/common/xml.h return child; child 324 include/crm/common/xml.h xmlNode *child = NULL; child 327 include/crm/common/xml.h child = parent->children; child 330 include/crm/common/xml.h while (child) { child 331 include/crm/common/xml.h if(child->type == XML_ELEMENT_NODE) { child 332 include/crm/common/xml.h return child; child 334 include/crm/common/xml.h child = child->next; child 340 include/crm/common/xml.h __xml_next_element(xmlNode * child) child 342 include/crm/common/xml.h while (child) { child 343 include/crm/common/xml.h child = child->next; child 344 include/crm/common/xml.h if(child && child->type == XML_ELEMENT_NODE) { child 345 include/crm/common/xml.h return child; child 351 include/crm/common/xml.h void free_xml(xmlNode * child); child 167 include/crm/compatibility.h # define xml_child_iter(parent, child, code) do { \ child 169 include/crm/compatibility.h xmlNode *child = NULL; \ child 172 include/crm/compatibility.h child = __crm_xml_iter; \ child 174 include/crm/compatibility.h if(child->type == XML_ELEMENT_NODE) { \ child 181 include/crm/compatibility.h # define xml_child_iter_filter(parent, child, filter, code) do { \ child 183 include/crm/compatibility.h xmlNode *child = NULL; \ child 186 include/crm/compatibility.h child = __crm_xml_iter; \ child 188 include/crm/compatibility.h if(child->type == XML_ELEMENT_NODE) { \ child 190 include/crm/compatibility.h || crm_str_eq(filter, (const char *)child->name, TRUE)) { \ child 251 include/crm/compatibility.h # define slist_destroy(child_type, child, parent, a) do { \ child 253 include/crm/compatibility.h child_type *child = NULL; \ child 255 include/crm/compatibility.h child = (child_type *) __crm_iter_head->data; \ child 67 include/crm/pengine/complex.h gboolean is_parent(resource_t *child, resource_t *rsc); child 99 lib/ais/utils.c pcmk_setscheduler(crm_child_t * child) child 105 lib/ais/utils.c ais_perror("Could not get scheduling policy for %s", child->name); child 121 lib/ais/utils.c ais_perror("Could not reset scheduling policy to SCHED_OTHER for %s", child->name); child 127 lib/ais/utils.c ais_perror("Could not reset process priority to %d for %s", priority, child->name); child 136 lib/ais/utils.c spawn_child(crm_child_t * child) child 148 lib/ais/utils.c if (child->command == NULL) { child 149 lib/ais/utils.c ais_info("Nothing to do for child \"%s\"", child->name); child 157 lib/ais/utils.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { child 164 lib/ais/utils.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { child 170 lib/ais/utils.c " The location of the valgrind binary is unknown", child->name); child 174 lib/ais/utils.c if (child->uid) { child 175 lib/ais/utils.c if (pcmk_user_lookup(child->uid, &uid, &gid) < 0) { child 176 lib/ais/utils.c ais_err("Invalid uid (%s) specified for %s", child->uid, child->name); child 179 lib/ais/utils.c ais_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); child 182 lib/ais/utils.c child->pid = fork(); child 183 lib/ais/utils.c AIS_ASSERT(child->pid != -1); child 185 lib/ais/utils.c if (child->pid > 0) { child 187 lib/ais/utils.c ais_info("Forked child %d for process %s%s", child->pid, child->name, child 191 lib/ais/utils.c pcmk_setscheduler(child); child 198 lib/ais/utils.c opts_vgrind[3] = ais_strdup(child->command); child 201 lib/ais/utils.c opts_vgrind[1] = ais_strdup(child->command); child 206 lib/ais/utils.c opts_default[0] = ais_strdup(child->command); child 208 lib/ais/utils.c if (uid && initgroups(child->uid, gid) < 0) { child 209 lib/ais/utils.c ais_perror("Cannot initialize groups for %s", child->uid); child 213 lib/ais/utils.c ais_perror("Could not set user to %d (%s)", uid, child->uid); child 243 lib/ais/utils.c (void)execvp(child->command, opts_default); child 245 lib/ais/utils.c ais_perror("FATAL: Cannot exec %s", child->command); child 252 lib/ais/utils.c stop_child(crm_child_t * child, int signal) child 258 lib/ais/utils.c if (child->command == NULL) { child 259 lib/ais/utils.c ais_info("Nothing to do for child \"%s\"", child->name); child 263 lib/ais/utils.c ais_debug("Stopping CRM child \"%s\"", child->name); child 265 lib/ais/utils.c if (child->pid <= 0) { child 266 lib/ais/utils.c ais_trace("Client %s not running", child->name); child 271 lib/ais/utils.c if (kill(child->pid, signal) == 0) { child 272 lib/ais/utils.c ais_notice("Sent -%d to %s: [%d]", signal, child->name, child->pid); child 275 lib/ais/utils.c ais_perror("Sent -%d to %s: [%d]", signal, child->name, child->pid); child 91 lib/ais/utils.h extern gboolean stop_child(crm_child_t * child, int signal); child 92 lib/ais/utils.h extern gboolean spawn_child(crm_child_t * child); child 151 lib/cib/cib_attrs.c xmlNode *child = NULL; child 156 lib/cib/cib_attrs.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { child 158 lib/cib/cib_attrs.c crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child)); child 307 lib/cib/cib_ops.c xmlNode *child = NULL; child 308 lib/cib/cib_ops.c for(child = __xml_first_child(input); child; child = __xml_next(child)) { child 309 lib/cib/cib_ops.c if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) { child 310 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); child 154 lib/cluster/heartbeat.c xmlNode *child = NULL; child 173 lib/cluster/heartbeat.c child = parent; child 176 lib/cluster/heartbeat.c child = create_xml_node(parent, tag); child 180 lib/cluster/heartbeat.c convert_ha_field(child, msg, lpc); child 187 lib/cluster/heartbeat.c add_ha_nocopy(HA_Message * parent, HA_Message * child, const char *field) child 198 lib/cluster/heartbeat.c parent->values[next] = child; child 207 lib/cluster/heartbeat.c xmlNode *child = NULL; child 225 lib/cluster/heartbeat.c child = __crm_xml_iter; child 227 lib/cluster/heartbeat.c convert_xml_message_struct(result, child, NULL); child 314 lib/cluster/heartbeat.c xmlNode *child = NULL; child 330 lib/cluster/heartbeat.c for (child = __xml_first_child(xml); child != NULL; child = __xml_next(child)) { child 331 lib/cluster/heartbeat.c convert_xml_child(result, child); child 870 lib/common/mainloop.c mainloop_child_pid(mainloop_child_t * child) child 872 lib/common/mainloop.c return child->pid; child 876 lib/common/mainloop.c mainloop_child_name(mainloop_child_t * child) child 878 lib/common/mainloop.c return child->desc; child 882 lib/common/mainloop.c mainloop_child_timeout(mainloop_child_t * child) child 884 lib/common/mainloop.c return child->timeout; child 888 lib/common/mainloop.c mainloop_child_userdata(mainloop_child_t * child) child 890 lib/common/mainloop.c return child->privatedata; child 894 lib/common/mainloop.c mainloop_clear_child_userdata(mainloop_child_t * child) child 896 lib/common/mainloop.c child->privatedata = NULL; child 901 lib/common/mainloop.c child_free(mainloop_child_t *child) child 903 lib/common/mainloop.c if (child->timerid != 0) { child 904 lib/common/mainloop.c crm_trace("Removing timer %d", child->timerid); child 905 lib/common/mainloop.c g_source_remove(child->timerid); child 906 lib/common/mainloop.c child->timerid = 0; child 908 lib/common/mainloop.c free(child->desc); child 909 lib/common/mainloop.c free(child); child 914 lib/common/mainloop.c child_kill_helper(mainloop_child_t *child) child 917 lib/common/mainloop.c if (child->flags & mainloop_leave_pid_group) { child 918 lib/common/mainloop.c crm_debug("Kill pid %d only. leave group intact.", child->pid); child 919 lib/common/mainloop.c rc = kill(child->pid, SIGKILL); child 921 lib/common/mainloop.c crm_debug("Kill pid %d's group", child->pid); child 922 lib/common/mainloop.c rc = kill(-child->pid, SIGKILL); child 927 lib/common/mainloop.c crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid); child 937 lib/common/mainloop.c mainloop_child_t *child = p; child 940 lib/common/mainloop.c child->timerid = 0; child 941 lib/common/mainloop.c if (child->timeout) { child 942 lib/common/mainloop.c crm_crit("%s process (PID %d) will not die!", child->desc, (int)child->pid); child 946 lib/common/mainloop.c rc = child_kill_helper(child); child 952 lib/common/mainloop.c child->timeout = TRUE; child 953 lib/common/mainloop.c crm_warn("%s process (PID %d) timed out", child->desc, (int)child->pid); child 955 lib/common/mainloop.c child->timerid = g_timeout_add(5000, child_timeout_callback, child); child 960 lib/common/mainloop.c child_waitpid(mainloop_child_t *child, int flags) child 968 lib/common/mainloop.c rc = waitpid(child->pid, &status, flags); child 970 lib/common/mainloop.c crm_perror(LOG_DEBUG, "wait(%d) = %d", child->pid, rc); child 973 lib/common/mainloop.c } else if(rc != child->pid) { child 977 lib/common/mainloop.c crm_perror(LOG_ERR, "Call to waitpid(%d) failed", child->pid); child 980 lib/common/mainloop.c crm_trace("Managed process %d exited: %p", child->pid, child); child 984 lib/common/mainloop.c crm_trace("Managed process %d (%s) exited with rc=%d", child->pid, child->desc, exitcode); child 988 lib/common/mainloop.c crm_trace("Managed process %d (%s) exited with signal=%d", child->pid, child->desc, signo); child 993 lib/common/mainloop.c crm_err("Managed process %d (%s) dumped core", child->pid, child->desc); child 998 lib/common/mainloop.c if (child->callback) { child 999 lib/common/mainloop.c child->callback(child, child->pid, core, signo, exitcode); child 1012 lib/common/mainloop.c mainloop_child_t *child = iter->data; child 1013 lib/common/mainloop.c exited = child_waitpid(child, WNOHANG); child 1021 lib/common/mainloop.c crm_trace("Removing process entry %p for %d", child, child->pid); child 1025 lib/common/mainloop.c child_free(child); child 1045 lib/common/mainloop.c mainloop_child_t *child = NULL; child 1052 lib/common/mainloop.c child = iter->data; child 1053 lib/common/mainloop.c if (pid == child->pid) { child 1054 lib/common/mainloop.c match = child; child 1101 lib/common/mainloop.c mainloop_child_t *child = g_new(mainloop_child_t, 1); child 1103 lib/common/mainloop.c child->pid = pid; child 1104 lib/common/mainloop.c child->timerid = 0; child 1105 lib/common/mainloop.c child->timeout = FALSE; child 1106 lib/common/mainloop.c child->privatedata = privatedata; child 1107 lib/common/mainloop.c child->callback = callback; child 1108 lib/common/mainloop.c child->flags = flags; child 1111 lib/common/mainloop.c child->desc = strdup(desc); child 1115 lib/common/mainloop.c child->timerid = g_timeout_add(timeout, child_timeout_callback, child); child 1118 lib/common/mainloop.c child_list = g_list_append(child_list, child); child 450 lib/common/xml.c xmlNode *child = NULL; child 452 lib/common/xml.c for (child = __xml_first_child(acl_entry); child; child = __xml_next(child)) { child 453 lib/common/xml.c const char *tag = crm_element_name(child); child 454 lib/common/xml.c const char *kind = crm_element_value(child, XML_ACL_ATTR_KIND); child 460 lib/common/xml.c crm_trace("Processing %s %p", tag, child); child 466 lib/common/xml.c const char *ref_role = crm_element_value(child, XML_ATTR_ID); child 485 lib/common/xml.c __xml_acl_create(child, target, xpf_acl_read); child 488 lib/common/xml.c __xml_acl_create(child, target, xpf_acl_write); child 491 lib/common/xml.c __xml_acl_create(child, target, xpf_acl_deny); child 617 lib/common/xml.c xmlNode *child = NULL; child 619 lib/common/xml.c for (child = __xml_first_child(acls); child; child = __xml_next(child)) { child 620 lib/common/xml.c const char *tag = crm_element_name(child); child 623 lib/common/xml.c const char *id = crm_element_value(child, XML_ATTR_ID); child 627 lib/common/xml.c __xml_acl_parse_entry(acls, child, target); child 663 lib/common/xml.c xmlNode *child = NULL; child 686 lib/common/xml.c child = __xml_first_child(xml); child 687 lib/common/xml.c while ( child != NULL ) { child 688 lib/common/xml.c xmlNode *tmp = child; child 690 lib/common/xml.c child = __xml_next(child); child 815 lib/common/xml.c xmlNode *child = cIter; child 817 lib/common/xml.c __xml_acl_post_process(child); child 1390 lib/common/xml.c xmlNode *child = NULL; child 1471 lib/common/xml.c for (child = __xml_first_child(clist); child != NULL; child = __xml_next(child)) { child 1472 lib/common/xml.c const char *name = crm_element_value(child, "name"); child 1474 lib/common/xml.c op = crm_element_value(child, XML_DIFF_OP); child 1477 lib/common/xml.c const char *value = crm_element_value(child, "value"); child 1518 lib/common/xml.c for (child = __xml_first_child(removed); child != NULL; child = __xml_next(child)) { child 1519 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "- ", child, 0, child 1530 lib/common/xml.c for (child = __xml_first_child(added); child != NULL; child = __xml_next(child)) { child 1531 lib/common/xml.c log_data_element(log_level, __FILE__, function, __LINE__, "+ ", child, 0, child 2058 lib/common/xml.c xmlNode *child = NULL; child 2068 lib/common/xml.c child = xmlDocCopyNode(change->children, match->doc, 1); child 2070 lib/common/xml.c crm_trace("Adding %s at position %d", child->name, position); child 2071 lib/common/xml.c xmlAddPrevSibling(match_child, child); child 2074 lib/common/xml.c crm_trace("Adding %s at position %d (end)", child->name, position); child 2075 lib/common/xml.c xmlAddNextSibling(match->last, child); child 2078 lib/common/xml.c crm_trace("Adding %s at position %d (first)", child->name, position); child 2080 lib/common/xml.c xmlAddChild(match, child); child 2082 lib/common/xml.c crm_node_created(child); child 2313 lib/common/xml.c xmlNode *child = NULL; child 2322 lib/common/xml.c for (child = __xml_first_child(target); child != NULL; child = __xml_next(child)) { child 2323 lib/common/xml.c fix_plus_plus_recursive(child); child 2407 lib/common/xml.c xmlNode *child = NULL; child 2412 lib/common/xml.c child = xmlDocCopyNode(src_node, doc, 1); child 2413 lib/common/xml.c xmlAddChild(parent, child); child 2414 lib/common/xml.c crm_node_created(child); child 2415 lib/common/xml.c return child; child 2419 lib/common/xml.c add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child) child 2421 lib/common/xml.c add_node_copy(parent, child); child 2422 lib/common/xml.c free_xml(child); child 2643 lib/common/xml.c free_xml_with_position(xmlNode * child, int position) child 2645 lib/common/xml.c if (child != NULL) { child 2647 lib/common/xml.c xmlDoc *doc = child->doc; child 2648 lib/common/xml.c xml_private_t *p = child->_private; child 2654 lib/common/xml.c if (doc != NULL && top == child) { child 2658 lib/common/xml.c } else if(__xml_acl_check(child, NULL, xpf_acl_write) == FALSE) { child 2662 lib/common/xml.c __get_prefix(NULL, child, buffer, offset); child 2667 lib/common/xml.c if(doc && TRACKING_CHANGES(child) && is_not_set(p->flags, xpf_created)) { child 2671 lib/common/xml.c if(__get_prefix(NULL, child, buffer, offset) > 0) { child 2674 lib/common/xml.c crm_trace("Deleting %s %p from %p", buffer, child, doc); child 2680 lib/common/xml.c if (child->type == XML_COMMENT_NODE) { child 2685 lib/common/xml.c deleted_obj->position = __xml_offset(child); child 2691 lib/common/xml.c set_doc_flag(child, xpf_dirty); child 2698 lib/common/xml.c xmlUnlinkNode(child); child 2699 lib/common/xml.c xmlFreeNode(child); child 2706 lib/common/xml.c free_xml(xmlNode * child) child 2708 lib/common/xml.c free_xml_with_position(child, -1); child 3313 lib/common/xml.c xmlNode *child = NULL; child 3383 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { child 3384 lib/common/xml.c __xml_log_element(log_level, file, function, line, prefix, child, depth + 1, options|xml_log_option_open|xml_log_option_close); child 3405 lib/common/xml.c xmlNode *child = NULL; child 3478 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { child 3479 lib/common/xml.c __xml_log_change_element(log_level, file, function, line, prefix, child, depth + 1, options); child 3486 lib/common/xml.c for (child = __xml_first_child(data); child != NULL; child = __xml_next(child)) { child 3487 lib/common/xml.c __xml_log_change_element(log_level, file, function, line, prefix, child, depth + 1, options); child 3904 lib/common/xml.c xmlNode *child = NULL; child 3909 lib/common/xml.c for (child = __xml_first_child(a_node); child != NULL; child = __xml_next(child)) { child 3910 lib/common/xml.c purge_diff_markers(child); child 4253 lib/common/xml.c xmlNode *child = cIter; child 4256 lib/common/xml.c if (can_prune_leaf(child)) { child 4257 lib/common/xml.c free_xml(child); child 4270 lib/common/xml.c xmlNode *child = NULL; child 4301 lib/common/xml.c for (child = __xml_first_child(us); child != NULL; child = __xml_next(child)) { child 4302 lib/common/xml.c diff_filter_context(context, upper_bound - 1, lower_bound - 1, child, new_parent); child 4317 lib/common/xml.c xmlNode *child = NULL; child 4319 lib/common/xml.c for (child = __xml_first_child(xml_node); child != NULL; child = __xml_next(child)) { child 4320 lib/common/xml.c if (in_upper_context(depth + 1, context, child)) { child 4672 lib/common/xml.c update_xml_child(xmlNode * child, xmlNode * to_update) child 4677 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); child 4680 lib/common/xml.c if (safe_str_neq(crm_element_name(to_update), crm_element_name(child))) { child 4683 lib/common/xml.c } else if (safe_str_neq(ID(to_update), ID(child))) { child 4688 lib/common/xml.c crm_log_xml_trace(child, "Update match found..."); child 4690 lib/common/xml.c add_xml_object(NULL, child, to_update, FALSE); child 4693 lib/common/xml.c for (child_of_child = __xml_first_child(child); child_of_child != NULL; child 4727 lib/common/xml.c xmlNode *child = NULL; child 4729 lib/common/xml.c for (child = __xml_first_child(root); child != NULL; child = __xml_next(child)) { child 4730 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); child 4738 lib/common/xml.c replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update, gboolean delete_only) child 4747 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); child 4751 lib/common/xml.c child_id = ID(child); child 4756 lib/common/xml.c if (safe_str_neq(crm_element_name(update), crm_element_name(child))) { child 4766 lib/common/xml.c right_val = crm_element_value(child, p_name); child 4774 lib/common/xml.c crm_log_xml_trace(child, "Delete match found..."); child 4776 lib/common/xml.c free_xml(child); child 4784 lib/common/xml.c old = xmlReplaceNode(child, tmp); child 4795 lib/common/xml.c child = NULL; child 4799 lib/common/xml.c crm_log_xml_debug(child, "Cannot delete the search root"); child 4803 lib/common/xml.c child_of_child = __xml_first_child(child); child 4807 lib/common/xml.c can_delete = replace_xml_child(child, child_of_child, update, delete_only); child 4933 lib/common/xml.c xmlNode *child = NULL; child 4957 lib/common/xml.c for (child = __xml_first_child(nvpair_list); child != NULL; child = __xml_next(child)) { child 4958 lib/common/xml.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { child 4959 lib/common/xml.c const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 4960 lib/common/xml.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); child 5011 lib/common/xml.c xmlNode *child = NULL; child 5041 lib/common/xml.c for (child = __xml_first_child(input); child != NULL; child = __xml_next(child)) { child 5043 lib/common/xml.c sorted_xml(child, result, recursive); child 5045 lib/common/xml.c add_node_copy(result, child); child 41 lib/pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 43 lib/pengine/clone.c mark_as_orphan(child); child 69 lib/pengine/clone.c resource_t *child = NULL; child 77 lib/pengine/clone.c child = pe_find_resource(rsc->children, child_id); child 80 lib/pengine/clone.c return child; child 880 lib/pengine/complex.c is_parent(resource_t *child, resource_t *rsc) child 882 lib/pengine/complex.c resource_t *parent = child; child 281 lib/pengine/container.c if(tuple->child) { child 443 lib/pengine/container.c if(tuple->child) { child 514 lib/pengine/container.c GListPtr child; child 516 lib/pengine/container.c for (child = rsc->children; child != NULL; child = child->next) { child 517 lib/pengine/container.c disallow_node((resource_t *) (child->data), uname); child 527 lib/pengine/container.c if (tuple->child && valid_network(data)) { child 540 lib/pengine/container.c id = crm_strdup_printf("pcmk-internal-%s-remote-%d", tuple->child->id, tuple->offset); child 613 lib/pengine/container.c g_hash_table_destroy(tuple->child->allowed_nodes); child 614 lib/pengine/container.c tuple->child->allowed_nodes = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, g_hash_destroy_str); child 615 lib/pengine/container.c g_hash_table_insert(tuple->child->allowed_nodes, (gpointer) tuple->node->details->id, node_copy(tuple->node)); child 620 lib/pengine/container.c g_hash_table_insert(tuple->child->parent->allowed_nodes, (gpointer) tuple->node->details->id, copy); child 679 lib/pengine/container.c if(tuple->child && tuple->ipaddr) { child 680 lib/pengine/container.c add_hash_param(tuple->child->meta, "external-ip", tuple->ipaddr); child 1016 lib/pengine/container.c container_data->child = new_rsc; child 1062 lib/pengine/container.c for(childIter = container_data->child->children; childIter != NULL; childIter = childIter->next) { child 1064 lib/pengine/container.c tuple->child = childIter->data; child 1065 lib/pengine/container.c tuple->child->exclusive_discover = TRUE; child 1069 lib/pengine/container.c if(is_set(tuple->child->flags, pe_rsc_notify)) { child 1070 lib/pengine/container.c set_bit(container_data->child->flags, pe_rsc_notify); child 1075 lib/pengine/container.c container_data->attribute_target = g_hash_table_lookup(tuple->child->meta, XML_RSC_ATTR_TARGET); child 1080 lib/pengine/container.c g_hash_table_replace(container_data->child->meta, strdup(XML_RSC_ATTR_TARGET), strdup(container_data->attribute_target)); child 1107 lib/pengine/container.c if(container_data->child) { child 1108 lib/pengine/container.c rsc->children = g_list_append(rsc->children, container_data->child); child 1144 lib/pengine/container.c rsc_active = tuple_rsc_active(tuple->child, all); child 1183 lib/pengine/container.c rsc = tuple->child; child 1261 lib/pengine/container.c print_rsc_in_list(tuple->child, child_text, options, print_data); child 1274 lib/pengine/container.c resource_t *rsc = tuple->child; child 1345 lib/pengine/container.c print_rsc_in_list(tuple->child, child_text, options, print_data); child 1423 lib/pengine/container.c if(container_data->child) { child 1424 lib/pengine/container.c free_xml(container_data->child->xml); child 1425 lib/pengine/container.c container_data->child->xml = NULL; child 1426 lib/pengine/container.c container_data->child->fns->free(container_data->child); child 103 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; child 105 lib/pengine/native.c clear_bit(child->flags, pe_rsc_managed); child 106 lib/pengine/native.c set_bit(child->flags, pe_rsc_block); child 231 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; child 233 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); child 772 lib/pengine/native.c resource_t *child = (resource_t *) gIter->data; child 774 lib/pengine/native.c child->fns->location(child, &result, current); child 93 lib/pengine/rules_alerts.c xmlNode *child; child 99 lib/pengine/rules_alerts.c child = first_named_child(basenode, XML_TAG_ATTR_SETS); child 100 lib/pengine/rules_alerts.c if (child == NULL) { child 108 lib/pengine/rules_alerts.c for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL; child 109 lib/pengine/rules_alerts.c child = crm_next_same_xml(child)) { child 111 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 112 lib/pengine/rules_alerts.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); child 1705 lib/pengine/unpack.c resource_t *child = rIter->data; child 1707 lib/pengine/unpack.c child->fns->location(child, &locations, TRUE); child 1709 lib/pengine/unpack.c pe_rsc_trace(child, "Resource %s, skip inactive", child->id); child 1718 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); child 1743 lib/pengine/unpack.c resource_t *child = rIter->data; child 1745 lib/pengine/unpack.c if (is_set(child->flags, pe_rsc_block)) { child 1746 lib/pengine/unpack.c pe_rsc_trace(child, "Skip: blocked in stopped state"); child 1750 lib/pengine/unpack.c child->fns->location(child, &locations, TRUE); child 1753 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); child 299 lib/pengine/utils.c resource_t *child = (resource_t *) gIter->data; child 301 lib/pengine/utils.c dump_node_scores_worker(level, file, function, line, child, comment, nodes); child 847 lib/pengine/utils.c xmlNode *child = NULL; child 851 lib/pengine/utils.c for (child = first_named_child(rsc->ops_xml, XML_ATTR_OP); child 852 lib/pengine/utils.c child != NULL; child = crm_next_same_xml(child)) { child 853 lib/pengine/utils.c if (safe_str_eq(action, crm_element_value(child, XML_NVPAIR_ATTR_NAME))) { child 854 lib/pengine/utils.c timeout = crm_element_value(child, XML_ATTR_TIMEOUT); child 66 lib/pengine/variant.h resource_t *child; child 115 lib/pengine/variant.h resource_t *child; child 81 mcp/pacemaker.c static gboolean start_child(pcmk_child_t * child); child 121 mcp/pacemaker.c pcmk_process_exit(pcmk_child_t * child) child 123 mcp/pacemaker.c child->pid = 0; child 124 mcp/pacemaker.c child->active_before_startup = FALSE; child 136 mcp/pacemaker.c child->respawn_count += 1; child 137 mcp/pacemaker.c if (child->respawn_count > MAX_RESPAWN) { child 138 mcp/pacemaker.c crm_err("Child respawn count exceeded by %s", child->name); child 139 mcp/pacemaker.c child->respawn = FALSE; child 146 mcp/pacemaker.c } else if (child->respawn && crm_is_true(getenv("PCMK_fail_fast"))) { child 147 mcp/pacemaker.c crm_err("Rebooting system because of %s", child->name); child 150 mcp/pacemaker.c } else if (child->respawn) { child 151 mcp/pacemaker.c crm_notice("Respawning failed child process: %s", child->name); child 152 mcp/pacemaker.c start_child(child); child 159 mcp/pacemaker.c pcmk_child_t *child = mainloop_child_userdata(p); child 176 mcp/pacemaker.c child->respawn = FALSE; child 183 mcp/pacemaker.c child->respawn = FALSE; child 195 mcp/pacemaker.c pcmk_process_exit(child); child 199 mcp/pacemaker.c stop_child(pcmk_child_t * child, int signal) child 205 mcp/pacemaker.c if (child->command == NULL) { child 206 mcp/pacemaker.c crm_debug("Nothing to do for child \"%s\"", child->name); child 210 mcp/pacemaker.c if (child->pid <= 0) { child 211 mcp/pacemaker.c crm_trace("Client %s not running", child->name); child 216 mcp/pacemaker.c if (kill(child->pid, signal) == 0) { child 218 mcp/pacemaker.c child->name, signal, child->pid); child 222 mcp/pacemaker.c child->name, child->pid, signal); child 232 mcp/pacemaker.c start_child(pcmk_child_t * child) child 245 mcp/pacemaker.c child->active_before_startup = FALSE; child 247 mcp/pacemaker.c if (child->command == NULL) { child 248 mcp/pacemaker.c crm_info("Nothing to do for child \"%s\"", child->name); child 256 mcp/pacemaker.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { child 263 mcp/pacemaker.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { child 269 mcp/pacemaker.c " The location of the valgrind binary is unknown", child->name); child 273 mcp/pacemaker.c if (child->uid) { child 274 mcp/pacemaker.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { child 275 mcp/pacemaker.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); child 278 mcp/pacemaker.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); child 281 mcp/pacemaker.c child->pid = fork(); child 282 mcp/pacemaker.c CRM_ASSERT(child->pid != -1); child 284 mcp/pacemaker.c if (child->pid > 0) { child 286 mcp/pacemaker.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); child 288 mcp/pacemaker.c crm_info("Forked child %d for process %s%s", child->pid, child->name, child 302 mcp/pacemaker.c opts_vgrind[3] = strdup(child->command); child 305 mcp/pacemaker.c opts_vgrind[1] = strdup(child->command); child 310 mcp/pacemaker.c opts_default[0] = strdup(child->command); child 325 mcp/pacemaker.c } else if (initgroups(child->uid, gid) < 0) { child 326 mcp/pacemaker.c crm_err("Cannot initialize groups for %s: %s (%d)", child->uid, pcmk_strerror(errno), errno); child 331 mcp/pacemaker.c crm_perror(LOG_ERR, "Could not set user to %d (%s)", uid, child->uid); child 347 mcp/pacemaker.c (void)execvp(child->command, opts_default); child 349 mcp/pacemaker.c crm_perror(LOG_ERR, "FATAL: Cannot exec %s", child->command); child 359 mcp/pacemaker.c pcmk_child_t *child = data; child 361 mcp/pacemaker.c if (child->pid) { child 363 mcp/pacemaker.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); child 364 mcp/pacemaker.c stop_child(child, SIGSEGV); child 390 mcp/pacemaker.c pcmk_child_t *child = &(pcmk_children[lpc]); child 392 mcp/pacemaker.c if (phase != child->start_seq) { child 396 mcp/pacemaker.c if (child->pid) { child 399 mcp/pacemaker.c if (child->respawn) { child 401 mcp/pacemaker.c child->respawn = FALSE; child 402 mcp/pacemaker.c stop_child(child, SIGTERM); child 404 mcp/pacemaker.c g_timeout_add(180000 /* 3m */ , escalate_shutdown, child); child 411 mcp/pacemaker.c child->name, child->pid, child->start_seq); child 417 mcp/pacemaker.c crm_debug("%s confirmed stopped", child->name); child 418 mcp/pacemaker.c child->pid = 0; child 498 pengine/allocate.c resource_t *child = (resource_t *) gIter->data; child 500 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); child 533 pengine/allocate.c resource_t *child = (resource_t *) gIter->data; child 535 pengine/allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); child 31 pengine/clone.c static void append_parent_colocation(resource_t * rsc, resource_t * child, gboolean all); child 479 pengine/clone.c append_parent_colocation(resource_t * rsc, resource_t * child, gboolean all) child 489 pengine/clone.c child->rsc_cons = g_list_prepend(child->rsc_cons, cons); child 498 pengine/clone.c child->rsc_cons_lhs = g_list_prepend(child->rsc_cons_lhs, cons); child 538 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 540 pengine/clone.c if (child->running_on && is_set(child->flags, pe_rsc_provisional) child 541 pengine/clone.c && is_not_set(child->flags, pe_rsc_failed)) { child 542 pengine/clone.c node_t *child_node = child->running_on->data; child 543 pengine/clone.c node_t *local_node = parent_node_instance(child, child->running_on->data); child 546 pengine/clone.c child->id, child_node->details->uname, max - allocated, max); child 550 pengine/clone.c child_node->details->uname, child->id); child 557 pengine/clone.c } else if (color_instance(child, child_node, max < available_nodes, per_host_max, data_set)) { child 558 pengine/clone.c pe_rsc_trace(rsc, "Pre-allocated %s to %s", child->id, child 568 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 570 pengine/clone.c if (g_list_length(child->running_on) > 0) { child 571 pengine/clone.c node_t *child_node = child->running_on->data; child 572 pengine/clone.c node_t *local_node = parent_node_instance(child, child->running_on->data); child 576 pengine/clone.c child->id, child_node->details->uname); child 580 pengine/clone.c if (is_not_set(child->flags, pe_rsc_provisional)) { child 582 pengine/clone.c pe_rsc_debug(rsc, "Child %s not allocated - limit reached %d %d", child->id, allocated, max); child 583 pengine/clone.c resource_location(child, NULL, -INFINITY, "clone_color:limit_reached", data_set); child 585 pengine/clone.c if (color_instance(child, NULL, max < available_nodes, per_host_max, data_set)) { child 661 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 663 pengine/clone.c clone_update_pseudo_status(child, stopping, starting, active); child 782 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 784 pengine/clone.c key = stop_key(child); child 785 pengine/clone.c stop = find_rsc_action(child, key, active_only, NULL); child 788 pengine/clone.c key = start_key(child); child 789 pengine/clone.c start = find_rsc_action(child, key, active_only, NULL); child 1106 pengine/clone.c resource_t *child = (resource_t *) action->rsc->children->data; child 1129 pengine/clone.c result = get_complex_task(child, task_mutable, TRUE); child 1136 pengine/clone.c result = get_complex_task(child, action->task, TRUE); child 1153 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 1155 pengine/clone.c child_action = find_first_action(child->actions, NULL, task_s, child->children ? NULL : node); child 1156 pengine/clone.c pe_rsc_trace(action->rsc, "Checking for %s in %s on %s (%s)", task_s, child->id, child 1159 pengine/clone.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); child 1163 pengine/clone.c pe_rsc_trace(child, "%s is mandatory because of %s", action->uuid, child 1279 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 1281 pengine/clone.c rsc_known_on(child, &result); child 1318 pengine/clone.c resource_t *child = (resource_t *) gIter->data; child 1320 pengine/clone.c rsc_known_on(child, &known_list); child 1328 pengine/clone.c return child; child 1374 pengine/clone.c resource_t *child = NULL; child 1377 pengine/clone.c child = find_instance_on(rsc, node); child 1378 pengine/clone.c if (child) { child 1379 pengine/clone.c return child->cmds->create_probe(child, node, complete, force, data_set); child 1401 pengine/clone.c child = rsc->children->data; child 1402 pengine/clone.c return child->cmds->create_probe(child, node, complete, force, data_set); child 395 pengine/constraints.c resource_t *child = rIter->data; child 397 pengine/constraints.c custom_action_order(child, generate_op_key(child->id, action_first, 0), NULL, child 163 pengine/container.c if(tuple->child) { child 166 pengine/container.c g_hash_table_iter_init(&iter, tuple->child->allowed_nodes); child 170 pengine/container.c } else if(migration_threshold_reached(tuple->child, node, data_set) == FALSE) { child 175 pengine/container.c set_bit(tuple->child->parent->flags, pe_rsc_allocating); child 176 pengine/container.c tuple->child->cmds->allocate(tuple->child, tuple->node, data_set); child 177 pengine/container.c clear_bit(tuple->child->parent->flags, pe_rsc_allocating); child 181 pengine/container.c if(container_data->child) { child 184 pengine/container.c g_hash_table_iter_init(&iter, container_data->child->allowed_nodes); child 192 pengine/container.c container_data->child->cmds->allocate(container_data->child, prefer, data_set); child 229 pengine/container.c if(container_data->child) { child 230 pengine/container.c container_data->child->cmds->create_actions(container_data->child, data_set); child 232 pengine/container.c if(container_data->child->variant == pe_master) { child 257 pengine/container.c if(container_data->child) { child 258 pengine/container.c new_rsc_order(rsc, RSC_START, container_data->child, RSC_START, pe_order_implies_first_printed, data_set); child 259 pengine/container.c new_rsc_order(rsc, RSC_STOP, container_data->child, RSC_STOP, pe_order_implies_first_printed, data_set); child 261 pengine/container.c if(container_data->child->children) { child 262 pengine/container.c new_rsc_order(container_data->child, RSC_STARTED, rsc, RSC_STARTED, pe_order_implies_then_printed, data_set); child 263 pengine/container.c new_rsc_order(container_data->child, RSC_STOPPED, rsc, RSC_STOPPED, pe_order_implies_then_printed, data_set); child 265 pengine/container.c new_rsc_order(container_data->child, RSC_START, rsc, RSC_STARTED, pe_order_implies_then_printed, data_set); child 266 pengine/container.c new_rsc_order(container_data->child, RSC_STOP, rsc, RSC_STOPPED, pe_order_implies_then_printed, data_set); child 280 pengine/container.c if(tuple->child) { child 281 pengine/container.c order_stop_stop(rsc, tuple->child, pe_order_implies_first_printed); child 308 pengine/container.c if(tuple->child) { child 316 pengine/container.c if(container_data->child) { child 317 pengine/container.c container_data->child->cmds->internal_constraints(container_data->child, data_set); child 318 pengine/container.c if(container_data->child->variant == pe_master) { child 322 pengine/container.c new_rsc_order(container_data->child, RSC_DEMOTED, rsc, RSC_DEMOTED, pe_order_implies_then_printed, data_set); child 325 pengine/container.c new_rsc_order(rsc, RSC_DEMOTE, container_data->child, RSC_DEMOTE, pe_order_implies_first_printed, data_set); child 328 pengine/container.c new_rsc_order(container_data->child, RSC_PROMOTED, rsc, RSC_PROMOTED, pe_order_implies_then_printed, data_set); child 331 pengine/container.c new_rsc_order(rsc, RSC_PROMOTE, container_data->child, RSC_PROMOTE, pe_order_implies_first_printed, data_set); child 510 pengine/container.c if(data->child) { child 511 pengine/container.c enum action_tasks task = get_complex_task(data->child, action->task, TRUE); child 520 pengine/container.c return summary_action_flags(action, data->child->children, node); child 573 pengine/container.c if(tuple->child child 631 pengine/container.c if(strstr(first->task, "stop") && first_tuple && first_tuple->child) { child 637 pengine/container.c first_action = find_first_action(first_tuple->child->actions, NULL, task2text(task), node); child 642 pengine/container.c if(strstr(then->task, "mote") && then_tuple && then_tuple->child) { child 650 pengine/container.c then_action = find_first_action(then_tuple->child->actions, NULL, then->task, node); child 811 pengine/container.c if(container_data->child && (constraint->role_filter == RSC_ROLE_SLAVE || constraint->role_filter == RSC_ROLE_MASTER)) { child 812 pengine/container.c container_data->child->cmds->rsc_location(container_data->child, constraint); child 813 pengine/container.c container_data->child->rsc_location = g_list_prepend(container_data->child->rsc_location, constraint); child 826 pengine/container.c if(container_data->child) { child 827 pengine/container.c container_data->child->cmds->expand(container_data->child, data_set); child 875 pengine/container.c if(tuple->child && node->details == tuple->node->details) { child 876 pengine/container.c any_created |= tuple->child->cmds->create_probe(tuple->child, node, complete, force, data_set); child 967 pengine/container.c if(tuple->child) { child 968 pengine/container.c LogActions(tuple->child, data_set, terminal); child 504 pengine/graph.c resource_t *child = (resource_t *)gIter->data; child 505 pengine/graph.c action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL); child 89 pengine/group.c void group_update_pseudo_status(resource_t * parent, resource_t * child); child 140 pengine/group.c group_update_pseudo_status(resource_t * parent, resource_t * child) child 142 pengine/group.c GListPtr gIter = child->actions; child 380 pengine/group.c resource_t *child = (resource_t *) gIter->data; child 381 pengine/group.c enum action_tasks task = get_complex_task(child, action->task, TRUE); child 383 pengine/group.c action_t *child_action = find_first_action(child->actions, NULL, task_s, node); child 386 pengine/group.c enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node); child 406 pengine/group.c action->uuid, task_s, child->id); child 425 pengine/group.c resource_t *child = (resource_t *) gIter->data; child 426 pengine/group.c action_t *child_action = find_first_action(child->actions, NULL, then->task, node); child 429 pengine/group.c changed |= child->cmds->update_actions(first, child_action, node, flags, filter, type); child 33 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, child 36 pengine/master.c if (child == NULL) { child 46 pengine/master.c new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); child 49 pengine/master.c new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); child 59 pengine/master.c order_start_start(last, child, type); child 60 pengine/master.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); child 69 pengine/master.c resource_t * rsc, resource_t * child, resource_t * last, child 72 pengine/master.c if (child == NULL) { child 82 pengine/master.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_implies_then_printed, data_set); child 85 pengine/master.c new_rsc_order(rsc, RSC_DEMOTE, child, RSC_DEMOTE, pe_order_implies_first_printed, data_set); child 91 pengine/master.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); child 96 pengine/master.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set); child 111 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 113 pengine/master.c master_update_pseudo_status(child, demoting, promoting); child 140 pengine/master.c static void apply_master_location(resource_t *child, GListPtr location_constraints, pe_node_t *chosen) child 142 pengine/master.c CRM_CHECK(child && chosen, return); child 148 pengine/master.c pe_rsc_trace(child, "Applying %s to %s", cons->id, child->id); child 152 pengine/master.c int new_priority = merge_weights(child->priority, cons_node->weight); child 154 pengine/master.c pe_rsc_trace(child, "\t%s[%s]: %d -> %d (%d)", child 155 pengine/master.c child->id, cons_node->details->uname, child->priority, child 157 pengine/master.c child->priority = new_priority; child 181 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 183 pengine/master.c if (can_be_master(child) == NULL) { child 184 pengine/master.c pe_rsc_trace(rsc, "Child %s of %s can't be promoted", child->id, rsc->id); child 292 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 294 pengine/master.c pe_rsc_trace(rsc, "Sort index: %s = %d", child->id, child->sort_index); child 300 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 302 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); child 303 pengine/master.c if (chosen == NULL || child->sort_index < 0) { child 304 pengine/master.c pe_rsc_trace(rsc, "Skipping %s", child->id); child 311 pengine/master.c score2char_stack(child->sort_index, score, len); child 313 pengine/master.c node->details->uname, child->id); child 314 pengine/master.c node->weight = merge_weights(child->sort_index, node->weight); child 375 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 377 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); child 378 pengine/master.c if (is_not_set(child->flags, pe_rsc_managed) && child->next_role == RSC_ROLE_MASTER) { child 379 pengine/master.c child->sort_index = INFINITY; child 381 pengine/master.c } else if (chosen == NULL || child->sort_index < 0) { child 382 pengine/master.c pe_rsc_trace(rsc, "%s: %d", child->id, child->sort_index); child 388 pengine/master.c child->sort_index = node->weight; child 390 pengine/master.c pe_rsc_trace(rsc, "Set sort index: %s = %d", child->id, child->sort_index); child 405 pengine/master.c resource_t *child = rIter->data; child 406 pengine/master.c resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); child 426 pengine/master.c resource_t *child = rIter->data; child 436 pengine/master.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); child 478 pengine/master.c resource_t *child = (resource_t *) gIter->data; child 479 pengine/master.c int c_score = master_score(child, node, not_set_value); child 448 pengine/notif.c resource_t *child = (resource_t *) gIter->data; child 450 pengine/notif.c collect_notification_data(child, state, activity, n_data); child 650 pengine/notif.c resource_t *child = (resource_t *) gIter->data; child 652 pengine/notif.c create_notifications(child, n_data, data_set); child 211 pengine/utilization.c resource_t *child = (resource_t *) gIter1->data; child 214 pengine/utilization.c if (g_list_find(all_rscs, child)) { child 219 pengine/utilization.c gIter2 = child->children; child 225 pengine/utilization.c orig_rsc->id, child->id); child 226 pengine/utilization.c add_unallocated_utilization(all_utilization, child, all_rscs, orig_rsc); child 309 tools/attrd_updater.c xmlNode *child; child 314 tools/attrd_updater.c for (child = __xml_first_child(reply); child != NULL; child = __xml_next(child)) { child 315 tools/attrd_updater.c if (safe_str_neq((const char*)child->name, XML_CIB_TAG_NODE)) { child 316 tools/attrd_updater.c crm_warn("Ignoring unexpected %s tag in query reply", child->name); child 318 tools/attrd_updater.c reply_host = crm_element_value(child, F_ATTRD_HOST); child 319 tools/attrd_updater.c reply_value = crm_element_value(child, F_ATTRD_VALUE); child 183 tools/cibadmin.c xmlNode *child = NULL; child 185 tools/cibadmin.c for (child = xml->children; child; child = child->next) { child 186 tools/cibadmin.c print_xml_output(child); child 1029 tools/crm_resource.c resource_t *child = (resource_t *)iter->data; child 1030 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); child 1034 tools/crm_resource.c current = child->running_on->data; child 106 tools/crm_resource_print.c resource_t *child = (resource_t *) lpc->data; child 108 tools/crm_resource_print.c cli_resource_print_cts(child); child 124 tools/crm_resource_print.c resource_t *child = (resource_t *) lpc->data; child 126 tools/crm_resource_print.c cli_resource_print_raw(child); child 143 tools/crm_resource_runtime.c xmlNode *child = NULL; child 148 tools/crm_resource_runtime.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { child 150 tools/crm_resource_runtime.c crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child)); child 206 tools/crm_resource_runtime.c resource_t *child = rsc->children->data; child 208 tools/crm_resource_runtime.c if(child->variant == pe_native) { child 209 tools/crm_resource_runtime.c lookup_id = clone_strip(child->id); /* Could be a cloned group! */ child 213 tools/crm_resource_runtime.c rsc = child; child 578 tools/crm_resource_runtime.c resource_t *child = (resource_t *) lpc->data; child 580 tools/crm_resource_runtime.c rc = cli_resource_delete(crmd_channel, host_uname, child, operation, child 1015 tools/crm_resource_runtime.c resource_t *child = (resource_t *)iter->data; child 1017 tools/crm_resource_runtime.c delay = max_delay_for_resource(data_set, child); child 1020 tools/crm_resource_runtime.c crm_trace("Calculated new delay of %.1fs due to %s", seconds, child->id); child 1644 tools/crm_resource_runtime.c resource_t *child = (resource_t *)iter->data; child 1645 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); child 1648 tools/crm_resource_runtime.c rsc = child; child 341 tools/crm_ticket.c xmlNode *child = NULL; child 346 tools/crm_ticket.c for (child = __xml_first_child(xml_search); child != NULL; child = __xml_next(child)) { child 348 tools/crm_ticket.c crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child));