child 324 daemons/attrd/attrd_cib.c xmlNode *child = update; child 327 daemons/attrd/attrd_cib.c if (child == NULL) { child 330 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_ATTR_ID, node_id); child 332 daemons/attrd/attrd_cib.c child = create_xml_node(child, XML_TAG_TRANSIENT_NODEATTRS); child 333 daemons/attrd/attrd_cib.c if (child == NULL) { child 336 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_ATTR_ID, node_id); child 338 daemons/attrd/attrd_cib.c child = create_xml_node(child, attr->set_type); child 339 daemons/attrd/attrd_cib.c if (child == NULL) { child 342 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_ATTR_ID, set_id); child 344 daemons/attrd/attrd_cib.c child = create_xml_node(child, XML_CIB_TAG_NVPAIR); child 345 daemons/attrd/attrd_cib.c if (child == NULL) { child 348 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_ATTR_ID, attr_id); child 349 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_NVPAIR_ATTR_NAME, attr->id); child 350 daemons/attrd/attrd_cib.c crm_xml_add(child, XML_NVPAIR_ATTR_VALUE, value); child 513 daemons/attrd/attrd_corosync.c for (xmlNode *child = pcmk__xml_first_child(xml); child != NULL; child 514 daemons/attrd/attrd_corosync.c child = pcmk__xml_next(child)) { child 515 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, child, child 516 daemons/attrd/attrd_corosync.c crm_element_value(child, PCMK__XA_ATTR_NODE_NAME), child 592 daemons/attrd/attrd_corosync.c for (xmlNode *child = first_named_child(xml, XML_ATTR_OP); child != NULL; child 593 daemons/attrd/attrd_corosync.c child = crm_next_same_xml(child)) { child 594 daemons/attrd/attrd_corosync.c attrd_copy_xml_attributes(xml, child); child 595 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, child, filter); child 597 daemons/attrd/attrd_corosync.c if (attrd_request_has_sync_point(child)) { child 273 daemons/attrd/attrd_ipc.c xmlNode *child = create_xml_node(xml, XML_ATTR_OP); child 281 daemons/attrd/attrd_ipc.c attrd_copy_xml_attributes(xml, child); child 282 daemons/attrd/attrd_ipc.c xml_remove_prop(child, PCMK__XA_ATTR_PATTERN); child 283 daemons/attrd/attrd_ipc.c crm_xml_add(child, PCMK__XA_ATTR_NAME, attr); child 386 daemons/attrd/attrd_ipc.c send_child_update(xmlNode *child, void *data) child 393 daemons/attrd/attrd_ipc.c request->xml = child; child 419 daemons/attrd/attrd_ipc.c for (xmlNode *child = first_named_child(xml, XML_ATTR_OP); child != NULL; child 420 daemons/attrd/attrd_ipc.c child = crm_next_same_xml(child)) { child 421 daemons/attrd/attrd_ipc.c attr = crm_element_value(child, PCMK__XA_ATTR_NAME); child 422 daemons/attrd/attrd_ipc.c value = crm_element_value(child, PCMK__XA_ATTR_VALUE); child 424 daemons/attrd/attrd_ipc.c handle_missing_host(child); child 426 daemons/attrd/attrd_ipc.c if (handle_value_expansion(&value, child, request->op, attr) == EINVAL) { child 319 daemons/attrd/attrd_sync.c xmlNode *child = pcmk__xe_match(xml, XML_ATTR_OP, PCMK__XA_ATTR_SYNC_POINT, NULL); child 321 daemons/attrd/attrd_sync.c if (child) { child 322 daemons/attrd/attrd_sync.c return crm_element_value(child, PCMK__XA_ATTR_SYNC_POINT); child 2379 daemons/fenced/fenced_commands.c xmlNode *child = create_xml_node(xml, F_STONITH_ACTION); child 2381 daemons/fenced/fenced_commands.c crm_xml_add(child, XML_ATTR_ID, action); child 2382 daemons/fenced/fenced_commands.c add_action_specific_attributes(child, action, device, target); child 2383 daemons/fenced/fenced_commands.c add_disallowed(child, action, device, target, allow_suicide); child 2137 daemons/fenced/fenced_remote.c xmlNode *child; child 2160 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; child 2161 daemons/fenced/fenced_remote.c child = pcmk__xml_next(child)) { child 2166 daemons/fenced/fenced_remote.c if (pcmk__str_eq(ID(child), PCMK_ACTION_OFF, pcmk__str_none)) { child 2167 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_OFF, child 2169 daemons/fenced/fenced_remote.c } else if (pcmk__str_eq(ID(child), PCMK_ACTION_ON, pcmk__str_none)) { child 2170 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_ON, child 2192 daemons/fenced/fenced_remote.c xmlNode *child; child 2201 daemons/fenced/fenced_remote.c for (child = pcmk__xml_first_child(xml); child != NULL; child 2202 daemons/fenced/fenced_remote.c child = pcmk__xml_next(child)) { child 2203 daemons/fenced/fenced_remote.c const char *device = ID(child); child 2206 daemons/fenced/fenced_remote.c add_device_properties(child, op, peer, device); child 113 daemons/pacemakerd/pcmkd_subdaemons.c static int child_liveness(pcmk_child_t *child); child 115 daemons/pacemakerd/pcmkd_subdaemons.c static int start_child(pcmk_child_t * child); child 117 daemons/pacemakerd/pcmkd_subdaemons.c static void pcmk_process_exit(pcmk_child_t * child); child 119 daemons/pacemakerd/pcmkd_subdaemons.c static gboolean stop_child(pcmk_child_t * child, int signal); child 232 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_t *child = data; child 234 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { child 235 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_process_exit(child); child 237 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child->pid != 0) { child 239 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); child 240 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(child, SIGSEGV); child 248 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_t *child = mainloop_child_userdata(p); child 267 daemons/pacemakerd/pcmkd_subdaemons.c child->respawn = false; child 274 daemons/pacemakerd/pcmkd_subdaemons.c child->respawn = false; child 287 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_process_exit(child); child 291 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_process_exit(pcmk_child_t * child) child 293 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; child 294 daemons/pacemakerd/pcmkd_subdaemons.c child->active_before_startup = false; child 295 daemons/pacemakerd/pcmkd_subdaemons.c child->check_count = 0; child 297 daemons/pacemakerd/pcmkd_subdaemons.c child->respawn_count += 1; child 298 daemons/pacemakerd/pcmkd_subdaemons.c if (child->respawn_count > MAX_RESPAWN) { child 299 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); child 300 daemons/pacemakerd/pcmkd_subdaemons.c child->respawn = false; child 307 daemons/pacemakerd/pcmkd_subdaemons.c } else if (!child->respawn) { child 311 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); child 314 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child_liveness(child) == pcmk_rc_ok) { child 317 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); child 319 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child->needs_cluster && !pcmkd_cluster_connected()) { child 321 daemons/pacemakerd/pcmkd_subdaemons.c child->name); child 322 daemons/pacemakerd/pcmkd_subdaemons.c child->needs_retry = true; child 326 daemons/pacemakerd/pcmkd_subdaemons.c child->name); child 327 daemons/pacemakerd/pcmkd_subdaemons.c start_child(child); child 343 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_child_t *child = &(pcmk_children[phase]); child 345 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid != 0) { child 348 daemons/pacemakerd/pcmkd_subdaemons.c if (child->respawn) { child 349 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid == PCMK__SPECIAL_PID) { child 358 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, child 359 daemons/pacemakerd/pcmkd_subdaemons.c child->command); child 362 daemons/pacemakerd/pcmkd_subdaemons.c child->respawn = false; child 363 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(child, SIGTERM); child 366 daemons/pacemakerd/pcmkd_subdaemons.c escalate_shutdown, child); child 373 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); child 379 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); child 380 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = 0; child 421 daemons/pacemakerd/pcmkd_subdaemons.c start_child(pcmk_child_t * child) child 430 daemons/pacemakerd/pcmkd_subdaemons.c child->active_before_startup = false; child 431 daemons/pacemakerd/pcmkd_subdaemons.c child->check_count = 0; child 433 daemons/pacemakerd/pcmkd_subdaemons.c if (child->command == NULL) { child 434 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); child 442 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { child 449 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { child 455 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); child 459 daemons/pacemakerd/pcmkd_subdaemons.c if (child->uid) { child 460 daemons/pacemakerd/pcmkd_subdaemons.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { child 461 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); child 464 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); child 467 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = fork(); child 468 daemons/pacemakerd/pcmkd_subdaemons.c CRM_ASSERT(child->pid != -1); child 470 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid > 0) { child 472 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); child 475 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, child 488 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[3] = strdup(child->command); child 491 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup(child->command); child 496 daemons/pacemakerd/pcmkd_subdaemons.c opts_default[0] = strdup(child->command); child 507 daemons/pacemakerd/pcmkd_subdaemons.c if (initgroups(child->uid, gid) < 0) { child 509 daemons/pacemakerd/pcmkd_subdaemons.c child->uid, pcmk_rc_str(errno), errno); child 515 daemons/pacemakerd/pcmkd_subdaemons.c child->uid, uid, strerror(errno)); child 527 daemons/pacemakerd/pcmkd_subdaemons.c (void)execvp(child->command, opts_default); child 529 daemons/pacemakerd/pcmkd_subdaemons.c crm_crit("Could not execute %s: %s", child->command, strerror(errno)); child 554 daemons/pacemakerd/pcmkd_subdaemons.c child_liveness(pcmk_child_t *child) child 565 daemons/pacemakerd/pcmkd_subdaemons.c if (child->endpoint == NULL child 566 daemons/pacemakerd/pcmkd_subdaemons.c && (child->pid <= 0 || child->pid == PCMK__SPECIAL_PID)) { child 568 daemons/pacemakerd/pcmkd_subdaemons.c child->name); child 571 daemons/pacemakerd/pcmkd_subdaemons.c } else if (child->endpoint != NULL) { child 574 daemons/pacemakerd/pcmkd_subdaemons.c if (child->uid == NULL) { child 588 daemons/pacemakerd/pcmkd_subdaemons.c rc = pcmk__ipc_is_authentic_process_active(child->endpoint, child 592 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { child 598 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; child 599 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((ipc_pid != 0) && (child->pid != ipc_pid)) { child 616 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); child 621 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { child 636 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(child, SIGKILL); child 639 daemons/pacemakerd/pcmkd_subdaemons.c child->pid = ipc_pid; child 643 daemons/pacemakerd/pcmkd_subdaemons.c } else if ((child->pid == 0) && (ret == EINVAL)) { child 858 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(pcmk_child_t * child, int signal) child 868 daemons/pacemakerd/pcmkd_subdaemons.c if (child->command == NULL || child->pid == PCMK__SPECIAL_PID) { child 870 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); child 874 daemons/pacemakerd/pcmkd_subdaemons.c if (child->pid <= 0) { child 875 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); child 880 daemons/pacemakerd/pcmkd_subdaemons.c if (kill(child->pid, signal) == 0) { child 882 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); child 886 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); child 170 include/crm/common/mainloop.h void *mainloop_child_userdata(mainloop_child_t * child); child 171 include/crm/common/mainloop.h int mainloop_child_timeout(mainloop_child_t * child); child 172 include/crm/common/mainloop.h const char *mainloop_child_name(mainloop_child_t * child); child 174 include/crm/common/mainloop.h pid_t mainloop_child_pid(mainloop_child_t * child); child 175 include/crm/common/mainloop.h void mainloop_clear_child_userdata(mainloop_child_t * child); child 159 include/crm/common/xml.h gboolean replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update, child 162 include/crm/common/xml.h gboolean update_xml_child(xmlNode * child, xmlNode * to_update); child 246 include/crm/common/xml.h void free_xml(xmlNode * child); child 37 include/crm/common/xml_compat.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); child 270 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); child 272 include/crm/common/xml_internal.h while (child && (child->type == XML_TEXT_NODE)) { child 273 include/crm/common/xml_internal.h child = child->next; child 275 include/crm/common/xml_internal.h return child; child 287 include/crm/common/xml_internal.h pcmk__xml_next(const xmlNode *child) child 289 include/crm/common/xml_internal.h xmlNode *next = (child? child->next : NULL); child 308 include/crm/common/xml_internal.h xmlNode *child = (parent? parent->children : NULL); child 310 include/crm/common/xml_internal.h while (child && (child->type != XML_ELEMENT_NODE)) { child 311 include/crm/common/xml_internal.h child = child->next; child 313 include/crm/common/xml_internal.h return child; child 325 include/crm/common/xml_internal.h pcmk__xe_next(const xmlNode *child) child 327 include/crm/common/xml_internal.h xmlNode *next = child? child->next : NULL; child 30 include/crm/pengine/complex.h gboolean is_parent(pcmk_resource_t *child, pcmk_resource_t *rsc); child 524 include/crm/pengine/internal.h pcmk_resource_t *child; //!< Instance of bundled resource child 156 lib/cib/cib_attrs.c xmlNode *child = NULL; child 159 lib/cib/cib_attrs.c for (child = pcmk__xml_first_child(search); child != NULL; child 160 lib/cib/cib_attrs.c child = pcmk__xml_next(child)) { child 162 lib/cib/cib_attrs.c crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child)); child 440 lib/cib/cib_ops.c xmlNode *child = NULL; child 441 lib/cib/cib_ops.c for (child = pcmk__xml_first_child(input); child; child 442 lib/cib/cib_ops.c child = pcmk__xml_next(child)) { child 443 lib/cib/cib_ops.c if (replace_xml_child(NULL, obj_root, child, TRUE) == FALSE) { child 444 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); child 128 lib/common/acl.c xmlNode *child = NULL; child 130 lib/common/acl.c for (child = pcmk__xe_first_child(acl_entry); child; child 131 lib/common/acl.c child = pcmk__xe_next(child)) { child 132 lib/common/acl.c const char *tag = (const char *) child->name; child 133 lib/common/acl.c const char *kind = crm_element_value(child, XML_ACL_ATTR_KIND); child 135 lib/common/acl.c if (pcmk__xe_is(child, XML_ACL_TAG_PERMISSION)) { child 145 lib/common/acl.c const char *ref_role = crm_element_value(child, XML_ATTR_ID); child 167 lib/common/acl.c acls = create_acl(child, acls, pcmk__xf_acl_read); child 170 lib/common/acl.c acls = create_acl(child, acls, pcmk__xf_acl_write); child 173 lib/common/acl.c acls = create_acl(child, acls, pcmk__xf_acl_deny); child 301 lib/common/acl.c xmlNode *child = NULL; child 303 lib/common/acl.c for (child = pcmk__xe_first_child(acls); child; child 304 lib/common/acl.c child = pcmk__xe_next(child)) { child 306 lib/common/acl.c if (pcmk__xe_is(child, XML_ACL_TAG_USER) child 307 lib/common/acl.c || pcmk__xe_is(child, XML_ACL_TAG_USERv1)) { child 308 lib/common/acl.c const char *id = crm_element_value(child, XML_ATTR_NAME); child 311 lib/common/acl.c id = crm_element_value(child, XML_ATTR_ID); child 316 lib/common/acl.c docpriv->acls = parse_acl_entry(acls, child, docpriv->acls); child 318 lib/common/acl.c } else if (pcmk__xe_is(child, XML_ACL_TAG_GROUP)) { child 319 lib/common/acl.c const char *id = crm_element_value(child, XML_ATTR_NAME); child 322 lib/common/acl.c id = crm_element_value(child, XML_ATTR_ID); child 327 lib/common/acl.c docpriv->acls = parse_acl_entry(acls, child, docpriv->acls); child 385 lib/common/acl.c xmlNode *child = NULL; child 409 lib/common/acl.c child = pcmk__xml_first_child(xml); child 410 lib/common/acl.c while ( child != NULL ) { child 411 lib/common/acl.c xmlNode *tmp = child; child 413 lib/common/acl.c child = pcmk__xml_next(child); child 591 lib/common/acl.c xmlNode *child = cIter; child 593 lib/common/acl.c pcmk__apply_creation_acl(child, true); child 535 lib/common/ipc_attrd.c xmlNode *child = NULL; child 548 lib/common/ipc_attrd.c child = create_xml_node(request, XML_ATTR_OP); child 555 lib/common/ipc_attrd.c populate_update_op(child, pair->node, pair->name, pair->value, dampen, child 1019 lib/common/mainloop.c mainloop_child_pid(mainloop_child_t * child) child 1021 lib/common/mainloop.c return child->pid; child 1025 lib/common/mainloop.c mainloop_child_name(mainloop_child_t * child) child 1027 lib/common/mainloop.c return child->desc; child 1031 lib/common/mainloop.c mainloop_child_timeout(mainloop_child_t * child) child 1033 lib/common/mainloop.c return child->timeout; child 1037 lib/common/mainloop.c mainloop_child_userdata(mainloop_child_t * child) child 1039 lib/common/mainloop.c return child->privatedata; child 1043 lib/common/mainloop.c mainloop_clear_child_userdata(mainloop_child_t * child) child 1045 lib/common/mainloop.c child->privatedata = NULL; child 1050 lib/common/mainloop.c child_free(mainloop_child_t *child) child 1052 lib/common/mainloop.c if (child->timerid != 0) { child 1053 lib/common/mainloop.c crm_trace("Removing timer %d", child->timerid); child 1054 lib/common/mainloop.c g_source_remove(child->timerid); child 1055 lib/common/mainloop.c child->timerid = 0; child 1057 lib/common/mainloop.c free(child->desc); child 1058 lib/common/mainloop.c free(child); child 1063 lib/common/mainloop.c child_kill_helper(mainloop_child_t *child) child 1066 lib/common/mainloop.c if (child->flags & mainloop_leave_pid_group) { child 1067 lib/common/mainloop.c crm_debug("Kill pid %d only. leave group intact.", child->pid); child 1068 lib/common/mainloop.c rc = kill(child->pid, SIGKILL); child 1070 lib/common/mainloop.c crm_debug("Kill pid %d's group", child->pid); child 1071 lib/common/mainloop.c rc = kill(-child->pid, SIGKILL); child 1076 lib/common/mainloop.c crm_perror(LOG_ERR, "kill(%d, KILL) failed", child->pid); child 1086 lib/common/mainloop.c mainloop_child_t *child = p; child 1089 lib/common/mainloop.c child->timerid = 0; child 1090 lib/common/mainloop.c if (child->timeout) { child 1091 lib/common/mainloop.c crm_warn("%s process (PID %d) will not die!", child->desc, (int)child->pid); child 1095 lib/common/mainloop.c rc = child_kill_helper(child); child 1101 lib/common/mainloop.c child->timeout = TRUE; child 1102 lib/common/mainloop.c crm_debug("%s process (PID %d) timed out", child->desc, (int)child->pid); child 1104 lib/common/mainloop.c child->timerid = g_timeout_add(5000, child_timeout_callback, child); child 1109 lib/common/mainloop.c child_waitpid(mainloop_child_t *child, int flags) child 1118 lib/common/mainloop.c rc = waitpid(child->pid, &status, flags); child 1121 lib/common/mainloop.c child->pid, child->desc); child 1124 lib/common/mainloop.c } else if (rc != child->pid) { child 1137 lib/common/mainloop.c child->pid, child->desc, pcmk_rc_str(errno)); child 1142 lib/common/mainloop.c child->pid, child->desc, exitcode); child 1147 lib/common/mainloop.c child->pid, child->desc, signo, strsignal(signo)); child 1153 lib/common/mainloop.c child->pid, child->desc); child 1158 lib/common/mainloop.c child->pid, child->desc); child 1162 lib/common/mainloop.c if (callback_needed && child->callback) { child 1163 lib/common/mainloop.c child->callback(child, child->pid, core, signo, exitcode); child 1173 lib/common/mainloop.c mainloop_child_t *child = iter->data; child 1176 lib/common/mainloop.c if (child_waitpid(child, WNOHANG)) { child 1178 lib/common/mainloop.c child->pid); child 1181 lib/common/mainloop.c child_free(child); child 1202 lib/common/mainloop.c mainloop_child_t *child = NULL; child 1209 lib/common/mainloop.c child = iter->data; child 1210 lib/common/mainloop.c if (pid == child->pid) { child 1211 lib/common/mainloop.c match = child; child 1259 lib/common/mainloop.c mainloop_child_t *child = calloc(1, sizeof(mainloop_child_t)); child 1261 lib/common/mainloop.c child->pid = pid; child 1262 lib/common/mainloop.c child->timerid = 0; child 1263 lib/common/mainloop.c child->timeout = FALSE; child 1264 lib/common/mainloop.c child->privatedata = privatedata; child 1265 lib/common/mainloop.c child->callback = callback; child 1266 lib/common/mainloop.c child->flags = flags; child 1267 lib/common/mainloop.c pcmk__str_update(&child->desc, desc); child 1270 lib/common/mainloop.c child->timerid = g_timeout_add(timeout, child_timeout_callback, child); child 1273 lib/common/mainloop.c child_list = g_list_append(child_list, child); child 828 lib/common/nvpair.c xmlNode *child = NULL; child 854 lib/common/nvpair.c for (child = pcmk__xml_first_child(nvpair_list); child != NULL; child 855 lib/common/nvpair.c child = pcmk__xml_next(child)) { child 857 lib/common/nvpair.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { child 858 lib/common/nvpair.c const char *key = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 859 lib/common/nvpair.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); child 1012 lib/common/patchset.c xmlNode *child = NULL; child 1023 lib/common/patchset.c child = xmlDocCopyNode(change->children, match->doc, 1); child 1024 lib/common/patchset.c if (child == NULL) { child 1029 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); child 1030 lib/common/patchset.c xmlAddPrevSibling(match_child, child); child 1034 lib/common/patchset.c child->name, position); child 1035 lib/common/patchset.c xmlAddNextSibling(match->last, child); child 1039 lib/common/patchset.c child->name, position); child 1041 lib/common/patchset.c xmlAddChild(match, child); child 1043 lib/common/patchset.c pcmk__mark_xml_created(child); child 1174 lib/common/patchset.c xmlNode *child = NULL; child 1179 lib/common/patchset.c for (child = pcmk__xml_first_child(a_node); child != NULL; child 1180 lib/common/patchset.c child = pcmk__xml_next(child)) { child 1181 lib/common/patchset.c purge_diff_markers(child); child 100 lib/common/patchset_display.c for (const xmlNode *child = pcmk__xml_first_child(data); child != NULL; child 101 lib/common/patchset_display.c child = pcmk__xml_next(child)) { child 102 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, prefix, child, child 137 lib/common/patchset_display.c const xmlNode *child = NULL; child 147 lib/common/patchset_display.c for (child = pcmk__xml_first_child(removed); child != NULL; child 148 lib/common/patchset_display.c child = pcmk__xml_next(child)) { child 149 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, "- ", child, 0, child 163 lib/common/patchset_display.c for (child = pcmk__xml_first_child(added); child != NULL; child 164 lib/common/patchset_display.c child = pcmk__xml_next(child)) { child 165 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, "+ ", child, 0, child 242 lib/common/patchset_display.c for (const xmlNode *child = pcmk__xml_first_child(clist); child 243 lib/common/patchset_display.c child != NULL; child = pcmk__xml_next(child)) { child 244 lib/common/patchset_display.c const char *name = crm_element_value(child, "name"); child 246 lib/common/patchset_display.c op = crm_element_value(child, XML_DIFF_OP); child 252 lib/common/patchset_display.c const char *value = crm_element_value(child, "value"); child 435 lib/common/xml.c for (xmlNode *child = pcmk__xml_first_child(parent); child != NULL; child 436 lib/common/xml.c child = pcmk__xml_next(child)) { child 437 lib/common/xml.c if (pcmk__str_eq(node_name, (const char *) (child->name), child 440 lib/common/xml.c (attr_v == NULL && xmlHasProp(child, (pcmkXmlStr) attr_n)) || child 441 lib/common/xml.c (attr_v != NULL && attr_matches(child, attr_n, attr_v)))) { child 442 lib/common/xml.c return child; child 492 lib/common/xml.c xmlNode *child = NULL; child 500 lib/common/xml.c for (child = pcmk__xml_first_child(target); child != NULL; child 501 lib/common/xml.c child = pcmk__xml_next(child)) { child 502 lib/common/xml.c fix_plus_plus_recursive(child); child 624 lib/common/xml.c xmlNode *child = NULL; child 628 lib/common/xml.c child = xmlDocCopyNode(src_node, parent->doc, 1); child 629 lib/common/xml.c if (child == NULL) { child 632 lib/common/xml.c xmlAddChild(parent, child); child 633 lib/common/xml.c pcmk__mark_xml_created(child); child 634 lib/common/xml.c return child; child 713 lib/common/xml.c free_xml_with_position(xmlNode * child, int position) child 715 lib/common/xml.c if (child != NULL) { child 717 lib/common/xml.c xmlDoc *doc = child->doc; child 718 lib/common/xml.c xml_node_private_t *nodepriv = child->_private; child 725 lib/common/xml.c if (doc != NULL && top == child) { child 729 lib/common/xml.c } else if (pcmk__check_acl(child, NULL, pcmk__xf_acl_write) == FALSE) { child 733 lib/common/xml.c xpath = pcmk__element_xpath(child); child 742 lib/common/xml.c if (doc && pcmk__tracking_xml_changes(child, FALSE) child 745 lib/common/xml.c GString *xpath = pcmk__element_xpath(child); child 751 lib/common/xml.c (const char *) xpath->str, child, doc); child 761 lib/common/xml.c if (child->type == XML_COMMENT_NODE) { child 766 lib/common/xml.c deleted_obj->position = pcmk__xml_position(child, child 773 lib/common/xml.c pcmk__set_xml_doc_flag(child, pcmk__xf_dirty); child 776 lib/common/xml.c pcmk_free_xml_subtree(child); child 783 lib/common/xml.c free_xml(xmlNode * child) child 785 lib/common/xml.c free_xml_with_position(child, -1); child 1445 lib/common/xml.c for (const xmlNode *child = data->children; child != NULL; child 1446 lib/common/xml.c child = child->next) { child 1447 lib/common/xml.c pcmk__xml2text(child, options, buffer, depth + 1); child 2108 lib/common/xml.c xmlNode *child = cIter; child 2111 lib/common/xml.c if (can_prune_leaf(child)) { child 2112 lib/common/xml.c free_xml(child); child 2307 lib/common/xml.c update_xml_child(xmlNode * child, xmlNode * to_update) child 2312 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); child 2315 lib/common/xml.c if (!pcmk__xe_is(to_update, (const char *) child->name)) { child 2318 lib/common/xml.c } else if (!pcmk__str_eq(ID(to_update), ID(child), pcmk__str_none)) { child 2323 lib/common/xml.c crm_log_xml_trace(child, "Update match found..."); child 2325 lib/common/xml.c pcmk__xml_update(NULL, child, to_update, false); child 2328 lib/common/xml.c for (child_of_child = pcmk__xml_first_child(child); child_of_child != NULL; child 2362 lib/common/xml.c xmlNode *child = NULL; child 2364 lib/common/xml.c for (child = pcmk__xml_first_child(root); child != NULL; child 2365 lib/common/xml.c child = pcmk__xml_next(child)) { child 2366 lib/common/xml.c match_found += find_xml_children(children, child, tag, field, value, search_matches); child 2374 lib/common/xml.c replace_xml_child(xmlNode * parent, xmlNode * child, xmlNode * update, gboolean delete_only) child 2383 lib/common/xml.c CRM_CHECK(child != NULL, return FALSE); child 2387 lib/common/xml.c child_id = ID(child); child 2392 lib/common/xml.c if (!pcmk__xe_is(update, (const char *) child->name)) { child 2401 lib/common/xml.c right_val = crm_element_value(child, p_name); child 2409 lib/common/xml.c crm_log_xml_trace(child, "Delete match found..."); child 2411 lib/common/xml.c free_xml(child); child 2414 lib/common/xml.c xmlNode *old = child; child 2434 lib/common/xml.c crm_log_xml_debug(child, "Cannot delete the search root"); child 2438 lib/common/xml.c child_of_child = pcmk__xml_first_child(child); child 2442 lib/common/xml.c can_delete = replace_xml_child(child, child_of_child, update, delete_only); child 2458 lib/common/xml.c xmlNode *child = NULL; child 2470 lib/common/xml.c for (child = pcmk__xml_first_child(input); child != NULL; child 2471 lib/common/xml.c child = pcmk__xml_next(child)) { child 2474 lib/common/xml.c sorted_xml(child, result, recursive); child 2476 lib/common/xml.c add_node_copy(result, child); child 2719 lib/common/xml.c add_node_nocopy(xmlNode *parent, const char *name, xmlNode *child) child 2721 lib/common/xml.c add_node_copy(parent, child); child 2722 lib/common/xml.c free_xml(child); child 158 lib/common/xml_display.c for (const xmlNode *child = pcmk__xml_first_child(data); child != NULL; child 159 lib/common/xml_display.c child = pcmk__xml_next(child)) { child 161 lib/common/xml_display.c int temp_rc = show_xml_node(out, buffer, prefix, child, depth + 1, child 335 lib/common/xml_display.c for (const xmlNode *child = pcmk__xml_first_child(data); child != NULL; child 336 lib/common/xml_display.c child = pcmk__xml_next(child)) { child 337 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, child 349 lib/common/xml_display.c for (const xmlNode *child = pcmk__xml_first_child(data); child != NULL; child 350 lib/common/xml_display.c child = pcmk__xml_next(child)) { child 351 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, options); child 503 lib/common/xml_display.c for (const xmlNode *child = pcmk__xml_first_child(data); child != NULL; child 504 lib/common/xml_display.c child = pcmk__xml_next(child)) { child 505 lib/common/xml_display.c log_data_element(log_level, file, function, line, prefix, child, child 68 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { child 72 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); child 76 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk__threshold_reached(replica->child, node, NULL)) { child 81 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pcmk_rsc_assigning); child 83 lib/pacemaker/pcmk_sched_bundle.c bundle->id, replica->child->id); child 84 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node, child 86 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, pcmk_rsc_assigning); child 242 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { child 243 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(bundle, replica->child, child 283 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { child 489 lib/pacemaker/pcmk_sched_bundle.c && ((replica->child == NULL) child 490 lib/pacemaker/pcmk_sched_bundle.c || (replica->child->next_role < pcmk_role_promoted))) { child 910 lib/pacemaker/pcmk_sched_bundle.c if ((replica->child != NULL) child 912 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, child 1008 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { child 1009 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); child 469 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child = (pcmk_resource_t *) child_iter->data; child 471 lib/pacemaker/pcmk_sched_clone.c if (rsc_probed_on(child, node)) { child 526 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child = find_probed_instance_on(clone, node); child 529 lib/pacemaker/pcmk_sched_clone.c for (GList *iter = clone->children; (iter != NULL) && (child == NULL); child 536 lib/pacemaker/pcmk_sched_clone.c child = instance; child 541 lib/pacemaker/pcmk_sched_clone.c if (child == NULL) { child 542 lib/pacemaker/pcmk_sched_clone.c child = clone->children->data; child 546 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node); child 663 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child = NULL; child 674 lib/pacemaker/pcmk_sched_clone.c child = (pcmk_resource_t *) iter->data; child 675 lib/pacemaker/pcmk_sched_clone.c if (g_list_find(all_rscs, child)) { child 679 lib/pacemaker/pcmk_sched_clone.c for (GList *member_iter = child->children; member_iter != NULL; child 686 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, child 697 lib/pacemaker/pcmk_sched_clone.c child = (pcmk_resource_t *) rsc->children->data; child 699 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization); child 1081 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *child = iter->data; child 1082 lib/pacemaker/pcmk_sched_colocation.c pcmk_action_t *child_action = find_first_action(child->actions, NULL, child 1089 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); child 1150 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *child = pe__get_rsc_in_container(rsc); child 1152 lib/pacemaker/pcmk_sched_colocation.c if (child != NULL) { child 1153 lib/pacemaker/pcmk_sched_colocation.c return child; child 97 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *child = child_iter->data; child 100 lib/pacemaker/pcmk_sched_instances.c child_node = g_hash_table_lookup(child->allowed_nodes, child 106 lib/pacemaker/pcmk_sched_instances.c instance->id, child->id, child 355 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *child = iter->data; child 357 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(child, pcmk__op_key(child->id, action_first, 0), child 26 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(pcmk_resource_t *clone, pcmk_resource_t *child, child 31 lib/pacemaker/pcmk_sched_promotable.c child, PCMK_ACTION_PROMOTE, child 33 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child, PCMK_ACTION_PROMOTE, child 40 lib/pacemaker/pcmk_sched_promotable.c child, PCMK_ACTION_PROMOTE, child 54 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(pcmk_resource_t *clone, pcmk_resource_t *child, child 58 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(clone, PCMK_ACTION_DEMOTE, child, child 61 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child, PCMK_ACTION_DEMOTE, child 67 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child, PCMK_ACTION_DEMOTE, last, child 128 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(pcmk_resource_t *child, child 141 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(child->priority, child 144 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(child, child 147 lib/pacemaker/pcmk_sched_promotable.c location->id, child->id, child 149 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(child->priority), child 152 lib/pacemaker/pcmk_sched_promotable.c child->priority = new_priority; child 174 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 176 lib/pacemaker/pcmk_sched_promotable.c if (node_to_be_promoted_on(child) == NULL) { child 179 lib/pacemaker/pcmk_sched_promotable.c rsc->id, child->id); child 312 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *child = (const pcmk_resource_t *) data; child 318 lib/pacemaker/pcmk_sched_promotable.c if (child->sort_index < 0) { child 319 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: negative", child->id); child 323 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); child 325 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: inactive", child->id); child 332 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); child 335 lib/pacemaker/pcmk_sched_promotable.c child->id, pcmk_readable_score(child->sort_index), child 411 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child = (pcmk_resource_t *) data; child 414 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE); child 416 lib/pacemaker/pcmk_sched_promotable.c if (!pcmk_is_set(child->flags, pcmk_rsc_managed) child 417 lib/pacemaker/pcmk_sched_promotable.c && (child->next_role == pcmk_role_promoted)) { child 418 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = INFINITY; child 421 lib/pacemaker/pcmk_sched_promotable.c child->id); child 423 lib/pacemaker/pcmk_sched_promotable.c } else if ((chosen == NULL) || (child->sort_index < 0)) { child 426 lib/pacemaker/pcmk_sched_promotable.c child->id, child->sort_index); child 433 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = node->weight; child 436 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); child 458 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 462 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); child 506 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child = iter->data; child 510 lib/pacemaker/pcmk_sched_promotable.c active = clone->fns->find_rsc(child, id, node, child 535 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child = iter->data; child 540 lib/pacemaker/pcmk_sched_promotable.c child = clone->fns->find_rsc(child, id, NULL, child 542 lib/pacemaker/pcmk_sched_promotable.c CRM_LOG_ASSERT(child != NULL); child 543 lib/pacemaker/pcmk_sched_promotable.c if (child != NULL) { child 544 lib/pacemaker/pcmk_sched_promotable.c if (g_hash_table_lookup(child->known_on, node->details->id)) { child 704 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *child = (const pcmk_resource_t *) iter->data; child 706 lib/pacemaker/pcmk_sched_promotable.c int child_score = promotion_score(child, node, &child_default); child 164 lib/pacemaker/pcmk_sched_resource.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 166 lib/pacemaker/pcmk_sched_resource.c result = add_rsc_if_matching(result, child, id); child 328 lib/pacemaker/pcmk_sched_resource.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 330 lib/pacemaker/pcmk_sched_resource.c child->cmds->output_actions(child); child 72 lib/pengine/bundle.c pcmk_resource_t *child; child 118 lib/pengine/bundle.c return bundle_data->child; child 145 lib/pengine/bundle.c return replica->child; child 602 lib/pengine/bundle.c if (replica->child != NULL) { child 624 lib/pengine/bundle.c } else if ((child != NULL) && data->untrusted) { child 683 lib/pengine/bundle.c if (replica->child && valid_network(data)) { child 696 lib/pengine/bundle.c replica->child->id, replica->offset); child 769 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { child 770 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); child 772 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); child 773 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, child 780 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, child 842 lib/pengine/bundle.c if ((replica->child != NULL) && (replica->ipaddr != NULL)) { child 843 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); child 1166 lib/pengine/bundle.c if (pe__unpack_resource(xml_resource, &(bundle_data->child), rsc, child 1218 lib/pengine/bundle.c for (childIter = bundle_data->child->children; childIter != NULL; child 1223 lib/pengine/bundle.c replica->child = childIter->data; child 1224 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; child 1228 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pcmk_rsc_notify)) { child 1229 lib/pengine/bundle.c pe__set_resource_flags(bundle_data->child, pcmk_rsc_notify); child 1235 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, child 1243 lib/pengine/bundle.c g_hash_table_replace(bundle_data->child->meta, child 1289 lib/pengine/bundle.c if (replica->child != NULL) { child 1292 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; child 1293 lib/pengine/bundle.c replica->child->utilization = empty; child 1297 lib/pengine/bundle.c if (bundle_data->child) { child 1298 lib/pengine/bundle.c rsc->children = g_list_append(rsc->children, bundle_data->child); child 1334 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); child 1379 lib/pengine/bundle.c return replica->child; child 1441 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); child 1491 lib/pengine/bundle.c print_child = replica->child != NULL && child 1492 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); child 1530 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, child 1531 lib/pengine/bundle.c replica->child, only_node, only_rsc); child 1558 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; child 1643 lib/pengine/bundle.c print_child = replica->child != NULL && child 1644 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); child 1673 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), child 1674 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); child 1713 lib/pengine/bundle.c const pcmk_resource_t *rsc = replica->child; child 1777 lib/pengine/bundle.c print_child = replica->child != NULL && child 1778 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); child 1809 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), child 1810 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); child 1852 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; child 1930 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); child 2009 lib/pengine/bundle.c if(bundle_data->child) { child 2010 lib/pengine/bundle.c free_xml(bundle_data->child->xml); child 2011 lib/pengine/bundle.c bundle_data->child->xml = NULL; child 2012 lib/pengine/bundle.c bundle_data->child->fns->free(bundle_data->child); child 2056 lib/pengine/bundle.c if (replica->child) { child 2057 lib/pengine/bundle.c replica->child->fns->count(replica->child); child 2086 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { child 230 lib/pengine/clone.c pcmk_resource_t *child = NULL; child 238 lib/pengine/clone.c child = pe_find_resource(rsc->children, child_id); child 241 lib/pengine/clone.c return child; child 919 lib/pengine/complex.c is_parent(pcmk_resource_t *child, pcmk_resource_t *rsc) child 921 lib/pengine/complex.c pcmk_resource_t *parent = child; child 153 lib/pengine/group.c skip_child_rsc(pcmk_resource_t *rsc, pcmk_resource_t *child, child 158 lib/pengine/group.c bool child_filtered = child->fns->is_filtered(child, only_rsc, FALSE); child 159 lib/pengine/group.c bool child_active = child->fns->active(child, FALSE); child 168 lib/pengine/native.c pcmk_resource_t *child = gIter->data; child 170 lib/pengine/native.c pe__clear_resource_flags(child, pcmk_rsc_managed); child 171 lib/pengine/native.c pe__set_resource_flags(child, pcmk_rsc_blocked); child 317 lib/pengine/native.c pcmk_resource_t *child = (pcmk_resource_t *) gIter->data; child 319 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); child 1126 lib/pengine/native.c pcmk_resource_t *child = (pcmk_resource_t *) gIter->data; child 1128 lib/pengine/native.c child->fns->location(child, &result, current); child 1407 lib/pengine/pe_actions.c xmlNode *child = NULL; child 1421 lib/pengine/pe_actions.c for (child = first_named_child(rsc->ops_xml, XML_ATTR_OP); child 1422 lib/pengine/pe_actions.c child != NULL; child = crm_next_same_xml(child)) { child 1423 lib/pengine/pe_actions.c if (pcmk__str_eq(action, crm_element_value(child, XML_NVPAIR_ATTR_NAME), child 1425 lib/pengine/pe_actions.c timeout_spec = crm_element_value(child, XML_ATTR_TIMEOUT); child 561 lib/pengine/pe_notif.c const pcmk_resource_t *child = (const pcmk_resource_t *) iter->data; child 563 lib/pengine/pe_notif.c collect_resource_data(child, activity, n_data); child 86 lib/pengine/rules_alerts.c xmlNode *child; child 92 lib/pengine/rules_alerts.c child = first_named_child(basenode, XML_TAG_ATTR_SETS); child 93 lib/pengine/rules_alerts.c if (child == NULL) { child 101 lib/pengine/rules_alerts.c for (child = first_named_child(child, XML_CIB_TAG_NVPAIR); child != NULL; child 102 lib/pengine/rules_alerts.c child = crm_next_same_xml(child)) { child 104 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 105 lib/pengine/rules_alerts.c const char *value = crm_element_value(child, XML_NVPAIR_ATTR_VALUE); child 545 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *child_0 = replica->child; child 856 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *child = (pcmk_resource_t *) iter2->data; child 858 lib/pengine/tests/native/native_find_rsc_test.c if (strcmp(child->id, "mysql-proxy:0") == 0) { child 859 lib/pengine/tests/native/native_find_rsc_test.c mysql_proxy = child; child 63 lib/pengine/tests/native/pe_base_name_eq_test.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 65 lib/pengine/tests/native/pe_base_name_eq_test.c if (strcmp(child->id, "mysql-group:0") == 0) { child 66 lib/pengine/tests/native/pe_base_name_eq_test.c mysql_group_0 = child; child 67 lib/pengine/tests/native/pe_base_name_eq_test.c } else if (strcmp(child->id, "mysql-group:1") == 0) { child 68 lib/pengine/tests/native/pe_base_name_eq_test.c mysql_group_1 = child; child 73 lib/pengine/tests/native/pe_base_name_eq_test.c pcmk_resource_t *child = (pcmk_resource_t *) iter->data; child 75 lib/pengine/tests/native/pe_base_name_eq_test.c if (strcmp(child->id, "promotable-rsc:0") == 0) { child 76 lib/pengine/tests/native/pe_base_name_eq_test.c promotable_0 = child; child 77 lib/pengine/tests/native/pe_base_name_eq_test.c } else if (strcmp(child->id, "promotable-rsc:1") == 0) { child 78 lib/pengine/tests/native/pe_base_name_eq_test.c promotable_1 = child; child 2001 lib/pengine/unpack.c pcmk_resource_t *child = rIter->data; child 2018 lib/pengine/unpack.c child->fns->location(child, &locations, 2); child 2034 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, child 2058 lib/pengine/unpack.c pe_rsc_trace(parent, "Resource %s, skip inactive", child->id); child 2060 lib/pengine/unpack.c && !pcmk_is_set(child->flags, pcmk_rsc_blocked)) { child 2062 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, child 273 lib/pengine/utils.c pcmk_resource_t *child = (pcmk_resource_t *) gIter->data; child 275 lib/pengine/utils.c pe__show_node_scores_as(file, function, line, to_log, child, child 276 lib/pengine/utils.c comment, child->allowed_nodes, scheduler); child 1032 maint/gnulib/lib/argp-help.c const struct argp_child *child = argp->children; child 1034 maint/gnulib/lib/argp-help.c if (child) child 1035 maint/gnulib/lib/argp-help.c while (child->argp) child 1038 maint/gnulib/lib/argp-help.c ((child->group || child->header) child 1040 maint/gnulib/lib/argp-help.c ? hol_add_cluster (hol, child->group, child->header, child 1041 maint/gnulib/lib/argp-help.c child - argp->children, cluster, argp) child 1044 maint/gnulib/lib/argp-help.c hol_append (hol, argp_hol (child->argp, child_cluster)) ; child 1045 maint/gnulib/lib/argp-help.c child++; child 1504 maint/gnulib/lib/argp-help.c const struct argp_child *child = argp->children; child 1509 maint/gnulib/lib/argp-help.c if (child) child 1510 maint/gnulib/lib/argp-help.c while (child->argp) child 1511 maint/gnulib/lib/argp-help.c levels += argp_args_levels ((child++)->argp); child 1527 maint/gnulib/lib/argp-help.c const struct argp_child *child = argp->children; child 1557 maint/gnulib/lib/argp-help.c if (child) child 1558 maint/gnulib/lib/argp-help.c while (child->argp) child 1559 maint/gnulib/lib/argp-help.c advance = !argp_args_usage ((child++)->argp, state, levels, advance, stream); child 1596 maint/gnulib/lib/argp-help.c const struct argp_child *child = argp->children; child 1661 maint/gnulib/lib/argp-help.c if (child) child 1662 maint/gnulib/lib/argp-help.c while (child->argp && !(first_only && anything)) child 1664 maint/gnulib/lib/argp-help.c argp_doc ((child++)->argp, state, child 433 maint/gnulib/lib/argp-parse.c const struct argp_child *child = argp->children; child 449 maint/gnulib/lib/argp-parse.c if (child) child 450 maint/gnulib/lib/argp-parse.c while (child->argp) child 452 maint/gnulib/lib/argp-parse.c calc_sizes ((child++)->argp, szs); child 901 maint/gnulib/lib/argp-parse.c struct argp_child *child = alloca (4 * sizeof (struct argp_child)); child 907 maint/gnulib/lib/argp-parse.c top_argp->children = child; child 909 maint/gnulib/lib/argp-parse.c memset (child, 0, 4 * sizeof (struct argp_child)); child 912 maint/gnulib/lib/argp-parse.c (child++)->argp = argp; child 913 maint/gnulib/lib/argp-parse.c (child++)->argp = &argp_default_argp; child 915 maint/gnulib/lib/argp-parse.c (child++)->argp = &argp_version_argp; child 916 maint/gnulib/lib/argp-parse.c child->argp = 0; child 80 maint/gnulib/lib/csharpcomp.c pid_t child; child 87 maint/gnulib/lib/csharpcomp.c child = create_pipe_in ("mcs", "mcs", argv, NULL, child 90 maint/gnulib/lib/csharpcomp.c if (child != -1) child 114 maint/gnulib/lib/csharpcomp.c wait_subprocess (child, "mcs", false, true, true, false, NULL); child 126 maint/gnulib/lib/csharpcomp.c pid_t child; child 196 maint/gnulib/lib/csharpcomp.c child = create_pipe_in ("mcs", "mcs", argv, NULL, child 229 maint/gnulib/lib/csharpcomp.c wait_subprocess (child, "mcs", false, false, true, true, NULL); child 267 maint/gnulib/lib/csharpcomp.c pid_t child; child 274 maint/gnulib/lib/csharpcomp.c child = create_pipe_in ("csc", "csc", argv, NULL, child 277 maint/gnulib/lib/csharpcomp.c if (child != -1) child 305 maint/gnulib/lib/csharpcomp.c wait_subprocess (child, "csc", false, true, true, false, NULL); child 264 maint/gnulib/lib/execute.c pid_t child; child 308 maint/gnulib/lib/execute.c ? posix_spawn (&child, prog_path, &actions, child 311 maint/gnulib/lib/execute.c : posix_spawnp (&child, prog_path, &actions, child 333 maint/gnulib/lib/execute.c register_slave_subprocess (child); child 338 maint/gnulib/lib/execute.c return wait_subprocess (child, progname, ignore_sigpipe, null_stderr, child 50 maint/gnulib/lib/execve.c pid_t child; child 51 maint/gnulib/lib/execve.c int err = posix_spawn (&child, program, NULL, NULL, argv, env); child 69 maint/gnulib/lib/execve.c waitpid (child, &status, 0); child 151 maint/gnulib/lib/gl_anyavltree_list2.h gl_list_node_t child; child 157 maint/gnulib/lib/gl_anyavltree_list2.h child = node; child 167 maint/gnulib/lib/gl_anyavltree_list2.h balance_diff = (child == node->right ? height_diff : -height_diff); child 418 maint/gnulib/lib/gl_anyavltree_list2.h gl_list_node_t child = node->right; child 420 maint/gnulib/lib/gl_anyavltree_list2.h if (child != NULL) child 421 maint/gnulib/lib/gl_anyavltree_list2.h child->parent = parent; child 423 maint/gnulib/lib/gl_anyavltree_list2.h list->root = child; child 427 maint/gnulib/lib/gl_anyavltree_list2.h parent->left = child; child 429 maint/gnulib/lib/gl_anyavltree_list2.h parent->right = child; child 439 maint/gnulib/lib/gl_anyavltree_list2.h rebalance (list, child, -1, parent); child 447 maint/gnulib/lib/gl_anyavltree_list2.h gl_list_node_t child = node->left; child 449 maint/gnulib/lib/gl_anyavltree_list2.h child->parent = parent; child 451 maint/gnulib/lib/gl_anyavltree_list2.h list->root = child; child 455 maint/gnulib/lib/gl_anyavltree_list2.h parent->left = child; child 457 maint/gnulib/lib/gl_anyavltree_list2.h parent->right = child; child 467 maint/gnulib/lib/gl_anyavltree_list2.h rebalance (list, child, -1, parent); child 475 maint/gnulib/lib/gl_anyavltree_list2.h gl_list_node_t child; child 482 maint/gnulib/lib/gl_anyavltree_list2.h child = subst->left; child 497 maint/gnulib/lib/gl_anyavltree_list2.h if (child != NULL) child 498 maint/gnulib/lib/gl_anyavltree_list2.h child->parent = subst_parent; child 499 maint/gnulib/lib/gl_anyavltree_list2.h subst_parent->right = child; child 533 maint/gnulib/lib/gl_anyavltree_list2.h rebalance (list, child, -1, subst_parent != node ? subst_parent : subst); child 353 maint/gnulib/lib/gl_anyrbtree_list2.h rebalance_after_remove (gl_list_t list, gl_list_node_t child, gl_list_node_t parent) child 372 maint/gnulib/lib/gl_anyrbtree_list2.h if (parent->left == child) child 476 maint/gnulib/lib/gl_anyrbtree_list2.h child = parent; child 494 maint/gnulib/lib/gl_anyrbtree_list2.h else if (parent->right == child) child 598 maint/gnulib/lib/gl_anyrbtree_list2.h child = parent; child 620 maint/gnulib/lib/gl_anyrbtree_list2.h parent = child->parent; child 623 maint/gnulib/lib/gl_anyrbtree_list2.h if (child != NULL && child->color == RED) child 625 maint/gnulib/lib/gl_anyrbtree_list2.h child->color = BLACK; child 643 maint/gnulib/lib/gl_anyrbtree_list2.h gl_list_node_t child = node->right; child 645 maint/gnulib/lib/gl_anyrbtree_list2.h if (child != NULL) child 647 maint/gnulib/lib/gl_anyrbtree_list2.h child->parent = parent; child 650 maint/gnulib/lib/gl_anyrbtree_list2.h child->color = BLACK; child 653 maint/gnulib/lib/gl_anyrbtree_list2.h list->root = child; child 657 maint/gnulib/lib/gl_anyrbtree_list2.h parent->left = child; child 659 maint/gnulib/lib/gl_anyrbtree_list2.h parent->right = child; child 669 maint/gnulib/lib/gl_anyrbtree_list2.h if (child == NULL && node->color == BLACK) child 670 maint/gnulib/lib/gl_anyrbtree_list2.h rebalance_after_remove (list, child, parent); child 678 maint/gnulib/lib/gl_anyrbtree_list2.h gl_list_node_t child = node->left; child 680 maint/gnulib/lib/gl_anyrbtree_list2.h child->parent = parent; child 683 maint/gnulib/lib/gl_anyrbtree_list2.h child->color = BLACK; child 685 maint/gnulib/lib/gl_anyrbtree_list2.h list->root = child; child 689 maint/gnulib/lib/gl_anyrbtree_list2.h parent->left = child; child 691 maint/gnulib/lib/gl_anyrbtree_list2.h parent->right = child; child 707 maint/gnulib/lib/gl_anyrbtree_list2.h gl_list_node_t child; child 715 maint/gnulib/lib/gl_anyrbtree_list2.h child = subst->left; child 732 maint/gnulib/lib/gl_anyrbtree_list2.h if (child != NULL) child 733 maint/gnulib/lib/gl_anyrbtree_list2.h child->parent = subst_parent; child 734 maint/gnulib/lib/gl_anyrbtree_list2.h subst_parent->right = child; child 767 maint/gnulib/lib/gl_anyrbtree_list2.h if (child != NULL && child->color == RED) child 769 maint/gnulib/lib/gl_anyrbtree_list2.h child->color = BLACK; child 774 maint/gnulib/lib/gl_anyrbtree_list2.h rebalance_after_remove (list, child, child 70 maint/gnulib/lib/gl_avltree_ordered.h NODE_T child; child 76 maint/gnulib/lib/gl_avltree_ordered.h child = node; child 86 maint/gnulib/lib/gl_avltree_ordered.h balance_diff = (child == node->right ? height_diff : -height_diff); child 446 maint/gnulib/lib/gl_avltree_ordered.h NODE_T child = node->right; child 448 maint/gnulib/lib/gl_avltree_ordered.h if (child != NULL) child 449 maint/gnulib/lib/gl_avltree_ordered.h child->parent = parent; child 451 maint/gnulib/lib/gl_avltree_ordered.h container->root = child; child 455 maint/gnulib/lib/gl_avltree_ordered.h parent->left = child; child 457 maint/gnulib/lib/gl_avltree_ordered.h parent->right = child; child 459 maint/gnulib/lib/gl_avltree_ordered.h rebalance (container, child, -1, parent); child 467 maint/gnulib/lib/gl_avltree_ordered.h NODE_T child = node->left; child 469 maint/gnulib/lib/gl_avltree_ordered.h child->parent = parent; child 471 maint/gnulib/lib/gl_avltree_ordered.h container->root = child; child 475 maint/gnulib/lib/gl_avltree_ordered.h parent->left = child; child 477 maint/gnulib/lib/gl_avltree_ordered.h parent->right = child; child 479 maint/gnulib/lib/gl_avltree_ordered.h rebalance (container, child, -1, parent); child 487 maint/gnulib/lib/gl_avltree_ordered.h NODE_T child; child 494 maint/gnulib/lib/gl_avltree_ordered.h child = subst->left; child 509 maint/gnulib/lib/gl_avltree_ordered.h if (child != NULL) child 510 maint/gnulib/lib/gl_avltree_ordered.h child->parent = subst_parent; child 511 maint/gnulib/lib/gl_avltree_ordered.h subst_parent->right = child; child 536 maint/gnulib/lib/gl_avltree_ordered.h rebalance (container, child, -1, subst_parent != node ? subst_parent : subst); child 247 maint/gnulib/lib/gl_rbtree_ordered.h rebalance_after_remove (CONTAINER_T container, NODE_T child, NODE_T parent) child 266 maint/gnulib/lib/gl_rbtree_ordered.h if (parent->left == child) child 370 maint/gnulib/lib/gl_rbtree_ordered.h child = parent; child 388 maint/gnulib/lib/gl_rbtree_ordered.h else if (parent->right == child) child 492 maint/gnulib/lib/gl_rbtree_ordered.h child = parent; child 514 maint/gnulib/lib/gl_rbtree_ordered.h parent = child->parent; child 517 maint/gnulib/lib/gl_rbtree_ordered.h if (child != NULL && child->color == RED) child 519 maint/gnulib/lib/gl_rbtree_ordered.h child->color = BLACK; child 656 maint/gnulib/lib/gl_rbtree_ordered.h NODE_T child = node->right; child 658 maint/gnulib/lib/gl_rbtree_ordered.h if (child != NULL) child 660 maint/gnulib/lib/gl_rbtree_ordered.h child->parent = parent; child 663 maint/gnulib/lib/gl_rbtree_ordered.h child->color = BLACK; child 666 maint/gnulib/lib/gl_rbtree_ordered.h container->root = child; child 670 maint/gnulib/lib/gl_rbtree_ordered.h parent->left = child; child 672 maint/gnulib/lib/gl_rbtree_ordered.h parent->right = child; child 674 maint/gnulib/lib/gl_rbtree_ordered.h if (child == NULL && node->color == BLACK) child 675 maint/gnulib/lib/gl_rbtree_ordered.h rebalance_after_remove (container, child, parent); child 683 maint/gnulib/lib/gl_rbtree_ordered.h NODE_T child = node->left; child 685 maint/gnulib/lib/gl_rbtree_ordered.h child->parent = parent; child 688 maint/gnulib/lib/gl_rbtree_ordered.h child->color = BLACK; child 690 maint/gnulib/lib/gl_rbtree_ordered.h container->root = child; child 694 maint/gnulib/lib/gl_rbtree_ordered.h parent->left = child; child 696 maint/gnulib/lib/gl_rbtree_ordered.h parent->right = child; child 704 maint/gnulib/lib/gl_rbtree_ordered.h NODE_T child; child 712 maint/gnulib/lib/gl_rbtree_ordered.h child = subst->left; child 729 maint/gnulib/lib/gl_rbtree_ordered.h if (child != NULL) child 730 maint/gnulib/lib/gl_rbtree_ordered.h child->parent = subst_parent; child 731 maint/gnulib/lib/gl_rbtree_ordered.h subst_parent->right = child; child 755 maint/gnulib/lib/gl_rbtree_ordered.h if (child != NULL && child->color == RED) child 757 maint/gnulib/lib/gl_rbtree_ordered.h child->color = BLACK; child 762 maint/gnulib/lib/gl_rbtree_ordered.h rebalance_after_remove (container, child, child 639 maint/gnulib/lib/javacomp.c pid_t child; child 667 maint/gnulib/lib/javacomp.c child = create_pipe_in (javac, BOURNE_SHELL, argv, NULL, child 669 maint/gnulib/lib/javacomp.c if (child == -1) child 692 maint/gnulib/lib/javacomp.c wait_subprocess (child, javac, true, true, true, false, NULL); child 721 maint/gnulib/lib/javacomp.c pid_t child; child 749 maint/gnulib/lib/javacomp.c child = create_pipe_in (javac, BOURNE_SHELL, argv, NULL, child 751 maint/gnulib/lib/javacomp.c if (child == -1) child 777 maint/gnulib/lib/javacomp.c wait_subprocess (child, javac, true, true, true, false, NULL); child 1410 maint/gnulib/lib/javacomp.c pid_t child; child 1417 maint/gnulib/lib/javacomp.c child = create_pipe_in ("gcj", "gcj", argv, NULL, child 1420 maint/gnulib/lib/javacomp.c if (child != -1) child 1456 maint/gnulib/lib/javacomp.c wait_subprocess (child, "gcj", false, true, true, false, NULL); child 1526 maint/gnulib/lib/javacomp.c pid_t child; child 1533 maint/gnulib/lib/javacomp.c child = create_pipe_in ("gcj", "gcj", argv, NULL, child 1536 maint/gnulib/lib/javacomp.c if (child != -1) child 1571 maint/gnulib/lib/javacomp.c wait_subprocess (child, "gcj", false, true, true, false, NULL); child 59 maint/gnulib/lib/javaversion.c pid_t child; child 68 maint/gnulib/lib/javaversion.c child = create_pipe_in (progname, prog_path, prog_argv, NULL, child 71 maint/gnulib/lib/javaversion.c if (child == -1) child 96 maint/gnulib/lib/javaversion.c wait_subprocess (child, progname, true, false, true, false, NULL); child 58 maint/gnulib/lib/pipe-filter-gi.c pid_t child; child 454 maint/gnulib/lib/pipe-filter-gi.c wait_subprocess (filter->child, filter->progname, true, child 500 maint/gnulib/lib/pipe-filter-gi.c filter->child = create_pipe_bidi (progname, prog_path, prog_argv, child 516 maint/gnulib/lib/pipe-filter-gi.c if (filter->child == -1) child 266 maint/gnulib/lib/pipe-filter-ii.c pid_t child; child 273 maint/gnulib/lib/pipe-filter-ii.c child = create_pipe_bidi (progname, prog_path, prog_argv, child 276 maint/gnulib/lib/pipe-filter-ii.c if (child == -1) child 575 maint/gnulib/lib/pipe-filter-ii.c wait_subprocess (child, progname, false, null_stderr, child 592 maint/gnulib/lib/pipe-filter-ii.c wait_subprocess (child, progname, true, true, true, false, NULL); child 66 maint/gnulib/lib/savewd.c wd->val.child = -1; child 69 maint/gnulib/lib/savewd.c if (wd->val.child < 0) child 74 maint/gnulib/lib/savewd.c wd->val.child = fork (); child 75 maint/gnulib/lib/savewd.c if (wd->val.child != 0) child 77 maint/gnulib/lib/savewd.c if (0 < wd->val.child) child 148 maint/gnulib/lib/savewd.c assure (wd->val.child == 0); child 202 maint/gnulib/lib/savewd.c pid_t child = wd->val.child; child 203 maint/gnulib/lib/savewd.c if (child == 0) child 205 maint/gnulib/lib/savewd.c if (0 < child) child 208 maint/gnulib/lib/savewd.c while (waitpid (child, &child_status, 0) < 0) child 210 maint/gnulib/lib/savewd.c wd->val.child = -1; child 240 maint/gnulib/lib/savewd.c assure (wd->val.child < 0); child 263 maint/gnulib/lib/savewd.c return wd->state == FORKING_STATE && 0 < wd->val.child; child 73 maint/gnulib/lib/savewd.h pid_t child; child 206 maint/gnulib/lib/spawn-pipe.c int child; child 230 maint/gnulib/lib/spawn-pipe.c child = -1; child 299 maint/gnulib/lib/spawn-pipe.c child = spawnpvech (P_NOWAIT, prog_path, argv + 1, child 303 maint/gnulib/lib/spawn-pipe.c if (child == -1 && errno == ENOEXEC) child 309 maint/gnulib/lib/spawn-pipe.c child = spawnpvech (P_NOWAIT, argv[0], argv, child 316 maint/gnulib/lib/spawn-pipe.c if (child == -1) child 389 maint/gnulib/lib/spawn-pipe.c child = _spawnvpe (P_NOWAIT, prog_path, argv + 1, child 392 maint/gnulib/lib/spawn-pipe.c if (child == -1 && errno == ENOEXEC) child 397 maint/gnulib/lib/spawn-pipe.c child = _spawnvpe (P_NOWAIT, argv[0], argv, child 402 maint/gnulib/lib/spawn-pipe.c if (child == -1) child 429 maint/gnulib/lib/spawn-pipe.c if (child == -1) child 442 maint/gnulib/lib/spawn-pipe.c return child; child 455 maint/gnulib/lib/spawn-pipe.c pid_t child; child 542 maint/gnulib/lib/spawn-pipe.c ? posix_spawn (&child, prog_path, &actions, child 545 maint/gnulib/lib/spawn-pipe.c : posix_spawnp (&child, prog_path, &actions, child 575 maint/gnulib/lib/spawn-pipe.c register_slave_subprocess (child); child 588 maint/gnulib/lib/spawn-pipe.c return child; child 64 maint/gnulib/lib/wait-process.c volatile pid_t child; child 97 maint/gnulib/lib/wait-process.c pid_t slave = slaves[n].child; child 118 maint/gnulib/lib/wait-process.c register_slave_subprocess (pid_t child) child 141 maint/gnulib/lib/wait-process.c s->child = child; child 162 maint/gnulib/lib/wait-process.c kill (child, TERMINATOR); child 177 maint/gnulib/lib/wait-process.c slaves[slaves_count].child = child; child 184 maint/gnulib/lib/wait-process.c unregister_slave_subprocess (pid_t child) child 193 maint/gnulib/lib/wait-process.c if (s->used && s->child == child) child 202 maint/gnulib/lib/wait-process.c wait_subprocess (pid_t child, const char *progname, child 223 maint/gnulib/lib/wait-process.c if (waitid (P_PID, child, &info, WEXITED | (slave_process ? WNOWAIT : 0)) child 251 maint/gnulib/lib/wait-process.c unregister_slave_subprocess (child); child 256 maint/gnulib/lib/wait-process.c if (waitid (P_PID, child, &info, WEXITED) < 0) child 307 maint/gnulib/lib/wait-process.c int result = waitpid (child, &status, 0); child 309 maint/gnulib/lib/wait-process.c if (result != child) child 343 maint/gnulib/lib/wait-process.c unregister_slave_subprocess (child); child 57 maint/gnulib/lib/wait-process.h extern int wait_subprocess (pid_t child, const char *progname, child 66 maint/gnulib/lib/wait-process.h extern void register_slave_subprocess (pid_t child); child 47 maint/gnulib/tests/test-nonblocking-pipe-main.c pid_t child; child 85 maint/gnulib/tests/test-nonblocking-pipe-main.c child = _spawnvpe (P_NOWAIT, child_path, child_argv, child 87 maint/gnulib/tests/test-nonblocking-pipe-main.c ASSERT (child >= 0); child 95 maint/gnulib/tests/test-nonblocking-pipe-main.c child = child_pid; child 108 maint/gnulib/tests/test-nonblocking-pipe-main.c wait_subprocess (child, child_path, false, false, false, false, NULL); child 50 maint/gnulib/tests/test-nonblocking-socket-main.c pid_t child; child 72 maint/gnulib/tests/test-nonblocking-socket-main.c child = _spawnvpe (P_NOWAIT, child_path, child_argv, child 74 maint/gnulib/tests/test-nonblocking-socket-main.c ASSERT (child >= 0); child 82 maint/gnulib/tests/test-nonblocking-socket-main.c child = child_pid; child 119 maint/gnulib/tests/test-nonblocking-socket-main.c wait_subprocess (child, child_path, false, false, false, false, NULL); child 58 maint/gnulib/tests/test-popen.h FILE *child; child 68 maint/gnulib/tests/test-popen.h ASSERT (child = popen (cmd, "r")); child 69 maint/gnulib/tests/test-popen.h ASSERT (fgetc (child) == 'c'); child 70 maint/gnulib/tests/test-popen.h status = pclose (child); child 80 maint/gnulib/tests/test-popen.h ASSERT (child = popen (cmd, "w")); child 81 maint/gnulib/tests/test-popen.h ASSERT (fputc ('p', child) == 'p'); child 82 maint/gnulib/tests/test-popen.h status = pclose (child); child 63 maint/gnulib/tests/test-posix_spawn-chdir.c pid_t child; child 105 maint/gnulib/tests/test-posix_spawn-chdir.c || (err = posix_spawnp (&child, pwd_prog, &actions, &attrs, argv, environ)) != 0)) child 149 maint/gnulib/tests/test-posix_spawn-chdir.c while (waitpid (child, &status, 0) != child) child 63 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c pid_t child; child 102 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c || (err = posix_spawnp (&child, BOURNE_SHELL, &actions, &attrs, argv, environ)) != 0)) child 132 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c while (waitpid (child, &status, 0) != child) child 85 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c pid_t child; child 125 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c || (err = posix_spawnp (&child, BOURNE_SHELL, &actions, &attrs, argv, environ)) != 0)) child 159 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c while (waitpid (child, &status, 0) != child) child 67 maint/gnulib/tests/test-posix_spawn-fchdir.c pid_t child; child 114 maint/gnulib/tests/test-posix_spawn-fchdir.c || (err = posix_spawnp (&child, pwd_prog, &actions, &attrs, argv, environ)) != 0)) child 155 maint/gnulib/tests/test-posix_spawn-fchdir.c while (waitpid (child, &status, 0) != child) child 43 maint/gnulib/tests/test-posix_spawn-inherit0.c pid_t child; child 75 maint/gnulib/tests/test-posix_spawn-inherit0.c if ((err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, NULL, NULL, argv, environ)) != 0) child 82 maint/gnulib/tests/test-posix_spawn-inherit0.c while (waitpid (child, &status, 0) != child) child 43 maint/gnulib/tests/test-posix_spawn-inherit1.c pid_t child; child 62 maint/gnulib/tests/test-posix_spawn-inherit1.c if ((err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, NULL, NULL, argv, environ)) != 0) child 69 maint/gnulib/tests/test-posix_spawn-inherit1.c while (waitpid (child, &status, 0) != child) child 58 maint/gnulib/tests/test-posix_spawn-open1.c pid_t child; child 89 maint/gnulib/tests/test-posix_spawn-open1.c || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) child 99 maint/gnulib/tests/test-posix_spawn-open1.c while (waitpid (child, &status, 0) != child) child 46 maint/gnulib/tests/test-posix_spawn-open2.c pid_t child; child 70 maint/gnulib/tests/test-posix_spawn-open2.c || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) child 80 maint/gnulib/tests/test-posix_spawn-open2.c while (waitpid (child, &status, 0) != child) child 45 maint/gnulib/tests/test-posix_spawn-script.c pid_t child; child 63 maint/gnulib/tests/test-posix_spawn-script.c int err = posix_spawn (&child, prog_path, &actions, NULL, child 76 maint/gnulib/tests/test-posix_spawn-script.c while (waitpid (child, &status, 0) != child) child 103 maint/gnulib/tests/test-posix_spawn-script.c int err = posix_spawn (&child, prog_path, &actions, NULL, child 116 maint/gnulib/tests/test-posix_spawn-script.c while (waitpid (child, &status, 0) != child) child 45 maint/gnulib/tests/test-posix_spawnp-script.c pid_t child; child 63 maint/gnulib/tests/test-posix_spawnp-script.c int err = posix_spawnp (&child, prog_path, &actions, NULL, child 76 maint/gnulib/tests/test-posix_spawnp-script.c while (waitpid (child, &status, 0) != child) child 103 maint/gnulib/tests/test-posix_spawnp-script.c int err = posix_spawnp (&child, prog_path, &actions, NULL, child 116 maint/gnulib/tests/test-posix_spawnp-script.c while (waitpid (child, &status, 0) != child) child 85 tools/cibadmin.c xmlNode *child = NULL; child 87 tools/cibadmin.c for (child = xml->children; child; child = child->next) { child 88 tools/cibadmin.c print_xml_output(child); child 363 tools/crm_attribute.c delete_attr_on_node(xmlNode *child, void *userdata) child 367 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 439 tools/crm_attribute.c update_attr_on_node(xmlNode *child, void *userdata) child 443 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); child 991 tools/crm_resource.c pcmk_resource_t *child = (pcmk_resource_t *)iter->data; child 992 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); child 996 tools/crm_resource.c current = pe__current_node(child); child 24 tools/crm_resource_runtime.c const pcmk_resource_t *child = (const pcmk_resource_t *) iter->data; child 26 tools/crm_resource_runtime.c for (const GList *iter2 = child->running_on; child 34 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == pcmk_role_promoted; child 137 tools/crm_resource_runtime.c xmlNode *child = NULL; child 142 tools/crm_resource_runtime.c for (child = pcmk__xml_first_child(xml_search); child != NULL; child 143 tools/crm_resource_runtime.c child = pcmk__xml_next(child)) { child 145 tools/crm_resource_runtime.c crm_element_value(child, XML_NVPAIR_ATTR_VALUE), ID(child)); child 234 tools/crm_resource_runtime.c pcmk_resource_t *child = rsc->children->data; child 236 tools/crm_resource_runtime.c if (child->variant == pcmk_rsc_variant_primitive) { child 237 tools/crm_resource_runtime.c lookup_id = clone_strip(child->id); /* Could be a cloned group! */ child 242 tools/crm_resource_runtime.c rsc = child; child 782 tools/crm_resource_runtime.c const pcmk_resource_t *child = (const pcmk_resource_t *) lpc->data; child 784 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, child 1343 tools/crm_resource_runtime.c pcmk_resource_t *child = iter->data; child 1344 tools/crm_resource_runtime.c int delay = max_rsc_stop_timeout(child); child 1349 tools/crm_resource_runtime.c rsc->id, pcmk__readable_interval(delay), child->id); child 2168 tools/crm_resource_runtime.c const pcmk_resource_t *child = (const pcmk_resource_t *) iter->data; child 2169 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); child 2172 tools/crm_resource_runtime.c rsc = child; child 2173 tools/crm_resource_runtime.c promoted_node = pe__current_node(child);