Home
last modified time | relevance | path

Searched refs:sync_fd (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/uevent/
H A Duevent_filtering.c77 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()
243 bool expect_uevent, int sync_fd) in do_test() argument
295 if (uevent_listener(post_flags, expect_uevent, sync_fd) < 0) in do_test()
301 ret = read_nointr(sync_fd, &wait_val, sizeof(wait_val)); in do_test()
352 int ret, sync_fd; in TEST() local
377 sync_fd = eventfd(0, EFD_CLOEXEC); in TEST()
378 ASSERT_GE(sync_fd, 0); in TEST()
389 ret = do_test(0, 0, true, sync_fd); in TEST()
[all …]