Searched refs:gup (Results 1 - 5 of 5) sorted by relevance

/linux-master/mm/
H A Dgup_test.c69 static void dump_pages_test(struct gup_test *gup, struct page **pages, argument
80 if (gup->which_pages[i] > nr_pages) {
82 i, gup->which_pages[i]);
83 gup->which_pages[i] = 0;
88 index_to_dump = gup->which_pages[i];
93 index_to_dump, gup->addr);
101 struct gup_test *gup)
111 if (gup->size > ULONG_MAX)
114 nr_pages = gup->size / PAGE_SIZE;
125 nr = gup
100 __gup_test_ioctl(unsigned int cmd, struct gup_test *gup) argument
341 struct gup_test gup; local
[all...]
H A DMakefile52 debug.o gup.o mmap_lock.o $(mmu-y)
/linux-master/tools/testing/selftests/mm/
H A Dgup_test.c52 struct gup_test gup = *(struct gup_test *)data; local
59 gup.size = size;
60 status = ioctl(gup_fd, cmd, &gup);
66 cmd_to_str(cmd), gup.get_delta_usec,
67 gup.put_delta_usec);
68 if (gup.size != size)
69 ksft_print_msg(", truncated (size: %lld)", gup.size);
74 gup.size = size;
75 status = ioctl(gup_fd, cmd, &gup);
81 if (gup
93 struct gup_test gup = { 0 }; local
[all...]
H A Drun_vmtests.sh33 tests for gup
120 # -u: gup-fast, -U: gup-basic, -a: pin-fast, -b: pin-basic, -L: pin-longterm
128 # just test partial gup when hit a huge in whatever form
H A Dhmm-tests.c1876 struct gup_test gup = { local
1883 if (ioctl(gup_fd, cmd, &gup)) {

Completed in 256 milliseconds