Searched refs:ev_fd (Results 1 – 2 of 2) sorted by relevance
| /linux/io_uring/ |
| H A D | eventfd.c | 30 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_free() local 32 eventfd_ctx_put(ev_fd->cq_ev_fd); in io_eventfd_free() 33 kfree(ev_fd); in io_eventfd_free() 36 static void io_eventfd_put(struct io_ev_fd *ev_fd) in io_eventfd_put() argument 38 if (refcount_dec_and_test(&ev_fd->refs)) in io_eventfd_put() 39 call_rcu(&ev_fd->rcu, io_eventfd_free); in io_eventfd_put() 44 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_do_signal() local 46 eventfd_signal_mask(ev_fd->cq_ev_fd, EPOLL_URING_WAKE); in io_eventfd_do_signal() 47 io_eventfd_put(ev_fd); in io_eventfd_do_signal() 53 static bool __io_eventfd_signal(struct io_ev_fd *ev_fd) in __io_eventfd_signal() argument [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | task_local_storage.c | 264 int map_fd, parent_task_fd, ev_fd; in test_uptr_basic() 276 ev_fd = eventfd(0, 0); in test_uptr_basic() 277 if (!ASSERT_OK_FD(ev_fd, "ev_fd")) { in test_uptr_basic() 315 read(ev_fd, &ev_dummy_data, sizeof(ev_dummy_data)); in test_uptr_basic() 322 write(ev_fd, &ev_dummy_data, sizeof(ev_dummy_data)); in test_uptr_basic() 377 close(ev_fd); in test_uptr_across_pages() 258 int map_fd, parent_task_fd, ev_fd; test_uptr_basic() local
|