Searched refs:nr_fds (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/tools/perf/tests/ |
D | fdarray.c | 32 int nr_fds, expected_fd[2], fd, err = TEST_FAIL; in test__fdarray__filter() local 41 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter() 42 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter() 44 nr_fds, fda->nr_alloc); in test__fdarray__filter() 49 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter() 50 if (nr_fds != 0) { in test__fdarray__filter() 52 nr_fds, fda->nr_alloc); in test__fdarray__filter() 62 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter() 64 if (nr_fds != 1) { in test__fdarray__filter() 65 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter() [all …]
|