child             612 daemons/attrd/attrd_commands.c         xmlNode *child = NULL;
child             621 daemons/attrd/attrd_commands.c         for (child = pcmk__xml_first_child(xml); child != NULL;
child             622 daemons/attrd/attrd_commands.c              child = pcmk__xml_next(child)) {
child             623 daemons/attrd/attrd_commands.c             host = crm_element_value(child, PCMK__XA_ATTR_NODE_NAME);
child             624 daemons/attrd/attrd_commands.c             attrd_peer_update(peer, child, host, TRUE);
child             427 daemons/based/based_messages.c         xmlNode *child = NULL;
child             429 daemons/based/based_messages.c         for (child = pcmk__xml_first_child(delete_spec); child != NULL;
child             430 daemons/based/based_messages.c              child = pcmk__xml_next(child)) {
child             431 daemons/based/based_messages.c             int tmp_result = delete_cib_object(equiv_node, child);
child            1886 daemons/fenced/fenced_commands.c     xmlNode *child = create_xml_node(xml, F_STONITH_ACTION);
child            1888 daemons/fenced/fenced_commands.c     crm_xml_add(child, XML_ATTR_ID, action);
child            1889 daemons/fenced/fenced_commands.c     add_action_specific_attributes(child, action, device);
child            1890 daemons/fenced/fenced_commands.c     add_disallowed(child, action, device, target, allow_suicide);
child            1797 daemons/fenced/fenced_remote.c     xmlNode *child;
child            1816 daemons/fenced/fenced_remote.c     for (child = pcmk__xml_first_child(xml); child != NULL;
child            1817 daemons/fenced/fenced_remote.c          child = pcmk__xml_next(child)) {
child            1822 daemons/fenced/fenced_remote.c         if (pcmk__str_eq(ID(child), "off", pcmk__str_casei)) {
child            1823 daemons/fenced/fenced_remote.c             parse_action_specific(child, result->host, device, "off",
child            1825 daemons/fenced/fenced_remote.c         } else if (pcmk__str_eq(ID(child), "on", pcmk__str_casei)) {
child            1826 daemons/fenced/fenced_remote.c             parse_action_specific(child, result->host, device, "on",
child            1847 daemons/fenced/fenced_remote.c     xmlNode *child;
child            1856 daemons/fenced/fenced_remote.c     for (child = pcmk__xml_first_child(xml); child != NULL;
child            1857 daemons/fenced/fenced_remote.c          child = pcmk__xml_next(child)) {
child            1858 daemons/fenced/fenced_remote.c         const char *device = ID(child);
child            1861 daemons/fenced/fenced_remote.c             add_device_properties(child, op, result, device);
child             117 daemons/pacemakerd/pacemakerd.c static int child_liveness(pcmk_child_t *child);
child             118 daemons/pacemakerd/pacemakerd.c static gboolean start_child(pcmk_child_t * child);
child             121 daemons/pacemakerd/pacemakerd.c pcmk_process_exit(pcmk_child_t * child)
child             123 daemons/pacemakerd/pacemakerd.c     child->pid = 0;
child             124 daemons/pacemakerd/pacemakerd.c     child->active_before_startup = FALSE;
child             126 daemons/pacemakerd/pacemakerd.c     child->respawn_count += 1;
child             127 daemons/pacemakerd/pacemakerd.c     if (child->respawn_count > MAX_RESPAWN) {
child             128 daemons/pacemakerd/pacemakerd.c         crm_err("Child respawn count exceeded by %s", child->name);
child             129 daemons/pacemakerd/pacemakerd.c         child->respawn = FALSE;
child             136 daemons/pacemakerd/pacemakerd.c     } else if (!child->respawn) {
child             140 daemons/pacemakerd/pacemakerd.c         crm_err("Rebooting system because of %s", child->name);
child             143 daemons/pacemakerd/pacemakerd.c     } else if (child_liveness(child) == pcmk_rc_ok) {
child             146 daemons/pacemakerd/pacemakerd.c                  child->name, child->endpoint);
child             148 daemons/pacemakerd/pacemakerd.c         child->active_before_startup = TRUE;
child             156 daemons/pacemakerd/pacemakerd.c         crm_notice("Respawning failed child process: %s", child->name);
child             157 daemons/pacemakerd/pacemakerd.c         start_child(child);
child             164 daemons/pacemakerd/pacemakerd.c     pcmk_child_t *child = mainloop_child_userdata(p);
child             182 daemons/pacemakerd/pacemakerd.c                 child->respawn = FALSE;
child             189 daemons/pacemakerd/pacemakerd.c                 child->respawn = FALSE;
child             202 daemons/pacemakerd/pacemakerd.c     pcmk_process_exit(child);
child             206 daemons/pacemakerd/pacemakerd.c stop_child(pcmk_child_t * child, int signal)
child             216 daemons/pacemakerd/pacemakerd.c     if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) {
child             218 daemons/pacemakerd/pacemakerd.c                   child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid));
child             222 daemons/pacemakerd/pacemakerd.c     if (child->pid <= 0) {
child             223 daemons/pacemakerd/pacemakerd.c         crm_trace("Client %s not running", child->name);
child             228 daemons/pacemakerd/pacemakerd.c     if (kill(child->pid, signal) == 0) {
child             230 daemons/pacemakerd/pacemakerd.c                    child->name, signal, (long long) child->pid);
child             234 daemons/pacemakerd/pacemakerd.c                 child->name, (long long) child->pid, signal, strerror(errno));
child             249 daemons/pacemakerd/pacemakerd.c start_child(pcmk_child_t * child)
child             258 daemons/pacemakerd/pacemakerd.c     child->active_before_startup = FALSE;
child             260 daemons/pacemakerd/pacemakerd.c     if (child->command == NULL) {
child             261 daemons/pacemakerd/pacemakerd.c         crm_info("Nothing to do for child \"%s\"", child->name);
child             269 daemons/pacemakerd/pacemakerd.c     } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) {
child             276 daemons/pacemakerd/pacemakerd.c     } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) {
child             282 daemons/pacemakerd/pacemakerd.c                  " The location of the valgrind binary is unknown", child->name);
child             286 daemons/pacemakerd/pacemakerd.c     if (child->uid) {
child             287 daemons/pacemakerd/pacemakerd.c         if (crm_user_lookup(child->uid, &uid, &gid) < 0) {
child             288 daemons/pacemakerd/pacemakerd.c             crm_err("Invalid user (%s) for %s: not found", child->uid, child->name);
child             291 daemons/pacemakerd/pacemakerd.c         crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name);
child             294 daemons/pacemakerd/pacemakerd.c     child->pid = fork();
child             295 daemons/pacemakerd/pacemakerd.c     CRM_ASSERT(child->pid != -1);
child             297 daemons/pacemakerd/pacemakerd.c     if (child->pid > 0) {
child             299 daemons/pacemakerd/pacemakerd.c         mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit);
child             302 daemons/pacemakerd/pacemakerd.c                  (long long) child->pid, child->name,
child             315 daemons/pacemakerd/pacemakerd.c             opts_vgrind[3] = strdup(child->command);
child             318 daemons/pacemakerd/pacemakerd.c             opts_vgrind[1] = strdup(child->command);
child             323 daemons/pacemakerd/pacemakerd.c         opts_default[0] = strdup(child->command);
child             345 daemons/pacemakerd/pacemakerd.c             if (initgroups(child->uid, gid) < 0) {
child             346 daemons/pacemakerd/pacemakerd.c                 crm_err("Cannot initialize groups for %s: %s (%d)", child->uid, pcmk_strerror(errno), errno);
child             352 daemons/pacemakerd/pacemakerd.c                      child->uid, uid, strerror(errno));
child             364 daemons/pacemakerd/pacemakerd.c             (void)execvp(child->command, opts_default);
child             366 daemons/pacemakerd/pacemakerd.c         crm_crit("Could not execute %s: %s", child->command, strerror(errno));
child             376 daemons/pacemakerd/pacemakerd.c     pcmk_child_t *child = data;
child             378 daemons/pacemakerd/pacemakerd.c     if (child->pid == PCMK__SPECIAL_PID) {
child             379 daemons/pacemakerd/pacemakerd.c         pcmk_process_exit(child);
child             381 daemons/pacemakerd/pacemakerd.c     } else if (child->pid != 0) {
child             383 daemons/pacemakerd/pacemakerd.c         crm_err("Child %s not terminating in a timely manner, forcing", child->name);
child             384 daemons/pacemakerd/pacemakerd.c         stop_child(child, SIGSEGV);
child             408 daemons/pacemakerd/pacemakerd.c             pcmk_child_t *child = &(pcmk_children[lpc]);
child             410 daemons/pacemakerd/pacemakerd.c             if (phase != child->start_seq) {
child             414 daemons/pacemakerd/pacemakerd.c             if (child->pid != 0) {
child             417 daemons/pacemakerd/pacemakerd.c                 if (child->respawn) {
child             418 daemons/pacemakerd/pacemakerd.c                     if (child->pid == PCMK__SPECIAL_PID) {
child             427 daemons/pacemakerd/pacemakerd.c                                  child->name, (long) SHUTDOWN_ESCALATION_PERIOD,
child             428 daemons/pacemakerd/pacemakerd.c                                  child->command);
child             431 daemons/pacemakerd/pacemakerd.c                     child->respawn = FALSE;
child             432 daemons/pacemakerd/pacemakerd.c                     stop_child(child, SIGTERM);
child             435 daemons/pacemakerd/pacemakerd.c                                       escalate_shutdown, child);
child             442 daemons/pacemakerd/pacemakerd.c                                child->name, (long long) child->pid,
child             443 daemons/pacemakerd/pacemakerd.c                                child->start_seq);
child             449 daemons/pacemakerd/pacemakerd.c             crm_debug("%s confirmed stopped", child->name);
child             450 daemons/pacemakerd/pacemakerd.c             child->pid = 0;
child             730 daemons/pacemakerd/pacemakerd.c child_liveness(pcmk_child_t *child)
child             741 daemons/pacemakerd/pacemakerd.c     if (child->endpoint == NULL
child             742 daemons/pacemakerd/pacemakerd.c             && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) {
child             744 daemons/pacemakerd/pacemakerd.c                 child->name);
child             747 daemons/pacemakerd/pacemakerd.c     } else if (child->endpoint != NULL) {
child             750 daemons/pacemakerd/pacemakerd.c         if (child->uid == NULL) {
child             764 daemons/pacemakerd/pacemakerd.c             rc = pcmk__ipc_is_authentic_process_active(child->endpoint,
child             768 daemons/pacemakerd/pacemakerd.c                 if (child->pid <= 0) {
child             774 daemons/pacemakerd/pacemakerd.c                     child->pid = ipc_pid;
child             775 daemons/pacemakerd/pacemakerd.c                 } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) {
child             792 daemons/pacemakerd/pacemakerd.c         int ret = pcmk__pid_active(child->pid, child->name);
child             797 daemons/pacemakerd/pacemakerd.c                                              child->name) == pcmk_rc_ok))) {
child             812 daemons/pacemakerd/pacemakerd.c                 stop_child(child, SIGKILL);
child             815 daemons/pacemakerd/pacemakerd.c             child->pid = ipc_pid;
child             819 daemons/pacemakerd/pacemakerd.c         } else if ((child->pid == 0) && (ret == EINVAL)) {
child             141 include/crm/common/mainloop.h void *mainloop_child_userdata(mainloop_child_t * child);
child             142 include/crm/common/mainloop.h int mainloop_child_timeout(mainloop_child_t * child);
child             143 include/crm/common/mainloop.h const char *mainloop_child_name(mainloop_child_t * child);
child             145 include/crm/common/mainloop.h pid_t mainloop_child_pid(mainloop_child_t * child);
child             146 include/crm/common/mainloop.h void mainloop_clear_child_userdata(mainloop_child_t * child);
child             115 include/crm/common/xml.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child);
child             154 include/crm/common/xml.h gboolean replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update,
child             157 include/crm/common/xml.h gboolean update_xml_child(xmlNode * child, xmlNode * to_update);
child             244 include/crm/common/xml.h void free_xml(xmlNode * child);
child             173 include/crm/common/xml_internal.h     xmlNode *child = (parent? parent->children : NULL);
child             175 include/crm/common/xml_internal.h     while (child && (child->type == XML_TEXT_NODE)) {
child             176 include/crm/common/xml_internal.h         child = child->next;
child             178 include/crm/common/xml_internal.h     return child;
child             190 include/crm/common/xml_internal.h pcmk__xml_next(const xmlNode *child)
child             192 include/crm/common/xml_internal.h     xmlNode *next = (child? child->next : NULL);
child             211 include/crm/common/xml_internal.h     xmlNode *child = (parent? parent->children : NULL);
child             213 include/crm/common/xml_internal.h     while (child && (child->type != XML_ELEMENT_NODE)) {
child             214 include/crm/common/xml_internal.h         child = child->next;
child             216 include/crm/common/xml_internal.h     return child;
child             228 include/crm/common/xml_internal.h pcmk__xe_next(const xmlNode *child)
child             230 include/crm/common/xml_internal.h     xmlNode *next = child? child->next : NULL;
child              32 include/crm/pengine/complex.h gboolean is_parent(pe_resource_t *child, pe_resource_t *rsc);
child             143 lib/cib/cib_attrs.c         xmlNode *child = NULL;
child             148 lib/cib/cib_attrs.c         for (child = pcmk__xml_first_child(xml_search); child != NULL;
child             149 lib/cib/cib_attrs.c              child = pcmk__xml_next(child)) {
child             151 lib/cib/cib_attrs.c                      crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child));
child             299 lib/cib/cib_ops.c         xmlNode *child = NULL;
child             300 lib/cib/cib_ops.c         for (child = pcmk__xml_first_child(input); child;
child             301 lib/cib/cib_ops.c              child = pcmk__xml_next(child)) {
child             302 lib/cib/cib_ops.c             if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) {
child             303 lib/cib/cib_ops.c                 crm_trace("No matching object to delete: %s=%s", child->name, ID(child));
child             149 lib/common/acl.c     xmlNode *child = NULL;
child             151 lib/common/acl.c     for (child = pcmk__xe_first_child(acl_entry); child;
child             152 lib/common/acl.c          child = pcmk__xe_next(child)) {
child             153 lib/common/acl.c         const char *tag = crm_element_name(child);
child             154 lib/common/acl.c         const char *kind = crm_element_value(child, XML_ACL_ATTR_KIND);
child             166 lib/common/acl.c             const char *ref_role = crm_element_value(child, XML_ATTR_ID);
child             188 lib/common/acl.c             acls = create_acl(child, acls, xpf_acl_read);
child             191 lib/common/acl.c             acls = create_acl(child, acls, xpf_acl_write);
child             194 lib/common/acl.c             acls = create_acl(child, acls, xpf_acl_deny);
child             325 lib/common/acl.c             xmlNode *child = NULL;
child             327 lib/common/acl.c             for (child = pcmk__xe_first_child(acls); child;
child             328 lib/common/acl.c                  child = pcmk__xe_next(child)) {
child             329 lib/common/acl.c                 const char *tag = crm_element_name(child);
child             333 lib/common/acl.c                     const char *id = crm_element_value(child, XML_ATTR_ID);
child             337 lib/common/acl.c                         p->acls = parse_acl_entry(acls, child, p->acls);
child             369 lib/common/acl.c     xmlNode *child = NULL;
child             392 lib/common/acl.c     child = pcmk__xml_first_child(xml);
child             393 lib/common/acl.c     while ( child != NULL ) {
child             394 lib/common/acl.c         xmlNode *tmp = child;
child             396 lib/common/acl.c         child = pcmk__xml_next(child);
child             573 lib/common/acl.c         xmlNode *child = cIter;
child             575 lib/common/acl.c         pcmk__apply_creation_acl(child, true);
child             975 lib/common/mainloop.c mainloop_child_pid(mainloop_child_t * child)
child             977 lib/common/mainloop.c     return child->pid;
child             981 lib/common/mainloop.c mainloop_child_name(mainloop_child_t * child)
child             983 lib/common/mainloop.c     return child->desc;
child             987 lib/common/mainloop.c mainloop_child_timeout(mainloop_child_t * child)
child             989 lib/common/mainloop.c     return child->timeout;
child             993 lib/common/mainloop.c mainloop_child_userdata(mainloop_child_t * child)
child             995 lib/common/mainloop.c     return child->privatedata;
child             999 lib/common/mainloop.c mainloop_clear_child_userdata(mainloop_child_t * child)
child            1001 lib/common/mainloop.c     child->privatedata = NULL;
child            1006 lib/common/mainloop.c child_free(mainloop_child_t *child)
child            1008 lib/common/mainloop.c     if (child->timerid != 0) {
child            1009 lib/common/mainloop.c         crm_trace("Removing timer %d", child->timerid);
child            1010 lib/common/mainloop.c         g_source_remove(child->timerid);
child            1011 lib/common/mainloop.c         child->timerid = 0;
child            1013 lib/common/mainloop.c     free(child->desc);
child            1014 lib/common/mainloop.c     free(child);
child            1019 lib/common/mainloop.c child_kill_helper(mainloop_child_t *child)
child            1022 lib/common/mainloop.c     if (child->flags & mainloop_leave_pid_group) {
child            1023 lib/common/mainloop.c         crm_debug("Kill pid %d only. leave group intact.", child->pid);
child            1024 lib/common/mainloop.c         rc = kill(child->pid, SIGKILL);
child            1026 lib/common/mainloop.c         crm_debug("Kill pid %d's group", child->pid);
child            1027 lib/common/mainloop.c         rc = kill(-child->pid, SIGKILL);
child            1032 lib/common/mainloop.c             crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid);
child            1042 lib/common/mainloop.c     mainloop_child_t *child = p;
child            1045 lib/common/mainloop.c     child->timerid = 0;
child            1046 lib/common/mainloop.c     if (child->timeout) {
child            1047 lib/common/mainloop.c         crm_crit("%s process (PID %d) will not die!", child->desc, (int)child->pid);
child            1051 lib/common/mainloop.c     rc = child_kill_helper(child);
child            1057 lib/common/mainloop.c     child->timeout = TRUE;
child            1058 lib/common/mainloop.c     crm_warn("%s process (PID %d) timed out", child->desc, (int)child->pid);
child            1060 lib/common/mainloop.c     child->timerid = g_timeout_add(5000, child_timeout_callback, child);
child            1065 lib/common/mainloop.c child_waitpid(mainloop_child_t *child, int flags)
child            1074 lib/common/mainloop.c     rc = waitpid(child->pid, &status, flags);
child            1077 lib/common/mainloop.c                   child->pid, child->desc);
child            1080 lib/common/mainloop.c     } else if (rc != child->pid) {
child            1093 lib/common/mainloop.c                    child->pid, child->desc, pcmk_strerror(errno));
child            1098 lib/common/mainloop.c                   child->pid, child->desc, exitcode);
child            1103 lib/common/mainloop.c                   child->pid, child->desc, signo, strsignal(signo));
child            1109 lib/common/mainloop.c                 child->pid, child->desc);
child            1114 lib/common/mainloop.c                   child->pid, child->desc);
child            1118 lib/common/mainloop.c     if (callback_needed && child->callback) {
child            1119 lib/common/mainloop.c         child->callback(child, child->pid, core, signo, exitcode);
child            1129 lib/common/mainloop.c         mainloop_child_t *child = iter->data;
child            1132 lib/common/mainloop.c         if (child_waitpid(child, WNOHANG)) {
child            1134 lib/common/mainloop.c                       child->pid);
child            1137 lib/common/mainloop.c             child_free(child);
child            1158 lib/common/mainloop.c     mainloop_child_t *child = NULL;
child            1165 lib/common/mainloop.c         child = iter->data;
child            1166 lib/common/mainloop.c         if (pid == child->pid) {
child            1167 lib/common/mainloop.c             match = child;
child            1215 lib/common/mainloop.c     mainloop_child_t *child = g_new(mainloop_child_t, 1);
child            1217 lib/common/mainloop.c     child->pid = pid;
child            1218 lib/common/mainloop.c     child->timerid = 0;
child            1219 lib/common/mainloop.c     child->timeout = FALSE;
child            1220 lib/common/mainloop.c     child->privatedata = privatedata;
child            1221 lib/common/mainloop.c     child->callback = callback;
child            1222 lib/common/mainloop.c     child->flags = flags;
child            1225 lib/common/mainloop.c         child->desc = strdup(desc);
child            1229 lib/common/mainloop.c         child->timerid = g_timeout_add(timeout, child_timeout_callback, child);
child            1232 lib/common/mainloop.c     child_list = g_list_append(child_list, child);
child             913 lib/common/nvpair.c     xmlNode *child = NULL;
child             939 lib/common/nvpair.c     for (child = pcmk__xml_first_child(nvpair_list); child != NULL;
child             940 lib/common/nvpair.c          child = pcmk__xml_next(child)) {
child             942 lib/common/nvpair.c         if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) {
child             943 lib/common/nvpair.c             const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME);
child             944 lib/common/nvpair.c             const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE);
child             466 lib/common/patchset.c     xmlNode *child = NULL;
child             557 lib/common/patchset.c                 for (child = pcmk__xml_first_child(clist); child != NULL;
child             558 lib/common/patchset.c                      child = pcmk__xml_next(child)) {
child             559 lib/common/patchset.c                     const char *name = crm_element_value(child, "name");
child             561 lib/common/patchset.c                     op = crm_element_value(child, XML_DIFF_OP);
child             564 lib/common/patchset.c                         const char *value = crm_element_value(child, "value");
child             616 lib/common/patchset.c     for (child = pcmk__xml_first_child(removed); child != NULL;
child             617 lib/common/patchset.c          child = pcmk__xml_next(child)) {
child             618 lib/common/patchset.c         log_data_element(log_level, __FILE__, function, __LINE__, "- ", child,
child             629 lib/common/patchset.c     for (child = pcmk__xml_first_child(added); child != NULL;
child             630 lib/common/patchset.c          child = pcmk__xml_next(child)) {
child             631 lib/common/patchset.c         log_data_element(log_level, __FILE__, function, __LINE__, "+ ", child,
child            1255 lib/common/patchset.c             xmlNode *child = NULL;
child            1266 lib/common/patchset.c             child = xmlDocCopyNode(change->children, match->doc, 1);
child            1268 lib/common/patchset.c                 crm_trace("Adding %s at position %d", child->name, position);
child            1269 lib/common/patchset.c                 xmlAddPrevSibling(match_child, child);
child            1273 lib/common/patchset.c                           child->name, position);
child            1274 lib/common/patchset.c                 xmlAddNextSibling(match->last, child);
child            1278 lib/common/patchset.c                           child->name, position);
child            1280 lib/common/patchset.c                 xmlAddChild(match, child);
child            1282 lib/common/patchset.c             pcmk__mark_xml_created(child);
child            1420 lib/common/patchset.c     xmlNode *child = NULL;
child            1425 lib/common/patchset.c     for (child = pcmk__xml_first_child(a_node); child != NULL;
child            1426 lib/common/patchset.c          child = pcmk__xml_next(child)) {
child            1427 lib/common/patchset.c         purge_diff_markers(child);
child             503 lib/common/xml.c     for (xmlNode *child = pcmk__xml_first_child(parent); child != NULL;
child             504 lib/common/xml.c          child = pcmk__xml_next(child)) {
child             505 lib/common/xml.c         if (pcmk__str_eq(node_name, (const char *) (child->name),
child             507 lib/common/xml.c             && ((attr_n == NULL) || attr_matches(child, attr_n, attr_v))) {
child             508 lib/common/xml.c             return child;
child             548 lib/common/xml.c     xmlNode *child = NULL;
child             557 lib/common/xml.c     for (child = pcmk__xml_first_child(target); child != NULL;
child             558 lib/common/xml.c          child = pcmk__xml_next(child)) {
child             559 lib/common/xml.c         fix_plus_plus_recursive(child);
child             643 lib/common/xml.c     xmlNode *child = NULL;
child             648 lib/common/xml.c     child = xmlDocCopyNode(src_node, doc, 1);
child             649 lib/common/xml.c     xmlAddChild(parent, child);
child             650 lib/common/xml.c     pcmk__mark_xml_created(child);
child             651 lib/common/xml.c     return child;
child             655 lib/common/xml.c add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child)
child             657 lib/common/xml.c     add_node_copy(parent, child);
child             658 lib/common/xml.c     free_xml(child);
child             729 lib/common/xml.c free_xml_with_position(xmlNode * child, int position)
child             731 lib/common/xml.c     if (child != NULL) {
child             733 lib/common/xml.c         xmlDoc *doc = child->doc;
child             734 lib/common/xml.c         xml_private_t *p = child->_private;
child             740 lib/common/xml.c         if (doc != NULL && top == child) {
child             744 lib/common/xml.c         } else if (pcmk__check_acl(child, NULL, xpf_acl_write) == FALSE) {
child             748 lib/common/xml.c             pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer));
child             753 lib/common/xml.c             if (doc && pcmk__tracking_xml_changes(child, FALSE)
child             758 lib/common/xml.c                 if (pcmk__element_xpath(NULL, child, buffer, offset,
child             762 lib/common/xml.c                     crm_trace("Deleting %s %p from %p", buffer, child, doc);
child             769 lib/common/xml.c                     if (child->type == XML_COMMENT_NODE) {
child             774 lib/common/xml.c                             deleted_obj->position = pcmk__xml_position(child, xpf_skip);
child             780 lib/common/xml.c                     pcmk__set_xml_doc_flag(child, xpf_dirty);
child             783 lib/common/xml.c             pcmk_free_xml_subtree(child);
child             790 lib/common/xml.c free_xml(xmlNode * child)
child             792 lib/common/xml.c     free_xml_with_position(child, -1);
child            1431 lib/common/xml.c     xmlNode *child = NULL;
child            1502 lib/common/xml.c         for (child = pcmk__xml_first_child(data); child != NULL;
child            1503 lib/common/xml.c              child = pcmk__xml_next(child)) {
child            1504 lib/common/xml.c             pcmk__xe_log(log_level, file, function, line, prefix, child,
child            1528 lib/common/xml.c     xmlNode *child = NULL;
child            1602 lib/common/xml.c         for (child = pcmk__xml_first_child(data); child != NULL;
child            1603 lib/common/xml.c              child = pcmk__xml_next(child)) {
child            1604 lib/common/xml.c             log_xml_changes(log_level, file, function, line, prefix, child,
child            1612 lib/common/xml.c         for (child = pcmk__xml_first_child(data); child != NULL;
child            1613 lib/common/xml.c              child = pcmk__xml_next(child)) {
child            1614 lib/common/xml.c             log_xml_changes(log_level, file, function, line, prefix, child,
child            2394 lib/common/xml.c         xmlNode *child = cIter;
child            2397 lib/common/xml.c         if (can_prune_leaf(child)) {
child            2398 lib/common/xml.c             free_xml(child);
child            2595 lib/common/xml.c update_xml_child(xmlNode * child, xmlNode * to_update)
child            2600 lib/common/xml.c     CRM_CHECK(child != NULL, return FALSE);
child            2603 lib/common/xml.c     if (!pcmk__str_eq(crm_element_name(to_update), crm_element_name(child), pcmk__str_casei)) {
child            2606 lib/common/xml.c     } else if (!pcmk__str_eq(ID(to_update), ID(child), pcmk__str_casei)) {
child            2611 lib/common/xml.c         crm_log_xml_trace(child, "Update match found...");
child            2613 lib/common/xml.c         pcmk__xml_update(NULL, child, to_update, false);
child            2616 lib/common/xml.c     for (child_of_child = pcmk__xml_first_child(child); child_of_child != NULL;
child            2650 lib/common/xml.c         xmlNode *child = NULL;
child            2652 lib/common/xml.c         for (child = pcmk__xml_first_child(root); child != NULL;
child            2653 lib/common/xml.c              child = pcmk__xml_next(child)) {
child            2654 lib/common/xml.c             match_found += find_xml_children(children, child, tag, field, value, search_matches);
child            2662 lib/common/xml.c replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update, gboolean delete_only)
child            2671 lib/common/xml.c     CRM_CHECK(child != NULL, return FALSE);
child            2675 lib/common/xml.c     child_id = ID(child);
child            2680 lib/common/xml.c     if (!pcmk__str_eq(crm_element_name(update), crm_element_name(child), pcmk__str_casei)) {
child            2690 lib/common/xml.c             right_val = crm_element_value(child, p_name);
child            2698 lib/common/xml.c         crm_log_xml_trace(child, "Delete match found...");
child            2700 lib/common/xml.c             free_xml(child);
child            2708 lib/common/xml.c             old = xmlReplaceNode(child, tmp);
child            2719 lib/common/xml.c         child = NULL;
child            2723 lib/common/xml.c         crm_log_xml_debug(child, "Cannot delete the search root");
child            2727 lib/common/xml.c     child_of_child = pcmk__xml_first_child(child);
child            2731 lib/common/xml.c         can_delete = replace_xml_child(child, child_of_child, update, delete_only);
child            2747 lib/common/xml.c     xmlNode *child = NULL;
child            2763 lib/common/xml.c     for (child = pcmk__xml_first_child(input); child != NULL;
child            2764 lib/common/xml.c          child = pcmk__xml_next(child)) {
child            2767 lib/common/xml.c             sorted_xml(child, result, recursive);
child            2769 lib/common/xml.c             add_node_copy(result, child);
child             511 lib/pacemaker/pcmk_sched_allocate.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             513 lib/pacemaker/pcmk_sched_allocate.c             result = find_rsc_list(result, child, id, renamed_clones, partial,
child             543 lib/pacemaker/pcmk_sched_allocate.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             545 lib/pacemaker/pcmk_sched_allocate.c             result = find_rsc_list(result, child, id, renamed_clones, partial, NULL);
child            2634 lib/pacemaker/pcmk_sched_allocate.c         pe_resource_t * child = (pe_resource_t *) gIter->data;
child            2636 lib/pacemaker/pcmk_sched_allocate.c         order_first_rsc_probes(child, data_set);
child             157 lib/pacemaker/pcmk_sched_bundle.c         if (replica->child) {
child             161 lib/pacemaker/pcmk_sched_bundle.c             g_hash_table_iter_init(&iter, replica->child->allowed_nodes);
child             165 lib/pacemaker/pcmk_sched_bundle.c                 } else if (!migration_threshold_reached(replica->child, node,
child             171 lib/pacemaker/pcmk_sched_bundle.c             pe__set_resource_flags(replica->child->parent, pe_rsc_allocating);
child             173 lib/pacemaker/pcmk_sched_bundle.c                          rsc->id, replica->child->id);
child             174 lib/pacemaker/pcmk_sched_bundle.c             replica->child->cmds->allocate(replica->child, replica->node,
child             176 lib/pacemaker/pcmk_sched_bundle.c             pe__clear_resource_flags(replica->child->parent,
child             181 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child) {
child             184 lib/pacemaker/pcmk_sched_bundle.c         g_hash_table_iter_init(&iter, bundle_data->child->allowed_nodes);
child             193 lib/pacemaker/pcmk_sched_bundle.c                      rsc->id, bundle_data->child->id);
child             194 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->cmds->allocate(bundle_data->child, prefer, data_set);
child             232 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child) {
child             233 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->cmds->create_actions(bundle_data->child, data_set);
child             235 lib/pacemaker/pcmk_sched_bundle.c         if (pcmk_is_set(bundle_data->child->flags, pe_rsc_promotable)) {
child             261 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child) {
child             262 lib/pacemaker/pcmk_sched_bundle.c         new_rsc_order(rsc, RSC_START, bundle_data->child, RSC_START,
child             264 lib/pacemaker/pcmk_sched_bundle.c         new_rsc_order(rsc, RSC_STOP, bundle_data->child, RSC_STOP,
child             267 lib/pacemaker/pcmk_sched_bundle.c         if (bundle_data->child->children) {
child             268 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_STARTED, rsc, RSC_STARTED,
child             270 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_STOPPED, rsc, RSC_STOPPED,
child             273 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_START, rsc, RSC_STARTED,
child             275 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_STOP, rsc, RSC_STOPPED,
child             293 lib/pacemaker/pcmk_sched_bundle.c         if (replica->child) {
child             294 lib/pacemaker/pcmk_sched_bundle.c             order_stop_stop(rsc, replica->child,
child             327 lib/pacemaker/pcmk_sched_bundle.c         if (replica->child) {
child             335 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child) {
child             336 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->cmds->internal_constraints(bundle_data->child, data_set);
child             337 lib/pacemaker/pcmk_sched_bundle.c         if (pcmk_is_set(bundle_data->child->flags, pe_rsc_promotable)) {
child             341 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_DEMOTED, rsc, RSC_DEMOTED,
child             345 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(rsc, RSC_DEMOTE, bundle_data->child, RSC_DEMOTE,
child             349 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(bundle_data->child, RSC_PROMOTED, rsc, RSC_PROMOTED,
child             353 lib/pacemaker/pcmk_sched_bundle.c             new_rsc_order(rsc, RSC_PROMOTE, bundle_data->child, RSC_PROMOTE,
child             533 lib/pacemaker/pcmk_sched_bundle.c                 && (replica->child == NULL)) {
child             537 lib/pacemaker/pcmk_sched_bundle.c                 && (replica->child->next_role < RSC_ROLE_MASTER)) {
child             560 lib/pacemaker/pcmk_sched_bundle.c     if(data->child) {
child             561 lib/pacemaker/pcmk_sched_bundle.c         enum action_tasks task = get_complex_task(data->child, action->task, TRUE);
child             570 lib/pacemaker/pcmk_sched_bundle.c                 return summary_action_flags(action, data->child->children, node);
child             627 lib/pacemaker/pcmk_sched_bundle.c             if (replica->child
child             693 lib/pacemaker/pcmk_sched_bundle.c             if (strstr(first->task, "stop") && first_replica && first_replica->child) {
child             699 lib/pacemaker/pcmk_sched_bundle.c                 first_action = find_first_action(first_replica->child->actions,
child             707 lib/pacemaker/pcmk_sched_bundle.c                 && then_replica && then_replica->child) {
child             715 lib/pacemaker/pcmk_sched_bundle.c                 then_action = find_first_action(then_replica->child->actions,
child             886 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child
child             889 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->cmds->rsc_location(bundle_data->child, constraint);
child             890 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->rsc_location = g_list_prepend(bundle_data->child->rsc_location,
child             904 lib/pacemaker/pcmk_sched_bundle.c     if (bundle_data->child) {
child             905 lib/pacemaker/pcmk_sched_bundle.c         bundle_data->child->cmds->expand(bundle_data->child, data_set);
child             979 lib/pacemaker/pcmk_sched_bundle.c         if (replica->child && (node->details == replica->node->details)) {
child             980 lib/pacemaker/pcmk_sched_bundle.c             any_created |= replica->child->cmds->create_probe(replica->child,
child            1080 lib/pacemaker/pcmk_sched_bundle.c         if (replica->child) {
child            1081 lib/pacemaker/pcmk_sched_bundle.c             LogActions(replica->child, data_set, terminal);
child              19 lib/pacemaker/pcmk_sched_clone.c static void append_parent_colocation(pe_resource_t * rsc, pe_resource_t * child, gboolean all);
child             495 lib/pacemaker/pcmk_sched_clone.c append_parent_colocation(pe_resource_t * rsc, pe_resource_t * child, gboolean all)
child             508 lib/pacemaker/pcmk_sched_clone.c             child->rsc_cons = g_list_prepend(child->rsc_cons, cons);
child             520 lib/pacemaker/pcmk_sched_clone.c             child->rsc_cons_lhs = g_list_prepend(child->rsc_cons_lhs, cons);
child             560 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             562 lib/pacemaker/pcmk_sched_clone.c         if (child->running_on && pcmk_is_set(child->flags, pe_rsc_provisional)
child             563 lib/pacemaker/pcmk_sched_clone.c             && !pcmk_is_set(child->flags, pe_rsc_failed)) {
child             564 lib/pacemaker/pcmk_sched_clone.c             pe_node_t *child_node = pe__current_node(child);
child             565 lib/pacemaker/pcmk_sched_clone.c             pe_node_t *local_node = parent_node_instance(child, child_node);
child             568 lib/pacemaker/pcmk_sched_clone.c                          child->id, child_node->details->uname, max - allocated, max);
child             572 lib/pacemaker/pcmk_sched_clone.c                              child_node->details->uname, child->id);
child             579 lib/pacemaker/pcmk_sched_clone.c             } else if (allocate_instance(child, child_node,
child             582 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(rsc, "Pre-allocated %s to %s", child->id,
child             592 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             594 lib/pacemaker/pcmk_sched_clone.c         if (child->running_on != NULL) {
child             595 lib/pacemaker/pcmk_sched_clone.c             pe_node_t *child_node = pe__current_node(child);
child             596 lib/pacemaker/pcmk_sched_clone.c             pe_node_t *local_node = parent_node_instance(child, child_node);
child             600 lib/pacemaker/pcmk_sched_clone.c                         child->id, child_node->details->uname);
child             604 lib/pacemaker/pcmk_sched_clone.c         if (!pcmk_is_set(child->flags, pe_rsc_provisional)) {
child             606 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_debug(rsc, "Child %s not allocated - limit reached %d %d", child->id, allocated, max);
child             607 lib/pacemaker/pcmk_sched_clone.c             resource_location(child, NULL, -INFINITY, "clone:limit_reached", data_set);
child             609 lib/pacemaker/pcmk_sched_clone.c             if (allocate_instance(child, NULL, max < available_nodes,
child             698 lib/pacemaker/pcmk_sched_clone.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             700 lib/pacemaker/pcmk_sched_clone.c             clone_update_pseudo_status(child, stopping, starting, active);
child             821 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             823 lib/pacemaker/pcmk_sched_clone.c         stop = find_rsc_action(child, RSC_STOP, active_only, NULL);
child             832 lib/pacemaker/pcmk_sched_clone.c         start = find_rsc_action(child, RSC_START, active_only, NULL);
child            1171 lib/pacemaker/pcmk_sched_clone.c     pe_resource_t *child = (pe_resource_t *) action->rsc->children->data;
child            1193 lib/pacemaker/pcmk_sched_clone.c                 result = get_complex_task(child, task_mutable, TRUE);
child            1200 lib/pacemaker/pcmk_sched_clone.c         result = get_complex_task(child, action->task, TRUE);
child            1223 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child            1225 lib/pacemaker/pcmk_sched_clone.c         child_action = find_first_action(child->actions, NULL, task_s, child->children ? NULL : node);
child            1226 lib/pacemaker/pcmk_sched_clone.c         pe_rsc_trace(action->rsc, "Checking for %s in %s on %s (%s)", task_s, child->id,
child            1229 lib/pacemaker/pcmk_sched_clone.c             enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node);
child            1233 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(child, "%s is mandatory because of %s", action->uuid,
child            1346 lib/pacemaker/pcmk_sched_clone.c             pe_resource_t *child = (pe_resource_t *) child_iter->data;
child            1348 lib/pacemaker/pcmk_sched_clone.c             if (rsc_known_on(child, node)) {
child            1372 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child            1374 lib/pacemaker/pcmk_sched_clone.c         if (rsc_known_on(child, node)) {
child            1375 lib/pacemaker/pcmk_sched_clone.c             return child;
child            1391 lib/pacemaker/pcmk_sched_clone.c         pe_resource_t *child = (pe_resource_t *) child_iter->data;
child            1393 lib/pacemaker/pcmk_sched_clone.c         any_created |= child->cmds->create_probe(child, node, complete, force,
child            1406 lib/pacemaker/pcmk_sched_clone.c     pe_resource_t *child = find_instance_on(rsc, node);
child            1409 lib/pacemaker/pcmk_sched_clone.c     if (child == NULL) {
child            1410 lib/pacemaker/pcmk_sched_clone.c         for (GList *child_iter = rsc->children; child_iter && !child;
child            1419 lib/pacemaker/pcmk_sched_clone.c                     child = child_rsc;
child            1426 lib/pacemaker/pcmk_sched_clone.c     if (child == NULL) {
child            1427 lib/pacemaker/pcmk_sched_clone.c         child = rsc->children->data;
child            1429 lib/pacemaker/pcmk_sched_clone.c     CRM_ASSERT(child);
child            1430 lib/pacemaker/pcmk_sched_clone.c     return child->cmds->create_probe(child, node, complete, force, data_set);
child             465 lib/pacemaker/pcmk_sched_constraints.c             pe_resource_t *child = rIter->data;
child             467 lib/pacemaker/pcmk_sched_constraints.c             custom_action_order(child, pcmk__op_key(child->id, action_first, 0),
child             505 lib/pacemaker/pcmk_sched_graph.c         pe_resource_t *child = (pe_resource_t *)gIter->data;
child             506 lib/pacemaker/pcmk_sched_graph.c         pe_action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL);
child              78 lib/pacemaker/pcmk_sched_group.c void group_update_pseudo_status(pe_resource_t * parent, pe_resource_t * child);
child             127 lib/pacemaker/pcmk_sched_group.c group_update_pseudo_status(pe_resource_t * parent, pe_resource_t * child)
child             129 lib/pacemaker/pcmk_sched_group.c     GListPtr gIter = child->actions;
child             387 lib/pacemaker/pcmk_sched_group.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             388 lib/pacemaker/pcmk_sched_group.c         enum action_tasks task = get_complex_task(child, action->task, TRUE);
child             390 lib/pacemaker/pcmk_sched_group.c         pe_action_t *child_action = find_first_action(child->actions, NULL, task_s, node);
child             393 lib/pacemaker/pcmk_sched_group.c             enum pe_action_flags child_flags = child->cmds->action_flags(child_action, node);
child             416 lib/pacemaker/pcmk_sched_group.c                          action->uuid, task_s, child->id);
child             438 lib/pacemaker/pcmk_sched_group.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             439 lib/pacemaker/pcmk_sched_group.c         pe_action_t *child_action = find_first_action(child->actions, NULL, then->task, node);
child             442 lib/pacemaker/pcmk_sched_group.c             changed |= child->cmds->update_actions(first, child_action, node,
child             419 lib/pacemaker/pcmk_sched_notif.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             421 lib/pacemaker/pcmk_sched_notif.c             collect_notification_data(child, state, activity, n_data);
child             653 lib/pacemaker/pcmk_sched_notif.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             655 lib/pacemaker/pcmk_sched_notif.c             create_notifications(child, n_data, data_set);
child              22 lib/pacemaker/pcmk_sched_promotable.c                             pe_resource_t * rsc, pe_resource_t * child, pe_resource_t * last,
child              25 lib/pacemaker/pcmk_sched_promotable.c     if (child == NULL) {
child              35 lib/pacemaker/pcmk_sched_promotable.c     new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set);
child              38 lib/pacemaker/pcmk_sched_promotable.c     new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set);
child              48 lib/pacemaker/pcmk_sched_promotable.c         order_start_start(last, child, type);
child              49 lib/pacemaker/pcmk_sched_promotable.c         new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set);
child              58 lib/pacemaker/pcmk_sched_promotable.c                            pe_resource_t * rsc, pe_resource_t * child, pe_resource_t * last,
child              61 lib/pacemaker/pcmk_sched_promotable.c     if (child == NULL) {
child              71 lib/pacemaker/pcmk_sched_promotable.c     new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_implies_then_printed, data_set);
child              74 lib/pacemaker/pcmk_sched_promotable.c     new_rsc_order(rsc, RSC_DEMOTE, child, RSC_DEMOTE, pe_order_implies_first_printed, data_set);
child              80 lib/pacemaker/pcmk_sched_promotable.c         new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set);
child              85 lib/pacemaker/pcmk_sched_promotable.c         new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set);
child             101 lib/pacemaker/pcmk_sched_promotable.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             103 lib/pacemaker/pcmk_sched_promotable.c             check_promotable_actions(child, demoting, promoting);
child             130 lib/pacemaker/pcmk_sched_promotable.c static void apply_master_location(pe_resource_t *child, GListPtr location_constraints, pe_node_t *chosen)
child             132 lib/pacemaker/pcmk_sched_promotable.c     CRM_CHECK(child && chosen, return);
child             138 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(child, "Applying %s to %s", cons->id, child->id);
child             142 lib/pacemaker/pcmk_sched_promotable.c             int new_priority = pe__add_scores(child->priority,
child             145 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(child, "\t%s[%s]: %d -> %d (%d)",
child             146 lib/pacemaker/pcmk_sched_promotable.c                          child->id, cons_node->details->uname, child->priority,
child             148 lib/pacemaker/pcmk_sched_promotable.c             child->priority = new_priority;
child             180 lib/pacemaker/pcmk_sched_promotable.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             182 lib/pacemaker/pcmk_sched_promotable.c             if (can_be_master(child) == NULL) {
child             183 lib/pacemaker/pcmk_sched_promotable.c                 pe_rsc_trace(rsc, "Child %s of %s can't be promoted", child->id, rsc->id);
child             293 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             295 lib/pacemaker/pcmk_sched_promotable.c         pe_rsc_trace(rsc, "Sort index: %s = %d", child->id, child->sort_index);
child             301 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             303 lib/pacemaker/pcmk_sched_promotable.c         chosen = child->fns->location(child, NULL, FALSE);
child             304 lib/pacemaker/pcmk_sched_promotable.c         if (chosen == NULL || child->sort_index < 0) {
child             305 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(rsc, "Skipping %s", child->id);
child             312 lib/pacemaker/pcmk_sched_promotable.c         score2char_stack(child->sort_index, score, len);
child             314 lib/pacemaker/pcmk_sched_promotable.c                      node->details->uname, child->id);
child             315 lib/pacemaker/pcmk_sched_promotable.c         node->weight = pe__add_scores(child->sort_index, node->weight);
child             384 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             386 lib/pacemaker/pcmk_sched_promotable.c         chosen = child->fns->location(child, NULL, FALSE);
child             387 lib/pacemaker/pcmk_sched_promotable.c         if (!pcmk_is_set(child->flags, pe_rsc_managed)
child             388 lib/pacemaker/pcmk_sched_promotable.c             && (child->next_role == RSC_ROLE_MASTER)) {
child             389 lib/pacemaker/pcmk_sched_promotable.c             child->sort_index = INFINITY;
child             391 lib/pacemaker/pcmk_sched_promotable.c         } else if (chosen == NULL || child->sort_index < 0) {
child             392 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(rsc, "%s: %d", child->id, child->sort_index);
child             398 lib/pacemaker/pcmk_sched_promotable.c             child->sort_index = node->weight;
child             400 lib/pacemaker/pcmk_sched_promotable.c         pe_rsc_trace(rsc, "Set sort index: %s = %d", child->id, child->sort_index);
child             419 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *child = rIter->data;
child             420 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current);
child             436 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *child = rIter->data;
child             446 lib/pacemaker/pcmk_sched_promotable.c         rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone);
child             488 lib/pacemaker/pcmk_sched_promotable.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             489 lib/pacemaker/pcmk_sched_promotable.c             int c_score = promotion_score(child, node, not_set_value);
child             201 lib/pacemaker/pcmk_sched_utilization.c             pe_resource_t *child = (pe_resource_t *) gIter1->data;
child             204 lib/pacemaker/pcmk_sched_utilization.c             if (g_list_find(all_rscs, child)) {
child             209 lib/pacemaker/pcmk_sched_utilization.c                 gIter2 = child->children;
child             215 lib/pacemaker/pcmk_sched_utilization.c                                      orig_rsc->id, child->id);
child             216 lib/pacemaker/pcmk_sched_utilization.c                         add_unallocated_utilization(all_utilization, child, all_rscs, orig_rsc);
child             280 lib/pengine/bundle.c         if (replica->child) {
child             448 lib/pengine/bundle.c         if (replica->child) {
child             619 lib/pengine/bundle.c         if (replica->child) {
child             692 lib/pengine/bundle.c         GListPtr child;
child             694 lib/pengine/bundle.c         for (child = rsc->children; child != NULL; child = child->next) {
child             695 lib/pengine/bundle.c             disallow_node((pe_resource_t *) (child->data), uname);
child             705 lib/pengine/bundle.c     if (replica->child && valid_network(data)) {
child             719 lib/pengine/bundle.c                                    replica->child->id, replica->offset);
child             792 lib/pengine/bundle.c         if (replica->child->allowed_nodes != NULL) {
child             793 lib/pengine/bundle.c             g_hash_table_destroy(replica->child->allowed_nodes);
child             795 lib/pengine/bundle.c         replica->child->allowed_nodes = g_hash_table_new_full(crm_str_hash,
child             798 lib/pengine/bundle.c         g_hash_table_insert(replica->child->allowed_nodes,
child             805 lib/pengine/bundle.c             g_hash_table_insert(replica->child->parent->allowed_nodes,
child             878 lib/pengine/bundle.c     if (replica->child && replica->ipaddr) {
child             879 lib/pengine/bundle.c         add_hash_param(replica->child->meta, "external-ip", replica->ipaddr);
child            1240 lib/pengine/bundle.c         bundle_data->child = new_rsc;
child            1289 lib/pengine/bundle.c         for (childIter = bundle_data->child->children; childIter != NULL;
child            1294 lib/pengine/bundle.c             replica->child = childIter->data;
child            1295 lib/pengine/bundle.c             replica->child->exclusive_discover = TRUE;
child            1299 lib/pengine/bundle.c             if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) {
child            1300 lib/pengine/bundle.c                 pe__set_resource_flags(bundle_data->child, pe_rsc_notify);
child            1307 lib/pengine/bundle.c             bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta,
child            1314 lib/pengine/bundle.c             g_hash_table_replace(bundle_data->child->meta,
child            1347 lib/pengine/bundle.c     if (bundle_data->child) {
child            1348 lib/pengine/bundle.c         rsc->children = g_list_append(rsc->children, bundle_data->child);
child            1384 lib/pengine/bundle.c         rsc_active = replica_resource_active(replica->child, all);
child            1429 lib/pengine/bundle.c             return replica->child;
child            1494 lib/pengine/bundle.c         print_rsc_in_list(replica->child, child_text, options, print_data);
child            1541 lib/pengine/bundle.c         print_child = replica->child != NULL &&
child            1542 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
child            1574 lib/pengine/bundle.c             out->message(out, crm_map_element_name(replica->child->xml), options,
child            1575 lib/pengine/bundle.c                          replica->child, only_node, only_rsc);
child            1602 lib/pengine/bundle.c     pe_resource_t *rsc = replica->child;
child            1663 lib/pengine/bundle.c         print_child = replica->child != NULL &&
child            1664 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
child            1705 lib/pengine/bundle.c                 out->message(out, crm_map_element_name(replica->child->xml),
child            1706 lib/pengine/bundle.c                              new_options, replica->child, only_node, only_rsc);
child            1744 lib/pengine/bundle.c     pe_resource_t *rsc = replica->child;
child            1804 lib/pengine/bundle.c         print_child = replica->child != NULL &&
child            1805 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
child            1838 lib/pengine/bundle.c                 out->message(out, crm_map_element_name(replica->child->xml),
child            1839 lib/pengine/bundle.c                              new_options, replica->child, only_node, only_rsc);
child            1876 lib/pengine/bundle.c     pe_resource_t *rsc = replica->child;
child            1950 lib/pengine/bundle.c             print_rsc_in_list(replica->child, child_text, options, print_data);
child            2029 lib/pengine/bundle.c     if(bundle_data->child) {
child            2030 lib/pengine/bundle.c         free_xml(bundle_data->child->xml);
child            2031 lib/pengine/bundle.c         bundle_data->child->xml = NULL;
child            2032 lib/pengine/bundle.c         bundle_data->child->fns->free(bundle_data->child);
child            2076 lib/pengine/bundle.c         if (replica->child) {
child            2077 lib/pengine/bundle.c             replica->child->fns->count(replica->child);
child            2105 lib/pengine/bundle.c             } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) {
child              45 lib/pengine/clone.c     pe_resource_t *child = NULL;
child              53 lib/pengine/clone.c     child = pe_find_resource(rsc->children, child_id);
child              56 lib/pengine/clone.c     return child;
child             782 lib/pengine/complex.c is_parent(pe_resource_t *child, pe_resource_t *rsc)
child             784 lib/pengine/complex.c     pe_resource_t *parent = child;
child             158 lib/pengine/native.c                         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             160 lib/pengine/native.c                         pe__clear_resource_flags(child, pe_rsc_managed);
child             161 lib/pengine/native.c                         pe__set_resource_flags(child, pe_rsc_block);
child             185 lib/pengine/native.c     for (GList *child = rsc->children; child != NULL; child = child->next) {
child             186 lib/pengine/native.c         recursive_clear_unique((pe_resource_t *) child->data);
child             305 lib/pengine/native.c         pe_resource_t *child = (pe_resource_t *) gIter->data;
child             307 lib/pengine/native.c         result = rsc->fns->find_rsc(child, id, on_node, flags);
child            1216 lib/pengine/native.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child            1218 lib/pengine/native.c             child->fns->location(child, &result, current);
child              66 lib/pengine/rules_alerts.c     xmlNode *child;
child              72 lib/pengine/rules_alerts.c     child = first_named_child(basenode, XML_TAG_ATTR_SETS);
child              73 lib/pengine/rules_alerts.c     if (child == NULL) {
child              81 lib/pengine/rules_alerts.c     for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL;
child              82 lib/pengine/rules_alerts.c          child = crm_next_same_xml(child)) {
child              84 lib/pengine/rules_alerts.c         const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME);
child              85 lib/pengine/rules_alerts.c         const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE);
child            1702 lib/pengine/unpack.c         pe_resource_t *child = rIter->data;
child            1719 lib/pengine/unpack.c         child->fns->location(child, &locations, 2);
child            1735 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone);
child            1758 lib/pengine/unpack.c             pe_rsc_trace(parent, "Resource %s, skip inactive", child->id);
child            1760 lib/pengine/unpack.c                 && !pcmk_is_set(child->flags, pe_rsc_block)) {
child            1762 lib/pengine/unpack.c                 inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL,
child             330 lib/pengine/utils.c             pe_resource_t *child = (pe_resource_t *) gIter->data;
child             332 lib/pengine/utils.c             pe__show_node_weights_as(file, function, line, to_log, child,
child             894 lib/pengine/utils.c     xmlNode *child = NULL;
child             908 lib/pengine/utils.c     for (child = first_named_child(rsc->ops_xml, XML_ATTR_OP);
child             909 lib/pengine/utils.c          child != NULL; child = crm_next_same_xml(child)) {
child             910 lib/pengine/utils.c         if (pcmk__str_eq(action, crm_element_value(child, XML_NVPAIR_ATTR_NAME),
child             912 lib/pengine/utils.c             timeout_spec = crm_element_value(child, XML_ATTR_TIMEOUT);
child              49 lib/pengine/variant.h     pe_resource_t *child;
child             103 lib/pengine/variant.h         pe_resource_t *child;
child             380 tools/attrd_updater.c     xmlNode *child;
child             385 tools/attrd_updater.c     for (child = pcmk__xml_first_child(reply); child != NULL;
child             386 tools/attrd_updater.c          child = pcmk__xml_next(child)) {
child             388 tools/attrd_updater.c         if (!pcmk__str_eq((const char *)child->name, XML_CIB_TAG_NODE,
child             390 tools/attrd_updater.c             crm_warn("Ignoring unexpected %s tag in query reply", child->name);
child             392 tools/attrd_updater.c             reply_host = crm_element_value(child, PCMK__XA_ATTR_NODE_NAME);
child             393 tools/attrd_updater.c             reply_value = crm_element_value(child, PCMK__XA_ATTR_VALUE);
child             366 tools/cibadmin.c             xmlNode *child = NULL;
child             368 tools/cibadmin.c             for (child = xml->children; child; child = child->next) {
child             369 tools/cibadmin.c                 print_xml_output(child);
child             925 tools/crm_resource.c             pe_resource_t *child = (pe_resource_t *)iter->data;
child             926 tools/crm_resource.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
child             930 tools/crm_resource.c                 current = pe__current_node(child);
child              79 tools/crm_resource_print.c         pe_resource_t *child = (pe_resource_t *) lpc->data;
child              81 tools/crm_resource_print.c         cli_resource_print_cts(child);
child              97 tools/crm_resource_print.c         pe_resource_t *child = (pe_resource_t *) lpc->data;
child              99 tools/crm_resource_print.c         cli_resource_print_raw(child);
child             132 tools/crm_resource_runtime.c         xmlNode *child = NULL;
child             137 tools/crm_resource_runtime.c         for (child = pcmk__xml_first_child(xml_search); child != NULL;
child             138 tools/crm_resource_runtime.c              child = pcmk__xml_next(child)) {
child             140 tools/crm_resource_runtime.c                    crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child));
child             221 tools/crm_resource_runtime.c         pe_resource_t *child = rsc->children->data;
child             223 tools/crm_resource_runtime.c         if(child->variant == pe_native) {
child             224 tools/crm_resource_runtime.c             lookup_id = clone_strip(child->id); /* Could be a cloned group! */
child             228 tools/crm_resource_runtime.c                 rsc = child;
child             715 tools/crm_resource_runtime.c             pe_resource_t *child = (pe_resource_t *) lpc->data;
child             717 tools/crm_resource_runtime.c             rc = cli_resource_delete(controld_api, host_uname, child, operation,
child            1200 tools/crm_resource_runtime.c             pe_resource_t *child = (pe_resource_t *)iter->data;
child            1202 tools/crm_resource_runtime.c             delay = max_delay_for_resource(data_set, child);
child            1205 tools/crm_resource_runtime.c                 crm_trace("Calculated new delay of %.1fs due to %s", seconds, child->id);
child            1927 tools/crm_resource_runtime.c             pe_resource_t *child = (pe_resource_t *)iter->data;
child            1928 tools/crm_resource_runtime.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
child            1931 tools/crm_resource_runtime.c                 rsc = child;
child            1932 tools/crm_resource_runtime.c                 master_node = pe__current_node(child);