Home
last modified time | relevance | path

Searched refs:gup (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/mm/
A Dgup_test.c81 i, gup->which_pages[i]); in dump_pages_test()
82 gup->which_pages[i] = 0; in dump_pages_test()
100 struct gup_test *gup) in __gup_test_ioctl() argument
110 if (gup->size > ULONG_MAX) in __gup_test_ioctl()
126 for (addr = gup->addr; addr < gup->addr + gup->size; addr = next) { in __gup_test_ioctl()
131 if (next > gup->addr + gup->size) { in __gup_test_ioctl()
132 next = gup->addr + gup->size; in __gup_test_ioctl()
181 gup->size = addr - gup->addr; in __gup_test_ioctl()
342 struct gup_test gup; in gup_test_ioctl() local
361 if (copy_from_user(&gup, (void __user *)arg, sizeof(gup))) in gup_test_ioctl()
[all …]
A DMakefile57 debug.o gup.o mmap_lock.o $(mmu-y)
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dgup_test.c60 gup.size = size; in gup_thread()
61 if (ioctl(gup_fd, cmd, &gup)) in gup_thread()
67 gup.put_delta_usec); in gup_thread()
68 if (gup.size != size) in gup_thread()
74 gup.size = size; in gup_thread()
82 if (gup.size != size) in gup_thread()
92 struct gup_test gup = { 0 }; in main() local
119 gup.which_pages[0] = 1; in main()
210 gup.gup_flags |= FOLL_WRITE; in main()
238 gup.addr = (unsigned long)p; in main()
[all …]
A Drun_vmtests.sh24 tests for gup using gup_test interface
A Dhmm-tests.c1871 struct gup_test gup = { in gup_test_exec() local
1878 if (ioctl(gup_fd, cmd, &gup)) { in gup_test_exec()
/linux-6.3-rc2/Documentation/core-api/
A Dpin_user_pages.rst22 ("gup") family of functions. FOLL_PIN has significant interactions and
25 FOLL_PIN is internal to gup, meaning that it should not appear at the gup call
30 FOLL_LONGTERM, on the other hand, *is* allowed to be set at the gup call sites.
39 FOLL_PIN and FOLL_GET are mutually exclusive for a given gup call. However,
53 For these pin_user_pages*() functions, FOLL_PIN is OR'd in with whatever gup
194 The whole point of marking pages as "DMA-pinned" or "gup-pinned" is to be able
206 ...is a prerequisite to solving the long-running gup+DMA problem.
A Dmm-api.rst14 .. kernel-doc:: mm/gup.c
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dmm-api.rst31 mm/gup.c

Completed in 10 milliseconds