/systemd-251/src/journal/ |
D | journald-kmsg.c | 58 iovec[n++] = IOVEC_MAKE_STRING(header_priority); in server_forward_kmsg() 70 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_kmsg() 72 iovec[n++] = IOVEC_MAKE_STRING(header_pid); in server_forward_kmsg() 74 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_kmsg() 75 iovec[n++] = IOVEC_MAKE_STRING(": "); in server_forward_kmsg() 79 iovec[n++] = IOVEC_MAKE_STRING(message); in server_forward_kmsg() 80 iovec[n++] = IOVEC_MAKE_STRING("\n"); in server_forward_kmsg() 209 iovec[n++] = IOVEC_MAKE_STRING(m); in dev_kmsg_record() 226 iovec[n++] = IOVEC_MAKE_STRING(b); in dev_kmsg_record() 234 iovec[n++] = IOVEC_MAKE_STRING(b); in dev_kmsg_record() [all …]
|
D | journald-console.c | 63 iovec[n++] = IOVEC_MAKE_STRING(tbuf); in server_forward_console() 76 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_console() 78 iovec[n++] = IOVEC_MAKE_STRING(header_pid); in server_forward_console() 80 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_console() 81 iovec[n++] = IOVEC_MAKE_STRING(": "); in server_forward_console() 85 iovec[n++] = IOVEC_MAKE_STRING(message); in server_forward_console() 86 iovec[n++] = IOVEC_MAKE_STRING("\n"); in server_forward_console()
|
D | journald-syslog.c | 142 iovec[n++] = IOVEC_MAKE_STRING(header_priority); in server_forward_syslog() 150 iovec[n++] = IOVEC_MAKE_STRING(header_time); in server_forward_syslog() 162 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_syslog() 164 iovec[n++] = IOVEC_MAKE_STRING(header_pid); in server_forward_syslog() 166 iovec[n++] = IOVEC_MAKE_STRING(identifier); in server_forward_syslog() 167 iovec[n++] = IOVEC_MAKE_STRING(": "); in server_forward_syslog() 171 iovec[n++] = IOVEC_MAKE_STRING(message); in server_forward_syslog() 398 iovec[n++] = IOVEC_MAKE_STRING("_TRANSPORT=syslog"); in server_process_syslog_message() 401 iovec[n++] = IOVEC_MAKE_STRING(syslog_priority); in server_process_syslog_message() 405 iovec[n++] = IOVEC_MAKE_STRING(syslog_facility); in server_process_syslog_message() [all …]
|
D | journald-audit.c | 376 iovec[n++] = IOVEC_MAKE_STRING("_TRANSPORT=audit"); in process_audit_string() 380 iovec[n++] = IOVEC_MAKE_STRING(source_time_field); in process_audit_string() 383 iovec[n++] = IOVEC_MAKE_STRING(type_field); in process_audit_string() 386 iovec[n++] = IOVEC_MAKE_STRING(id_field); in process_audit_string() 389 iovec[n++] = IOVEC_MAKE_STRING("SYSLOG_FACILITY=4"); in process_audit_string() 390 iovec[n++] = IOVEC_MAKE_STRING("SYSLOG_IDENTIFIER=audit"); in process_audit_string() 395 iovec[n++] = IOVEC_MAKE_STRING(type_field_name); in process_audit_string() 398 iovec[n++] = IOVEC_MAKE_STRING(m); in process_audit_string()
|
D | journald-stream.c | 298 iovec[n++] = IOVEC_MAKE_STRING("_TRANSPORT=stdout"); in stdout_stream_log() 299 iovec[n++] = IOVEC_MAKE_STRING(s->id_field); in stdout_stream_log() 302 iovec[n++] = IOVEC_MAKE_STRING(syslog_priority); in stdout_stream_log() 306 iovec[n++] = IOVEC_MAKE_STRING(syslog_facility); in stdout_stream_log() 312 iovec[n++] = IOVEC_MAKE_STRING(syslog_identifier); in stdout_stream_log() 328 iovec[n++] = IOVEC_MAKE_STRING(c); in stdout_stream_log() 332 iovec[n++] = IOVEC_MAKE_STRING(message); in stdout_stream_log()
|
D | journald-server.c | 907 iovec[n++] = IOVEC_MAKE_STRING(k); \ 914 iovec[n++] = IOVEC_MAKE_STRING(k); \ 922 iovec[n++] = IOVEC_MAKE_STRING(k); \ 930 iovec[n++] = IOVEC_MAKE_STRING(k); \ 1022 iovec[n++] = IOVEC_MAKE_STRING(source_time); in dispatch_message_real() 1029 iovec[n++] = IOVEC_MAKE_STRING(s->boot_id_field); in dispatch_message_real() 1032 iovec[n++] = IOVEC_MAKE_STRING(s->machine_id_field); in dispatch_message_real() 1035 iovec[n++] = IOVEC_MAKE_STRING(s->hostname_field); in dispatch_message_real() 1038 iovec[n++] = IOVEC_MAKE_STRING(s->namespace_field); in dispatch_message_real() 1072 iovec[n++] = IOVEC_MAKE_STRING("SYSLOG_FACILITY=3"); in server_driver_message() [all …]
|
D | test-journal.c | 47 iovec = IOVEC_MAKE_STRING(test); in TEST() 50 iovec = IOVEC_MAKE_STRING(test2); in TEST() 53 iovec = IOVEC_MAKE_STRING(test); in TEST()
|
D | test-journal-verify.c | 96 iovec = IOVEC_MAKE_STRING(test); in main()
|
D | test-journal-interleaving.c | 68 iovec[0] = IOVEC_MAKE_STRING(p); in append_number()
|
D | journald-native.c | 249 iovec[tn] = IOVEC_MAKE_STRING("_TRANSPORT=journal"); in server_process_entry()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-send.c | 133 iov[0] = IOVEC_MAKE_STRING(buffer); in sd_journal_printv() 134 iov[1] = IOVEC_MAKE_STRING(p); in sd_journal_printv() 185 iov[i++] = IOVEC_MAKE_STRING(buffer); in fill_iovec_sprintf() 278 w[j++] = IOVEC_MAKE_STRING("\n"); in sd_journal_sendv() 289 w[j++] = IOVEC_MAKE_STRING("\n"); in sd_journal_sendv() 301 w[j++] = IOVEC_MAKE_STRING("SYSLOG_IDENTIFIER="); in sd_journal_sendv() 302 w[j++] = IOVEC_MAKE_STRING(program_invocation_short_name); in sd_journal_sendv() 303 w[j++] = IOVEC_MAKE_STRING("\n"); in sd_journal_sendv() 390 iov[skip+0] = IOVEC_MAKE_STRING("PRIORITY=3"); in fill_iovec_perror_and_send() 391 iov[skip+1] = IOVEC_MAKE_STRING(buffer); in fill_iovec_perror_and_send() [all …]
|
/systemd-251/src/core/ |
D | show-status.c | 86 … iovec[n++] = IOVEC_MAKE_STRING(ANSI_REVERSE_LINEFEED "\r" ANSI_ERASE_TO_END_OF_LINE); in status_vprintf() 90 iovec[n++] = IOVEC_MAKE_STRING("["); in status_vprintf() 91 iovec[n++] = IOVEC_MAKE_STRING(status); in status_vprintf() 92 iovec[n++] = IOVEC_MAKE_STRING("] "); in status_vprintf() 94 iovec[n++] = IOVEC_MAKE_STRING(status_indent); in status_vprintf() 97 iovec[n++] = IOVEC_MAKE_STRING(s); in status_vprintf() 98 iovec[n++] = IOVEC_MAKE_STRING("\n"); in status_vprintf() 101 iovec[n++] = IOVEC_MAKE_STRING(ANSI_ERASE_TO_END_OF_LINE); in status_vprintf()
|
D | unit.c | 2310 iovec[n_iovec++] = IOVEC_MAKE_STRING(t); in unit_log_resources() 2344 iovec[n_iovec++] = IOVEC_MAKE_STRING(t); in unit_log_resources() 2408 iovec[n_iovec++] = IOVEC_MAKE_STRING(t); in unit_log_resources() 2486 iovec[n_iovec] = IOVEC_MAKE_STRING(t); in unit_log_resources() 2487 iovec[n_iovec + 1] = IOVEC_MAKE_STRING("MESSAGE_ID=" SD_MESSAGE_UNIT_RESOURCES_STR); in unit_log_resources() 2490 iovec[n_iovec + 2] = IOVEC_MAKE_STRING(t); in unit_log_resources() 2493 iovec[n_iovec + 3] = IOVEC_MAKE_STRING(t); in unit_log_resources()
|
D | load-fragment.c | 3043 c->log_extra_fields[c->n_log_extra_fields++] = IOVEC_MAKE_STRING(k); in config_parse_log_extra_fields()
|
/systemd-251/src/basic/ |
D | log.c | 395 iovec[n++] = IOVEC_MAKE_STRING(prefix); in write_to_console() 400 iovec[n++] = IOVEC_MAKE_STRING(header_time); in write_to_console() 401 iovec[n++] = IOVEC_MAKE_STRING(" "); in write_to_console() 406 iovec[n++] = IOVEC_MAKE_STRING(tid_string); in write_to_console() 420 iovec[n++] = IOVEC_MAKE_STRING(location); in write_to_console() 424 iovec[n++] = IOVEC_MAKE_STRING(on); in write_to_console() 425 iovec[n++] = IOVEC_MAKE_STRING(buffer); in write_to_console() 427 iovec[n++] = IOVEC_MAKE_STRING(off); in write_to_console() 428 iovec[n++] = IOVEC_MAKE_STRING("\n"); in write_to_console() 480 IOVEC_MAKE_STRING(header_priority), in write_to_syslog() [all …]
|
D | io-util.h | 80 #define IOVEC_MAKE_STRING(string) (struct iovec) IOVEC_INIT_STRING(string) macro
|
D | io-util.c | 267 iovec[(*n_iovec)++] = IOVEC_MAKE_STRING(x); in set_iovec_string_field()
|
/systemd-251/coccinelle/ |
D | iovec-make.cocci | 25 + IOVEC_MAKE_STRING(s);
|
/systemd-251/src/test/ |
D | test-fileio.c | 618 IOVEC_MAKE_STRING("abc\n"), in TEST() 619 IOVEC_MAKE_STRING(ALPHANUMERICAL "\n"), in TEST() 620 IOVEC_MAKE_STRING(""), in TEST()
|
/systemd-251/src/pstore/ |
D | pstore.c | 139 iovec[n_iovec++] = IOVEC_MAKE_STRING(message); in move_file()
|
/systemd-251/src/portable/ |
D | portable.c | 212 IOVEC_MAKE_STRING(os_release_id), in extract_now() 287 IOVEC_MAKE_STRING(de->d_name), in extract_now() 289 IOVEC_MAKE_STRING(strempty(con)), in extract_now()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-socket.c | 673 b->auth_iovec[i++] = IOVEC_MAKE_STRING(sasl_negotiate_unix_fd); in bus_socket_start_auth_client() 675 b->auth_iovec[i++] = IOVEC_MAKE_STRING(sasl_begin); in bus_socket_start_auth_client()
|
/systemd-251/src/libsystemd/sd-daemon/ |
D | sd-daemon.c | 484 iovec = IOVEC_MAKE_STRING(state); in sd_pid_notify_with_fds()
|