| /f-stack/freebsd/contrib/libnv/ |
| H A D | nvpair_impl.h | 99 const unsigned char *ptr, size_t *leftp, size_t nfds, nvlist_t **child); 101 const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds); 111 const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds);
|
| H A D | nvlist.c | 1098 if (nvlhdr.nvlh_descriptors > nfds) in nvlist_unpack_header() 1173 fds, nfds); in nvlist_xunpack() 1177 &left, fds, nfds); in nvlist_xunpack() 1258 size_t datasize, nfds; in nvlist_send() local 1269 fds = nvlist_descriptors(nvl, &nfds); in nvlist_send() 1283 if (nfds > 0) { in nvlist_send() 1284 if (fd_send(sock, fds, nfds) == -1) in nvlist_send() 1303 size_t nfds, size, i; in nvlist_recv() local 1327 if (nfds > 0) { in nvlist_recv() 1331 if (fd_recv(sock, fds, nfds) == -1) in nvlist_recv() [all …]
|
| H A D | nvlist_impl.h | 47 const unsigned char *ptr, size_t nfds, bool *isbep, size_t *leftp);
|
| H A D | bsd_nvpair.c | 804 const unsigned char *ptr, size_t *leftp, size_t nfds, nvlist_t **child) in nvpair_unpack_nvlist() argument 819 ptr = nvlist_unpack_header(value, ptr, nfds, NULL, leftp); in nvpair_unpack_nvlist() 832 size_t *leftp, const int *fds, size_t nfds) in nvpair_unpack_descriptor() argument 857 if ((size_t)idx >= nfds) { in nvpair_unpack_descriptor() 1025 const unsigned char *ptr, size_t *leftp, const int *fds, size_t nfds) in nvpair_unpack_descriptor_array() argument 1057 if ((size_t)idx >= nfds) { in nvpair_unpack_descriptor_array()
|
| /f-stack/dpdk/lib/librte_eal/freebsd/ |
| H A D | eal_interrupts.c | 439 eal_intr_process_interrupts(struct kevent *events, int nfds) in eal_intr_process_interrupts() argument 449 for (n = 0; n < nfds; n++) { in eal_intr_process_interrupts() 577 int nfds; in eal_intr_thread_main() local 582 nfds = kevent(kq, NULL, 0, events, MAX_INTR_EVENTS, NULL); in eal_intr_thread_main() 585 if (nfds < 0) { in eal_intr_thread_main() 593 else if (nfds == 0) in eal_intr_thread_main() 597 eal_intr_process_interrupts(events, nfds); in eal_intr_thread_main()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | anet_ff.c | 397 select(int nfds, fd_set *readfds, fd_set *writefds, in select() argument 402 return real_select(nfds, readfds, writefds, exceptfds, timeout); in select() 405 if (ff_fdisused(nfds)) { in select() 409 return ff_select(nfds, readfds, writefds, exceptfds, &tv); in select() 411 return real_select(nfds, readfds, writefds, exceptfds, timeout); in select()
|
| /f-stack/app/micro_thread/ |
| H A D | mt_sys_hook.h | 50 typedef int (*func_select)(int nfds, fd_set *readfds, fd_set *writefds, 52 typedef int (*func_poll)(struct pollfd fds[], nfds_t nfds, int timeout);
|
| /f-stack/lib/ |
| H A D | ff_api.h | 103 int ff_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, 106 int ff_poll(struct pollfd fds[], nfds_t nfds, int timeout);
|
| H A D | ff_syscall_wrapper.c | 1125 ff_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in ff_select() argument 1131 rc = kern_select(curthread, nfds, readfds, writefds, exceptfds, timeout, 64); in ff_select() 1144 ff_poll(struct pollfd fds[], nfds_t nfds, int timeout) in ff_poll() argument 1150 if ((rc = kern_poll(curthread, fds, nfds, &ts, NULL))) in ff_poll()
|
| /f-stack/dpdk/drivers/vdpa/ifc/ |
| H A D | ifcvf_vdpa.c | 434 int i, kickfd, epfd, nfds = 0; in notify_relay() local 465 nfds = epoll_wait(epfd, events, q_num, -1); in notify_relay() 466 if (nfds < 0) { in notify_relay() 473 for (i = 0; i < nfds; i++) { in notify_relay() 714 int i, vid, epfd, fd, nfds; in vring_relay() local 764 nfds = epoll_wait(epfd, events, q_num * 2, -1); in vring_relay() 765 if (nfds < 0) { in vring_relay() 772 for (i = 0; i < nfds; i++) { in vring_relay()
|
| /f-stack/dpdk/lib/librte_eal/linux/ |
| H A D | eal_interrupts.c | 864 eal_intr_process_interrupts(struct epoll_event *events, int nfds) in eal_intr_process_interrupts() argument 873 for (n = 0; n < nfds; n++) { in eal_intr_process_interrupts() 1042 int nfds = 0; in eal_intr_handle_interrupts() local 1045 nfds = epoll_wait(pfd, events, totalfds, in eal_intr_handle_interrupts() 1048 if (nfds < 0) { in eal_intr_handle_interrupts() 1056 else if (nfds == 0) in eal_intr_handle_interrupts() 1059 if (eal_intr_process_interrupts(events, nfds) < 0) in eal_intr_handle_interrupts()
|
| /f-stack/freebsd/kern/ |
| H A D | sys_generic.c | 1418 return (kern_poll(td, uap->fds, uap->nfds, tsp, NULL)); in sys_poll() 1422 kern_poll(struct thread *td, struct pollfd *ufds, u_int nfds, in kern_poll() argument 1464 if (nfds > maxfilesperproc && nfds > FD_SETSIZE) in kern_poll() 1466 if (nfds > nitems(stackfds)) in kern_poll() 1467 kfds = mallocarray(nfds, sizeof(*kfds), M_TEMP, M_WAITOK); in kern_poll() 1470 error = copyin(ufds, kfds, nfds * sizeof(*kfds)); in kern_poll() 1495 error = pollscan(td, kfds, nfds); in kern_poll() 1514 error = pollout(td, kfds, ufds, nfds); in kern_poll() 1519 if (nfds > nitems(stackfds)) in kern_poll() 1550 return (kern_poll(td, uap->fds, uap->nfds, tsp, ssp)); in sys_ppoll()
|
| H A D | kern_descrip.c | 2385 fdcopy_remapped(struct filedesc *fdp, const int *fds, size_t nfds, in fdcopy_remapped() argument 2395 if (nfds > lastfile + 1) { in fdcopy_remapped() 2401 newfdp->fd_freefile = nfds; in fdcopy_remapped() 2402 for (i = 0; i < nfds; ++i) { in fdcopy_remapped() 4109 static SYSCTL_NODE(_kern_proc, KERN_PROC_NFDS, nfds,
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_machdep.c | 94 l_int nfds; member 264 newsel.nfds = linux_args.nfds; in linux_old_select()
|
| H A D | linux_systrace_args.c | 982 iarg[0] = p->nfds; /* l_int */ in systrace_args() 1179 uarg[1] = p->nfds; /* unsigned int */ in systrace_args() 2217 iarg[0] = p->nfds; /* l_int */ in systrace_args() 2230 uarg[1] = p->nfds; /* uint32_t */ in systrace_args()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_machdep.c | 87 l_int nfds; member 386 newsel.nfds = linux_args.nfds; in linux_old_select()
|
| H A D | linux32_systrace_args.c | 944 iarg[0] = p->nfds; /* l_int */ in systrace_args() 1136 uarg[1] = p->nfds; /* unsigned int */ in systrace_args() 2174 iarg[0] = p->nfds; /* l_int */ in systrace_args() 2187 uarg[1] = p->nfds; /* uint32_t */ in systrace_args()
|
| /f-stack/dpdk/drivers/event/dpaa/ |
| H A D | dpaa_eventdev.c | 134 int fd_qman, nfds; in dpaa_event_dequeue_wait() local 148 nfds = fd_qman + 1; in dpaa_event_dequeue_wait() 154 ret = select(nfds, &readset, NULL, NULL, &tv); in dpaa_event_dequeue_wait()
|
| /f-stack/freebsd/net/ |
| H A D | netmap_user.h | 541 win_nm_poll(struct pollfd *fds, int nfds, int timeout) in win_nm_poll() argument 545 if (nfds != 1 || fds == NULL || (h = win_get_netmap_handle(fds->fd)) == NULL) {; in win_nm_poll() 546 return poll(fds, nfds, timeout); in win_nm_poll()
|
| /f-stack/doc/ |
| H A D | F-Stack_API_Reference.md | 140 …int ff_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *time… 147 int ff_poll(struct pollfd fds[], nfds_t nfds, int timeout);
|
| /f-stack/freebsd/sys/ |
| H A D | filedesc.h | 253 int fdcopy_remapped(struct filedesc *fdp, const int *fds, size_t nfds,
|
| H A D | syscallsubr.h | 228 int kern_poll(struct thread *td, struct pollfd *fds, u_int nfds,
|
| /f-stack/tools/compat/include/sys/ |
| H A D | sysproto.h | 183 char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; member 332 char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; member
|
| /f-stack/freebsd/arm/linux/ |
| H A D | linux_systrace_args.c | 787 iarg[0] = p->nfds; /* l_int */ in systrace_args() 979 uarg[1] = p->nfds; /* unsigned int */ in systrace_args() 2193 iarg[0] = p->nfds; /* l_int */ in systrace_args() 2206 uarg[1] = p->nfds; /* uint32_t */ in systrace_args()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_systrace_args.c | 77 uarg[1] = p->nfds; /* u_int */ in systrace_args() 219 iarg[0] = p->nfds; /* l_int */ in systrace_args() 2051 iarg[0] = p->nfds; /* l_int */ in systrace_args() 2064 iarg[1] = p->nfds; /* l_uint */ in systrace_args()
|