Lines Matching defs:safe
879 * rare that this path is taken, it is perfectly safe to force
4581 * yet recorded as 'safe' (i.e. in metadata on disk) then
4585 * 'safe' as the earliest block which might not have been copied
4591 * write to, and first_device_address on the 'safe' position.
4592 * If this 'next' write position is after the 'safe' position,
4593 * we must update the metadata to increase the 'safe' position.
4597 * less than current safe position.
4601 * so next can be after 'safe', but not by more than offset_diff
4612 sector_t next, safe, last;
4651 /* 'safe' is the last device address that we might read from
4654 safe = last_dev_address(conf->reshape_safe - 1,
4657 if (next + conf->offset_diff < safe)
4671 /* 'safe' is the earliest device address that we might
4674 safe = first_dev_address(conf->reshape_safe, &conf->prev);
4676 /* Need to update metadata if 'next' might be beyond 'safe'
4679 if (next > safe + conf->offset_diff)