Lines Matching defs:args
226 struct pin_longterm_test args;
234 if (copy_from_user(&args, (void __user *)arg, sizeof(args)))
237 if (args.flags &
240 if (!IS_ALIGNED(args.addr | args.size, PAGE_SIZE))
242 if (args.size > LONG_MAX)
244 nr_pages = args.size / PAGE_SIZE;
252 if (args.flags & PIN_LONGTERM_TEST_FLAG_USE_WRITE)
254 fast = !!(args.flags & PIN_LONGTERM_TEST_FLAG_USE_FAST);
266 addr = args.addr + pin_longterm_test_nr_pages * PAGE_SIZE;