Lines Matching full:pfd
97 struct pollfd pfd; in ATF_TC_BODY() local
129 pfd.fd = ss2; in ATF_TC_BODY()
130 pfd.events = POLLIN | POLLOUT; in ATF_TC_BODY()
131 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
133 ATF_CHECK_EQ(POLLOUT, pfd.revents); in ATF_TC_BODY()
144 pfd.fd = ss2; in ATF_TC_BODY()
145 pfd.events = POLLIN; in ATF_TC_BODY()
146 rc = poll(&pfd, 1, 60000); in ATF_TC_BODY()
148 ATF_CHECK_EQ(POLLIN, pfd.revents); in ATF_TC_BODY()
160 struct pollfd pfd; in ATF_TC_BODY() local
193 pfd.fd = ss2; in ATF_TC_BODY()
194 pfd.events = POLLIN | POLLOUT | POLLRDHUP; in ATF_TC_BODY()
195 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
197 ATF_CHECK_EQ(POLLOUT, pfd.revents); in ATF_TC_BODY()
206 pfd.fd = ss2; in ATF_TC_BODY()
207 pfd.events = POLLIN | POLLOUT | POLLRDHUP; in ATF_TC_BODY()
208 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
210 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents); in ATF_TC_BODY()
227 pfd.fd = ss2; in ATF_TC_BODY()
228 pfd.events = POLLRDHUP; in ATF_TC_BODY()
229 rc = poll(&pfd, 1, 60000); in ATF_TC_BODY()
231 ATF_CHECK_EQ(POLLRDHUP, pfd.revents); in ATF_TC_BODY()