Lines Matching refs:current_area
134 chunk_t current_area; member
290 chunk_t chunk = area_location(ps, ps->current_area); in area_io()
513 for (ps->current_area = 0; full; ps->current_area++) { in read_exceptions()
518 if (unlikely(prefetch_area < ps->current_area)) in read_exceptions()
519 prefetch_area = ps->current_area; in read_exceptions()
531 } while (prefetch_area <= ps->current_area + DM_PREFETCH_CHUNKS); in read_exceptions()
534 chunk = area_location(ps, ps->current_area); in read_exceptions()
556 ps->current_area--; in read_exceptions()
588 *metadata_sectors = (ps->current_area + 1 + NUM_SNAPSHOT_HDR_CHUNKS) * in persistent_usage()
644 ps->current_area = 0; in persistent_read_metadata()
736 zero_disk_area(ps, ps->current_area + 1)) in persistent_commit_exception()
751 ps->current_area++; in persistent_commit_exception()
779 if (!ps->current_area) in persistent_prepare_merge()
782 ps->current_area--; in persistent_prepare_merge()
836 ps->next_free = area_location(ps, ps->current_area) + in persistent_commit_merge()