Searched defs:identifier (Results 1 - 9 of 9) sorted by relevance

/systemd/src/journal/
H A Djournald-wall.c31 const char *identifier,
46 if (!identifier) {
48 identifier = ident_buf;
51 if (asprintf(&l_buf, "%s["PID_FMT"]: %s", strempty(identifier), ucred->pid, message) < 0) {
58 } else if (identifier) {
60 l = l_buf = strjoin(identifier, ": ", message, NULL);
28 server_forward_wall( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
H A Djournald-console.c54 const char *identifier,
81 /* Second: identifier and PID */
83 if (!identifier) {
85 identifier = ident_buf;
90 if (identifier)
91 IOVEC_SET_STRING(iovec[n++], identifier);
94 } else if (identifier) {
95 IOVEC_SET_STRING(iovec[n++], identifier);
51 server_forward_console( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
H A Djournal-send.c394 _public_ int sd_journal_stream_fd(const char *identifier, int priority, int level_prefix) { argument
420 if (!identifier)
421 identifier = "";
423 l = strlen(identifier);
426 memcpy(header, identifier, l);
H A Djournald-kmsg.c44 const char *identifier,
73 /* Second: identifier and PID */
75 if (!identifier) {
77 identifier = ident_buf;
82 if (identifier)
83 IOVEC_SET_STRING(iovec[n++], identifier);
86 } else if (identifier) {
87 IOVEC_SET_STRING(iovec[n++], identifier);
118 char *identifier = NULL, *pid = NULL, *e, *f, *k; local
289 pl -= syslog_parse_identifier((const char**) &p, &identifier,
41 server_forward_kmsg( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
[all...]
H A Djournald-native.c94 char *identifier = NULL, *message = NULL; local
189 free(identifier);
190 identifier = t;
281 server_forward_syslog(s, priority, identifier, message, ucred, tv);
284 server_forward_kmsg(s, priority, identifier, message, ucred);
287 server_forward_console(s, priority, identifier, message, ucred);
290 server_forward_wall(s, priority, identifier, message, ucred);
306 free(identifier);
H A Djournald-syslog.c132 void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv) { argument
162 /* Third: identifier and PID */
164 if (!identifier) {
166 identifier = ident_buf;
171 if (identifier)
172 IOVEC_SET_STRING(iovec[n++], identifier);
175 } else if (identifier) {
176 IOVEC_SET_STRING(iovec[n++], identifier);
196 size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid) { argument
202 assert(identifier);
332 _cleanup_free_ char *identifier = NULL, *pid = NULL; local
[all...]
H A Djournald-stream.c71 char *identifier; member in struct:StdoutStream
113 free(s->identifier);
149 /* We use device and inode numbers as identifier for the stream */
173 if (!isempty(s->identifier)) {
176 escaped = cescape(s->identifier);
249 server_forward_syslog(s->server, syslog_fixup_facility(priority), s->identifier, p, &s->ucred, NULL);
252 server_forward_kmsg(s->server, priority, s->identifier, p, &s->ucred);
255 server_forward_console(s->server, priority, s->identifier, p, &s->ucred);
258 server_forward_wall(s->server, priority, s->identifier, p, &s->ucred);
270 if (s->identifier) {
[all...]
/systemd/src/network/
H A Dnetworkd-link-bus.c91 _cleanup_free_ char *identifier = NULL; local
102 r = sd_bus_path_decode(path, "/org/freedesktop/network1/link", &identifier);
106 r = parse_ifindex(identifier, &ifindex);
/systemd/src/shared/
H A Dlogs-show.c220 _cleanup_free_ char *hostname = NULL, *identifier = NULL, *comm = NULL, *pid = NULL, *fake_pid = NULL, *message = NULL, *realtime = NULL, *monotonic = NULL, *priority = NULL; local
250 r = parse_field(data, length, "SYSLOG_IDENTIFIER=", &identifier, &identifier_len);
375 if (identifier && shall_print(identifier, identifier_len, flags)) {
376 fprintf(f, " %.*s", (int) identifier_len, identifier);

Completed in 20 milliseconds