Searched refs:sync_fd (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 77 int sync_fd) in uevent_listener() argument 147 ret = write_nointr(sync_fd, &sync_add, sizeof(sync_add)); in uevent_listener() 148 close(sync_fd); in uevent_listener() 241 bool expect_uevent, int sync_fd) in do_test() argument 293 if (uevent_listener(post_flags, expect_uevent, sync_fd) < 0) in do_test() 299 ret = read_nointr(sync_fd, &wait_val, sizeof(wait_val)); in do_test() 350 int ret, sync_fd; in TEST() local 375 sync_fd = eventfd(0, EFD_CLOEXEC); in TEST() 376 ASSERT_GE(sync_fd, 0); in TEST() 387 ret = do_test(0, 0, true, sync_fd); in TEST() [all …]
|