Searched refs:wfdset (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.81.4/tests/skywalk/ |
| H A D | skt_badring.c | 50 fd_set rfdset, wfdset, efdset; in skt_badringtx_common() local 85 FD_ZERO(&wfdset); in skt_badringtx_common() 86 FD_SET(channelfd, &wfdset); in skt_badringtx_common() 89 error = select(channelfd + 1, &rfdset, &wfdset, &efdset, &timeout); in skt_badringtx_common() 99 assert(FD_ISSET(channelfd, &wfdset)); // XXX is it correct to return writable as well as error? in skt_badringtx_common() 169 fd_set rfdset, wfdset, efdset; in skt_badringrx_common() local 204 FD_ZERO(&wfdset); in skt_badringrx_common() 205 FD_SET(channelfd, &wfdset); in skt_badringrx_common() 208 error = select(channelfd + 1, &rfdset, &wfdset, &efdset, &timeout); in skt_badringrx_common() 218 assert(FD_ISSET(channelfd, &wfdset)); // XXX is it correct to return writable as well as error? in skt_badringrx_common()
|
| H A D | skt_oneslot.c | 56 fd_set rfdset, wfdset, efdset; in skt_oneslot_common() local 87 FD_ZERO(&wfdset); in skt_oneslot_common() 90 FD_SET(channelfd, &wfdset); in skt_oneslot_common() 92 error = select(channelfd + 1, &rfdset, &wfdset, &efdset, NULL); in skt_oneslot_common() 95 assert(FD_ISSET(channelfd, &wfdset)); in skt_oneslot_common() 159 assert(FD_ISSET(channelfd, &wfdset)); in skt_oneslot_common()
|
| H A D | skt_shutdown.c | 58 fd_set rfdset, wfdset, efdset; in skt_shutdown_common() local 85 FD_ZERO(&wfdset); in skt_shutdown_common() 88 FD_SET(channelfd, &wfdset); in skt_shutdown_common() 90 error = select(channelfd + 1, &rfdset, &wfdset, &efdset, NULL); in skt_shutdown_common() 94 assert(!FD_ISSET(channelfd, &wfdset)); in skt_shutdown_common() 252 FD_ZERO(&wfdset); in skt_shutdown_common() 255 FD_SET(channelfd, &wfdset); in skt_shutdown_common() 257 error = select(channelfd + 1, &rfdset, &wfdset, &efdset, NULL); in skt_shutdown_common() 261 assert(!FD_ISSET(channelfd, &wfdset)); in skt_shutdown_common()
|