Lines Matching refs:gup
53 struct gup_test gup = *(struct gup_test *)data;
60 gup.size = size;
61 status = ioctl(gup_fd, cmd, &gup);
67 cmd_to_str(cmd), gup.get_delta_usec,
68 gup.put_delta_usec);
69 if (gup.size != size)
70 ksft_print_msg(", truncated (size: %lld)", gup.size);
75 gup.size = size;
76 status = ioctl(gup_fd, cmd, &gup);
82 if (gup.size != size)
83 ksft_print_msg("Truncated (size: %lld)\n", gup.size);
94 struct gup_test gup = { 0 };
121 gup.which_pages[0] = 1;
125 gup.test_flags |= GUP_TEST_FLAG_DUMP_PAGES_USE_PIN;
129 gup.gup_flags = strtol(optarg, 0, 0);
172 /* fault pages in gup, do not fault in userland */
198 gup.which_pages[extra_arg_count] = page_index;
211 gup.nr_pages_per_call = nr_pages;
213 gup.gup_flags |= FOLL_WRITE;
238 gup.addr = (unsigned long)p;
252 gup.gup_flags |= FOLL_TOUCH;
254 for (; (unsigned long)p < gup.addr + size; p += psize())
261 ret = pthread_create(&tid[i], NULL, gup_thread, &gup);