Lines Matching refs:current_count_sectors
589 static long current_count_sectors; variable
2262 unsigned int nr_sectors = current_count_sectors; in floppy_end_request()
2297 block = current_count_sectors + blk_rq_pos(req); in request_done()
2353 DIV_ROUND_UP(in_sector_offset + current_count_sectors, ssize)) { in rw_interrupt()
2355 nr_sectors, current_count_sectors); in rw_interrupt()
2370 SUPBOUND(current_count_sectors, nr_sectors); in rw_interrupt()
2377 if (!current_count_sectors) { in rw_interrupt()
2384 if (!current_count_sectors) { in rw_interrupt()
2422 current_count_sectors = max_sector - fsector_t; in transfer_size()
2442 if (current_count_sectors <= 0 && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE && in copy_buffer()
2444 current_count_sectors = min_t(int, buffer_max - fsector_t, in copy_buffer()
2447 remaining = current_count_sectors << 9; in copy_buffer()
2450 pr_info("current_count_sectors=%ld\n", current_count_sectors); in copy_buffer()
2480 current_count_sectors); in copy_buffer()
2574 current_count_sectors = 1; in make_raw_rw_request()
2590 current_count_sectors = in make_raw_rw_request()
2705 raw_cmd->length = in_sector_offset + current_count_sectors; in make_raw_rw_request()
2708 if ((raw_cmd->length < current_count_sectors << 9) || in make_raw_rw_request()
2713 raw_cmd->length <= 0 || current_count_sectors <= 0) { in make_raw_rw_request()
2715 raw_cmd->length, current_count_sectors); in make_raw_rw_request()
2719 current_count_sectors); in make_raw_rw_request()
2734 current_count_sectors < 0 || in make_raw_rw_request()
2742 current_count_sectors); in make_raw_rw_request()