Lines Matching refs:track
1520 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information *ti)
1528 cgc.cmd[4] = (track & 0xff00) >> 8;
1529 cgc.cmd[5] = track & 0xff;
1564 /* if this track is blank, try the previous. */
1673 * 1 -- we can write to this track, 0 -- we can't
1680 /* The track is always writable on DVD+RW/DVD-RAM */
1725 * for disc type 0xff we should probably reserve a new track.
1729 pkt_notice(pd, "unknown disc - no track?\n");
1744 pkt_err(pd, "can't write to last track (reserved)\n");
1757 int ret, track;
1779 track = 1; /* (di.last_track_msb << 8) | di.last_track_lsb; */
1780 ret = pkt_get_track_info(pd, track, 1, &ti);
1787 pkt_err(pd, "can't write to this track\n");