scratch 210 daemons/based/based_messages.c xmlNode *scratch = pcmk__xml_copy(NULL, existing_cib); scratch 227 daemons/based/based_messages.c rc = pcmk__update_schema(&scratch, NULL, true, true); scratch 229 daemons/based/based_messages.c new_schema = crm_element_value(scratch, PCMK_XA_VALIDATE_WITH); scratch 281 daemons/based/based_messages.c pcmk__xml_free(scratch); scratch 232 lib/cib/cib_utils.c xmlNode *scratch = NULL; scratch 304 lib/cib/cib_utils.c scratch = *current_cib; scratch 307 lib/cib/cib_utils.c top = pcmk__xe_create(NULL, (const char *) scratch->name); scratch 308 lib/cib/cib_utils.c pcmk__xe_copy_attrs(top, scratch, pcmk__xaf_none); scratch 311 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 312 lib/cib/cib_utils.c rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output); scratch 317 lib/cib/cib_utils.c *current_cib = scratch; scratch 320 lib/cib/cib_utils.c scratch = pcmk__xml_copy(NULL, *current_cib); scratch 323 lib/cib/cib_utils.c xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user)); scratch 325 lib/cib/cib_utils.c &scratch, output); scratch 327 lib/cib/cib_utils.c if ((scratch != NULL) && !xml_tracking_changes(scratch)) { scratch 329 lib/cib/cib_utils.c xml_track_changes(scratch, user, *current_cib, scratch 331 lib/cib/cib_utils.c xml_calculate_changes(*current_cib, scratch); scratch 333 lib/cib/cib_utils.c CRM_CHECK(*current_cib != scratch, return -EINVAL); scratch 336 lib/cib/cib_utils.c xml_acl_disable(scratch); /* Allow the system to make any additional changes */ scratch 338 lib/cib/cib_utils.c if (rc == pcmk_ok && scratch == NULL) { scratch 342 lib/cib/cib_utils.c } else if(rc == pcmk_ok && xml_acl_denied(scratch)) { scratch 355 lib/cib/cib_utils.c if (scratch && (cib == NULL || cib->variant != cib_file)) { scratch 356 lib/cib/cib_utils.c const char *new_version = crm_element_value(scratch, PCMK_XA_CRM_FEATURE_SET); scratch 371 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_ADMIN_EPOCH, &new); scratch 382 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_EPOCH, &new); scratch 395 lib/cib/cib_utils.c pcmk__strip_xml_text(scratch); scratch 407 lib/cib/cib_utils.c local_diff = xml_create_patchset(0, patchset_cib, scratch, scratch 410 lib/cib/cib_utils.c pcmk__log_xml_changes(LOG_TRACE, scratch); scratch 411 lib/cib/cib_utils.c xml_accept_changes(scratch); scratch 414 lib/cib/cib_utils.c patchset_process_digest(local_diff, patchset_cib, scratch, with_digest); scratch 435 lib/cib/cib_utils.c save_xml_to_file(scratch, "PatchApply:actual", NULL); scratch 469 lib/cib/cib_utils.c const char *schema = crm_element_value(scratch, PCMK_XA_VALIDATE_WITH); scratch 475 lib/cib/cib_utils.c pcmk__xe_add_last_written(scratch); scratch 487 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_ORIGIN, origin); scratch 489 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_ORIGIN); scratch 493 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_CLIENT, user); scratch 495 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_CLIENT); scratch 499 lib/cib/cib_utils.c crm_xml_add(scratch, PCMK_XA_UPDATE_USER, user); scratch 501 lib/cib/cib_utils.c pcmk__xe_remove_attr(scratch, PCMK_XA_UPDATE_USER); scratch 508 lib/cib/cib_utils.c && !pcmk__configured_schema_validates(scratch)) { scratch 514 lib/cib/cib_utils.c *result_cib = scratch; scratch 520 lib/cib/cib_utils.c && xml_acl_filtered_copy(user, patchset_cib, scratch, result_cib)) { scratch 525 lib/cib/cib_utils.c pcmk__xml_free(scratch); scratch 428 lib/pacemaker/pcmk_sched_bundle.c GList *scratch = NULL; scratch 442 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(dependent->priv->allowed_nodes); scratch 443 lib/pacemaker/pcmk_sched_bundle.c scratch = pcmk__sort_nodes(scratch, NULL); scratch 444 lib/pacemaker/pcmk_sched_bundle.c for (const GList *iter = scratch; iter != NULL; iter = iter->next) { scratch 457 lib/pacemaker/pcmk_sched_bundle.c g_list_free(scratch);