Lines Matching defs:iovec
48 struct iovec iovec[5];
71 IOVEC_SET_STRING(iovec[n++], header_priority);
83 IOVEC_SET_STRING(iovec[n++], identifier);
85 IOVEC_SET_STRING(iovec[n++], header_pid);
87 IOVEC_SET_STRING(iovec[n++], identifier);
88 IOVEC_SET_STRING(iovec[n++], ": ");
92 IOVEC_SET_STRING(iovec[n++], message);
93 IOVEC_SET_STRING(iovec[n++], "\n");
95 if (writev(s->dev_kmsg_fd, iovec, n) < 0)
113 struct iovec iovec[N_IOVEC_META_FIELDS + 7 + N_IOVEC_KERNEL_FIELDS + 2 + N_IOVEC_UDEV_FIELDS];
218 IOVEC_SET_STRING(iovec[n++], m);
238 IOVEC_SET_STRING(iovec[n++], b);
247 IOVEC_SET_STRING(iovec[n++], b);
263 IOVEC_SET_STRING(iovec[n++], b);
276 IOVEC_SET_STRING(iovec[n++], source_time);
278 IOVEC_SET_STRING(iovec[n++], "_TRANSPORT=kernel");
281 IOVEC_SET_STRING(iovec[n++], syslog_priority);
284 IOVEC_SET_STRING(iovec[n++], syslog_facility);
287 IOVEC_SET_STRING(iovec[n++], "SYSLOG_IDENTIFIER=kernel");
299 IOVEC_SET_STRING(iovec[n++], syslog_identifier);
305 IOVEC_SET_STRING(iovec[n++], syslog_pid);
310 IOVEC_SET_STRING(iovec[n++], message);
312 server_dispatch_message(s, iovec, n, ELEMENTSOF(iovec), NULL, NULL, NULL, 0, NULL, priority, 0);
316 free(iovec[j].iov_base);