/systemd-251/src/libsystemd/sd-journal/ |
D | journal-send.c | 196 free(iov[j].iov_base); in fill_iovec_sprintf() 221 free(iov[j].iov_base); in sd_journal_send() 256 if (_unlikely_(!iov[i].iov_base || iov[i].iov_len <= 1)) in sd_journal_sendv() 259 c = memchr(iov[i].iov_base, '=', iov[i].iov_len); in sd_journal_sendv() 260 if (_unlikely_(!c || c == iov[i].iov_base)) in sd_journal_sendv() 264 (c == (char *) iov[i].iov_base + 17 && in sd_journal_sendv() 265 startswith(iov[i].iov_base, "SYSLOG_IDENTIFIER")); in sd_journal_sendv() 267 nl = memchr(iov[i].iov_base, '\n', iov[i].iov_len); in sd_journal_sendv() 277 w[j++] = IOVEC_MAKE(iov[i].iov_base, c - (char*) iov[i].iov_base); in sd_journal_sendv() 280 l[i] = htole64(iov[i].iov_len - (c - (char*) iov[i].iov_base) - 1); in sd_journal_sendv() [all …]
|
/systemd-251/coccinelle/ |
D | iovec-make.cocci | 5 - x[y].iov_base = p; 12 - x.iov_base = p; 18 - x->iov_base = p; 29 - x = (struct iovec) { .iov_base = y, .iov_len = z };
|
/systemd-251/src/basic/ |
D | io-util.h | 50 i[j].iov_base = (uint8_t*) i[j].iov_base + sub; in IOVEC_INCREMENT() 77 #define IOVEC_INIT(base, len) { .iov_base = (base), .iov_len = (len) }
|
D | io-util.c | 286 free(iovw->iovec[i].iov_base); in iovw_free_contents() 338 iovw->iovec[i].iov_base = (char *)iovw->iovec[i].iov_base - old + new; in iovw_rebase()
|
D | log.c | 992 free(iovec[i].iov_base); in log_struct_internal() 1079 … if (memory_startswith(input_iovec[i].iov_base, input_iovec[i].iov_len, "MESSAGE=")) { in log_struct_iovec_internal() 1082 m = strndupa_safe((char*) input_iovec[i].iov_base + STRLEN("MESSAGE="), in log_struct_iovec_internal()
|
/systemd-251/src/libsystemd-network/ |
D | fuzz-ndisc-rs.c | 25 int icmp6_receive(int fd, void *iov_base, size_t iov_len, in icmp6_receive() argument 27 assert_se(read(fd, iov_base, iov_len) == (ssize_t) iov_len); in icmp6_receive()
|
D | test-ndisc-rs.c | 181 int icmp6_receive(int fd, void *iov_base, size_t iov_len, in icmp6_receive() argument 183 assert_se(read (fd, iov_base, iov_len) == (ssize_t)iov_len); in icmp6_receive()
|
D | test-ndisc-ra.c | 227 int icmp6_receive(int fd, void *iov_base, size_t iov_len, in icmp6_receive() argument 229 assert_se(read (fd, iov_base, iov_len) == (ssize_t)iov_len); in icmp6_receive()
|
D | icmp6-util.c | 126 .iov_base = &rs, in icmp6_send_router_solicitation()
|
/systemd-251/src/coredump/ |
D | coredump.c | 933 assert(((char*) iovec->iov_base)[iovec->iov_len] == 0); in save_context() 935 p = startswith(iovec->iov_base, meta_field_names[i]); in save_context() 989 iovec.iov_base = malloc(l + 1); in process_socket() 990 if (!iovec.iov_base) { in process_socket() 999 free(iovec.iov_base); in process_socket() 1009 free(iovec.iov_base); in process_socket() 1026 ((char*) iovec.iov_base)[n] = 0; in process_socket() 1029 r = iovw_put(&iovw, iovec.iov_base, iovec.iov_len); in process_socket() 1380 iovw_put(iovw, iovec->iov_base, iovec->iov_len); in process_backtrace()
|
/systemd-251/src/journal/ |
D | journald-native.c | 283 if (iovec[j].iov_base < buffer || in server_process_entry() 284 (const char*) iovec[j].iov_base >= p + *remaining) in server_process_entry() 285 free(iovec[j].iov_base); in server_process_entry()
|
D | journald-audit.c | 410 free(iovec[z].iov_base); in process_audit_string() 481 .iov_base = &request, in enable_audit()
|
D | journald-kmsg.c | 307 free(iovec[j].iov_base); in dev_kmsg_record()
|
D | journald-stream.c | 949 .iov_base = (char*) "FDSTORE=1", in stdout_stream_send_notify()
|
/systemd-251/src/test/ |
D | test-load-fragment.c | 481 assert_se(strneq(c.log_extra_fields[0].iov_base, "FOO=BAR", c.log_extra_fields[0].iov_len)); in TEST() 482 …assert_se(strneq(c.log_extra_fields[1].iov_base, "QOOF=quux ' ' ", c.log_extra_fields[1].iov_len)… in TEST() 490 assert_se(strneq(c.log_extra_fields[0].iov_base, "FOO=BAR", c.log_extra_fields[0].iov_len)); in TEST() 491 …assert_se(strneq(c.log_extra_fields[1].iov_base, "QOOF=quux ' ' ", c.log_extra_fields[1].iov_len)… in TEST() 492 … assert_se(strneq(c.log_extra_fields[2].iov_base, "FOO2=BAR2", c.log_extra_fields[2].iov_len)); in TEST() 493 … assert_se(strneq(c.log_extra_fields[3].iov_base, "QOOF2=quux", c.log_extra_fields[3].iov_len)); in TEST()
|
D | test-journal-importer.c | 16 assert_se(memcmp(content, iovec->iov_base, iovec->iov_len) == 0); in assert_iovec_entry()
|
/systemd-251/src/resolve/ |
D | resolved-dnstls-openssl.c | 338 return dnstls_stream_write(stream, iov[0].iov_base, iov[0].iov_len); in dnstls_stream_writev() 345 memcpy(buf + pos, iov[i].iov_base, iov[i].iov_len); in dnstls_stream_writev()
|
D | resolved-dnstls-gnutls.c | 181 iov[i].iov_base, iov[i].iov_len); in dnstls_stream_writev()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-socket.c | 40 i->iov_base = (uint8_t*) i->iov_base + size; in iovec_advance() 354 memcpy_safe(p, b->auth_iovec[0].iov_base, b->auth_iovec[0].iov_len); in bus_socket_auth_write() 357 b->auth_iovec[0].iov_base = p; in bus_socket_auth_write()
|
D | bus-message.c | 1716 if (iov[i].iov_base) in sd_bus_message_append_string_iovec() 1717 memcpy(p, iov[i].iov_base, iov[i].iov_len); in sd_bus_message_append_string_iovec() 2631 if (iov[i].iov_base) in sd_bus_message_append_array_iovec() 2632 memcpy(p, iov[i].iov_base, iov[i].iov_len); in sd_bus_message_append_array_iovec()
|
/systemd-251/src/fuzz/ |
D | fuzz-varlink.c | 38 n = send(fd, iov->iov_base, MIN(iov->iov_len, 143U), MSG_NOSIGNAL|MSG_DONTWAIT); in io_callback()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 425 .iov_base = &buf, in device_monitor_receive_device() 557 { .iov_base = &nlh, .iov_len = sizeof nlh }, in device_monitor_send_device()
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 281 { .iov_base = &a->family, .iov_len = sizeof(a->family) }, in bus_machine_method_get_addresses() 282 … { .iov_base = &a->address, .iov_len = FAMILY_ADDRESS_SIZE(a->family) }, in bus_machine_method_get_addresses()
|
/systemd-251/src/timesync/ |
D | timesyncd-manager.c | 402 .iov_base = &ntpmsg, in manager_receive_response()
|
/systemd-251/src/import/ |
D | importd.c | 551 .iov_base = buf, in manager_on_notify()
|