Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/vm/
Dgup_test.c27 static int gup_fd, repeats = 1; variable
61 if (ioctl(gup_fd, cmd, &gup)) in gup_thread()
75 if (ioctl(gup_fd, cmd, &gup)) { in gup_thread()
212 gup_fd = open(GUP_TEST_FILE, O_RDWR); in main()
213 if (gup_fd == -1) { in main()
Dhmm-tests.c1868 static int gup_test_exec(int gup_fd, unsigned long addr, int cmd, in gup_test_exec() argument
1878 if (ioctl(gup_fd, cmd, &gup)) { in gup_test_exec()
1896 int gup_fd; in TEST_F() local
1904 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR); in TEST_F()
1905 if (gup_fd == -1) in TEST_F()
1937 ASSERT_EQ(gup_test_exec(gup_fd, in TEST_F()
1940 ASSERT_EQ(gup_test_exec(gup_fd, in TEST_F()
1943 ASSERT_EQ(gup_test_exec(gup_fd, in TEST_F()
1946 ASSERT_EQ(gup_test_exec(gup_fd, in TEST_F()
1971 close(gup_fd); in TEST_F()