scratch 255 cib/messages.c xmlNode *scratch = copy_xml(existing_cib); scratch 264 cib/messages.c rc = update_validation(&scratch, &new_version, 0, TRUE, TRUE); scratch 293 cib/messages.c free_xml(scratch); scratch 299 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 367 lib/cib/cib_utils.c scratch = current_cib; scratch 370 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); scratch 371 lib/cib/cib_utils.c copy_in_properties(current_cib, scratch); scratch 374 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 375 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 378 lib/cib/cib_utils.c scratch = copy_xml(current_cib); scratch 379 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 380 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); scratch 382 lib/cib/cib_utils.c if(scratch && xml_tracking_changes(scratch) == FALSE) { scratch 384 lib/cib/cib_utils.c xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user)); scratch 385 lib/cib/cib_utils.c xml_calculate_changes(current_cib, scratch); scratch 387 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); scratch 390 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 392 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 396 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 405 lib/cib/cib_utils.c if (scratch) { scratch 406 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 420 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 431 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 444 lib/cib/cib_utils.c strip_text_nodes(scratch); scratch 445 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 453 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 464 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 467 lib/cib/cib_utils.c xml_log_changes(LOG_TRACE, __FUNCTION__, scratch); scratch 468 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 475 lib/cib/cib_utils.c patchset_process_digest(local_diff, current_cib, scratch, with_digest); scratch 495 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 525 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 529 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_CIB_ATTR_WRITTEN, now_str); scratch 544 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 545 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_CLIENT, scratch 548 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_USER, crm_element_value(req, F_CIB_USER)); scratch 555 lib/cib/cib_utils.c if (rc == pcmk_ok && check_dtd && validate_xml(scratch, NULL, TRUE) == FALSE) { scratch 556 lib/cib/cib_utils.c const char *current_dtd = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 564 lib/cib/cib_utils.c *result_cib = scratch; scratch 567 lib/cib/cib_utils.c if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) { scratch 571 lib/cib/cib_utils.c free_xml(scratch); scratch 986 pengine/clone.c GListPtr scratch = NULL; scratch 994 pengine/clone.c scratch = g_hash_table_get_values(local_child->allowed_nodes); scratch 995 pengine/clone.c scratch = g_list_sort_with_data(scratch, sort_node_weight, NULL); scratch 997 pengine/clone.c gIter = scratch; scratch 1009 pengine/clone.c g_list_free(scratch); scratch 373 pengine/container.c GListPtr scratch = NULL; scratch 382 pengine/container.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); scratch 383 pengine/container.c scratch = g_list_sort_with_data(scratch, sort_node_weight, NULL); scratch 385 pengine/container.c for (GListPtr gIter = scratch; gIter != NULL; gIter = gIter->next) { scratch 396 pengine/container.c g_list_free(scratch);