Searched refs:fsector_t (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/block/
H A Dfloppy.c597 static unsigned char fsector_t; /* sector in track */ variable
2315 SECT_PER_TRACK, fsector_t, ssize); rw_interrupt()
2360 INFBOUND(buffer_max, nr_sectors + fsector_t); rw_interrupt()
2389 SUPBOUND(max_sector, fsector_t + max_size); transfer_size()
2395 current_count_sectors = max_sector - fsector_t; transfer_size()
2417 buffer_max > fsector_t + blk_rq_sectors(current_req)) copy_buffer()
2418 current_count_sectors = min_t(int, buffer_max - fsector_t, copy_buffer()
2436 dma_buffer = floppy_track_buffer + ((fsector_t - buffer_min) << 9); copy_buffer()
2453 pr_info("fsector_t=%d buffer_min=%d\n", rq_for_each_segment()
2454 fsector_t, buffer_min); rq_for_each_segment()
2549 fsector_t = (int)blk_rq_pos(current_req) % max_sector; make_raw_rw_request()
2557 HEAD = fsector_t / _floppy->sect; make_raw_rw_request()
2561 fsector_t < _floppy->sect) make_raw_rw_request()
2567 if (fsector_t >= max_sector) { make_raw_rw_request()
2569 min_t(int, _floppy->sect - fsector_t, make_raw_rw_request()
2589 SECTOR = ((fsector_t % _floppy->sect) << 2 >> SIZECODE) + make_raw_rw_request()
2598 if (tracksize <= fsector_t % _floppy->sect) make_raw_rw_request()
2602 while (tracksize <= fsector_t % _floppy->sect) { make_raw_rw_request()
2619 in_sector_offset = (fsector_t % _floppy->sect) % ssize; make_raw_rw_request()
2620 aligned_sector_t = fsector_t - in_sector_offset; make_raw_rw_request()
2624 (fsector_t >= buffer_min) && (fsector_t < buffer_max)) { make_raw_rw_request()
2634 sectors = fsector_t + blk_rq_sectors(current_req); make_raw_rw_request()
2649 max_buffer_sectors * 2) - fsector_t; make_raw_rw_request()
2665 direct = transfer_size(ssize, max_sector, max_size) - fsector_t; make_raw_rw_request()
2684 DPRINT("indirect=%d direct=%d fsector_t=%d\n", make_raw_rw_request()
2685 indirect, direct, fsector_t); make_raw_rw_request()
2699 fsector_t > buffer_max || make_raw_rw_request()
2700 fsector_t < buffer_min || make_raw_rw_request()
2704 max_size + fsector_t > 2 * max_buffer_sectors + buffer_min)) { make_raw_rw_request()
2748 fsector_t, aligned_sector_t, max_sector, max_size); make_raw_rw_request()
2766 pr_info("fsector_t=%d buffer_min=%d current_count=%ld\n", make_raw_rw_request()
2767 fsector_t, buffer_min, raw_cmd->length >> 9); make_raw_rw_request()

Completed in 51 milliseconds