Lines Matching refs:wrap_count
89 * @wrap_count: block wrapping handling
101 unsigned int wrap_count;
487 iter->wrap_count = 0;
494 iter->wrap_count = 2;
536 if (iter->wrap_count && iter->block == iter->start_block) {
537 iter->wrap_count--;
538 if (!iter->wrap_count)
544 if (!iter->wrap_count && msc_block_last_written(msc_iter_bdesc(iter)))
555 if (!iter->wrap_count && iter->block == iter->start_block)
605 * First time (wrap_count==2), in the very beginning, to collect
609 * Second time (wrap_count==1), it's just like any other block,
612 if (iter->block == iter->start_block && iter->wrap_count == 2) {