Searched refs:sync_fd (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 78 int sync_fd) in uevent_listener() argument 148 ret = write_nointr(sync_fd, &sync_add, sizeof(sync_add)); in uevent_listener() 149 close(sync_fd); in uevent_listener() 242 bool expect_uevent, int sync_fd) in do_test() argument 294 if (uevent_listener(post_flags, expect_uevent, sync_fd) < 0) in do_test() 300 ret = read_nointr(sync_fd, &wait_val, sizeof(wait_val)); in do_test() 351 int ret, sync_fd; in TEST() local 376 sync_fd = eventfd(0, EFD_CLOEXEC); in TEST() 377 ASSERT_GE(sync_fd, 0); in TEST() 388 ret = do_test(0, 0, true, sync_fd); in TEST() [all …]
|