Lines Matching defs:cmd
10 static void put_back_pages(unsigned int cmd, struct page **pages,
15 switch (cmd) {
39 static void verify_dma_pinned(unsigned int cmd, struct page **pages,
45 switch (cmd) {
57 } else if (cmd == PIN_LONGTERM_BENCHMARK &&
100 static int __gup_test_ioctl(unsigned int cmd,
109 cmd != GUP_FAST_BENCHMARK && cmd != PIN_FAST_BENCHMARK;
137 switch (cmd) {
186 verify_dma_pinned(cmd, pages, nr_pages);
188 if (cmd == DUMP_USER_PAGES_TEST)
193 put_back_pages(cmd, pages, nr_pages, gup->test_flags);
313 static long pin_longterm_test_ioctl(struct file *filep, unsigned int cmd,
321 switch (cmd) {
338 static long gup_test_ioctl(struct file *filep, unsigned int cmd,
344 switch (cmd) {
355 return pin_longterm_test_ioctl(filep, cmd, arg);
363 ret = __gup_test_ioctl(cmd, &gup);