Home
last modified time | relevance | path

Searched refs:VLEN (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c13 #define VLEN 2 macro
26 retval = tv->sendmmsg(send_sockfd, snd_msg, VLEN, 0); in run()
39 retval = tv->recvmmsg(receive_sockfd, rcv_msg, VLEN, 0, tst_ts_get(&timeout)); in run()
81 memset(snd_msg, 0, VLEN * sizeof(*snd_msg)); in setup()
87 memset(rcv_msg, 0, VLEN * sizeof(*rcv_msg)); in setup()
114 {&snd_msg, .size = VLEN * sizeof(*snd_msg)},
115 {&rcv_msg, .size = VLEN * sizeof(*rcv_msg)},
Dsendmmsg02.c13 #define VLEN 1 macro
48 TST_EXP_FAIL(tv->sendmmsg(*tc->fd, *tc->msg_vec, VLEN, 0), in do_test()
72 {&snd_msg, .size = VLEN * sizeof(*snd_msg)},
/third_party/musl/libc-test/src/functionalext/supplement/network/
D__recvmmsg_time64.c76 #define VLEN 10 in recvsss() macro
81 struct mmsghdr msgs[VLEN]; in recvsss()
82 struct iovec iovecs[VLEN]; in recvsss()
83 char bufs[VLEN][BUFSIZE + 1]; in recvsss()
101 for (int i = 0; i < VLEN; i++) { in recvsss()
111 retval = __recvmmsg_time64(sockfd, msgs, VLEN, 0, &timeout); in recvsss()
Drecvmmsg.c74 #define VLEN 10 in recvsss() macro
79 struct mmsghdr msgs[VLEN]; in recvsss()
80 struct iovec iovecs[VLEN]; in recvsss()
81 char bufs[VLEN][BUFSIZE + 1]; in recvsss()
99 for (int i = 0; i < VLEN; i++) { in recvsss()
109 retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout); in recvsss()
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c19 #define VLEN 1 macro
92 TST_EXP_FAIL2(tv->recvmmsg(*tc->fd, *tc->msg_vec, VLEN, 0, timeout), in do_test()
144 {&msg, .size = VLEN * sizeof(*msg)},