Searched refs:gup (Results 1 – 8 of 8) sorted by relevance
| /linux/mm/ |
| H A D | gup_test.c | 70 static void dump_pages_test(struct gup_test *gup, struct page **pages, in dump_pages_test() 81 if (gup->which_pages[i] > nr_pages) { in dump_pages_test() 83 i, gup->which_pages[i]); in dump_pages_test() 84 gup->which_pages[i] = 0; in dump_pages_test() 89 index_to_dump = gup->which_pages[i]; in dump_pages_test() 94 index_to_dump, gup->addr); in dump_pages_test() 102 struct gup_test *gup) in __gup_test_ioctl() 112 if (gup->size > ULONG_MAX) in __gup_test_ioctl() 115 nr_pages = gup->size / PAGE_SIZE; in __gup_test_ioctl() 126 nr = gup in __gup_test_ioctl() 69 dump_pages_test(struct gup_test * gup,struct page ** pages,unsigned long nr_pages) dump_pages_test() argument 101 __gup_test_ioctl(unsigned int cmd,struct gup_test * gup) __gup_test_ioctl() argument 341 struct gup_test gup; gup_test_ioctl() local [all...] |
| H A D | Makefile | 58 debug.o gup.o mmap_lock.o vma_init.o $(mmu-y)
|
| /linux/tools/testing/selftests/mm/ |
| H A D | gup_test.c | 52 struct gup_test gup = *(struct gup_test *)data; in gup_thread() local 59 gup.size = size; in gup_thread() 60 status = 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 ksft_print_msg(", truncated (size: %lld)", gup.size); in gup_thread() 74 gup.size = size; in gup_thread() 75 status = ioctl(gup_fd, cmd, &gup); in gup_thread() 81 if (gup.size != size) in gup_thread() [all …]
|
| H A D | run_vmtests.sh | 37 tests for gup
|
| H A D | hmm-tests.c | 1912 struct gup_test gup = { in gup_test_exec() local 1919 if (ioctl(gup_fd, cmd, &gup)) { in gup_test_exec()
|
| /linux/Documentation/core-api/ |
| H A D | pin_user_pages.rst | 22 ("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 202 The whole point of marking folios as "DMA-pinned" or "gup-pinned" is to be able 214 ...is a prerequisite to solving the long-running gup+DMA problem.
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | mm-api.rst | 31 mm/gup.c
|
| /linux/ |
| H A D | MAINTAINERS | 16711 F: mm/gup.c
|