Searched refs:nr_fds (Results 1 – 11 of 11) sorted by relevance
/external/linux-tools-perf/src/tools/perf/ |
D | builtin-kvm.c | 1067 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 …]
|
D | builtin-top.c | 982 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()
|
D | builtin-record.c | 567 err = poll(evsel_list->pollfd, evsel_list->nr_fds, -1); in __cmd_record()
|
D | builtin-trace.c | 1028 poll(evlist->pollfd, evlist->nr_fds, -1); in trace__run()
|
/external/libdrm/ |
D | xf86drm.c | 2454 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/ |
D | task-exit.c | 106 poll(evlist->pollfd, evlist->nr_fds, -1); in test__task_exit()
|
D | open-syscall-tp-fields.c | 104 poll(evlist->pollfd, evlist->nr_fds, 10); in test__syscall_open_tp_fields()
|
D | perf-record.c | 277 poll(evlist->pollfd, evlist->nr_fds, -1); in test__PERF_RECORD()
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | evlist.h | 32 int nr_fds; member
|
D | evlist.c | 336 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()
|
D | python.c | 746 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()
|