/systemd-251/src/analyze/ |
D | analyze-time-data.c | 130 _cleanup_free_ char *path = NULL, *unit_id = NULL, *text = NULL; in pretty_boot_time() local 150 &unit_id); in pretty_boot_time() 181 if (unit_id && timestamp_is_set(activated_time)) { in pretty_boot_time() 184 …if (!strextend(&text, "\n", unit_id, " reached after ", FORMAT_TIMESPAN(activated_time - base, USE… in pretty_boot_time() 187 } else if (unit_id && activated_time == 0) { in pretty_boot_time() 189 if (!strextend(&text, "\n", unit_id, " was never reached.")) in pretty_boot_time() 192 } else if (unit_id && activated_time == USEC_INFINITY) { in pretty_boot_time() 194 if (!strextend(&text, "\nCould not get time to reach ", unit_id, ".")) in pretty_boot_time() 197 } else if (!unit_id) { in pretty_boot_time()
|
D | analyze-dot.c | 90 _cleanup_free_ char *unit = NULL, *unit_id = NULL; in expand_patterns() local 109 &unit_id); in expand_patterns() 113 if (!streq(*pattern, unit_id)) { in expand_patterns() 114 if (strv_extend(&expanded_patterns, unit_id) < 0) in expand_patterns()
|
/systemd-251/src/journal/ |
D | journald-context.c | 271 static int client_context_read_cgroup(Server *s, ClientContext *c, const char *unit_id) { in client_context_read_cgroup() argument 283 if (unit_id && !c->unit) { in client_context_read_cgroup() 284 c->unit = strdup(unit_id); in client_context_read_cgroup() 508 const char *unit_id, in client_context_really_refresh() argument 525 (void) client_context_read_cgroup(s, c, unit_id); in client_context_really_refresh() 545 const char *unit_id, in client_context_maybe_refresh() argument 582 client_context_really_refresh(s, c, ucred, label, label_size, unit_id, timestamp); in client_context_maybe_refresh() 654 const char *unit_id, in client_context_get_internal() argument 681 client_context_maybe_refresh(s, c, ucred, label, label_len, unit_id, USEC_INFINITY); in client_context_get_internal() 705 client_context_really_refresh(s, c, ucred, label, label_len, unit_id, USEC_INFINITY); in client_context_get_internal() [all …]
|
D | journald-context.h | 65 const char *unit_id, 73 const char *unit_id, 83 const char *unit_id,
|
D | journald-stream.c | 82 char *unit_id; member 129 free(s->unit_id); in stdout_stream_free() 204 if (!isempty(s->unit_id)) { in stdout_stream_save() 207 escaped = cescape(s->unit_id); in stdout_stream_save() 267 …quire(s->server, s->ucred.pid, &s->ucred, s->label, strlen_ptr(s->label), s->unit_id, &s->context); in stdout_stream_log() 385 s->unit_id = strdup(p); in stdout_stream_line() 386 if (!s->unit_id) in stdout_stream_line() 775 "UNIT", &stream->unit_id, in stdout_stream_load()
|
/systemd-251/src/core/ |
D | transaction.c | 330 STRV_FOREACH_PAIR(unit_id, job_type, pairs) { in merge_unit_ids() 331 next = strlen(unit_log_field) + strlen(*unit_id); in merge_unit_ids() 335 sprintf(ans + size, "%s%s", unit_log_field, *unit_id); in merge_unit_ids() 336 if (*(unit_id+1)) in merge_unit_ids() 390 STRV_FOREACH_PAIR(unit_id, job_type, array) in transaction_verify_order_one() 395 … unit_id == array ? "ordering cycle" : "dependency", in transaction_verify_order_one() 396 *unit_id, *job_type), in transaction_verify_order_one()
|
D | dbus-unit.c | 991 …SD_BUS_RESULT("u", job_id, "o", job_path, "s", unit_id, "o", unit_path, "s", job_type, "a(uosos)",…
|
D | dbus-manager.c | 2914 …SD_BUS_RESULT("u", job_id, "o", job_path, "s", unit_id, "o", unit_path, "s", job_type, "a(uosos)",…
|