Searched refs:last_written (Results 1 – 4 of 4) sorted by relevance
752 long last_written; in get_sectorsize() local762 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()
123 extern int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written);
2810 int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written) in cdrom_get_last_written() argument2847 *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()
1590 long *last_written) in pkt_get_last_written() argument1616 *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()