Searched refs:dcal (Results 1 – 1 of 1) sorted by relevance
785 struct chsc_dcal *dcal; in chsc_ioctl_dcal() local803 dcal = kzalloc(sizeof(*dcal), GFP_KERNEL); in chsc_ioctl_dcal()804 if (!dcal) { in chsc_ioctl_dcal()808 if (copy_from_user(dcal, user_dcal, sizeof(*dcal))) { in chsc_ioctl_dcal()814 sdcal_area->atype = dcal->req.atype; in chsc_ioctl_dcal()815 sdcal_area->fmt = dcal->req.fmt; in chsc_ioctl_dcal()816 memcpy(&sdcal_area->list_parm, &dcal->req.list_parm, in chsc_ioctl_dcal()830 memcpy(&dcal->sdcal, &sdcal_area->response, in chsc_ioctl_dcal()832 if (copy_to_user(user_dcal, dcal, sizeof(*dcal))) in chsc_ioctl_dcal()837 kfree(dcal); in chsc_ioctl_dcal()