Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 2 of 2) sorted by relevance

/block/
Dioctl.c452 struct hd_geometry __user *argp) in blkdev_getgeo() argument
458 if (!argp) in blkdev_getgeo()
472 if (copy_to_user(argp, &geo, sizeof(geo))) in blkdev_getgeo()
479 int __user *argp) in blkdev_bszset() argument
485 if (!argp) in blkdev_bszset()
487 if (get_user(n, argp)) in blkdev_bszset()
508 void __user *argp = (void __user *)arg; in blkdev_ioctl() local
529 return blkdev_getgeo(bdev, argp); in blkdev_ioctl()
564 return blkdev_bszset(bdev, mode, argp); in blkdev_ioctl()
566 return blkpg_ioctl(bdev, argp); in blkdev_ioctl()
[all …]
Dblk-zoned.c264 void __user *argp = (void __user *)arg; in blkdev_report_zones_ioctl() local
270 if (!argp) in blkdev_report_zones_ioctl()
283 if (copy_from_user(&rep, argp, sizeof(struct blk_zone_report))) in blkdev_report_zones_ioctl()
303 if (copy_to_user(argp, &rep, sizeof(struct blk_zone_report))) { in blkdev_report_zones_ioctl()
309 if (copy_to_user(argp + sizeof(struct blk_zone_report), zones, in blkdev_report_zones_ioctl()
327 void __user *argp = (void __user *)arg; in blkdev_reset_zones_ioctl() local
331 if (!argp) in blkdev_reset_zones_ioctl()
347 if (copy_from_user(&zrange, argp, sizeof(struct blk_zone_range))) in blkdev_reset_zones_ioctl()