Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dgup_test.c67 static void dump_pages_test(struct gup_test *gup, struct page **pages, in dump_pages_test() argument
78 if (gup->which_pages[i] > nr_pages) { in dump_pages_test()
80 i, gup->which_pages[i]); in dump_pages_test()
81 gup->which_pages[i] = 0; in dump_pages_test()
86 index_to_dump = gup->which_pages[i]; in dump_pages_test()
91 index_to_dump, gup->addr); in dump_pages_test()
99 struct gup_test *gup) in __gup_test_ioctl() argument
109 if (gup->size > ULONG_MAX) in __gup_test_ioctl()
112 nr_pages = gup->size / PAGE_SIZE; in __gup_test_ioctl()
123 nr = gup->nr_pages_per_call; in __gup_test_ioctl()
[all …]
DMakefile57 debug.o gup.o mmap_lock.o $(mmu-y)
/linux-5.19.10/tools/testing/selftests/vm/
Dgup_test.c53 struct gup_test gup = *(struct gup_test *)data; in gup_thread() local
60 gup.size = size; in gup_thread()
61 if (ioctl(gup_fd, cmd, &gup)) in gup_thread()
66 cmd_to_str(cmd), gup.get_delta_usec, in gup_thread()
67 gup.put_delta_usec); in gup_thread()
68 if (gup.size != size) in gup_thread()
69 printf(", truncated (size: %lld)", gup.size); in gup_thread()
74 gup.size = size; in gup_thread()
75 if (ioctl(gup_fd, cmd, &gup)) { in gup_thread()
82 if (gup.size != size) in gup_thread()
[all …]
/linux-5.19.10/Documentation/core-api/
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
195 The whole point of marking pages as "DMA-pinned" or "gup-pinned" is to be able
207 ...is a prerequisite to solving the long-running gup+DMA problem.
Dmm-api.rst14 .. kernel-doc:: mm/gup.c
/linux-5.19.10/Documentation/translations/zh_CN/core-api/
Dmm-api.rst30 mm/gup.c