last_written     1611 drivers/block/pktcdvd.c 						long *last_written)
last_written     1637 drivers/block/pktcdvd.c 		*last_written = be32_to_cpu(ti.last_rec_address);
last_written     1640 drivers/block/pktcdvd.c 		*last_written = be32_to_cpu(ti.track_start) +
last_written     1643 drivers/block/pktcdvd.c 			*last_written -= (be32_to_cpu(ti.free_blocks) + 7);
last_written     2840 drivers/cdrom/cdrom.c int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written)
last_written     2877 drivers/cdrom/cdrom.c 		*last_written = be32_to_cpu(ti.last_rec_address);
last_written     2880 drivers/cdrom/cdrom.c 		*last_written = be32_to_cpu(ti.track_start) +
last_written     2883 drivers/cdrom/cdrom.c 			*last_written -= (be32_to_cpu(ti.free_blocks) + 7);
last_written     2900 drivers/cdrom/cdrom.c 	*last_written = toc.cdte_addr.lba;
last_written     1068 drivers/ide/ide-cd.c 	long last_written;
last_written     1211 drivers/ide/ide-cd.c 	stat = cdrom_get_last_written(cdi, &last_written);
last_written     1212 drivers/ide/ide-cd.c 	if (!stat && (last_written > toc->capacity)) {
last_written     1213 drivers/ide/ide-cd.c 		toc->capacity = last_written;
last_written      808 drivers/scsi/sr.c 		long last_written;
last_written      819 drivers/scsi/sr.c 		if (!cdrom_get_last_written(&cd->cdi, &last_written))
last_written      820 drivers/scsi/sr.c 			cd->capacity = max_t(long, cd->capacity, last_written);
last_written      118 include/linux/cdrom.h extern int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written);