Lines Matching full:pfd
49 struct pollfd pfd; in child1() local
51 pfd.fd = desc; in child1()
52 pfd.events = POLLIN | POLLHUP | POLLOUT; in child1()
54 (void)poll(&pfd, 1, 2000); in child1()
61 struct pollfd pfd; in child2() local
63 pfd.fd = desc; in child2()
64 pfd.events = POLLIN | POLLHUP | POLLOUT; in child2()
67 (void)poll(&pfd, 1, INFTIM); in child2()
74 struct pollfd pfd; in child3() local
78 pfd.fd = desc; in child3()
79 pfd.events = POLLIN | POLLHUP | POLLOUT; in child3()
81 (void)poll(&pfd, 1, INFTIM); in child3()
223 struct pollfd pfd; in ATF_TC_BODY() local
226 pfd.fd = fd; in ATF_TC_BODY()
227 pfd.events = POLLIN; in ATF_TC_BODY()
233 ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1); in ATF_TC_BODY()
318 struct pollfd pfd; in ATF_TC_BODY() local
321 pfd.fd = fd; in ATF_TC_BODY()
322 pfd.events = POLLIN; in ATF_TC_BODY()
334 ATF_REQUIRE_ERRNO(EINVAL, pollts(&pfd, 1, &timeout, NULL) == -1); in ATF_TC_BODY()
348 struct pollfd pfd; in ATF_TC_BODY() local
356 pfd.fd = fd; in ATF_TC_BODY()
357 pfd.events = POLLIN; in ATF_TC_BODY()
371 ATF_REQUIRE_EQ_MSG(ret = pollts(&pfd, 1, &timeout, &mask), 1, in ATF_TC_BODY()