Home
last modified time | relevance | path

Searched refs:last_written (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/scsi/
Dsr.c752 long last_written; in get_sectorsize() local
762 if (!cdrom_get_last_written(&cd->cdi, &last_written)) in get_sectorsize()
763 cd->capacity = max_t(long, cd->capacity, last_written); in get_sectorsize()
/linux-6.12.1/include/linux/
Dcdrom.h123 extern int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written);
/linux-6.12.1/drivers/cdrom/
Dcdrom.c2810 int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written) in cdrom_get_last_written() argument
2847 *last_written = be32_to_cpu(ti.last_rec_address); in cdrom_get_last_written()
2850 *last_written = be32_to_cpu(ti.track_start) + in cdrom_get_last_written()
2853 *last_written -= (be32_to_cpu(ti.free_blocks) + 7); in cdrom_get_last_written()
2870 *last_written = toc.cdte_addr.lba; in cdrom_get_last_written()
/linux-6.12.1/drivers/block/
Dpktcdvd.c1590 long *last_written) in pkt_get_last_written() argument
1616 *last_written = be32_to_cpu(ti.last_rec_address); in pkt_get_last_written()
1619 *last_written = be32_to_cpu(ti.track_start) + in pkt_get_last_written()
1622 *last_written -= (be32_to_cpu(ti.free_blocks) + 7); in pkt_get_last_written()