Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 5 of 5) sorted by relevance

/block/
Dioctl.c56 struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl() argument
61 if (get_user(op, &arg->op) || get_user(udata, &arg->data)) in blkpg_ioctl()
76 struct compat_blkpg_ioctl_arg __user *arg) in compat_blkpg_ioctl() argument
81 if (get_user(op, &arg->op) || get_user(udata, &arg->data)) in compat_blkpg_ioctl()
114 unsigned long arg, unsigned long flags) in blk_ioctl_discard() argument
128 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_discard()
156 unsigned long arg) in blk_ioctl_zeroout() argument
166 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_zeroout()
245 unsigned cmd, unsigned long arg) in blkdev_compat_ptr_ioctl() argument
251 (unsigned long)compat_ptr(arg)); in blkdev_compat_ptr_ioctl()
[all …]
Dblk-zoned.c338 unsigned int cmd, unsigned long arg) in blkdev_report_zones_ioctl() argument
340 void __user *argp = (void __user *)arg; in blkdev_report_zones_ioctl()
396 unsigned int cmd, unsigned long arg) in blkdev_zone_mgmt_ioctl() argument
398 void __user *argp = (void __user *)arg; in blkdev_zone_mgmt_ioctl()
Dbsg.c102 static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in bsg_ioctl() argument
106 void __user *uarg = (void __user *) arg; in bsg_ioctl()
Dfops.c479 static long block_ioctl(struct file *file, unsigned cmd, unsigned long arg) in block_ioctl() argument
493 return blkdev_ioctl(bdev, mode, cmd, arg); in block_ioctl()
Dsed-opal.c2647 int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *arg) in sed_ioctl() argument
2659 p = memdup_user(arg, _IOC_SIZE(cmd)); in sed_ioctl()