tag | line | file | source code |
ms_info | 461 | drivers/block/sbpcd.c | static struct cdrom_multisession ms_info; |
ms_info | 3409 | drivers/block/sbpcd.c | memcpy_fromfs(&ms_info, (void *) arg, sizeof(struct cdrom_multisession)); |
ms_info | 3410 | drivers/block/sbpcd.c | if (ms_info.addr_format==CDROM_MSF) /* MSF-bin requested */ |
ms_info | 3411 | drivers/block/sbpcd.c | lba2msf(DriveStruct[d].lba_multi,&ms_info.addr.msf.minute); |
ms_info | 3412 | drivers/block/sbpcd.c | else if (ms_info.addr_format==CDROM_LBA) /* lba requested */ |
ms_info | 3413 | drivers/block/sbpcd.c | ms_info.addr.lba=DriveStruct[d].lba_multi; |
ms_info | 3415 | drivers/block/sbpcd.c | if (DriveStruct[d].f_multisession) ms_info.xa_flag=1; /* valid redirection address */ |
ms_info | 3416 | drivers/block/sbpcd.c | else ms_info.xa_flag=0; /* invalid redirection address */ |
ms_info | 3419 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &ms_info, sizeof(struct cdrom_multisession)); |
ms_info | 3421 | drivers/block/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba)); |
ms_info | 391 | drivers/scsi/sr_ioctl.c | struct cdrom_multisession ms_info; |
ms_info | 398 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&ms_info, (void *) arg, sizeof(struct cdrom_multisession)); |
ms_info | 400 | drivers/scsi/sr_ioctl.c | if (ms_info.addr_format==CDROM_MSF) { /* MSF-bin requested */ |
ms_info | 402 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
ms_info | 404 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
ms_info | 405 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
ms_info | 406 | drivers/scsi/sr_ioctl.c | } else if (ms_info.addr_format==CDROM_LBA) /* lba requested */ |
ms_info | 407 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
ms_info | 411 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=1; /* valid redirection address */ |
ms_info | 413 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=0; /* invalid redirection address */ |
ms_info | 419 | drivers/scsi/sr_ioctl.c | memcpy_tofs((void *) arg, &ms_info, sizeof(struct cdrom_multisession)); |