Home
last modified time | relevance | path

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

/mm/
Dgup_benchmark.c23 struct gup_benchmark *gup) in __gup_benchmark_ioctl() argument
31 if (gup->size > ULONG_MAX) in __gup_benchmark_ioctl()
34 nr_pages = gup->size / PAGE_SIZE; in __gup_benchmark_ioctl()
40 nr = gup->nr_pages_per_call; in __gup_benchmark_ioctl()
42 for (addr = gup->addr; addr < gup->addr + gup->size; addr = next) { in __gup_benchmark_ioctl()
43 if (nr != gup->nr_pages_per_call) in __gup_benchmark_ioctl()
47 if (next > gup->addr + gup->size) { in __gup_benchmark_ioctl()
48 next = gup->addr + gup->size; in __gup_benchmark_ioctl()
54 nr = get_user_pages_fast(addr, nr, gup->flags & 1, in __gup_benchmark_ioctl()
59 (gup->flags & 1) | FOLL_LONGTERM, in __gup_benchmark_ioctl()
[all …]
DMakefile45 debug.o gup.o $(mmu-y)