Lines Matching refs:bad
297 _cleanup_free_ char *bad = NULL; in make_bad() local
307 bad = strjoin(prefix, "+0", suffix); in make_bad()
308 if (!bad) in make_bad()
311 if (asprintf(&bad, "%s+0-%" PRIu64 "%s", prefix, done, suffix) < 0) in make_bad()
315 *ret = TAKE_PTR(bad); in make_bad()
327 _cleanup_free_ char *path = NULL, *prefix = NULL, *suffix = NULL, *good = NULL, *bad = NULL; in verb_status() local
347 r = make_bad(prefix, done, suffix, &bad); in verb_status()
356 bad); in verb_status()
388 if (faccessat(fd, skip_slash(bad), F_OK, 0) >= 0) { in verb_status()
393 return log_error_errno(errno, "Failed to check if '%s' exists: %m", bad); in verb_status()
402 …_cleanup_free_ char *path = NULL, *prefix = NULL, *suffix = NULL, *good = NULL, *bad = NULL, *pare… in verb_set() local
421 r = make_bad(prefix, done, suffix, &bad); in verb_set()
429 source2 = bad; /* Maybe this boot was previously marked as 'bad'? */ in verb_set()
431 target = bad; in verb_set()
438 source2 = bad; in verb_set()