Searched refs:gup_test (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/mm/ |
H A D | gup_test.h | 7 #define GUP_FAST_BENCHMARK _IOWR('g', 1, struct gup_test) 8 #define PIN_FAST_BENCHMARK _IOWR('g', 2, struct gup_test) 9 #define PIN_LONGTERM_BENCHMARK _IOWR('g', 3, struct gup_test) 10 #define GUP_BASIC_TEST _IOWR('g', 4, struct gup_test) 11 #define PIN_BASIC_TEST _IOWR('g', 5, struct gup_test) 12 #define DUMP_USER_PAGES_TEST _IOWR('g', 6, struct gup_test) 21 struct gup_test { struct
|
H A D | gup_test.c | 8 #include "gup_test.h" 55 dump_page(&folio->page, "gup_test failure"); in verify_dma_pinned() 61 dump_page(&folio->page, "gup_test failure"); in verify_dma_pinned() 69 static void dump_pages_test(struct gup_test *gup, struct page **pages, in dump_pages_test() 95 "gup_test: dump_pages() test"); in dump_pages_test() 101 struct gup_test *gup) in __gup_test_ioctl() 341 struct gup_test gup; in gup_test_ioctl() 389 debugfs_create_file_unsafe("gup_test", 0600, NULL, NULL, in gup_test_init()
|
H A D | Makefile | 103 obj-$(CONFIG_GUP_TEST) += gup_test.o
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | gup_test.c | 13 #include <mm/gup_test.h> 23 #define GUP_TEST_FILE "/sys/kernel/debug/gup_test" 52 struct gup_test gup = *(struct gup_test *)data; in gup_thread() 91 struct gup_test gup = { 0 }; in main() 182 * ./gup_test -c 0 1 0x1001 in main() 245 * FOLL_TOUCH, in gup_test, is used as an either/or case: either in main()
|
H A D | run_vmtests.sh | 29 - gup_test 119 CATEGORY="gup_test" run_test ./gup_test \ 236 CATEGORY="gup_test" run_test ./gup_test -u 238 CATEGORY="gup_test" run_test ./gup_test -a 241 CATEGORY="gup_test" run_test ./gup_test -ct -F 0x1 0 19 0x1000 242 CATEGORY="gup_test" run_tes [all...] |
H A D | Makefile | 4 LOCAL_HDRS += $(selfdir)/mm/local_config.h $(top_srcdir)/mm/gup_test.h 41 TEST_GEN_FILES += gup_test
|
H A D | hmm-tests.c | 35 #include <mm/gup_test.h> 1876 struct gup_test gup = { in gup_test_exec() 1892 * Test get user device pages through gup_test. Setting PIN_LONGTERM flag. 1895 * This test makes use of gup_test module. Make sure GUP_TEST_CONFIG is added 1909 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR); in TEST_F() 1911 SKIP(return, "Skipping test, could not find gup_test driver"); in TEST_F()
|
Completed in 5 milliseconds