Home
last modified time | relevance | path

Searched refs:afds (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c267 fd_set afds, rfds; in do_child() local
270 FD_ZERO(&afds); in do_child()
271 FD_SET(sfd, &afds); in do_child()
279 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
291 FD_SET(newfd, &afds); in do_child()
302 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c286 fd_set afds, rfds; in do_child() local
290 FD_ZERO(&afds); in do_child()
291 FD_SET(sfd, &afds); in do_child()
299 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
311 FD_SET(newfd, &afds); in do_child()
319 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c296 fd_set afds, rfds; in do_child() local
299 FD_ZERO(&afds); in do_child()
300 FD_SET(sfd, &afds); in do_child()
308 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
320 FD_SET(newfd, &afds); in do_child()
331 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/send/
Dsend01.c210 fd_set afds, rfds; in do_child() local
214 FD_ZERO(&afds); in do_child()
215 FD_SET(sfd, &afds); in do_child()
223 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
234 FD_SET(newfd, &afds); in do_child()
243 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c428 fd_set afds, rfds; in do_child() local
431 FD_ZERO(&afds); in do_child()
432 FD_SET(sfd, &afds); in do_child()
433 FD_SET(ufd, &afds); in do_child()
441 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
457 FD_SET(newfd, &afds); in do_child()
469 FD_SET(newfd, &afds); in do_child()
482 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c281 fd_set afds, rfds; in do_child() local
284 FD_ZERO(&afds); in do_child()
285 FD_SET(sfd, &afds); in do_child()
293 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
304 FD_SET(newfd, &afds); in do_child()
313 FD_CLR(fd, &afds); in do_child()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c485 fd_set afds, rfds; in do_child() local
488 FD_ZERO(&afds); in do_child()
489 FD_SET(sfd, &afds); in do_child()
490 FD_SET(ufd, &afds); in do_child()
498 memcpy(&rfds, &afds, sizeof(rfds)); in do_child()
509 FD_SET(newfd, &afds); in do_child()
519 FD_SET(newfd, &afds); in do_child()
526 FD_CLR(fd, &afds); in do_child()