Lines Matching refs:gup
52 struct gup_test gup = *(struct gup_test *)data;
59 gup.size = size;
60 status = ioctl(gup_fd, cmd, &gup);
66 cmd_to_str(cmd), gup.get_delta_usec,
67 gup.put_delta_usec);
68 if (gup.size != size)
69 ksft_print_msg(", truncated (size: %lld)", gup.size);
74 gup.size = size;
75 status = ioctl(gup_fd, cmd, &gup);
81 if (gup.size != size)
82 ksft_print_msg("Truncated (size: %lld)\n", gup.size);
93 struct gup_test gup = { 0 };
120 gup.which_pages[0] = 1;
124 gup.test_flags |= GUP_TEST_FLAG_DUMP_PAGES_USE_PIN;
128 gup.gup_flags = strtol(optarg, 0, 0);
171 /* fault pages in gup, do not fault in userland */
197 gup.which_pages[extra_arg_count] = page_index;
210 gup.nr_pages_per_call = nr_pages;
212 gup.gup_flags |= FOLL_WRITE;
237 gup.addr = (unsigned long)p;
251 gup.gup_flags |= FOLL_TOUCH;
253 for (; (unsigned long)p < gup.addr + size; p += psize())
260 ret = pthread_create(&tid[i], NULL, gup_thread, &gup);