Searched refs:n_iovec (Results 1 - 7 of 7) sorted by relevance

/systemd/src/coredump/
H A Dcoredump.c593 size_t n_iovec,
603 assert(n_iovec_allocated >= n_iovec + 3);
624 IOVEC_SET_STRING(iovec[n_iovec++], coredump_filename);
657 IOVEC_SET_STRING(iovec[n_iovec++], core_message);
668 iovec[n_iovec].iov_base = coredump_data;
669 iovec[n_iovec].iov_len = sz;
670 n_iovec++;
674 assert(n_iovec <= n_iovec_allocated);
676 r = sd_journal_sendv(iovec, n_iovec);
721 size_t n_iovec local
589 submit_coredump( const char *context[_CONTEXT_MAX], struct iovec *iovec, size_t n_iovec_allocated, size_t n_iovec, int input_fd) argument
833 send_iovec(const struct iovec iovec[], size_t n_iovec, int input_fd) argument
912 size_t n_iovec = 0; local
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-socket.c72 m->iovec[m->n_iovec].iov_base = (void*) p;
73 m->iovec[m->n_iovec].iov_len = sz;
74 m->n_iovec++;
87 if (m->n_iovec > 0)
117 assert(n == m->n_iovec);
788 n = m->n_iovec * sizeof(struct iovec);
796 k = writev(bus->output_fd, iov, m->n_iovec);
800 .msg_iovlen = m->n_iovec,
816 k = writev(bus->output_fd, iov, m->n_iovec);
H A Dbus-message.h129 unsigned n_iovec; member in struct:sd_bus_message
H A Dbus-message.c574 m->n_iovec = 1;
/systemd/src/journal/
H A Djournald-syslog.c45 static void forward_syslog_iovec(Server *s, const struct iovec *iovec, unsigned n_iovec, const struct ucred *ucred, const struct timeval *tv) { argument
53 .msg_iovlen = n_iovec,
66 assert(n_iovec > 0);
H A Djournal-file.h197 int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const struct iovec iovec[], unsigned n_iovec, uint64_t *seqno, Object **ret, uint64_t *offset);
H A Djournal-file.c1518 int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const struct iovec iovec[], unsigned n_iovec, uint64_t *seqnum, Object **ret, uint64_t *offset) { argument
1527 assert(iovec || n_iovec == 0);
1541 items = alloca(sizeof(EntryItem) * MAX(1u, n_iovec));
1543 for (i = 0; i < n_iovec; i++) {
1558 qsort_safe(items, n_iovec, sizeof(EntryItem), entry_item_cmp);
1560 r = journal_file_append_entry_internal(f, ts, xor_hash, items, n_iovec, seqnum, ret, offset);

Completed in 410 milliseconds