Lines Matching refs:cud
548 struct chsc_sch_cud *cud; in chsc_ioctl_info_sch_cu() local
570 cud = kzalloc(sizeof(*cud), GFP_KERNEL); in chsc_ioctl_info_sch_cu()
571 if (!cud) { in chsc_ioctl_info_sch_cu()
575 if (copy_from_user(cud, user_cud, sizeof(*cud))) { in chsc_ioctl_info_sch_cu()
581 sscud_area->m = cud->schid.m; in chsc_ioctl_info_sch_cu()
582 sscud_area->fmt1 = cud->fmt; in chsc_ioctl_info_sch_cu()
583 sscud_area->ssid = cud->schid.ssid; in chsc_ioctl_info_sch_cu()
584 sscud_area->first_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu()
585 sscud_area->cssid = cud->schid.cssid; in chsc_ioctl_info_sch_cu()
586 sscud_area->last_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu()
599 memcpy(&cud->scub, &sscud_area->response, sscud_area->response.length); in chsc_ioctl_info_sch_cu()
600 if (copy_to_user(user_cud, cud, sizeof(*cud))) in chsc_ioctl_info_sch_cu()
605 kfree(cud); in chsc_ioctl_info_sch_cu()