/freebsd-12-stable/sys/contrib/libnv/ |
H A D | nvpair.c | 804 const unsigned char *ptr, size_t *leftp, size_t nfds, nvlist_t **child) 819 ptr = nvlist_unpack_header(value, ptr, nfds, NULL, leftp); 832 size_t *leftp, const int *fds, size_t nfds) 857 if ((size_t)idx >= nfds) { 1025 const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds) 1057 if ((size_t)idx >= nfds) { 803 nvpair_unpack_nvlist(bool isbe __unused, nvpair_t *nvp, const unsigned char *ptr, size_t *leftp, size_t nfds, nvlist_t **child) argument 831 nvpair_unpack_descriptor(bool isbe, nvpair_t *nvp, const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds) argument 1024 nvpair_unpack_descriptor_array(bool isbe, nvpair_t *nvp, const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds) argument
|
/freebsd-12-stable/contrib/wpa/src/utils/ |
H A D | eloop.c | 613 static void eloop_sock_table_dispatch(struct epoll_event *events, int nfds) argument 618 for (i = 0; i < nfds; i++) { 635 static void eloop_sock_table_dispatch(struct kevent *events, int nfds) argument 640 for (i = 0; i < nfds; i++) {
|
/freebsd-12-stable/contrib/ofed/libibverbs/ |
H A D | neigh.c | 306 int nfds; local 347 nfds = MAX(fd, timer_fd) + 1; 355 ret = select(nfds, &fdset, NULL, NULL, NULL);
|
/freebsd-12-stable/sys/net/ |
H A D | netmap_user.h | 548 win_nm_poll(struct pollfd *fds, int nfds, int timeout) argument 552 if (nfds != 1 || fds == NULL || (h = win_get_netmap_handle(fds->fd)) == NULL) {; 553 return poll(fds, nfds, timeout);
|
/freebsd-12-stable/lib/libpmc/pmu-events/ |
H A D | jevents.c | 59 struct FTW *), int nfds, int ftwflags); 1187 struct FTW *), int nfds, int ftwflags) 1195 /* XXX - nfds is currently unused */ 1196 if (nfds < 1) { 1186 nftw_ordered(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int nfds, int ftwflags) argument
|
/freebsd-12-stable/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 87 l_int nfds; member in struct:l_old_select_argv 387 newsel.nfds = linux_args.nfds;
|
H A D | linux32_systrace_args.c | 944 iarg[0] = p->nfds; /* l_int */ 1136 uarg[1] = p->nfds; /* unsigned int */ 2079 iarg[0] = p->nfds; /* l_int */ 2092 uarg[1] = p->nfds; /* uint32_t */
|
H A D | linux32_proto.h | 445 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_select_args 1005 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_pselect6_args 1014 char nfds_l_[PADL_(uint32_t)]; uint32_t nfds; char nfds_r_[PADR_(uint32_t)]; member in struct:linux_ppoll_args
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1094 #define __sanitizer_syscall_pre_poll(fds, nfds, timeout) \ 1095 __sanitizer_syscall_pre_impl_poll((long long)(fds), (long long)(nfds), \ 1097 #define __sanitizer_syscall_post_poll(res, fds, nfds, timeout) \ 1098 __sanitizer_syscall_post_impl_poll(res, (long long)(fds), (long long)(nfds), \ 2001 #define __sanitizer_syscall_pre_compat_50_pollts(fds, nfds, ts, mask) \ 2003 (long long)(fds), (long long)(nfds), (long long)(ts), (long long)(mask)) 2004 #define __sanitizer_syscall_post_compat_50_pollts(res, fds, nfds, ts, mask) \ 2006 res, (long long)(fds), (long long)(nfds), (long long)(ts), \ 2397 #define __sanitizer_syscall_pre___pollts50(fds, nfds, ts, mask) \ 2398 __sanitizer_syscall_pre_impl___pollts50((long long)(fds), (long long)(nfds), \ [all...] |
H A D | linux_syscall_hooks.h | 1183 #define __sanitizer_syscall_pre_poll(ufds, nfds, timeout) \ 1184 __sanitizer_syscall_pre_impl_poll((long)(ufds), (long)(nfds), (long)(timeout)) 1185 #define __sanitizer_syscall_post_poll(res, ufds, nfds, timeout) \ 1186 __sanitizer_syscall_post_impl_poll(res, (long)(ufds), (long)(nfds), \ 2673 void __sanitizer_syscall_pre_impl_poll(long ufds, long nfds, long timeout); 2674 void __sanitizer_syscall_post_impl_poll(long res, long ufds, long nfds,
|
/freebsd-12-stable/contrib/bmake/ |
H A D | meta.c | 1692 int outfd, metafd, maxfd, nfds; local 1718 nfds = select(maxfd + 1, &readfds, NULL, NULL, NULL); 1719 if (nfds == -1) {
|
/freebsd-12-stable/contrib/traceroute/ |
H A D | traceroute.c | 1264 size_t nfds; local 1270 nfds = howmany(sock + 1, NFDBITS); 1271 if ((fdsp = malloc(nfds * sizeof(fd_mask))) == NULL) 1273 memset(fdsp, 0, nfds * sizeof(fd_mask));
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 3890 __sanitizer_nfds_t nfds) { 3891 for (unsigned i = 0; i < nfds; ++i) { 3898 __sanitizer_nfds_t nfds) { 3899 for (unsigned i = 0; i < nfds; ++i) 3904 INTERCEPTOR(int, poll, __sanitizer_pollfd *fds, __sanitizer_nfds_t nfds, 3907 COMMON_INTERCEPTOR_ENTER(ctx, poll, fds, nfds, timeout); 3908 if (fds && nfds) read_pollfd(ctx, fds, nfds); 3909 int res = COMMON_INTERCEPTOR_BLOCK_REAL(poll)(fds, nfds, timeout); 3910 if (fds && nfds) write_pollf [all...] |
/freebsd-12-stable/lib/libc/resolv/ |
H A D | res_send.c | 1159 pselect(int nfds, void *rfds, void *wfds, void *efds, argument 1173 n = select(nfds, rfds, wfds, efds, tvp);
|
/freebsd-12-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_console.c | 1838 nfds_t nfds; local 1850 nfds = p_oct->socket < 0 || pollfd[1].fd < 0 ? 1 : 2; 1862 if (poll(fds, nfds, 1000) <= 0)
|
/freebsd-12-stable/sys/sys/ |
H A D | syscallsubr.h | 211 int kern_poll(struct thread *td, struct pollfd *fds, u_int nfds,
|
/freebsd-12-stable/libexec/ftpd/ |
H A D | ftpd.c | 440 int *ctl_sock, fd, maxfd = -1, nfds, i; local 497 nfds = select(maxfd + 1, &readfds, NULL, NULL, 0); 498 if (nfds <= 0) { 499 if (nfds < 0 && errno != EINTR)
|
/freebsd-12-stable/sys/amd64/linux/ |
H A D | linux_systrace_args.c | 77 uarg[1] = p->nfds; /* u_int */ 219 iarg[0] = p->nfds; /* l_int */ 1971 iarg[0] = p->nfds; /* l_int */ 1984 uarg[1] = p->nfds; /* uint32_t */
|
H A D | linux_proto.h | 116 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_select_args 942 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_pselect6_args 951 char nfds_l_[PADL_(uint32_t)]; uint32_t nfds; char nfds_r_[PADR_(uint32_t)]; member in struct:linux_ppoll_args
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_descrip.c | 2179 fdcopy_remapped(struct filedesc *fdp, const int *fds, size_t nfds, argument 2189 if (nfds > fdp->fd_lastfile + 1) { 2195 newfdp->fd_freefile = nfds; 2196 for (i = 0; i < nfds; ++i) { 3440 static SYSCTL_NODE(_kern_proc, KERN_PROC_NFDS, nfds,
|
/freebsd-12-stable/sys/compat/linux/ |
H A D | linux_misc.c | 520 error = kern_select(td, args->nfds, args->readfds, args->writefds, 2196 error = kern_pselect(td, args->nfds, args->readfds, args->writefds, 2260 error = kern_poll(td, args->fds, args->nfds, tsp, ssp);
|
/freebsd-12-stable/sys/i386/linux/ |
H A D | linux_systrace_args.c | 982 iarg[0] = p->nfds; /* l_int */ 1179 uarg[1] = p->nfds; /* unsigned int */ 2148 iarg[0] = p->nfds; /* l_int */ 2161 uarg[1] = p->nfds; /* uint32_t */
|
H A D | linux_proto.h | 453 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_select_args 1016 char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)]; member in struct:linux_pselect6_args 1025 char nfds_l_[PADL_(uint32_t)]; uint32_t nfds; char nfds_r_[PADR_(uint32_t)]; member in struct:linux_ppoll_args
|
/freebsd-12-stable/tests/sys/fs/fusefs/ |
H A D | mockfs.cc | 814 int timeout_int, nfds; 853 nfds = m_fuse_fd + 1; 857 nready = select(nfds, &readfds, NULL, NULL, 886 int nready, nfds; 904 nfds = m_fuse_fd + 1; 905 nready = select(nfds, NULL, &writefds, NULL, NULL);
|
/freebsd-12-stable/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 516 iarg[0] = p->nfds; /* l_int */ 529 uarg[1] = p->nfds; /* uint32_t */
|