Searched defs:mh (Results 1 - 12 of 12) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dbus-container.c156 struct msghdr mh = { local
242 n = recvmsg(pair[0], &mh, MSG_NOSIGNAL|MSG_CMSG_CLOEXEC);
246 CMSG_FOREACH(cmsg, &mh) {
H A Dbus-socket.c155 struct msghdr mh; local
156 zero(mh);
158 mh.msg_iov = b->auth_iovec + b->auth_index;
159 mh.msg_iovlen = ELEMENTSOF(b->auth_iovec) - b->auth_index;
161 k = sendmsg(b->output_fd, &mh, MSG_DONTWAIT|MSG_NOSIGNAL);
504 struct msghdr mh; local
543 zero(mh);
544 mh.msg_iov = &iov;
545 mh.msg_iovlen = 1;
546 mh
798 struct msghdr mh = { local
922 struct msghdr mh; local
[all...]
/systemd/src/resolve/
H A Dresolved-dns-stream.c71 struct msghdr mh = {}; local
115 mh.msg_control = &control;
116 mh.msg_controllen = sl;
118 CMSG_FOREACH(cmsg, &mh) {
H A Dresolved-manager.c617 struct msghdr mh = {}; local
640 mh.msg_name = &sa.sa;
641 mh.msg_namelen = sizeof(sa);
642 mh.msg_iov = &iov;
643 mh.msg_iovlen = 1;
644 mh.msg_control = &control;
645 mh.msg_controllen = sizeof(control);
647 l = recvmsg(fd, &mh, 0);
658 assert(!(mh.msg_flags & MSG_CTRUNC));
659 assert(!(mh
739 sendmsg_loop(int fd, struct msghdr *mh, int flags) argument
807 struct msghdr mh = {}; local
856 struct msghdr mh = {}; local
[all...]
/systemd/src/journal/
H A Djournal-send.c215 struct msghdr mh = { local
294 mh.msg_iov = w;
295 mh.msg_iovlen = j;
297 k = sendmsg(fd, &mh, MSG_NOSIGNAL);
338 r = send_one_fd_sa(fd, buffer_fd, mh.msg_name, mh.msg_namelen, 0);
H A Djournald-audit.c497 struct msghdr mh = { local
506 n = sendmsg(fd, &mh, MSG_NOSIGNAL);
/systemd/src/basic/
H A Dfd-util.c323 void cmsg_close_all(struct msghdr *mh) { argument
326 assert(mh);
328 CMSG_FOREACH(cmsg, mh)
H A Dsocket-util.c874 struct msghdr mh = { local
885 cmsg = CMSG_FIRSTHDR(&mh);
891 mh.msg_controllen = CMSG_SPACE(sizeof(int));
892 if (sendmsg(transport_fd, &mh, MSG_NOSIGNAL | flags) < 0)
903 struct msghdr mh = { local
919 if (recvmsg(transport_fd, &mh, MSG_NOSIGNAL | MSG_CMSG_CLOEXEC | flags) < 0)
922 CMSG_FOREACH(cmsg, &mh) {
933 cmsg_close_all(&mh);
H A Dlog.c533 struct msghdr mh = {}; local
545 mh.msg_iov = iovec;
546 mh.msg_iovlen = ELEMENTSOF(iovec);
548 if (sendmsg(journal_fd, &mh, MSG_NOSIGNAL) < 0)
885 struct msghdr mh = { local
899 mh.msg_iovlen = n;
900 (void) sendmsg(journal_fd, &mh, MSG_NOSIGNAL);
/systemd/src/machine/
H A Dmachine-dbus.c310 struct msghdr mh = { local
318 n = recvmsg(pair[0], &mh, 0);
/systemd/src/coredump/
H A Dcoredump.c736 struct msghdr mh = { local
764 mh.msg_iov = iovec + n_iovec;
766 n = recvmsg(fd, &mh, MSG_NOSIGNAL|MSG_CMSG_CLOEXEC);
779 CMSG_FOREACH(cmsg, &mh) {
803 cmsg_close_all(&mh);
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c245 struct msghdr mh = {}; local
273 mh.msg_iov = iov;
274 mh.msg_iovlen = ELEMENTSOF(iov);
276 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0)
299 struct msghdr mh = {}; local
316 mh.msg_iov = iov;
317 mh.msg_iovlen = ELEMENTSOF(iov);
319 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0)
942 struct msghdr mh = {}; local
975 iov[mh
1016 struct msghdr mh = {}; local
[all...]

Completed in 3983 milliseconds