Lines Matching refs:fsector_t

592 static unsigned char fsector_t;	/* sector in track */  variable
2363 raw_cmd->cmd[SECT_PER_TRACK], fsector_t, ssize); in rw_interrupt()
2408 INFBOUND(buffer_max, nr_sectors + fsector_t); in rw_interrupt()
2437 SUPBOUND(max_sector, fsector_t + max_size); in transfer_size()
2443 current_count_sectors = max_sector - fsector_t; in transfer_size()
2465 buffer_max > fsector_t + blk_rq_sectors(current_req)) in copy_buffer()
2466 current_count_sectors = min_t(int, buffer_max - fsector_t, in copy_buffer()
2484 dma_buffer = floppy_track_buffer + ((fsector_t - buffer_min) << 9); in copy_buffer()
2502 fsector_t, buffer_min); in copy_buffer()
2597 fsector_t = (int)blk_rq_pos(current_req) % max_sector; in make_raw_rw_request()
2605 raw_cmd->cmd[HEAD] = fsector_t / _floppy->sect; in make_raw_rw_request()
2609 fsector_t < _floppy->sect) in make_raw_rw_request()
2615 if (fsector_t >= max_sector) { in make_raw_rw_request()
2617 min_t(int, _floppy->sect - fsector_t, in make_raw_rw_request()
2638 raw_cmd->cmd[SECTOR] = ((fsector_t % _floppy->sect) << 2 >> raw_cmd->cmd[SIZECODE]) + in make_raw_rw_request()
2647 if (tracksize <= fsector_t % _floppy->sect) in make_raw_rw_request()
2651 while (tracksize <= fsector_t % _floppy->sect) { in make_raw_rw_request()
2668 in_sector_offset = (fsector_t % _floppy->sect) % ssize; in make_raw_rw_request()
2669 aligned_sector_t = fsector_t - in_sector_offset; in make_raw_rw_request()
2673 (fsector_t >= buffer_min) && (fsector_t < buffer_max)) { in make_raw_rw_request()
2683 sectors = fsector_t + blk_rq_sectors(current_req); in make_raw_rw_request()
2698 max_buffer_sectors * 2) - fsector_t; in make_raw_rw_request()
2714 direct = transfer_size(ssize, max_sector, max_size) - fsector_t; in make_raw_rw_request()
2734 indirect, direct, fsector_t); in make_raw_rw_request()
2748 fsector_t > buffer_max || in make_raw_rw_request()
2749 fsector_t < buffer_min || in make_raw_rw_request()
2753 max_size + fsector_t > 2 * max_buffer_sectors + buffer_min)) { in make_raw_rw_request()
2797 fsector_t, aligned_sector_t, max_sector, max_size); in make_raw_rw_request()
2817 fsector_t, buffer_min, raw_cmd->length >> 9); in make_raw_rw_request()