Searched refs:msgvec (Results 1 - 9 of 9) sorted by relevance

/freebsd-head/lib/libc/gen/
H A Dsendmmsg.c38 sendmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags) argument
45 ret = __sys_sendmsg(s, &msgvec[i].msg_hdr, flags);
60 msgvec[i].msg_len = ret;
H A Drecvmmsg.c41 recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, argument
68 ret = __sys_recvmsg(s, &msgvec[0].msg_hdr, flags);
72 msgvec[0].msg_len = ret;
83 ret = __sys_recvmsg(s, &msgvec[i].msg_hdr, flags);
93 msgvec[i].msg_len = ret;
/freebsd-head/usr.bin/mail/
H A Dcmd2.c61 int *msgvec = v; local
64 if (*msgvec != 0) {
79 for (ip = msgvec; *ip != 0; ip++)
83 ip = msgvec;
94 ip2 = msgvec;
164 int f, *msgvec, *ip; local
167 msgvec = (int *)salloc((msgCount + 2) * sizeof(*msgvec));
171 *msgvec = first(0, MMNORM);
172 if (*msgvec
271 int *msgvec = v; local
283 int *msgvec = v; local
307 delm(int *msgvec) argument
346 int *msgvec = v; local
[all...]
H A Dcmd1.c59 int *msgvec = v; local
64 n = msgvec[0];
153 int *msgvec = v; local
156 for (ip = msgvec; *ip != 0; ip++)
158 if (--ip >= msgvec)
251 int *msgvec = v; local
253 return (type1(msgvec, 1, 1));
262 int *msgvec = v; local
264 return (type1(msgvec, 0, 1));
273 int *msgvec local
284 int *msgvec = v; local
294 type1(int *msgvec, int doign, int page) argument
368 int *msgvec = v; local
410 int *msgvec = v; local
427 int *msgvec = v; local
[all...]
H A Dedit.c54 editor(int *msgvec) argument
57 return (edit1(msgvec, 'e'));
64 visual(int *msgvec) argument
67 return (edit1(msgvec, 'v'));
76 edit1(int *msgvec, int type) argument
86 for (i = 0; i < msgCount && msgvec[i]; i++) {
93 printf("Edit message %d [ynq]? ", msgvec[i]);
103 dot = mp = &message[msgvec[i] - 1];
H A Dlex.c194 static int *msgvec; variable
369 if (msgvec == 0) {
373 if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0)
376 *msgvec = first(com->c_msgflag, com->c_msgmask);
377 msgvec[1] = 0;
379 if (*msgvec == 0) {
383 e = (*com->c_func)(msgvec);
391 if (msgvec == 0) {
395 if (getmsglist(cp, msgvec, com->c_msgflag) < 0)
397 e = (*com->c_func)(msgvec);
[all...]
H A Dcollect.c614 int *msgvec; local
618 msgvec = (int *)salloc((msgCount+1) * sizeof(*msgvec));
619 if (msgvec == NULL)
621 if (getmsglist(ms, msgvec, 0) < 0)
623 if (*msgvec == 0) {
624 *msgvec = first(0, MMNORM);
625 if (*msgvec == 0) {
629 msgvec[1] = 0;
637 for (; *msgvec !
[all...]
H A Dcmd3.c190 int *msgvec = v; local
193 return (dorespond(msgvec));
195 return (doRespond(msgvec));
203 dorespond(int *msgvec) argument
211 if (msgvec[1] != 0) {
215 mp = &message[msgvec[0] - 1];
290 int *msgvec = v; local
298 for (ip = msgvec; *ip != 0; ip++) {
314 int *msgvec = v; local
317 for (ip = msgvec; *i
331 int *msgvec = v; local
577 Respond(int *msgvec) argument
591 doRespond(int msgvec[]) argument
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2980 INTERCEPTOR(int, recvmmsg, int fd, struct __sanitizer_mmsghdr *msgvec,
2983 COMMON_INTERCEPTOR_ENTER(ctx, recvmmsg, fd, msgvec, vlen, flags, timeout);
2985 int res = REAL(recvmmsg)(fd, msgvec, vlen, flags, timeout);
2989 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
2990 sizeof(msgvec[i].msg_len));
2991 write_msghdr(ctx, &msgvec[i].msg_hdr, msgvec[i].msg_len);
2992 COMMON_INTERCEPTOR_HANDLE_RECVMSG(ctx, &msgvec[i].msg_hdr);
3074 INTERCEPTOR(int, sendmmsg, int fd, struct __sanitizer_mmsghdr *msgvec,
3077 COMMON_INTERCEPTOR_ENTER(ctx, sendmmsg, fd, msgvec, vle
[all...]

Completed in 107 milliseconds