Lines Matching refs:current_count_sectors
590 static long current_count_sectors; variable
2259 unsigned int nr_sectors = current_count_sectors; in floppy_end_request()
2294 block = current_count_sectors + blk_rq_pos(req); in request_done()
2350 DIV_ROUND_UP(in_sector_offset + current_count_sectors, ssize)) { in rw_interrupt()
2352 nr_sectors, current_count_sectors); in rw_interrupt()
2367 SUPBOUND(current_count_sectors, nr_sectors); in rw_interrupt()
2374 if (!current_count_sectors) { in rw_interrupt()
2381 if (!current_count_sectors) { in rw_interrupt()
2419 current_count_sectors = max_sector - fsector_t; in transfer_size()
2439 if (current_count_sectors <= 0 && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE && in copy_buffer()
2441 current_count_sectors = min_t(int, buffer_max - fsector_t, in copy_buffer()
2444 remaining = current_count_sectors << 9; in copy_buffer()
2447 pr_info("current_count_sectors=%ld\n", current_count_sectors); in copy_buffer()
2477 current_count_sectors); in copy_buffer()
2571 current_count_sectors = 1; in make_raw_rw_request()
2587 current_count_sectors = in make_raw_rw_request()
2702 raw_cmd->length = in_sector_offset + current_count_sectors; in make_raw_rw_request()
2705 if ((raw_cmd->length < current_count_sectors << 9) || in make_raw_rw_request()
2710 raw_cmd->length <= 0 || current_count_sectors <= 0) { in make_raw_rw_request()
2712 raw_cmd->length, current_count_sectors); in make_raw_rw_request()
2716 current_count_sectors); in make_raw_rw_request()
2731 current_count_sectors < 0 || in make_raw_rw_request()
2739 current_count_sectors); in make_raw_rw_request()