taglinefilesource code
track229drivers/block/amiflop.cif (unit[drive].track % 2 != 0)
track276drivers/block/amiflop.cif (unit[nr].track % 2 != 0)
track315drivers/block/amiflop.cif (unit[drive].track % 2 != 0)
track390drivers/block/amiflop.cunit[drive].track = -1;
track394drivers/block/amiflop.cunit[drive].track = 0;
track405drivers/block/amiflop.cstatic int fd_seek(int drive, int track)
track411drivers/block/amiflop.cif (unit[drive].track == track)
track416drivers/block/amiflop.cif (unit[drive].track < 0 && !fd_calibrate(drive))
track419drivers/block/amiflop.ccnt = unit[drive].track/2 - track/2;
track422drivers/block/amiflop.cif (track % 2 != 0)
track429drivers/block/amiflop.cif (track % 2 != unit[drive].track % 2)
track431drivers/block/amiflop.cunit[drive].track = track;
track493drivers/block/amiflop.cunsigned char track;
track501drivers/block/amiflop.cstatic unsigned long *putsec(int disk, unsigned long *raw, int track, int cnt,
track516drivers/block/amiflop.chdr.track = track;
track544drivers/block/amiflop.cint track)
track556drivers/block/amiflop.cptr = putsec (disk, ptr, track, cnt, data + cnt*512);
track609drivers/block/amiflop.cunsigned long raw, int track)
track634drivers/block/amiflop.chdr.magic, hdr.track, hdr.sect, hdr.ord,
track646drivers/block/amiflop.cif (hdr.track != track) {
track647drivers/block/amiflop.cprintk("MFM_TRACK: %d, %d\n", hdr.track, track);
track657drivers/block/amiflop.chdr.magic, hdr.track, hdr.sect, hdr.ord, scnt,
track672drivers/block/amiflop.cunsigned char track,   /* 0-80 */
track687drivers/block/amiflop.creturn dos_crc(&(hdr->track), 0xb2, 0x30, 3); /* precomputed magic */
track842drivers/block/amiflop.cunsigned long raw, int track)
track856drivers/block/amiflop.ctrack,drive,scnt);
track868drivers/block/amiflop.cprintk("(%3d,%d,%2d,%d) %x\n", hdr.track, hdr.side,
track876drivers/block/amiflop.cif (hdr.track != track/unit[drive].type->heads) {
track877drivers/block/amiflop.cprintk("dos_read: MFM_TRACK %d, %d\n", hdr.track,
track878drivers/block/amiflop.ctrack/unit[drive].type->heads);
track882drivers/block/amiflop.cif (hdr.side != track%unit[drive].type->heads) {
track884drivers/block/amiflop.ctrack%unit[drive].type->heads);
track897drivers/block/amiflop.ctrack, drive, scnt, hdr.sec);
track906drivers/block/amiflop.chdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt);
track917drivers/block/amiflop.chdr.track, hdr.side, hdr.sec, hdr.len_desc,
track954drivers/block/amiflop.cstatic unsigned long *ms_putsec(int drive, unsigned long *raw, int track, int cnt,
track972drivers/block/amiflop.chdr.track=track/unit[drive].type->heads;
track973drivers/block/amiflop.chdr.side=track%unit[drive].type->heads;
track978drivers/block/amiflop.cdos_encode_block((ushort *)raw,(unsigned char *) &hdr.track,28);
track1010drivers/block/amiflop.cint track)
track1037drivers/block/amiflop.cptr=ms_putsec(disk,ptr,track,cnt,data+cnt*512);
track1097drivers/block/amiflop.cunit[drive].track = -1;
track1119drivers/block/amiflop.cstatic void raw_read(int drive, int track, char *ptrack, int len)
track1144drivers/block/amiflop.cstatic int raw_write(int drive, int track, char *ptrack, int len)
track1156drivers/block/amiflop.cif ((ulong)track >= unit[drive].type->precomp2)
track1158drivers/block/amiflop.celse if ((ulong)track >= unit[drive].type->precomp1)
track1181drivers/block/amiflop.cstatic int get_track(int drive, int track)
track1186drivers/block/amiflop.cif ((lastdrive == drive) && (savedtrack == track))
track1190drivers/block/amiflop.craw_read(drive, track, raw_buf, unit[drive].type->read_size);
track1192drivers/block/amiflop.cerror = (*unit[drive].dtype->read_fkt)(drive, trackdata, (unsigned long)raw_buf, track);
track1195drivers/block/amiflop.csavedtrack = track;
track1198drivers/block/amiflop.cunit[drive].track = -1;
track1246drivers/block/amiflop.cunsigned int block, track, sector;
track1309drivers/block/amiflop.ctrack = block / floppy->sects;
track1315drivers/block/amiflop.cif (track != savedtrack && writepending) {
track1332drivers/block/amiflop.cif (!fd_seek(drive, track)) {
track1336drivers/block/amiflop.cif (get_track(drive, track) == -1) {
track1349drivers/block/amiflop.cif (!fd_seek(drive, track)) {
track1353drivers/block/amiflop.cif (get_track(drive, track) == -1) {
track1446drivers/block/amiflop.cgetprm.track=unit[drive].type->tracks/unit[drive].type->heads;
track1559drivers/block/amiflop.cunit[drive].track = -1;
track1735drivers/block/amiflop.cunit[i].track = -1;
track206drivers/block/ataflop.cint track;    /* current head position or -1 if
track272drivers/block/ataflop.c#define  IS_BUFFERED(drive,side,track) \
track273drivers/block/ataflop.c(BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track))
track440drivers/block/ataflop.cFDC_WRITE( FDCREG_TRACK, UD.track );
track617drivers/block/ataflop.cSUD.track = -1;
track643drivers/block/ataflop.cdrive, desc->track, desc->head, desc->sect_offset ));
track664drivers/block/ataflop.cif (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) {
track682drivers/block/ataflop.c*p++ = desc->track;
track699drivers/block/ataflop.cReqTrack = desc->track;
track753drivers/block/ataflop.cif (UD.track == -1)
track755drivers/block/ataflop.celse if (UD.track != ReqTrack << UDT->stretch)
track768drivers/block/ataflop.cif (SUD.track >= 0) {
track800drivers/block/ataflop.cSUD.track = 0;
track812drivers/block/ataflop.cif (SUD.track == ReqTrack << SUDT->stretch) {
track847drivers/block/ataflop.cSUD.track = -1;
track851drivers/block/ataflop.cSUD.track = ReqTrack << SUDT->stretch;
track872drivers/block/ataflop.cunsigned int track;
track901drivers/block/ataflop.ctrack = FDC_READ( FDCREG_TRACK);
track903drivers/block/ataflop.cFDC_WRITE( FDCREG_TRACK, track >> SUDT->stretch);
track1028drivers/block/ataflop.cunsigned int track;
track1043drivers/block/ataflop.ctrack = FDC_READ( FDCREG_TRACK);
track1045drivers/block/ataflop.cFDC_WRITE( FDCREG_TRACK, track << SUDT->stretch);
track1153drivers/block/ataflop.cunsigned int track;
track1164drivers/block/ataflop.ctrack = FDC_READ( FDCREG_TRACK);
track1166drivers/block/ataflop.cFDC_WRITE(FDCREG_TRACK,track >> SUDT->stretch);
track1268drivers/block/ataflop.cFDC_WRITE (FDCREG_DATA, SUD.track);
track1574drivers/block/ataflop.cgetprm.track = dtp->blocks/dtp->spt/2;
track1626drivers/block/ataflop.cUD.track     = 0;
track1881drivers/block/ataflop.cunit[i].track = -1;
track147drivers/block/floppy.cint track;
track793drivers/block/floppy.c(mode || UDRS->track != NEED_1_RECAL))
track794drivers/block/floppy.cUDRS->track = NEED_2_RECAL;
track1392drivers/block/floppy.cDRS->track = NEED_2_RECAL;
track1478drivers/block/floppy.cDRS->track = NEED_2_RECAL;
track1483drivers/block/floppy.cif (DRS->track >= 0 && DRS->track != ST1 && !blind_seek){
track1493drivers/block/floppy.cDRS->track = ST1;
track1524drivers/block/floppy.cint track;
track1546drivers/block/floppy.cif (DRS->track <= NEED_1_RECAL){
track1551drivers/block/floppy.c(DRS->track <= NO_TRACK || DRS->track == raw_cmd->track)) {
track1554drivers/block/floppy.cif (raw_cmd->track)
track1555drivers/block/floppy.ctrack = raw_cmd->track - 1;
track1562drivers/block/floppy.ctrack = 1;
track1566drivers/block/floppy.cif (raw_cmd->track != DRS->track &&
track1568drivers/block/floppy.ctrack = raw_cmd->track;
track1578drivers/block/floppy.cDRS->track = raw_cmd->track;
track1587drivers/block/floppy.cLAST_OUT(track);
track1601drivers/block/floppy.cswitch(DRS->track){
track1642drivers/block/floppy.cDRS->track = NEED_1_RECAL;
track1646drivers/block/floppy.cDRS->track = ST1;
track2037drivers/block/floppy.cDRS->track = NEED_2_RECAL;
track2068drivers/block/floppy.cstatic void setup_format_params(int track)
track2071drivers/block/floppy.cunsigned char track,head,sect,size;
track2077drivers/block/floppy.craw_cmd->track = track;
track2100drivers/block/floppy.cn = (track_shift * format_req.track + head_shift * format_req.head)
track2110drivers/block/floppy.chere[count].track = format_req.track;
track2132drivers/block/floppy.csetup_format_params(format_req.track << STRETCH(_floppy));
track2153drivers/block/floppy.c_floppy->track > DP->tracks ||
track2154drivers/block/floppy.ctmp_format_req->track >= _floppy->track ||
track2302drivers/block/floppy.cbuffer_track = raw_cmd->track;
track2474drivers/block/floppy.cif (_floppy->track && TRACK >= _floppy->track)
track2503drivers/block/floppy.craw_cmd->track = TRACK << STRETCH(_floppy);
track2528drivers/block/floppy.cif ((raw_cmd->track == buffer_track) && 
track2597drivers/block/floppy.cif (buffer_track != raw_cmd->track ||  /* bad track */
track2622drivers/block/floppy.cbuffer_track = raw_cmd->track;
track2807drivers/block/floppy.craw_cmd->track=0;
track3021drivers/block/floppy.cptr->track = old_raw_cmd.track;
track3115drivers/block/floppy.cDRS->track = NO_TRACK;
track3147drivers/block/floppy.cg->track <= 0 ||
track3148drivers/block/floppy.cg->track > UDP->tracks>>STRETCH(g) ||
track4034drivers/block/floppy.cFDCS->track[unit] = 0;
track696drivers/block/hd.cunsigned int dev, block, nsect, sec, track, head, cyl;
track733drivers/block/hd.ctrack = block / hd_info[dev].sect;
track734drivers/block/hd.chead  = track % hd_info[dev].head;
track735drivers/block/hd.ccyl   = track / hd_info[dev].head;
track1711drivers/block/ide-cd.ctoc->ent[i].track = bcd2bin (toc->ent[i].track);
track1878drivers/block/ide-cd.cint cdrom_get_toc_entry (ide_drive_t *drive, int track,
track1893drivers/block/ide-cd.cif (track == CDROM_LEADOUT)
track1895drivers/block/ide-cd.celse if (track < toc->hdr.first_track ||
track1896drivers/block/ide-cd.ctrack > toc->hdr.last_track)
track1899drivers/block/ide-cd.c*ent = &toc->ent[track - toc->hdr.first_track];
track1282drivers/block/ide.cunsigned int sect,head,cyl,track;
track1283drivers/block/ide.ctrack = block / drive->sect;
track1286drivers/block/ide.chead  = track % drive->head;
track1287drivers/block/ide.ccyl   = track / drive->head;
track209drivers/block/ide.hbyte track;
track345drivers/block/xd.cu_short track,cylinder;
track356drivers/block/xd.ctrack = block / xd_info[drive].sectors;
track357drivers/block/xd.chead = track % xd_info[drive].heads;
track358drivers/block/xd.ccylinder = track / xd_info[drive].heads;
track715drivers/cdrom/aztcd.cqp->track=0;          /* only one byte with Aztech drives */
track727drivers/cdrom/aztcd.cif (aztGetValue(&qp -> track) < 0)           RETURNM("aztGetQChannelInfo 4",-1);
track894drivers/cdrom/aztcd.cif ((qInfo.track==0)&&(qInfo.pointIndex)) break;  /*LeadIn found*/
track903drivers/cdrom/aztcd.cprintk("leadin found track %d  pointIndex %x  limit %d\n",qInfo.track,qInfo.pointIndex,limit);
track1013drivers/cdrom/aztcd.cif (px > 0 && px < MAX_TRACKS && qInfo.track == 0)
track1030drivers/cdrom/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
track1035drivers/cdrom/aztcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
track1282drivers/cdrom/aztcd.csubchnl.cdsc_trk = azt_bcd2bin(qInfo.track);
track1908drivers/cdrom/cdu31a.cfind_track(int track)
track1917drivers/cdrom/cdu31a.cif (sony_toc.tracks[i].track == track)
track145drivers/cdrom/cm206.cuch track, fsm[3], q0;
track722drivers/cdrom/cm206.cinline uch normalize_track(uch track) 
track724drivers/cdrom/cm206.cif (track<1) return 1;
track725drivers/cdrom/cm206.cif (track>LAST_TRACK) return LAST_TRACK+1;
track726drivers/cdrom/cm206.creturn track;
track732drivers/cdrom/cm206.cint get_toc_lba(uch track)
track741drivers/cdrom/cm206.cfor (i=track; i>0; i--) if (cd->toc[i].track) {
track750drivers/cdrom/cm206.cif (!cd->toc[ct].track) {
track753drivers/cdrom/cm206.ccd->toc[ct].track=q[1];  /* lead out still 0xaa */
track761drivers/cdrom/cm206.cif (ct==track) return l;
track765drivers/cdrom/cm206.cif (ct < track) min = lba; else max = lba;
track768drivers/cdrom/cm206.cif(ct < track) lba += skip;
track779drivers/cdrom/cm206.cvoid update_toc_entry(uch track) 
track781drivers/cdrom/cm206.ctrack = normalize_track(track);
track782drivers/cdrom/cm206.cif (!cd->toc[track].track) get_toc_lba(track);
track792drivers/cdrom/cm206.ccd->toc[1].track=1;    /* fill in first track position */
track809drivers/cdrom/cm206.cPLAY_TO.track = 0;    /* say no track end */
track829drivers/cdrom/cm206.cPLAY_TO.track = to; 
track867drivers/cdrom/cm206.cuch track = normalize_track(ep->cdte_track);
track868drivers/cdrom/cm206.cupdate_toc_entry(track);
track870drivers/cdrom/cm206.cep->cdte_addr.msf.frame = cd->toc[track].fsm[0];
track871drivers/cdrom/cm206.cep->cdte_addr.msf.second = cd->toc[track].fsm[1];
track872drivers/cdrom/cm206.cep->cdte_addr.msf.minute = cd->toc[track].fsm[2];
track874drivers/cdrom/cm206.celse ep->cdte_addr.lba = fsm2lba(cd->toc[track].fsm);
track875drivers/cdrom/cm206.cep->cdte_adr = cd->toc[track].q0 & 0xf; 
track876drivers/cdrom/cm206.cep->cdte_ctrl = cd->toc[track].q0 >> 4;
track512drivers/cdrom/mcd.csubchnl.cdsc_trk = bcd2bin(qInfo.track);
track1450drivers/cdrom/mcd.cif (getValue(&qp -> track) < 0) return -1;
track1578drivers/cdrom/mcd.cif (px > 0 && px < MAX_TRACKS && qInfo.track == 0)
track1603drivers/cdrom/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
track1608drivers/cdrom/mcd.ci, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex,
track955drivers/cdrom/sonycd535.cfind_track(int track)
track964drivers/cdrom/sonycd535.cif (sony_toc->tracks[i].track == track) {
track647drivers/char/ftape/fdc-io.cint fdc_seek(int track)
track656drivers/char/ftape/fdc-io.cout[2] = track;
track661drivers/char/ftape/fdc-io.cTRACEx1(4, "destination was: %d, resetting FDC...", track);
track694drivers/char/ftape/fdc-io.cif (pcn != track) {
track166drivers/char/ftape/fdc-io.hextern int fdc_seek(int track);
track132drivers/char/ftape/ftape-ctl.clocation.track = -1;  /* force seek on first access */
track876drivers/char/ftape/ftape-ctl.clocation.track = -1;
track160drivers/char/ftape/ftape-io.cint track;
track281drivers/char/ftape/ftape-io.ctrack = current_cylinder - command;
track283drivers/char/ftape/ftape-io.ctrack = current_cylinder + command;
track285drivers/char/ftape/ftape-io.cresult = fdc_seek(track);
track894drivers/char/ftape/ftape-io.cint ftape_seek_head_to_track(int track)
track900drivers/char/ftape/ftape-io.clocation.track = -1;  /* remains set in case of error */
track901drivers/char/ftape/ftape-io.cif (track < 0 || track >= tracks_per_tape) {
track905drivers/char/ftape/ftape-io.cTRACEx1(5, "seeking track %d", track);
track910drivers/char/ftape/ftape-io.cresult = ftape_parameter_wait(track, timeout.head_seek, &status);
track914drivers/char/ftape/ftape-io.clocation.track = track;
track68drivers/char/ftape/ftape-io.hextern int ftape_seek_head_to_track(int track);
track244drivers/char/ftape/ftape-rw.clocation.bot = ((location.track & 1) == 0 ?
track248drivers/char/ftape/ftape-rw.clocation.segment = (location.track +
track470drivers/char/ftape/ftape-rw.cseek_forward(location.track * segments_per_track);
track531drivers/char/ftape/ftape-rw.cif (location.track == -1) {
track537drivers/char/ftape/ftape-rw.cint lo = (location.track - 1) * segments_per_track;
track538drivers/char/ftape/ftape-rw.cint hi = (location.track + 2) * segments_per_track;
track679drivers/char/ftape/ftape-rw.cif (expected / segments_per_track != location.track) {
track680drivers/char/ftape/ftape-rw.cexpected = location.track * segments_per_track;
track845drivers/char/ftape/ftape-rw.cint track = segment_id / segments_per_track;
track875drivers/char/ftape/ftape-rw.cif (location.track != track || (might_be_off_track &&
track880drivers/char/ftape/ftape-rw.cftape_seek_head_to_track(track);
track909drivers/char/ftape/ftape-rw.cresult = ftape_command_wait((location.track & 1) ?
track126drivers/char/ftape/ftape-rw.hint track;    /* tape head position */
track45include/asm-m68k/amifd.hint track;      /* current track (-1 == unknown) */
track7include/asm-m68k/atafd.hint track;      /* to be formatted */
track150include/linux/aztcd.hunsigned char  track;
track220include/linux/cdu31a.hunsigned char track;
track280include/linux/cdu31a.hunsigned char track;
track16include/linux/fd.htrack,    /* nr of tracks */
track65include/linux/fd.hunsigned int device,head,track;
track203include/linux/fd.hshort track; /* current track */
track265include/linux/fd.hunsigned char track[4];
track353include/linux/fd.hint track;
track105include/linux/gscd.hunsigned char  track;
track107include/linux/mcd.hunsigned char  track;
track159include/linux/sjcd.hunsigned char   track;
track176include/linux/sonycd535.hunsigned char track;