Home
last modified time | relevance | path

Searched refs:cdread (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c1267 struct cdrom_read cdread; in cdrom_ioctl_trans() local
1280 karg = &cdread; in cdrom_ioctl_trans()
1281 err = __get_user(cdread.cdread_lba, &((struct cdrom_read32 *)arg)->cdread_lba); in cdrom_ioctl_trans()
1283 err |= __get_user(cdread.cdread_buflen, &((struct cdrom_read32 *)arg)->cdread_buflen); in cdrom_ioctl_trans()
1286 data = kmalloc(cdread.cdread_buflen, GFP_KERNEL); in cdrom_ioctl_trans()
1289 cdread.cdread_bufaddr = data; in cdrom_ioctl_trans()
1336 err = copy_to_user((char *)A(addr), data, cdread.cdread_buflen); in cdrom_ioctl_trans()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c1809 struct cdrom_read cdread; in cdrom_ioctl_trans() local
1821 karg = &cdread; in cdrom_ioctl_trans()
1822 err = __get_user(cdread.cdread_lba, &((struct cdrom_read32 *)arg)->cdread_lba); in cdrom_ioctl_trans()
1824 err |= __get_user(cdread.cdread_buflen, &((struct cdrom_read32 *)arg)->cdread_buflen); in cdrom_ioctl_trans()
1827 if (verify_area(VERIFY_WRITE, (void *)A(addr), cdread.cdread_buflen)) in cdrom_ioctl_trans()
1829 cdread.cdread_bufaddr = (void *)A(addr); in cdrom_ioctl_trans()