Home
last modified time | relevance | path

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

/mm/
Dgup_benchmark.c68 struct gup_benchmark *gup) in __gup_benchmark_ioctl() argument
78 if (gup->size > ULONG_MAX) in __gup_benchmark_ioctl()
81 nr_pages = gup->size / PAGE_SIZE; in __gup_benchmark_ioctl()
92 nr = gup->nr_pages_per_call; in __gup_benchmark_ioctl()
94 for (addr = gup->addr; addr < gup->addr + gup->size; addr = next) { in __gup_benchmark_ioctl()
95 if (nr != gup->nr_pages_per_call) in __gup_benchmark_ioctl()
99 if (next > gup->addr + gup->size) { in __gup_benchmark_ioctl()
100 next = gup->addr + gup->size; in __gup_benchmark_ioctl()
105 gup->flags &= FOLL_WRITE; in __gup_benchmark_ioctl()
109 nr = get_user_pages_fast(addr, nr, gup->flags, in __gup_benchmark_ioctl()
[all …]
DMakefile55 debug.o gup.o $(mmu-y)