Home
last modified time | relevance | path

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

/tools/perf/tests/
Dfdarray.c31 int nr_fds, expected_fd[2], fd, err = TEST_FAIL; in test__fdarray__filter() local
40 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
41 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
43 nr_fds, fda->nr_alloc); in test__fdarray__filter()
48 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
49 if (nr_fds != 0) { in test__fdarray__filter()
51 nr_fds, fda->nr_alloc); in test__fdarray__filter()
61 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
63 if (nr_fds != 1) { in test__fdarray__filter()
64 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter()
[all …]