Lines Matching refs:cursec
1445 static int reorder(unsigned int j, unsigned long cursec,
1498 if (cursec > sl[0]) seek += cursec - sl[0]; else seek += sl[0] - cursec;
1501 if (cursec > ((maxsec + minsec) / 2)) rev = TRUE;
1520 if (cursec > sl[0]) iseek = cursec - sl[0]; else iseek = sl[0] - cursec;
1538 cursec, YESNO(s), YESNO(r), YESNO(rev), YESNO(input_only),
1545 static void flush_dev(struct scsi_device *dev, unsigned long cursec, unsigned int j,
1564 if (reorder(j, cursec, ihdlr, il, n_ready)) n_ready = 1;