Searched refs:timeout_ms (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 92 static void do_poll(int fd, int timeout_ms) in do_poll() argument 108 if (!timeout_ms) in do_poll() 111 timeout_ms -= 10; in do_poll() 112 if (timeout_ms <= 0) { in do_poll() 356 int timeout_ms = cfg_tcp ? cfg_rcv_timeout_ms : cfg_connect_timeout_ms; in do_recv() local 370 do_poll(fd, timeout_ms); in do_recv() 388 timeout_ms = cfg_rcv_timeout_ms; in do_recv()
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.c | 208 int wait_for_pending_reads(int fd, int timeout_ms, in wait_for_pending_reads() argument 213 if (timeout_ms > 0) { in wait_for_pending_reads() 220 poll_res = poll(&pollfd, 1, timeout_ms); in wait_for_pending_reads()
|
D | utils.h | 48 int wait_for_pending_reads(int fd, int timeout_ms,
|
D | incfs_test.c | 614 int timeout_ms = 1000; in data_producer() local 622 while ((ret = wait_for_pending_reads(fd, timeout_ms, prs, prs_size)) > in data_producer()
|
/tools/lib/bpf/ |
D | libbpf.h | 416 LIBBPF_API int perf_buffer__poll(struct perf_buffer *pb, int timeout_ms);
|
D | libbpf.c | 5653 int perf_buffer__poll(struct perf_buffer *pb, int timeout_ms) in perf_buffer__poll() argument 5657 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms); in perf_buffer__poll()
|