Lines Matching refs:nr_fds
33 int nr_fds, err = TEST_FAIL; in test__fdarray__filter() local
42 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
43 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
45 nr_fds, fda->nr_alloc); in test__fdarray__filter()
50 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
51 if (nr_fds != 0) { in test__fdarray__filter()
53 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()
75 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
77 if (nr_fds != 2) { in test__fdarray__filter()
79 nr_fds); in test__fdarray__filter()