Home
last modified time | relevance | path

Searched refs:efd (Results 1 - 19 of 19) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Dfdsem.c51 int efd; member
63 if ((f->efd = eventfd(0, EFD_CLOEXEC)) >= 0) in pa_fdsem_new()
92 f->efd = event_fd; in pa_fdsem_open_shm()
93 pa_make_fd_cloexec(f->efd); in pa_fdsem_open_shm()
110 if ((f->efd = eventfd(0, EFD_CLOEXEC)) < 0) { in pa_fdsem_new_shm()
131 if (f->efd >= 0) in pa_fdsem_free()
132 pa_close(f->efd); in pa_fdsem_free()
150 if (f->efd >= 0) { in flush()
153 if ((r = pa_read(f->efd, &u, sizeof(u), NULL)) != sizeof(u)) { in flush()
183 if (f->efd > in pa_fdsem_post()
[all...]
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
H A Depoll_pwait04.c19 static int efd, sfd[2]; variable
25 TST_EXP_FAIL(do_epoll_pwait(efd, &e, 1, -1, bad_addr), in run()
35 efd = epoll_create(1); in setup()
36 if (efd == -1) in setup()
40 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
49 if (efd > 0) in cleanup()
50 SAFE_CLOSE(efd); in cleanup()
H A Depoll_pwait05.c20 static int efd, sfd[2]; variable
35 TST_EXP_FAIL(epoll_pwait2(efd, &e, 1, &tc[n].ts, NULL), in run_all()
45 efd = epoll_create(1); in setup()
46 if (efd == -1) in setup()
50 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
57 if (efd > 0) in cleanup()
58 SAFE_CLOSE(efd); in cleanup()
H A Depoll_pwait03.c20 static int efd, sfd[2]; variable
28 TEST(do_epoll_pwait(efd, &e, 1, ms, NULL)); in sample_fn()
47 efd = epoll_create(1); in setup()
48 if (efd == -1) in setup()
52 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
58 if (efd > 0) in cleanup()
59 SAFE_CLOSE(efd); in cleanup()
H A Depoll_pwait02.c19 static int efd, sfd[2]; variable
24 TEST(do_epoll_pwait(efd, &e, 1, -1, NULL)); in run()
39 efd = epoll_create(1); in setup()
40 if (efd == -1) in setup()
44 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
51 if (efd > 0) in cleanup()
52 SAFE_CLOSE(efd); in cleanup()
H A Depoll_pwait01.c26 static int efd, sfd[2]; variable
35 TEST(do_epoll_pwait(efd, &e, 1, -1, &signalset)); in verify_sigmask()
48 TST_EXP_FAIL(do_epoll_pwait(efd, &e, 1, -1, NULL), EINTR, in verify_nonsigmask()
90 efd = epoll_create(1); in setup()
91 if (efd == -1) in setup()
95 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
101 if (efd > 0) in cleanup()
102 SAFE_CLOSE(efd); in cleanup()
/third_party/rust/crates/nix/test/sys/
H A Dtest_epoll.rs7 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_errno()
8 let result = epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None); in test_epoll_errno()
12 let result = epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, None); in test_epoll_errno()
19 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_ctl()
22 epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, &mut event).unwrap(); in test_epoll_ctl()
23 epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None).unwrap(); in test_epoll_ctl()
/third_party/rust/crates/rustix/tests/io/
H A Deventfd.rs8 let efd = eventfd(0, EventfdFlags::CLOEXEC).unwrap(); in test_eventfd()
12 assert_eq!(write(&efd, &u.to_ne_bytes()).unwrap(), size_of::<u64>()); in test_eventfd()
14 efd in test_eventfd()
17 let efd = child.join().unwrap(); in test_eventfd()
20 let s = read(&efd, &mut bytes).unwrap(); in test_eventfd()
/third_party/node/deps/openssl/openssl/engines/
H A De_afalg.c201 &aio->efd, &custom); in afalg_setup_async_event_notification()
205 * and set it. efd will be signaled when AIO operation completes in afalg_setup_async_event_notification()
207 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
208 if (aio->efd == -1) { in afalg_setup_async_event_notification()
216 aio->efd, custom, in afalg_setup_async_event_notification()
220 close(aio->efd); in afalg_setup_async_event_notification()
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification()
232 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
233 if (aio->efd == -1) { in afalg_setup_async_event_notification()
258 aio->efd in afalg_init_aio()
[all...]
H A De_afalg.h70 int efd; member
/third_party/openssl/engines/
H A De_afalg.c201 &aio->efd, &custom); in afalg_setup_async_event_notification()
205 * and set it. efd will be signaled when AIO operation completes in afalg_setup_async_event_notification()
207 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
208 if (aio->efd == -1) { in afalg_setup_async_event_notification()
216 aio->efd, custom, in afalg_setup_async_event_notification()
220 close(aio->efd); in afalg_setup_async_event_notification()
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification()
232 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
233 if (aio->efd == -1) { in afalg_setup_async_event_notification()
258 aio->efd in afalg_init_aio()
[all...]
H A De_afalg.h70 int efd; member
/third_party/rust/crates/regex/regex-syntax/src/unicode_tables/
H A Dscript_extension.rs201 ('\u{10efd}', '\u{10eff}'),
H A Dscript.rs207 ('\u{10efd}', '\u{10eff}'),
H A Dperl_word.rs514 ('\u{10efd}', '?'),
H A Dgeneral_category.rs2001 ('\u{10efd}', '\u{10eff}'),
2511 ('\u{10efd}', '\u{10eff}'),
H A Dword_break.rs819 ('\u{10efd}', '\u{10eff}'),
H A Dproperty_bool.rs1237 ('\u{10efd}', '\u{10eff}'),
4361 ('\u{10efd}', '\u{10eff}'),
5942 ('\u{10efd}', '\u{10eff}'),
6667 ('\u{10efd}', '?'),
10434 ('\u{10efd}', '?'),
/third_party/elfutils/debuginfod/
H A Ddebuginfod-client.c1656 int efd = open (target_cache_path, O_CREAT|O_EXCL, DEFFILEMODE); in debuginfod_query_server() local
1657 if (efd >= 0) in debuginfod_query_server()
1658 close(efd); in debuginfod_query_server()

Completed in 21 milliseconds