Searched refs:sdcal_area (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/s390/cio/
H A Dchsc_sch.c837 } __attribute__ ((packed)) *sdcal_area; chsc_ioctl_dcal() local
839 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); chsc_ioctl_dcal()
840 if (!sdcal_area) chsc_ioctl_dcal()
851 sdcal_area->request.length = 0x0020; chsc_ioctl_dcal()
852 sdcal_area->request.code = 0x0034; chsc_ioctl_dcal()
853 sdcal_area->atype = dcal->req.atype; chsc_ioctl_dcal()
854 sdcal_area->fmt = dcal->req.fmt; chsc_ioctl_dcal()
855 memcpy(&sdcal_area->list_parm, &dcal->req.list_parm, chsc_ioctl_dcal()
856 sizeof(sdcal_area->list_parm)); chsc_ioctl_dcal()
858 ccode = chsc(sdcal_area); chsc_ioctl_dcal()
863 if (sdcal_area->response.code != 0x0001) { chsc_ioctl_dcal()
866 sdcal_area->response.code); chsc_ioctl_dcal()
869 memcpy(&dcal->sdcal, &sdcal_area->response, chsc_ioctl_dcal()
870 sdcal_area->response.length); chsc_ioctl_dcal()
877 free_page((unsigned long)sdcal_area); chsc_ioctl_dcal()

Completed in 47 milliseconds