Home
last modified time | relevance | path

Searched refs:nr_test_fds (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c932 int nr_test_fds; variable
936 pkey_assert(nr_test_fds < ARRAY_SIZE(test_fds)); in __save_test_fd()
937 test_fds[nr_test_fds] = fd; in __save_test_fd()
938 nr_test_fds++; in __save_test_fd()
952 for (i = 0; i < nr_test_fds; i++) { in close_test_fds()
958 nr_test_fds = 0; in close_test_fds()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dprotection_keys.c924 int nr_test_fds; variable
928 pkey_assert(nr_test_fds < ARRAY_SIZE(test_fds)); in __save_test_fd()
929 test_fds[nr_test_fds] = fd; in __save_test_fd()
930 nr_test_fds++; in __save_test_fd()
944 for (i = 0; i < nr_test_fds; i++) { in close_test_fds()
950 nr_test_fds = 0; in close_test_fds()

Completed in 5 milliseconds