| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | epoll.c | 89 int epfd; member 143 int epfd = -1; in epoll_init() local 148 epfd = epoll_create1(EPOLL_CLOEXEC); in epoll_init() 150 if (epfd == -1) { in epoll_init() 153 if ((epfd = epoll_create(32000)) == -1) { in epoll_init() 158 evutil_make_socket_closeonexec(epfd); in epoll_init() 162 close(epfd); in epoll_init() 166 epollop->epfd = epfd; in epoll_init() 172 close(epfd); in epoll_init() 530 if (epollop->epfd >= 0) in epoll_dealloc() [all …]
|
| H A D | epoll_sub.c | 52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() argument 55 return (syscall(__NR_epoll_ctl, epfd, op, fd, event)); in epoll_ctl() 59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
| H A D | configure.ac | 581 int epfd; 583 epfd = epoll_create(256); 584 exit (epfd == -1 ? 1 : 0);
|
| H A D | configure | 14559 int epfd; 14561 epfd = epoll_create(256); 14562 exit (epfd == -1 ? 1 : 0);
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | epoll.c | 89 int epfd; member 143 int epfd = -1; in epoll_init() local 148 epfd = epoll_create1(EPOLL_CLOEXEC); in epoll_init() 150 if (epfd == -1) { in epoll_init() 153 if ((epfd = epoll_create(32000)) == -1) { in epoll_init() 158 evutil_make_socket_closeonexec(epfd); in epoll_init() 162 close(epfd); in epoll_init() 166 epollop->epfd = epfd; in epoll_init() 172 close(epfd); in epoll_init() 529 if (epollop->epfd >= 0) in epoll_dealloc() [all …]
|
| H A D | epoll_sub.c | 52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() argument 55 return (syscall(__NR_epoll_ctl, epfd, op, fd, event)); in epoll_ctl() 59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument 62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait() 64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
|
| H A D | configure.ac | 587 int epfd; 589 epfd = epoll_create(256); 590 exit (epfd == -1 ? 1 : 0);
|
| H A D | configure | 14576 int epfd; 14578 epfd = epoll_create(256); 14579 exit (epfd == -1 ? 1 : 0);
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 1873 if (epfd >= 0) in TSAN_INTERCEPTOR() 1874 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR() 1875 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR() 1878 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR() 1885 if (epfd >= 0) in TSAN_INTERCEPTOR() 1886 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR() 1888 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR() 1889 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR() 1896 if (epfd >= 0) in TSAN_INTERCEPTOR() 1897 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR() [all …]
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_event.c | 359 error = fget(td, args->epfd, in linux_epoll_ctl() 426 linux_epoll_wait_common(struct thread *td, int epfd, struct epoll_event *events, in linux_epoll_wait_common() argument 442 error = fget(td, epfd, in linux_epoll_wait_common() 509 return (linux_epoll_wait_common(td, args->epfd, args->events, in linux_epoll_wait() 531 return (linux_epoll_wait_common(td, args->epfd, args->events, in linux_epoll_pwait()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1209 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \ argument 1210 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \ 1212 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument 1213 __sanitizer_syscall_pre_impl_epoll_wait((long)(epfd), (long)(events), \ 1215 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument 1224 #define __sanitizer_syscall_post_epoll_pwait(res, epfd, events, maxevents, \ argument 1227 res, (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \ 2688 void __sanitizer_syscall_pre_impl_epoll_ctl(long epfd, long op, long fd, 2690 void __sanitizer_syscall_post_impl_epoll_ctl(long res, long epfd, long op, 2692 void __sanitizer_syscall_pre_impl_epoll_wait(long epfd, long events, [all …]
|
| /freebsd-13.1/contrib/ofed/librdmacm/ |
| H A D | rsocket.c | 348 int epfd; member 602 rs->epfd = -1; in rs_alloc() 648 ret = fcntl(rs->epfd, F_SETFL, arg); in rs_set_nonblocking() 944 epoll_ctl(qp->rs->epfd, EPOLL_CTL_DEL, in ds_free_qp() 972 if (rs->epfd >= 0) in ds_free() 973 close(rs->epfd); in ds_free() 1089 rs->epfd = epoll_create(2); in ds_init() 1090 if (rs->epfd < 0) in ds_init() 1091 return rs->epfd; in ds_init() 1538 ret = epoll_ctl(rs->epfd, EPOLL_CTL_ADD, in ds_create_qp() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 841 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 844 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR() 856 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument 859 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cpp | 1443 int __dfsw_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfsw_epoll_wait() argument 1447 int ret = epoll_wait(epfd, events, maxevents, timeout); in __dfsw_epoll_wait() 1455 int __dfso_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfso_epoll_wait() argument 1462 return __dfsw_epoll_wait(epfd, events, maxevents, timeout, epfd_label, in __dfso_epoll_wait()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 1935 PRE_SYSCALL(epoll_ctl)(long epfd, long op, long fd, void *event) {} 1937 POST_SYSCALL(epoll_ctl)(long res, long epfd, long op, long fd, void *event) { 1943 PRE_SYSCALL(epoll_wait)(long epfd, void *events, long maxevents, long timeout) { 1946 POST_SYSCALL(epoll_wait)(long res, long epfd, void *events, long maxevents, 1953 PRE_SYSCALL(epoll_pwait)(long epfd, void *events, long maxevents, long timeout, 1958 POST_SYSCALL(epoll_pwait)(long res, long epfd, void *events, long maxevents,
|
| /freebsd-13.1/sys/arm/linux/ |
| H A D | linux_systrace_args.c | 1529 iarg[0] = p->epfd; /* l_int */ in systrace_args() 1539 iarg[0] = p->epfd; /* l_int */ in systrace_args() 2277 iarg[0] = p->epfd; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 678 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 684 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 1108 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member
|
| /freebsd-13.1/sys/amd64/linux/ |
| H A D | linux_systrace_args.c | 1756 iarg[0] = p->epfd; /* l_int */ in systrace_args() 1766 iarg[0] = p->epfd; /* l_int */ in systrace_args() 2143 iarg[0] = p->epfd; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 813 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 819 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 1042 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member
|
| /freebsd-13.1/sys/amd64/linux32/ |
| H A D | linux32_systrace_args.c | 1762 iarg[0] = p->epfd; /* l_int */ in systrace_args() 1772 iarg[0] = p->epfd; /* l_int */ in systrace_args() 2267 iarg[0] = p->epfd; /* l_int */ in systrace_args()
|
| H A D | linux32_proto.h | 822 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 828 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 1115 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member
|
| /freebsd-13.1/sys/i386/linux/ |
| H A D | linux_systrace_args.c | 1807 iarg[0] = p->epfd; /* l_int */ in systrace_args() 1817 iarg[0] = p->epfd; /* l_int */ in systrace_args() 2308 iarg[0] = p->epfd; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 821 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 827 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 1110 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member
|
| /freebsd-13.1/sys/arm64/linux/ |
| H A D | linux_systrace_args.c | 160 iarg[0] = p->epfd; /* l_int */ in systrace_args() 170 iarg[0] = p->epfd; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 119 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member 125 char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)]; member
|