Searched refs:epoll_fd (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 360 int epoll_fd = epoll_create1(EPOLL_CLOEXEC); in poll_pidfd() local 363 if (epoll_fd == -1) in poll_pidfd() 371 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd() 377 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd() 383 close(epoll_fd); in poll_pidfd()
|
/tools/lib/bpf/ |
D | libbpf.c | 5339 int epoll_fd; /* perf event FD */ member 5377 if (pb->epoll_fd >= 0) in perf_buffer__free() 5378 close(pb->epoll_fd); in perf_buffer__free() 5515 pb->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in __perf_buffer__new() 5516 if (pb->epoll_fd < 0) { in __perf_buffer__new() 5575 if (epoll_ctl(pb->epoll_fd, EPOLL_CTL_ADD, cpu_buf->fd, in __perf_buffer__new() 5657 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms); in perf_buffer__poll()
|