Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/mm/
A 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()
A Dcow.c45 static int gup_fd; variable
586 if (gup_fd < 0) { in do_test_ro_pin()
663 ret = ioctl(gup_fd, PIN_LONGTERM_TEST_START, &args); in do_test_ro_pin()
680 ret = ioctl(gup_fd, PIN_LONGTERM_TEST_READ, &tmp_val); in do_test_ro_pin()
687 ret = ioctl(gup_fd, PIN_LONGTERM_TEST_STOP); in do_test_ro_pin()
1753 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR); in main()
A 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()

Completed in 9 milliseconds