Lines Matching refs:arg
191 unsigned long arg) in snapshot_ioctl() argument
249 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
272 image_size = arg; in snapshot_ioctl()
282 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
289 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
301 error = put_user(offset, (loff_t __user *)arg); in snapshot_ioctl()
321 if (old_decode_dev(arg)) { in snapshot_ioctl()
322 data->swap = swap_type_of(old_decode_dev(arg), in snapshot_ioctl()
348 data->platform_support = !!arg; in snapshot_ioctl()
359 switch (arg) { in snapshot_ioctl()
377 printk(KERN_ERR "SNAPSHOT_PMOPS: invalid argument %ld\n", arg); in snapshot_ioctl()
389 error = copy_from_user(&swap_area, (void __user *)arg, in snapshot_ioctl()