first_half 334 tools/crm_resource_ban.c char *first_half = NULL; first_half 349 tools/crm_resource_ban.c first_half = calloc(1, XPATH_MAX); first_half 350 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); first_half 353 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); first_half 357 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); first_half 359 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); first_half 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s' and @role='%s']", rsc, RSC_ROLE_MASTER_S); first_half 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); first_half 371 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@role='%s']", RSC_ROLE_MASTER_S); first_half 373 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); first_half 380 tools/crm_resource_ban.c first_half, rsc_role_substr, node, date_substr); first_half 383 tools/crm_resource_ban.c first_half, node, date_substr); first_half 386 tools/crm_resource_ban.c xpath_string = crm_strdup_printf("%s%s", first_half, date_substr); first_half 389 tools/crm_resource_ban.c free(first_half);