Lines Matching refs:segment
301 int segment; in forward_seek_entry() local
305 segment = cvt2segment(sector); in forward_seek_entry()
306 } while (sector != 0 && segment < segment_id); in forward_seek_entry()
310 if (sector == 0 || segment != segment_id) { in forward_seek_entry()
323 (segment = cvt2segment(sector)) == segment_id) { in forward_seek_entry()
336 int segment; /* max unsigned int */ in backwards_seek_entry() local
344 segment = cvt2segment(sector); in backwards_seek_entry()
345 } while (*ptr > (SectorCount *)bad_sector_map && segment > segment_id); in backwards_seek_entry()
346 if (segment > segment_id) { /* at start of list, no entry found */ in backwards_seek_entry()
349 } else if (segment < segment_id) { in backwards_seek_entry()
364 segment = cvt2segment(sector); in backwards_seek_entry()
365 if (segment != segment_id) { in backwards_seek_entry()
371 if (segment < segment_id) { in backwards_seek_entry()