Searched refs:nr_fds (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/tools/perf/tests/ |
D | fdarray.c | 30 int nr_fds, expected_fd[2], fd, err = TEST_FAIL; in test__fdarray__filter() local 39 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter() 40 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter() 42 nr_fds, fda->nr_alloc); in test__fdarray__filter() 47 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter() 48 if (nr_fds != 0) { in test__fdarray__filter() 50 nr_fds, fda->nr_alloc); in test__fdarray__filter() 60 nr_fds = fdarray__filter(fda, POLLHUP, NULL); in test__fdarray__filter() 62 if (nr_fds != 1) { in test__fdarray__filter() 63 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter() [all …]
|