Lines Matching defs:arg
144 * @arg: LUN information or file associated with request.
156 void *arg, enum ctx_ctrl ctx_ctrl)
162 struct llun_info *lli = arg;
169 file = (struct file *)arg;
1953 * @arg: UDirect ioctl data structure.
1961 static int cxlflash_disk_direct_open(struct scsi_device *sdev, void *arg)
1970 struct dk_cxlflash_udirect *pphys = (struct dk_cxlflash_udirect *)arg;
2082 * @arg: Userspace ioctl data structure.
2094 int cxlflash_ioctl(struct scsi_device *sdev, unsigned int cmd, void __user *arg)
2176 if (unlikely(copy_from_user(&buf, arg, size))) {
2177 dev_err(dev, "%s: copy_from_user() fail size=%lu cmd=%u (%s) arg=%p\n",
2178 __func__, size, cmd, decode_ioctl(cmd), arg);
2199 if (unlikely(copy_to_user(arg, &buf, size))) {
2200 dev_err(dev, "%s: copy_to_user() fail size=%lu cmd=%u (%s) arg=%p\n",
2201 __func__, size, cmd, decode_ioctl(cmd), arg);