Home
last modified time | relevance | path

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

/linux/drivers/message/fusion/
A Dmptctl.c1259 kfree(karg); in mptctl_getiocinfo()
1277 kfree(karg); in mptctl_getiocinfo()
1282 karg->port = port; in mptctl_getiocinfo()
1332 karg->rsvd[0] = karg->rsvd[1] = 0; in mptctl_getiocinfo()
1340 kfree(karg); in mptctl_getiocinfo()
1344 kfree(karg); in mptctl_getiocinfo()
1818 karg.dataOutSize = karg.dataInSize = 0; in mptctl_do_mpt_command()
2372 snprintf(karg.fw_version, sizeof(karg.fw_version), in mptctl_hp_hostinfo()
2601 cfg.pageAddr = (karg.hdr.channel << 8) | karg.hdr.id; in mptctl_hp_targetinfo()
2655 cfg.pageAddr = (karg.hdr.channel << 8) | karg.hdr.id; in mptctl_hp_targetinfo()
[all …]
/linux/drivers/scsi/mpt3sas/
A Dmpt3sas_ctl.c1161 memset(&karg, 0 , sizeof(karg)); in _ctl_getiocinfo()
1194 if (copy_to_user(arg, &karg, sizeof(karg))) { in _ctl_getiocinfo()
1212 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_eventquery()
1225 if (copy_to_user(arg, &karg, sizeof(karg))) { in _ctl_eventquery()
1243 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_eventenable()
1283 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_eventreport()
1326 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_do_reset()
1465 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_btdh_mapping()
1480 if (copy_to_user(arg, &karg, sizeof(karg))) { in _ctl_btdh_mapping()
1918 if (copy_from_user(&karg, arg, sizeof(karg))) { in _ctl_diag_register()
[all …]
/linux/drivers/media/mc/
A Dmc-device.c390 copy_from_user(karg, uarg, _IOC_SIZE(cmd))) in copy_arg_from_user()
399 copy_to_user(uarg, karg, _IOC_SIZE(cmd))) in copy_arg_to_user()
426 long (*arg_to_user)(void __user *uarg, void *karg, unsigned int cmd);
445 char __karg[256], *karg = __karg; in media_device_ioctl() local
455 karg = kmalloc(_IOC_SIZE(info->cmd), GFP_KERNEL); in media_device_ioctl()
456 if (!karg) in media_device_ioctl()
461 ret = info->arg_from_user(karg, arg, cmd); in media_device_ioctl()
469 ret = info->fn(dev, karg); in media_device_ioctl()
475 ret = info->arg_to_user(arg, karg, cmd); in media_device_ioctl()
478 if (karg != __karg) in media_device_ioctl()
[all …]
/linux/drivers/char/
A Dlp.c700 s32 karg[2]; in lp_set_timeout32() local
702 if (copy_from_user(karg, arg, sizeof(karg))) in lp_set_timeout32()
705 return lp_set_timeout(minor, karg[0], karg[1]); in lp_set_timeout32()
710 s64 karg[2]; in lp_set_timeout64() local
712 if (copy_from_user(karg, arg, sizeof(karg))) in lp_set_timeout64()
717 karg[1] >>= 32; in lp_set_timeout64()
719 return lp_set_timeout(minor, karg[0], karg[1]); in lp_set_timeout64()
/linux/drivers/media/usb/uvc/
A Duvc_v4l2.c1415 } karg; in uvc_v4l2_compat_ioctl32() local
1421 ret = uvc_v4l2_get_xu_mapping(&karg.xmap, up); in uvc_v4l2_compat_ioctl32()
1424 ret = uvc_ioctl_ctrl_map(handle->chain, &karg.xmap); in uvc_v4l2_compat_ioctl32()
1427 ret = uvc_v4l2_put_xu_mapping(&karg.xmap, up); in uvc_v4l2_compat_ioctl32()
1434 ret = uvc_v4l2_get_xu_query(&karg.xqry, up); in uvc_v4l2_compat_ioctl32()
1437 ret = uvc_xu_ctrl_query(handle->chain, &karg.xqry); in uvc_v4l2_compat_ioctl32()
1440 ret = uvc_v4l2_put_xu_query(&karg.xqry, up); in uvc_v4l2_compat_ioctl32()

Completed in 30 milliseconds