Home
last modified time | relevance | path

Searched refs:IOVEC_MAKE_STRING (Results 1 – 23 of 23) sorted by relevance

/systemd-251/src/journal/
Djournald-kmsg.c58 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 …]
Djournald-console.c63 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()
Djournald-syslog.c142 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 …]
Djournald-audit.c376 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()
Djournald-stream.c298 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()
Djournald-server.c907 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 …]
Dtest-journal.c47 iovec = IOVEC_MAKE_STRING(test); in TEST()
50 iovec = IOVEC_MAKE_STRING(test2); in TEST()
53 iovec = IOVEC_MAKE_STRING(test); in TEST()
Dtest-journal-verify.c96 iovec = IOVEC_MAKE_STRING(test); in main()
Dtest-journal-interleaving.c68 iovec[0] = IOVEC_MAKE_STRING(p); in append_number()
Djournald-native.c249 iovec[tn] = IOVEC_MAKE_STRING("_TRANSPORT=journal"); in server_process_entry()
/systemd-251/src/libsystemd/sd-journal/
Djournal-send.c133 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/
Dshow-status.c86 … 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()
Dunit.c2310 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()
Dload-fragment.c3043 c->log_extra_fields[c->n_log_extra_fields++] = IOVEC_MAKE_STRING(k); in config_parse_log_extra_fields()
/systemd-251/src/basic/
Dlog.c395 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 …]
Dio-util.h80 #define IOVEC_MAKE_STRING(string) (struct iovec) IOVEC_INIT_STRING(string) macro
Dio-util.c267 iovec[(*n_iovec)++] = IOVEC_MAKE_STRING(x); in set_iovec_string_field()
/systemd-251/coccinelle/
Diovec-make.cocci25 + IOVEC_MAKE_STRING(s);
/systemd-251/src/test/
Dtest-fileio.c618 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/
Dpstore.c139 iovec[n_iovec++] = IOVEC_MAKE_STRING(message); in move_file()
/systemd-251/src/portable/
Dportable.c212 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/
Dbus-socket.c673 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/
Dsd-daemon.c484 iovec = IOVEC_MAKE_STRING(state); in sd_pid_notify_with_fds()