Home
last modified time | relevance | path

Searched refs:nr_fds (Results 1 – 11 of 11) sorted by relevance

/external/linux-tools-perf/src/tools/perf/
Dbuiltin-kvm.c1067 int nr_fds, nr_stdin, ret, err = -EINVAL; in kvm_events_live_report() local
1095 nr_fds = kvm->evlist->nr_fds; in kvm_events_live_report()
1096 pollfds = zalloc(sizeof(struct pollfd) * (nr_fds + 2)); in kvm_events_live_report()
1102 sizeof(struct pollfd) * kvm->evlist->nr_fds); in kvm_events_live_report()
1110 pollfds[nr_fds].fd = kvm->timerfd; in kvm_events_live_report()
1111 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1112 nr_fds++; in kvm_events_live_report()
1114 pollfds[nr_fds].fd = fileno(stdin); in kvm_events_live_report()
1115 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1116 nr_stdin = nr_fds; in kvm_events_live_report()
[all …]
Dbuiltin-top.c982 poll(top->evlist->pollfd, top->evlist->nr_fds, 100); in __cmd_top()
1009 ret = poll(top->evlist->pollfd, top->evlist->nr_fds, 100); in __cmd_top()
Dbuiltin-record.c567 err = poll(evsel_list->pollfd, evsel_list->nr_fds, -1); in __cmd_record()
Dbuiltin-trace.c1028 poll(evlist->pollfd, evlist->nr_fds, -1); in trace__run()
/external/libdrm/
Dxf86drm.c2454 static int nr_fds = 0; variable
2463 for (i = 0; i < nr_fds; i++) in drmOpenOnce()
2471 if (fd <= 0 || nr_fds == DRM_MAX_FDS) in drmOpenOnce()
2474 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnce()
2475 connection[nr_fds].fd = fd; in drmOpenOnce()
2476 connection[nr_fds].refcount = 1; in drmOpenOnce()
2481 nr_fds, connection[nr_fds].BusID, in drmOpenOnce()
2482 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnce()
2484 nr_fds++; in drmOpenOnce()
2493 for (i = 0; i < nr_fds; i++) { in drmCloseOnce()
[all …]
/external/linux-tools-perf/src/tools/perf/tests/
Dtask-exit.c106 poll(evlist->pollfd, evlist->nr_fds, -1); in test__task_exit()
Dopen-syscall-tp-fields.c104 poll(evlist->pollfd, evlist->nr_fds, 10); in test__syscall_open_tp_fields()
Dperf-record.c277 poll(evlist->pollfd, evlist->nr_fds, -1); in test__PERF_RECORD()
/external/linux-tools-perf/src/tools/perf/util/
Devlist.h32 int nr_fds; member
Devlist.c336 evlist->pollfd[evlist->nr_fds].fd = fd; in perf_evlist__add_pollfd()
337 evlist->pollfd[evlist->nr_fds].events = POLLIN; in perf_evlist__add_pollfd()
338 evlist->nr_fds++; in perf_evlist__add_pollfd()
Dpython.c746 n = poll(evlist->pollfd, evlist->nr_fds, timeout); in pyrf_evlist__poll()
763 for (i = 0; i < evlist->nr_fds; ++i) { in pyrf_evlist__get_pollfd()