Lines Matching defs:safe
879 * rare that this path is taken, it is perfectly safe to force
4608 * yet recorded as 'safe' (i.e. in metadata on disk) then
4612 * 'safe' as the earliest block which might not have been copied
4618 * write to, and first_device_address on the 'safe' position.
4619 * If this 'next' write position is after the 'safe' position,
4620 * we must update the metadata to increase the 'safe' position.
4624 * less than current safe position.
4628 * so next can be after 'safe', but not by more than offset_diff
4639 sector_t next, safe, last;
4678 /* 'safe' is the last device address that we might read from
4681 safe = last_dev_address(conf->reshape_safe - 1,
4684 if (next + conf->offset_diff < safe)
4698 /* 'safe' is the earliest device address that we might
4701 safe = first_dev_address(conf->reshape_safe, &conf->prev);
4703 /* Need to update metadata if 'next' might be beyond 'safe'
4706 if (next > safe + conf->offset_diff)