/Linux-v4.19/tools/bpf/bpftool/ |
D | map_perf_ring.c | 177 int i, nfds, map_fd, index = -1, cpu = -1; in do_event_pipe() local 238 nfds = 1; in do_event_pipe() 240 nfds = min(get_possible_cpus(), map_info.max_entries); in do_event_pipe() 245 rings = calloc(nfds, sizeof(rings[0])); in do_event_pipe() 249 pfds = calloc(nfds, sizeof(pfds[0])); in do_event_pipe() 253 for (i = 0; i < nfds; i++) { in do_event_pipe() 278 poll(pfds, nfds, 200); in do_event_pipe() 279 for (i = 0; i < nfds; i++) in do_event_pipe() 287 for (i = 0; i < nfds; i++) { in do_event_pipe()
|
/Linux-v4.19/fs/ |
D | select.c | 926 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument 937 unsigned long todo = nfds; in do_sys_poll() 939 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll() 942 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll() 949 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll() 994 int nfds = restart_block->poll.nfds; in do_restart_poll() local 1004 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll() 1013 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument 1025 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3() 1033 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3() [all …]
|
/Linux-v4.19/Documentation/media/uapi/cec/ |
D | cec-func-poll.rst | 23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 32 ``nfds`` 77 The ``nfds`` argument is greater than ``OPEN_MAX``.
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 179 int nfds; variable 192 nfds = 42; in prep_args()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | func-select.rst | 25 .. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct … 31 ``nfds`` 114 The ``nfds`` argument is less than zero or greater than
|
D | func-poll.rst | 23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 116 The ``nfds`` argument is greater than ``OPEN_MAX``.
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | syscall.h | 24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
|
/Linux-v4.19/include/linux/ |
D | restart_block.h | 50 int nfds; member
|
D | compat.h | 648 unsigned int nfds,
|
D | syscalls.h | 998 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
/Linux-v4.19/samples/bpf/ |
D | xdpsock_user.c | 804 int i, ret, timeout, nfds = 1; in rx_drop_all() local 816 ret = poll(fds, nfds, timeout); in rx_drop_all() 828 int timeout, ret, nfds = 1; in tx_only() local 829 struct pollfd fds[nfds + 1]; in tx_only() 839 ret = poll(fds, nfds, timeout); in tx_only()
|
/Linux-v4.19/tools/perf/util/ |
D | evlist.c | 437 int nfds = 0; in perf_evlist__alloc_pollfd() local 442 nfds += nr_cpus; in perf_evlist__alloc_pollfd() 444 nfds += nr_cpus * nr_threads; in perf_evlist__alloc_pollfd() 447 if (fdarray__available_entries(&evlist->pollfd) < nfds && in perf_evlist__alloc_pollfd() 448 fdarray__grow(&evlist->pollfd, nfds) < 0) in perf_evlist__alloc_pollfd()
|
/Linux-v4.19/arch/s390/kernel/ |
D | compat_wrapper.c | 106 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_api.c | 1387 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) in scif_poll() argument 1399 for (i = 0; i < nfds; i++) { in scif_poll()
|