/systemd/src/libsystemd-network/ |
H A D | icmp6-util.c | 105 struct iovec iov = { local 112 .msg_iov = &iov,
|
H A D | sd-dhcp-server.c | 290 struct iovec iov = { local 298 .msg_iov = &iov, 950 struct iovec iov = {}; local 952 .msg_iov = &iov, 971 iov.iov_base = message; 972 iov.iov_len = buflen;
|
H A D | sd-ndisc.c | 481 struct iovec iov = {}; local 486 .msg_iov = &iov, 508 iov.iov_len = buflen; 510 ra = malloc(iov.iov_len); 514 iov.iov_base = ra;
|
H A D | sd-dhcp-client.c | 1610 struct iovec iov = {}; local 1612 .msg_iov = &iov, 1635 iov.iov_base = packet; 1636 iov.iov_len = buflen;
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-container.c | 152 struct iovec iov = { local 159 .msg_iov = &iov,
|
H A D | bus-socket.c | 47 static void iovec_advance(struct iovec iov[], unsigned *idx, size_t size) { argument 50 struct iovec *i = iov + *idx; 505 struct iovec iov = {}; local 537 iov.iov_base = (uint8_t*) b->rbuffer + b->rbuffer_size; 538 iov.iov_len = n - b->rbuffer_size; 541 k = readv(b->input_fd, &iov, 1); 544 mh.msg_iov = &iov; 552 k = readv(b->input_fd, &iov, 1); 770 struct iovec *iov; local 789 iov 923 struct iovec iov = {}; local [all...] |
H A D | bus-message.c | 1718 const struct iovec *iov, 1728 assert_return(iov || n == 0, -EINVAL); 1731 size = IOVEC_TOTAL_SIZE(iov, n); 1739 if (iov[i].iov_base) 1740 memcpy(p, iov[i].iov_base, iov[i].iov_len); 1742 memset(p, ' ', iov[i].iov_len); 1744 p += iov[i].iov_len; 2643 const struct iovec *iov, 2654 assert_return(iov || 1716 sd_bus_message_append_string_iovec( sd_bus_message *m, const struct iovec *iov, unsigned n) argument 2640 sd_bus_message_append_array_iovec( sd_bus_message *m, char type, const struct iovec *iov, unsigned n) argument [all...] |
/systemd/src/resolve/ |
H A D | resolved-dns-stream.c | 212 struct iovec iov[2]; local 215 iov[0].iov_base = &s->write_size; 216 iov[0].iov_len = sizeof(s->write_size); 217 iov[1].iov_base = DNS_PACKET_DATA(s->write_packet); 218 iov[1].iov_len = s->write_packet->size; 220 IOVEC_INCREMENT(iov, 2, s->n_written); 222 ss = writev(fd, iov, 2);
|
H A D | resolved-manager.c | 619 struct iovec iov; local 637 iov.iov_base = DNS_PACKET_DATA(p); 638 iov.iov_len = p->allocated; 642 mh.msg_iov = &iov; 808 struct iovec iov; local 816 iov.iov_base = DNS_PACKET_DATA(p); 817 iov.iov_len = p->size; 822 mh.msg_iov = &iov; 857 struct iovec iov; local 865 iov [all...] |
/systemd/src/journal/ |
H A D | journal-send.c | 99 struct iovec iov[2]; local 110 zero(iov); 111 IOVEC_SET_STRING(iov[0], buffer); 112 IOVEC_SET_STRING(iov[1], p); 114 return sd_journal_sendv(iov, 2); 120 struct iovec *iov = NULL; local 126 iov = malloc0(n * sizeof(struct iovec)); 127 if (!iov) { 142 c = realloc(iov, n * sizeof(struct iovec)); 148 iov 182 struct iovec *iov = NULL; local 204 sd_journal_sendv(const struct iovec *iov, int n) argument 345 fill_iovec_perror_and_send(const char *message, int skip, struct iovec iov[]) argument 462 struct iovec iov[5]; local 492 struct iovec *iov = NULL; local 521 sd_journal_sendv_with_location( const char *file, const char *line, const char *func, const struct iovec *iov, int n) argument 549 struct iovec iov[6]; local [all...] |
H A D | journald-audit.c | 32 int (*map)(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov); 35 static int map_simple_field(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) { argument 42 assert(iov); 61 if (!GREEDY_REALLOC(*iov, *n_iov_allocated, *n_iov + 1)) 64 (*iov)[*n_iov].iov_base = c; 65 (*iov)[*n_iov].iov_len = l; 74 static int map_string_field_internal(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov, bool filter_printable) { argument 81 assert(iov); 140 if (!GREEDY_REALLOC(*iov, *n_iov_allocated, *n_iov + 1)) 143 (*iov)[*n_io 153 map_string_field(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) argument 157 map_string_field_printable(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) argument 161 map_generic_field(const char *prefix, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) argument 259 map_all_fields( const char *p, const MapField map_fields[], const char *prefix, bool handle_msg, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) argument 338 _cleanup_free_ struct iovec *iov = NULL; local [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-socket.c | 258 static int socket_recv_message(int fd, struct iovec *iov, uint32_t *_group, bool peek) { argument 262 .msg_iov = iov, 274 assert(iov); 325 struct iovec iov = {}; local 338 r = socket_recv_message(rtnl->fd, &iov, NULL, true); 350 iov.iov_base = rtnl->rbuffer; 351 iov.iov_len = rtnl->rbuffer_allocated; 354 r = socket_recv_message(rtnl->fd, &iov, &group, false);
|
/systemd/src/udev/ |
H A D | udev-ctrl.c | 328 struct iovec iov; local 331 .msg_iov = &iov, 371 iov.iov_base = &uctrl_msg->ctrl_msg_wire; 372 iov.iov_len = sizeof(struct udev_ctrl_msg_wire);
|
/systemd/src/libudev/ |
H A D | libudev-monitor.c | 586 struct iovec iov; local 602 iov.iov_base = &buf; 603 iov.iov_len = sizeof(buf); 605 smsg.msg_iov = &iov; 721 struct iovec iov[2] = { local 725 .msg_iov = iov, 755 nlh.properties_off = iov[0].iov_len; 757 iov[1].iov_base = (char *)buf; 758 iov[1].iov_len = blen;
|
/systemd/src/machine/ |
H A D | machine-dbus.c | 288 struct iovec iov[2] = { local 293 r = writev(pair[1], iov, 2); 309 struct iovec iov[2]; local 311 .msg_iov = iov, 315 iov[0] = (struct iovec) { .iov_base = &family, .iov_len = sizeof(family) }; 316 iov[1] = (struct iovec) { .iov_base = &in_addr, .iov_len = sizeof(in_addr) };
|
/systemd/src/timesync/ |
H A D | timesyncd-manager.c | 477 struct iovec iov = { local 487 .msg_iov = &iov, 522 if (iov.iov_len < sizeof(struct ntp_msg) || (msghdr.msg_flags & MSG_TRUNC)) {
|
/systemd/src/libsystemd/sd-resolve/ |
H A D | sd-resolve.c | 246 struct iovec iov[2]; local 270 iov[0] = (struct iovec) { .iov_base = &resp, .iov_len = sizeof(AddrInfoResponse) }; 271 iov[1] = (struct iovec) { .iov_base = &buffer, .iov_len = resp.header.length - sizeof(AddrInfoResponse) }; 273 mh.msg_iov = iov; 274 mh.msg_iovlen = ELEMENTSOF(iov); 300 struct iovec iov[3]; local 312 iov[0] = (struct iovec) { .iov_base = &resp, .iov_len = sizeof(NameInfoResponse) }; 313 iov[1] = (struct iovec) { .iov_base = (void*) host, .iov_len = hl }; 314 iov[2] = (struct iovec) { .iov_base = (void*) serv, .iov_len = sl }; 316 mh.msg_iov = iov; 943 struct iovec iov[3]; local 1017 struct iovec iov[2]; local [all...] |
/systemd/src/test/ |
H A D | test-util.c | 976 struct iovec iov[3]; local 978 IOVEC_SET_STRING(iov[0], "abc\n"); 979 IOVEC_SET_STRING(iov[1], ALPHANUMERICAL "\n"); 980 IOVEC_SET_STRING(iov[2], ""); 985 r = writev(fd, iov, 3);
|