scratch 229 daemons/based/based_messages.c xmlNode *scratch = copy_xml(existing_cib); scratch 241 daemons/based/based_messages.c rc = update_validation(&scratch, &new_version, 0, TRUE, TRUE); scratch 296 daemons/based/based_messages.c free_xml(scratch); scratch 215 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 285 lib/cib/cib_utils.c scratch = current_cib; scratch 288 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); scratch 289 lib/cib/cib_utils.c copy_in_properties(current_cib, scratch); scratch 292 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 293 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 296 lib/cib/cib_utils.c scratch = copy_xml(current_cib); scratch 297 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 298 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); scratch 300 lib/cib/cib_utils.c if(scratch && xml_tracking_changes(scratch) == FALSE) { scratch 302 lib/cib/cib_utils.c xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user)); scratch 303 lib/cib/cib_utils.c xml_calculate_changes(current_cib, scratch); scratch 305 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); scratch 308 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 310 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 314 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 323 lib/cib/cib_utils.c if (scratch) { scratch 324 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 338 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 349 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 362 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 363 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 371 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 382 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 385 lib/cib/cib_utils.c xml_log_changes(LOG_TRACE, __func__, scratch); scratch 386 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 393 lib/cib/cib_utils.c patchset_process_digest(local_diff, current_cib, scratch, with_digest); scratch 413 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 441 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 443 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 457 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 458 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_CLIENT, scratch 461 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_USER, crm_element_value(req, F_CIB_USER)); scratch 468 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { scratch 469 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 479 lib/cib/cib_utils.c *result_cib = scratch; scratch 482 lib/cib/cib_utils.c if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) { scratch 486 lib/cib/cib_utils.c free_xml(scratch); scratch 398 lib/pacemaker/pcmk_sched_bundle.c GListPtr scratch = NULL; scratch 408 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); scratch 409 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 411 lib/pacemaker/pcmk_sched_bundle.c for (GListPtr gIter = scratch; gIter != NULL; gIter = gIter->next) { scratch 422 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch); scratch 1029 lib/pacemaker/pcmk_sched_clone.c GListPtr scratch = NULL; scratch 1037 lib/pacemaker/pcmk_sched_clone.c scratch = g_hash_table_get_values(local_child->allowed_nodes); scratch 1038 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 1040 lib/pacemaker/pcmk_sched_clone.c gIter = scratch; scratch 1052 lib/pacemaker/pcmk_sched_clone.c g_list_free(scratch);