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 230 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 300 lib/cib/cib_utils.c scratch = current_cib; scratch 303 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); scratch 304 lib/cib/cib_utils.c copy_in_properties(current_cib, scratch); scratch 307 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 308 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 311 lib/cib/cib_utils.c scratch = copy_xml(current_cib); scratch 312 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 313 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, current_cib, &scratch, output); scratch 315 lib/cib/cib_utils.c if(scratch && xml_tracking_changes(scratch) == FALSE) { scratch 317 lib/cib/cib_utils.c xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user)); scratch 318 lib/cib/cib_utils.c xml_calculate_changes(current_cib, scratch); scratch 320 lib/cib/cib_utils.c CRM_CHECK(current_cib != scratch, return -EINVAL); scratch 323 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 325 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 329 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 338 lib/cib/cib_utils.c if (scratch) { scratch 339 lib/cib/cib_utils.c new_version = crm_element_value(scratch, XML_ATTR_CRM_VERSION); scratch 353 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); scratch 364 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); scratch 377 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 378 lib/cib/cib_utils.c fix_plus_plus_recursive(scratch); scratch 386 lib/cib/cib_utils.c local_diff = xml_create_patchset(2, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 397 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, current_cib, scratch, (bool*)config_changed, manage_counters); scratch 400 lib/cib/cib_utils.c xml_log_changes(LOG_TRACE, __func__, scratch); scratch 401 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 408 lib/cib/cib_utils.c patchset_process_digest(local_diff, current_cib, scratch, with_digest); scratch 428 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 456 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, XML_ATTR_VALIDATION); scratch 458 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 472 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_ORIG, origin); scratch 473 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_CLIENT, scratch 475 lib/cib/cib_utils.c crm_xml_replace(scratch, XML_ATTR_UPDATE_USER, crm_element_value(req, F_CIB_USER)); scratch 481 lib/cib/cib_utils.c if ((rc == pcmk_ok) && check_schema && !validate_xml(scratch, NULL, TRUE)) { scratch 482 lib/cib/cib_utils.c const char *current_schema = crm_element_value(scratch, scratch 492 lib/cib/cib_utils.c *result_cib = scratch; scratch 494 lib/cib/cib_utils.c if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) { scratch 498 lib/cib/cib_utils.c free_xml(scratch); scratch 402 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; scratch 412 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(rsc_lh->allowed_nodes); scratch 413 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 415 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = scratch; gIter != NULL; gIter = gIter->next) { scratch 426 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch); scratch 1083 lib/pacemaker/pcmk_sched_clone.c GList *scratch = NULL; scratch 1091 lib/pacemaker/pcmk_sched_clone.c scratch = g_hash_table_get_values(local_child->allowed_nodes); scratch 1092 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); scratch 1094 lib/pacemaker/pcmk_sched_clone.c gIter = scratch; scratch 1106 lib/pacemaker/pcmk_sched_clone.c g_list_free(scratch);