Lines Matching defs:current_count_sectors
590 static long current_count_sectors;
2259 unsigned int nr_sectors = current_count_sectors;
2262 /* current_count_sectors can be zero if transfer failed */
2294 block = current_count_sectors + blk_rq_pos(req);
2350 DIV_ROUND_UP(in_sector_offset + current_count_sectors, ssize)) {
2352 nr_sectors, current_count_sectors);
2367 SUPBOUND(current_count_sectors, nr_sectors);
2374 if (!current_count_sectors) {
2381 if (!current_count_sectors) {
2419 current_count_sectors = max_sector - fsector_t;
2439 if (current_count_sectors <= 0 && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE &&
2441 current_count_sectors = min_t(int, buffer_max - fsector_t,
2444 remaining = current_count_sectors << 9;
2447 pr_info("current_count_sectors=%ld\n", current_count_sectors);
2476 pr_info("current_count_sectors=%ld\n",
2477 current_count_sectors);
2571 current_count_sectors = 1;
2587 current_count_sectors =
2701 /* round up current_count_sectors to get dma xfer size */
2702 raw_cmd->length = in_sector_offset + current_count_sectors;
2705 if ((raw_cmd->length < current_count_sectors << 9) ||
2710 raw_cmd->length <= 0 || current_count_sectors <= 0) {
2712 raw_cmd->length, current_count_sectors);
2716 current_count_sectors);
2731 current_count_sectors < 0 ||
2738 pr_info("current_count_sectors=%ld\n",
2739 current_count_sectors);